Objectives: Attention-deficit/hyperactivity disorder (ADHD) has been associated with spatial working memory as well as frontostriatal core deficits. However, it is still unclear how the link between these frontostriatal deficits and working memory function in ADHD differs in children and adults. This study examined spatial working memory in adults and children with ADHD, focussing on identifying regions demonstrating age-invariant or age-dependent abnormalities. Methods: We used functional magnetic resonance imaging to examine a group of 26 children and 35 adults to study load manipulated spatial working memory in patients and controls. Results: In comparison to healthy controls, patients demonstrated reduced positive parietal and frontostriatal load effects, i.e., less increase in brain activity from low to high load, despite similar task performance. In addition, younger patients showed negative load effects, i.e., a decrease in brain activity from low to high load, in medial prefrontal regions. Load effect differences between ADHD and controls that differed between age groups were found predominantly in prefrontal regions. Age-invariant load effect differences occurred predominantly in frontostriatal regions. Conclusions: The age-dependent deviations support the role of prefrontal maturation and compensation in ADHD, while the age-invariant alterations observed in frontostriatal regions provide further evidence that these regions reflect a core pathophysiology in ADHD.