The age at which your brain is the sharpest is often between the ages of 18 and 19.
Although it's said that your brain is not fully developed until around 25 years of age.
However, there's not an actual single age when the brain is at it's sharpest as it can vary from person to person, and there's different cognitive abilities that peak at vastly different times across the persons lifespan.
Your brain's processing speed peaks in your late teens or between the ages of 18 to 19 years of age, after which the raw processing speed declines gradually.
Your short term memory and face recognition, in which your memory capacity peaks around the age of 25 and remains steady until around age 35.
Your ability to recognize faces peaks around age 32.
And your concentration and focus and attention span improve as you age, often peaking around age 43.
Your emotional and social intelligence, and your ability to accurately read other people's emotions peaks in your 40s to 50s.
And your knowledge and your vocabulary, which includes your crystalized intelligence (accumulated faces, wisdom and vocabulary) also peaks much later, often in your late 60s to 70s.
And as a result of these trade offs, it's suggested that your overall capacity, which is your blend of experience, judgement and your emotional regulation, actually hits it's highest point in your late midlife of between ages 55 to 60.
Although while the brain is said to be fully developed by age 25, the brain is still developing after that.
The idea that your brain suddenly finishes developing and hit's it's fully maturity at exactly age 25 is a pervasive oversimplification.
Although the major developmental changes, most particularly in your prefrontal cortex are prominent during your 20s, it's been shown in neuroscience that your brain still continues to grow, develop and reorganize and refine it's network efficiency well into your early 30s.
The age 25 milestone of a brain being fully developed originates from earlier MRI studies, which looked at your brain structure changes but also stopped testing around age 20.
Because the data plateaued in that timeframe, scientists also hypothesized that development wrapped up in a persons mid 20s.