BACKGROUND: Early environmental risk factors associated with attention-deficit/hyperactivity disorder (ADHD) have been increasingly suggested. Our study investigates the maternal, pregnancy, and newborn risk factors by gender for children prescribed stimulant medication for treatment of ADHD in Western Australia. METHODS: This is a population-based, record linkage case–control study. The records of all non-Aboriginal children and adolescents born in Western Australia and aged <25 years who were diagnosed with ADHD and prescribed stimulant medication (cases = 12 991) were linked to the Midwives Notification System (MNS) to obtain maternal, pregnancy, and birth information. The control population of 30 071 children was randomly selected from the MNS. RESULTS: Mothers of children with ADHD were significantly more likely to be younger, be single, have smoked in pregnancy, have labor induced, and experience threatened preterm labor, preeclampsia, urinary tract infection in pregnancy, or early term delivery irrespective of the gender of the child, compared with the control group. In the fully adjusted model, a novel finding was of a possible protective effect of oxytocin augmentation in girls. Low birth weight, postterm pregnancy, small for gestational age infant, fetal distress, and low Apgar scores were not identified as risk factors. CONCLUSIONS: Smoking in pregnancy, maternal urinary tract infection, being induced, and experiencing threatened preterm labor increase the risk of ADHD, with little gender difference, although oxytocin augmentation of labor appears protective for girls. Early term deliveries marginally increased the risk of ADHD. Studies designed to disentangle possible mechanisms, confounders, or moderators of these risk factors are warranted.