Attentional lapses are usually defined as temporary and often brief shifts of attention away from some primary task to unrelated internal information processing. This study addressed the incidence of attention lapses and differences in attentional functioning in 30 children with attention-deficit/hyperactivity disorder (ADHD), 26 healthy children, and 29 children with spina bifida myelomeningocele and hydrocephalus (SBH). Assessments were conducted using computerized tonic and phasic attention tests, the Symbol Digit Modalities Test (SDMT), and the Trail Making Test Form B (TMT-B). The group with SBH differed from normal controls on cognitive measures of attention and executive functions. The ADHD group obtained lower scores than the SBH group and healthy children. ANOVA results showed that there was an effect of shunt revisions and shunt-related infections on neuropsychological performance. Lapses of attention together with reaction time may thus represent important factors for the understanding of cognitive deficits in SBH.