Weaker performance in adolescent mice arises from immature cortical representations and cognitive bias, linking developmental changes in behavior with underlying neural coding.