Aging is accompanied by profound changes in the brain's dopamine system that affect cognitive function. Evidence of powerful individual differences in cognitive aging has sharpened focus on identifying biological factors underlying relative preservation versus vulnerability to decline. Dopamine represents a key target in these efforts. Alterations of dopamine receptors and dopamine synthesis are seen in aging, with receptors generally showing reduction and synthesis demonstrating increases. Using the PET tracer 6-[18F]fluoro-l-m-tyrosine, we found strong support for upregulated striatal dopamine synthesis capacity in healthy older adult humans free of amyloid pathology, relative to young people. We next used fMRI to define the functional impact of elevated synthesis capacity on cognitive flexibility, a core component of executive function. We found clear evidence in young adults that low levels of synthesis capacity were suboptimal, associated with diminished cognitive flexibility and altered frontoparietal activation relative to young adults with highest synthesis values. Critically, these relationships between dopamine, performance, and activation were transformed in older adults with higher synthesis capacity. Variability in synthesis capacity was related to intrinsic frontoparietal functional connectivity across groups, suggesting that striatal dopamine synthesis influences the tuning of networks underlying cognitive flexibility. Together, these findings define striatal dopamine's association with cognitive flexibility and its neural underpinnings in young adults, and reveal the alteration in dopamine-related neural processes in aging.Few studies have combined measurement of brain dopamine with examination of the neural basis of cognition in youth and aging to delineate the underlying mechanisms of these associations. Combining in vivo PET imaging of dopamine synthesis capacity, fMRI, and a sensitive measure of cognitive flexibility, we reveal three core findings. First, we find evidence supporting older adults' capacity to upregulate dopamine synthesis. Second, we define relationships between dopamine, cognition, and frontoparietal activity in young adults indicating high levels of synthesis capacity are optimal. Third, we demonstrate alteration of these relationships in older adults, suggesting neurochemical modulation of cognitive flexibility changes with age.