Cognitive performance of children with attention-deficit hyperactivity disorder (ADHD) is characterized by large moment-to-moment fluctuations in cognitive control reflected by a highly inconsistent and inaccurate response style. It has been suggested that abnormal error processing underlies this failure to implement adequate control. We investigated the error-related negativity (ERN), a negative deflection in the event-related potential (ERP) time-locked to erroneous responses in 16 rigorously screened ADHD boys aged 8-12 years and 16 age-matched normal control boys during a modified Eriksen flanker paradigm with two levels of time pressure. Children with ADHD responded as fast and regularly as controls, but committed significantly more errors, particularly when facing time pressure and response conflict. ADHD children produced shorter runs of correct responses than controls. In addition, with high time pressure, error runs were prolonged relative to control children, suggesting an increase in both frequency and magnitude of temporary lapses of control. ERP amplitude differences between correct and incorrect responses were diminished in ADHD children, whereas post-error slowing remained unaffected. This pattern of results indicates that a specific deficit in monitoring ongoing behaviour, rather than insufficient strategic adjustments, gave rise to performance limitations in ADHD. Findings are discussed in terms of anterior cingulate cortex (ACC) dysfunction, leading to a failure to predict the likelihood that an error occurs in a given context.