ObjectivePrenatal exposure to antiepileptic drugs (AEDs) has been associated with adverse outcomes in the offspring such as congenital malformations and neuropsychiatric disorders. The objective of this study was to investigate whether prenatal exposure to AEDs is also associated with more frequent use of primary healthcare during childhood.DesignPopulation-based cohort study.SettingNationwide national registers in Denmark.ParticipantsAll live-born singletons in Denmark during 1997–2012 identified in the Danish National Patient Register and followed until 31 December 2013 (n=963 010). Information on prenatal exposure to AEDs for maternal indication of epilepsy and other neurological conditions was obtained from the Danish Register of Medicinal Product Statistics.Main outcome measuresThe primary outcome measure was the number and type of contacts with the general practitioner (GP), excluding routine well-child visits and vaccinations. The secondary outcome measure was specific services provided at the GP contact. The association between prenatal exposure to AEDs and contacts with the GP was estimated by using negative binomial regression adjusting for sex and date of birth of the child, maternal age, cohabitation status, income, education, substance abuse, depression, severe psychiatric disorders and use of antipsychotics, antidepressants and insulin.ResultsChildren exposed prenatally to AEDs (n=4478) had 3% (95% CI 0 to 5%) more GP contacts during the study period than unexposed children. This was primarily accounted for by the number of phone contacts. Within each year of follow-up, exposed children tended to have more contacts than unexposed children, but the differences were small. We found no difference between exposed and unexposed children with regard to specific services provided at the GP contact. For the individual AEDs, we found that exposure to valproate or oxcarbazepine was associated with more GP contacts.ConclusionsWe found only minor differences between prenatally AED-exposed and unexposed children in the number of GP contacts.