Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2025 Sep 3.
Published in final edited form as: Nat Metab. 2025 Mar 3;7(3):586–601. doi: 10.1038/s42255-025-01230-z

A western dietary pattern during pregnancy is associated with neurodevelopmental disorders in childhood and adolescence

David Horner 1,, Jens Richardt M Jepsen 2,3, Bo Chawes 1, Kristina Aagaard 1, Julie B Rosenberg 1,2,4, Parisa Mohammadzadeh 1,2,4, Astrid Sevelsted 1, Nilo Vahman 1, Rebecca Vinding 1, Birgitte Fagerlund 2,5, Christos Pantelis 6,7, Niels Bilenberg 8, Casper-Emil T Pedersen 1, Anders Eliasen 1,9, Sarah Brandt 1, Yulu Chen 10, Nicole Prince 10, Su H Chu 10, Rachel S Kelly 10, Jessica Lasky-Su 10, Thorhallur I Halldorsson 11,12, Marin Strøm 12,13, Katrine Strandberg-Larsen 14, Sjurdur F Olsen 12,13,14,15, Birte Y Glenthøj 2,4, Klaus Bønnelykke 1, Bjørn H Ebdrup 2,4,17, Jakob Stokholm 1,16,17, Morten Arendt Rasmussen 1,16,17,
PMCID: PMC12022897  NIHMSID: NIHMS2072600  PMID: 40033007

Abstract

Despite the high prevalence of neurodevelopmental disorders, the influence of maternal diet during pregnancy on child neurodevelopment remains understudied. Here we show that a western dietary pattern during pregnancy is associated with child neurodevelopmental disorders. We analyse self-reported maternal dietary patterns at 24 weeks of pregnancy and clinically evaluated neurodevelopmental disorders at 10 years of age in the COPSAC2010 cohort (n = 508). We find significant associations with attention-deficit hyperactivity disorder (ADHD) and autism diagnoses. We validate the ADHD findings in three large, independent mother–child cohorts (n = 59,725, n = 656 and n = 348) through self-reported dietary modelling, maternal blood metabolomics and foetal blood metabolomics. Metabolome analyses identify 15 mediating metabolites in pregnancy that improve ADHD prediction. Longitudinal blood metabolome analyses, incorporating five time points per cohort in two independent cohorts, reveal that associations between western dietary pattern metabolite scores and neurodevelopmental outcomes are consistently significant in early–mid-pregnancy. These findings highlight the potential for targeted prenatal dietary interventions to prevent neurodevelopmental disorders and emphasise the importance of early intervention.


Neurodevelopmental disorders, particularly attention-deficit hyperactivity disorder (ADHD) and autism, are prevalent and an increasing public health concern1. In 2020, Danish registers reported a cumulative incidence of 5.9% in males and 3% in females for ADHD, and 4.3% in males and 1.8% in females for autism during childhood and adolescence2. Large meta-analyses support these findings, with global estimates of 5.9% for ADHD3 and up to 1.1% for autism4. In addition, neurodevelopmental disorder symptoms manifest as continuous traits within the paediatric general population5, and can be reliably captured via validated questionnaires6,7. Studies have linked several prenatal exposures to neurodevelopmental disorders in children, including maternal obesity, metabolic disturbances, stress and individual nutritional elements8. Numerous animal studies have shown that high-fat diets can alter brain morphology9 and behaviour in offspring in ways resembling neurodevelopmental disorders10,11; however, these findings may not extrapolate well to humans. Dietary constituents may contribute directly to the aforementioned aetiologies, providing both the energy substrates and building blocks for the foetal brain12. Given the potential public health impact, it is vital to robustly investigate the link between maternal diet during pregnancy and childhood neurodevelopmental disorders, particularly those involving western diets characterised by high consumption of processed meats, sugars, refined grains and low intakes of fruits and vegetables. These diets, which are prevalent in modern societies, starkly contrast with historical human diets and may influence developmental outcomes13. Existing literature lacks objective measurements of dietary patterns in pregnancy and adjustment for confounding dietary patterns in childhood, when assessing this relationship.

The placenta transfers nutrients from the mother to the developing foetus during pregnancy14. These nutrients, which include the essential n3 long chain polyunsaturated fatty acids (n3-LCPUFAs) and micronutrients such as iron, choline, iodine, zinc and vitamins B, D and E, are necessary for foetal brain development and function12,15, and are obtained as part of a healthy dietary pattern. While the precise mechanisms underlying the influence of maternal diet on offspring neurodevelopment remain to be fully elucidated, various factors may be implicated in developmental processes. Among these factors are the potential impacts of dietary compounds16 and lipid profiles17. For example, certain dietary-derived metabolites may interact with developmental pathways in the foetus, potentially affecting neurodevelopmental outcomes18. Additionally, higher maternal intakes of n3-LCPUFAs, such as docosahexaenoic acid (DHA) and eicosapentaenoic acid (EPA), which are associated with better overall diet quality19, are reported to be neuroprotective20.

Genetics contribute considerably to neurodevelopmental disorders, with heritability estimates as high as 80%21. The increasing prevalence of these disorders22 highlight the need for a better understanding of how environmental factors interact with genetic risk23. In this context, pregnancy dietary influences may be moderated by the child’s underlying genetic risk for neurodevelopmental disorders, which can be succinctly captured in a polygenic risk score (PRS)24. While twin studies consider gene–environment interactions when estimating heritability, clinical evidence validating this potential interaction is notably lacking25.

In this study, we hypothesise that a western dietary pattern in pregnancy is associated with adverse neurodevelopmental outcomes. We sought to bridge the research gap by leveraging the thorough neurodevelopmental clinical examinations within the Copenhagen Prospective Studies on Asthma in Childhood 2010 (COPSAC2010) mother–child cohort. We employ external validation approaches in three independent mother–child cohorts. Drawing from 12 metabolome datasets from three mother–child cohorts, we juxtapose maternal and child blood profiles to shed light on the temporality of dietary associations and their potential impact on neurodevelopment and delve into which metabolites may be driving dietary associations on neurodevelopment.

Results

Cohort characteristics

During the 10-year clinical visit, a total of 593 children (84.7%) participating in the COpenhagen Prospective Study on Neuro-PSYCHiatric Development study (COPSYCH) underwent clinical examination for neurodevelopmental and other psychiatric disorders. Additionally, 11 children who did not complete the clinical examination, had information regarding their neurodevelopmental symptom loads. There were no significant differences in baseline sociodemographic characteristics between participants and non-participants at the 10-year visit (Supplementary Table 1), nor between male and female children (Supplementary Table 2).

We included 508 children with both pregnancy dietary and clinical data in our analysis, 77 (15.2%, 71% male) had any neurodevelopmental disorder. Specifically, 55 (10.8%, 76% male) were diagnosed with ADHD (25 ADHD predominantly inattentive presentation and 30 ADHD combined presentation) and 13 (2.6%, 69% male) with autism.

Identification of dietary patterns

We used principal-component analysis (PCA) on 95 nutrient constituents (Supplementary Table 3) from pregnancy food frequency questionnaires (FFQs) assessed at 24 weeks gestation to identify maternal dietary patterns in the COPSAC2010 cohort (Extended Data Fig. 1). Principal component (PC)1, which explained 44.3% of the variance, had a positive association across all food groups and represents a ‘varied dietary pattern’. PC2, which explained 10.7% of the variance, had positive associations with intakes of animal fats, refined grains and high-energy drinks, and negative associations with intakes of fruit, fish and vegetables, representing a ‘western dietary pattern’ (Fig. 1). Regarding macronutrient intake, PC2 (western dietary pattern) predominantly reflected a higher intake of fats (Extended Data Fig. 2a), specifically saturated fatty acids (Extended Data Fig. 2b). Using the maternal PC model, we predicted a child’s western dietary pattern at 10 years, allowing for a consistent comparison of dietary habits (r = 0.22). A western dietary pattern during pregnancy was negatively associated with social circumstances and positively associated with maternal pre-pregnancy body mass index (BMI), smoking during pregnancy, antibiotic use during pregnancy and a western dietary pattern in children at 10 years of age (Table 1).

Fig. 1 |. Associations between maternal dietary patterns and neurodevelopmental diagnoses in children.

Fig. 1 |

Pregnancy varied and western dietary patterns, derived from nutrient constituents using PCA (PC1 and PC2), and their associations with food groups and neurodevelopmental outcomes. The top panels display scaled linear regression estimates with 95% confidence intervals for food groups positively (yellow for PC1, red for PC2) and negatively (green for PC2) associated with the dietary patterns (n = 594); adjustment was not made for multiple testing. The bottom panels present multivariable regression results showing ORs with 95% confidence intervals for the associations between dietary patterns and neurodevelopmental diagnoses (n = 508). The western dietary pattern is significantly associated with any neurodevelopmental disorder diagnosis (OR 1.53 (1.17–2.00), P = 0.002), ADHD diagnosis (OR 1.66 (1.21–2.27), P = 0.002), and autism diagnosis (OR 2.22 (1.33–3.74), P = 0.002), while the varied dietary pattern shows no significant associations (P > 0.288).

Table 1 |.

Model covariates stratified by low, middle and high (tertiles) for the pregnancy western dietary pattern, in children who were clinically assessed for neurodevelopmental disorders

Western dietary pattern (PC2) covariate associations Low western dietary pattern Mid western dietary pattern High western dietary pattern P value
n 170 169 169
Male sex (%) 77 (45.3) 98 (58.0) 91 (53.8) 0.058
Social circumstances (mean±s.d.) 0.34 ± 0.87 0.06 ± 0.94) −0.41 ± 1.01 <0.001
Maternal pre-pregnancy BMI (mean±s.d.) 24.12 ± 4.18 24.41 ± 3.80) 25.36 ± 5.06 0.026
Smoking during pregnancy (%) 5 (2.9) 7 (4.1) 26 (15.4) <0.001
Gestational age in (days) (mean±s.d.) 279.18 ± 12.36 279.62 ± 11.43) 279.14 ± 10.13 0.911
Birth weight (kg) (mean±s.d.) 3.55 ± 0.56 3.55 ± 0.53) 3.58 ± 0.53 0.815
Antibiotics during pregnancy (%) 49 (29.0) 53 (31.4) 73 (43.2) 0.013
Pre-eclampsia during pregnancy (%) 5 (3.0) 9 (5.3) 8 (4.7) 0.539
Child western dietary pattern (mean±s.d.) −0.18 ± 0.89 −0.07 ± 1.01 0.26 ± 1.08 <0.001
n3-LCPUFA pregnancy RCT (%) 82 (48.2) 88 (52.1) 88 (52.1) 0.717
High-dose vitamin D pregnancy RCT (%) 70 (51.1) 66 (47.1) 64 (45.4) 0.622
Total energy consumption (FFQ) (mean±s.d.) 9,131 ± 1,982 8,497 ± 1,968 9,502 ± 2,545 <0.001
Maternal ADHD PRS (mean±s.d.) −0.12 ± 1.00 −0.05 ± 0.97 0.09 ± 1.04 0.208
Child ADHD PRS (mean±s.d.) −0.17 ± 1.06 −0.03 ± 1.00 0.11 ± 0.99 0.060
Child autism PRS (mean±s.d.) −0.01 ± 1.02 −0.05 ± 1.05 −0.01 ± 1.04 0.921

RCT, randomised controlled trial.

A western dietary pattern during pregnancy is associated with neurodevelopmental disorders

A western dietary pattern during pregnancy (PC2, per s.d. change) was significantly associated with any neurodevelopmental disorder (odds ratio (OR) 1.53 (1.17–2.00); P = 0.002), ADHD (OR 1.66 (1.21–2.27); P = 0.002) and autism (OR 2.22 (1.33–3.74); P = 0.002) (Table 2) in multivariate modelling adjusted for pre-pregnancy maternal BMI, social circumstances, child sex, birth weight, gestational age, pregnancy smoking/antibiotic use, pre-eclampsia and a child western dietary pattern. It was also significantly associated with symptom loads for ADHD (β 1.73 (0.98–2.49); P < 0.001) and autism (β 3.21 (1.69–4.74); P < 0.001), with consistent associations observed in an earlier assessment of ADHD symptom load at 8 years (β 1.90 (0.42–4.55); P < 0.001). Moreover, ADHD symptoms at 6 years, assessed using the hyperactivity/inattention scale from the Strengths and Difficulties Questionnaire (SDQ), were also significant (β 0.50 (0.29–0.70); P < 0.001). To illustrate the associations between the western dietary pattern during pregnancy, neurodevelopmental outcomes and model covariates, we employed Gaussian graphical models (Fig. 2).

Table 2 |.

Regression analysis of the western dietary pattern during pregnancy and neurodevelopmental outcomes

Univariate model Multivariable model
Neurodevelopmental diagnosis OR (95% Cl)
P value
OR (95% Cl)
P value
Any neurodevelopmental disorder diagnosis 1.66 (1.31–2.11)
(P<0.001)
1.53 (1.17–2.00)
(P=0.002)
ADHD diagnosis 1.84 (1.42–2.41)
(P<0.001)
1.66 (1.21–2.27)
(P=0.002)
Autism diagnosis 2.38 (1.50–3.79)
(P<0.001)
2.22 (1.33–3.74)
(P=0.002)
Neurodevelopmental symptom loads Estimate (95% Cl)
P value
Estimate (95% Cl)
P value
ADHD symptom load (ADHD-RS) 2.26 (1.53–2.98)
(P<0.001)
1.73 (0.98–2.49)
(P<0.001)
Autism symptom load (SRS-2) 4.37 (2.92–5.81)
(P<0.001)
3.21 (1.69–4.74)
(P<0.001)

OR and estimates are interpreted as the association of 1 × s.d. of the pregnancy western dietary pattern. Model A: univariate analysis. Model B: multivariable analysis (multivariable model adjusted for pre-pregnancy maternal BMI, social circumstances (household income, maternal education level and maternal age), child sex, birth weight, gestational age, pregnancy smoking/antibiotic use, pre-eclampsia and a child western dietary pattern at 10 years of age).

Fig. 2 |. Graphical models of western dietary pattern associations with neurodevelopmental outcomes and covariates.

Fig. 2 |

ad, Graphical models illustrate associations (partial correlations P < 0.05) between the western dietary pattern during pregnancy, neurodevelopmental outcomes ADHD diagnosis (a), ADHD symptom load (ADHD-RS) (b), autism diagnosis (c), autism symptom load (SRS-2) (d), and model covariates. Models include child ADHD PRS (a,b) and autism PRS (c,d) as additional covariates.

Our findings remained significant after further adjustment for maternal genetic risk for ADHD, total maternal energy intake, genomic PCs, intake of prenatal supplements (Supplementary Table 4), and two prenatal nutrition supplementation randomised controlled trials (n3-LCPUFA and high-dose D vitamin) (Supplementary Table 5). Associations of the pregnancy western dietary pattern were significant for both male (OR 1.42 (1.02–1.99); P = 0.039) and female children (OR 1.86 (1.15–3.07); P = 0.012) for any neurodevelopmental disorder diagnosis (Supplementary Table 6). Neurodevelopmental outcomes showed no significant differences related to child sex (P interaction >0.12). Associations were comparable for both ADHD predominantly inattentive presentation (OR 1.71 (1.13–2.56); P = 0.009) and ADHD combined presentation (OR 1.51 (1.03–2.20); P = 0.033). In a subanalysis in children without a neurodevelopmental disorder diagnosis (n = 428), the pregnancy western dietary pattern association with ADHD symptom load remained significant (β 0.63 (0.01–1.25); P = 0.048) (Supplementary Table 7).

Validating our findings for ADHD in the Danish National Birth Cohort

We sought replication of our findings in the Danish National Birth Cohort (DNBC), which had an identical FFQ assessment undertaken at a comparable gestational age, neurodevelopmental diagnoses derived from national registries and ADHD symptoms from the hyperactivity/inattention scale of the SDQ questionnaire. In our replication analysis including 59,725 mother–child pairs, we observed prevalences of 6.8% for any neurodevelopmental disorder, 4.6% for ADHD diagnosis and 2.7% for autism diagnosis. We found that the association of the western dietary pattern in pregnancy, trained in the COPSAC2010 cohort, was significantly associated with ADHD diagnosis (OR 1.07 (1.02–1.11); P = 0.002), but not for any neurodevelopmental disorder diagnosis (OR 1.03 (1.00–1.07); P = 0.087) or autism diagnosis (OR 1.04 (0.98–1.09); P = 0.351), in multivariable analysis (Supplementary Table 8). Reinforcing our method, we observed PC2 trained within the DNBC cohort was also significantly associated with ADHD diagnosis (OR 1.05 (1.01–1.10); P = 0.018), with a strong correlation between PC2 trained in COPSAC2010 and the DNBC (r = 0.91). Moreover, ADHD symptoms at 7 years, assessed in a subset of 37,608 children, were also significantly associated with the western dietary pattern in pregnancy, trained in COPSAC2010 (β 0.11 (0.09–0.13); P < 0.001) and within the DNBC (β 0.11 (0.09–0.13); P < 0.001), in multivariable analysis.

A blood metabolomics-derived pregnancy western dietary pattern score is associated with neurodevelopmental disorders

We used the blood metabolome from week 24 gestation to objectively measure the pregnancy western dietary pattern and validate our self-reported FFQ findings. Overall, 43.0% of 760 metabolites were significantly associated with the pregnancy western dietary pattern, with 34.5% surviving false discovery rate (FDR) (q < 0.05). In sparse partial least square modelling using the blood metabolome with the pregnancy western dietary pattern as the response, 43 metabolites emerged as biomarkers (root-mean-standard error for cross-validation (RMSECV) = 0.87, R2CV = 0.24). Loadings for these metabolites can be seen in Fig. 3 and Supplementary Table 9.

Fig. 3 |. Metabolites associated with the western dietary pattern and their mediation of neurodevelopmental disorders.

Fig. 3 |

The 43 metabolites, selected by the sparse partial least squares model, represent those associated with the western dietary pattern during pregnancy at 24 weeks gestation in COPSAC2010. Positive metabolite scores indicate a positive association, while negative scores suggest an inverse relationship with this dietary pattern. A systematic backward elimination pinpointed 15 metabolites as mediators between the western dietary pattern and any neurodevelopmental disorders. Notably, dietary-derived compounds, like ergothioneine, suggest potential protective roles, while certain lipid-associated metabolites hint at possible detrimental impacts on neurodevelopment.

A western dietary pattern metabolite score (WDP-MS) was derived from this model and was associated (per s.d. change) with any neurodevelopmental disorder diagnosis (OR 1.42 (1.07–1.90); P = 0.017) and ADHD diagnosis (OR 1.39 (1.00–1.95); P < 0.05), but not significantly with autism diagnosis (OR 1.09 (0.59–2.00); P = 0.781).

To discern whether any of the 43 metabolites acted as biomarkers, or genuine mediators in the association between the western dietary pattern and neurodevelopmental disorders, we deployed a backward elimination strategy. Our multivariable mediation analysis found that 15 metabolites (Fig. 3 and Supplementary Table 9) mediated the association between the western dietary pattern and any neurodevelopmental disorder diagnosis. The western dietary pattern had a total effect of 5.5% on any neurodevelopmental disorder diagnosis, of which 80.3% (P = 0.003) was mediated through the selected 15 metabolites. It became evident that a predominant portion of the metabolites acting as mediators were derived from dietary components and lipids. Prominently, plant-based metabolites such as ergothioneine, carotene diol and tartrate indicate potential protective effects. Conversely, many lipid-associated metabolites, such as medium chain fatty acids like caprate and caprylate, predominantly exhibited positive loadings, underscoring their possible detrimental impact on neurodevelopment.

We explored potential time-dependent associations by predicting an additional four WDP-MS using comparable blood metabolome datasets in mothers (one week postpartum) and children (6 months, 18 months and 6 years). In a sensitivity analysis, which compared the five WDP-MS without including other covariates, significant associations were observed solely with the 24-week gestational WDP-MS for any neurodevelopmental disorder diagnosis (OR 1.50 (1.07–2.11); P = 0.020), ADHD diagnosis (OR 1.58 (1.08–2.33); P = 0.020) and directionally for autism diagnosis (OR 1.74 (0.84–3.57); P = 0.131). This was the case despite the strong correlations noted between maternal dietary metabolite scores (r = 0.68; Supplementary Table 10). Findings were consistent for ADHD (β 1.43 (0.41–2.45); P = 0.006) and autism symptom loads (β 2.86 (0.84–4.89); P = 0.006). We substantiated these temporal associations by employing linear mixed models. Through this approach, we discerned that the initial magnitude of the western dietary pattern during pregnancy, reflected by the model’s intercept, likewise served as a predictor for any neurodevelopmental disorder (OR 1.56 (1.24–1.97); P < 0.001), ADHD diagnosis (OR 1.63 (1.25–2.12); P < 0.001) but not autism diagnosis (OR 1.34 (0.813–2.18); P = 0.242). Additionally, there were likewise significant associations with ADHD (β 1.69 (0.99–2.40); P < 0.001) and autism symptom loads (β 3.65 (2.24–5.06); P < 0.001).

Western dietary pattern metabolite score predicts ADHD diagnosis in the VDAART mother–child cohort

As our blood metabolome modelling of the western dietary pattern during pregnancy was associated with ADHD diagnosis and symptom load in COPSAC2010, we sought replication of our findings in the Vitamin D Antenatal Asthma Reduction Trial cohort (VDAART), a large US-based mother–child cohort. We included participants with corresponding pregnancy blood metabolome and ADHD outcome data (n = 656). Among the children in the VDAART cohort, caregivers reported a diagnosis for ADHD or attention-deficit disorder (ADD) for 18 children (2.7%) by age 6 years and 57 children (8.7%) by age 8 years. Significant cohort characteristic differences were observed between the COPSAC2010 and VDAART cohorts (Supplementary Table 11), encompassing age, income, maternal education, maternal age, gestational age, maternal smoking, race, maternal pre-pregnancy BMI, birth weight, and caesarean section delivery (P < 0.001). Extended Data Fig. 3 shows the metabolomic variability in the COPSAC2010 and VDAART, illustrating closely matched variances across pregnancy samples.

In the VDAART cohort, which includes blood metabolome profiling at two pregnancy time points during early (10–18 week) and late gestation (32–38 weeks), we used COPSAC2010 cohort-trained models to predict two WDP-MS to assess their association with ADHD diagnosis. The metabolite scores at both time points were positively associated with intakes of deep-fried foods, processed meats and margarine, and negatively associated with intakes of various vegetables, whole-grain foods and fruit in the VDAART cohort, as assessed by independent FFQs (Extended Data Fig. 4). There was a strong correlation between the VDAART FFQ’s PC1 and the predicted WDP-MS during early (r = 0.48, P = 1.4 × 10−46) and late (r = 0.46, P = 2.3 × 10−42) pregnancy, underscoring the WDP-MS validity in predicting dietary patterns across diverse populations.

Despite significant differences in cohort characteristics, our blood metabolomics analysis successfully replicated the univariate association between the WDP-MS and ADHD diagnosis at age 6 in both early (OR 2.64 (1.56–4.64); P < 0.001) and late pregnancy (OR 1.85 (1.12–3.16); P = 0.020), in the VDAART cohort. After adjusting for similar covariates to those used in the COPSAC2010 cohort, a significant association remained between the WDP-MS and ADHD diagnosis in early pregnancy (OR 2.33 (1.26–4.42); P = 0.008) but not in late pregnancy (OR 1.67 (0.90–3.20); P = 0.113). For further robustness of our findings, we assessed children ever having had an ADHD diagnosis up to age 8 years. The WDP-MS successfully univariately replicated, albeit with attenuated estimates in early (OR 1.71 (1.28–2.32); P < 0.001) and late pregnancy (OR 1.37 (1.04–1.83); P = 0.030). Associations remained significant after multivariable adjustment in early pregnancy (OR 1.45 (1.02–2.06); P = 0.039) but not late pregnancy (OR 1.11 (0.79–1.58); P = 0.544).

In sensitivity analysis, we independently employed the backward elimination strategy, previously outlined for the COPSAC2010 cohort, on the metabolites overlapping with the VDAART 10–18 weeks and 32–38 weeks time points. In doing so, we identified the mediating metabolites in the association between the western dietary pattern in COPSAC2010 to ADHD diagnosis (Extended Data Fig. 5). Leveraging COPSAC2010’s mediating metabolites, we performed a sensitivity analysis to contrast the performance of a WDP-MS using only these potentially causally mediating metabolites against the WDP-MS with all metabolites, for predicting ADHD in the VDAART cohort. At the 10–18-week time point, in a multivariable model, the subset of mediating metabolites improved ADHD diagnosis prediction at 6 years (OR 2.85 (1.60–5.20), P < 0.001), significantly more so (nested model chi-squared test; P = 0.012) than our model with all 18 metabolites. However, at the 32–38-week time point the subset of mediating metabolites (OR 1.81 (0.95–3.58); P = 0.078) did not perform significantly better than the WDP-MS with all 19 metabolites (nested model chi-squared test; P = 0.423). To replicate the potential time-dependent association of the western dietary pattern, we predicted three additional WDP-MS for children in VDAART (1 year, 3 years and 6 years). When incorporating the three child WDP-MS in a model with the two pregnancy WDP-MS time points, we observed significant associations only with the early pregnancy WDP-MS for ADHD diagnosis at age 6 (OR 1.97 (1.01–3.80); P = 0.044) and ADHD diagnosis up to age 8 years (OR 1.65 (1.11–2.45); P = 0.013).

Western dietary pattern metabolite score predicts ADHD symptoms in COPSAC2000

We sought further replication in the COPSAC2000 mother–child cohort, where we included 328 participants with both neonatal dried blood spots (DBS) metabolic profiling and ADHD symptom load from the Adult ADHD Self-Report Scale (ASRS) at age 18. We developed a western dietary pattern dried blood spot (WDP-DBS) score using overlapping DBS metabolites from the COPSAC2010 cohort to predict the association with ADHD symptom load. Extended Data Fig. 6 illustrates the metabolomic variability between the COPSAC2010 and COPSAC2000 newborn samples, demonstrating comparable variance across cohorts.

To substantiate the WDP-DBS score’s relevance, we first confirmed its significance within the COPSAC2010 cohort, showing a strong association with ADHD symptom load, in multivariable modelling (β 1.19 (0.41–1.98); P = 0.003), before applying it to COPSAC2000 data. In COPSAC2000, we successfully replicated this association between the WDP-DBS and ADHD symptom load (β 0.44 (0.01–0.86); P = 0.045), but this finding did not survive covariate adjustment (β 0.34 (−0.08–0.77); P = 0.114). In sensitivity analysis, we enhanced cross-correlations between COPSAC2010 and COPSAC2000 cohorts from >0.4 to >0.6, and restricted the analysis to 626 metabolites with similar distributions between cohorts (Kolmogorov–Smirnov; P ≥ 0.05). This approach led to more pronounced univariate (β 0.49 (0.06–0.91); P = 0.027) and multivariable associations (β 0.41 (−0.02–0.83); P = 0.062).

Moderating effects of genetics, maternal BMI and child sex on diet-neurodevelopment associations

In a subanalysis, we investigated whether established risk factors (child genetic risk (ADHD and autism PRS), maternal pre-pregnancy BMI and child sex) moderate the association of the western dietary pattern during pregnancy with neurodevelopmental outcomes in COPSAC2010. Supplementary Table 12 provides more details on the independent associations of these factors on neurodevelopmental outcomes.

ADHD (11.8%) and autism (2.7%) diagnosis, had limited variability in our dataset, prompting us to assess the association of the western dietary pattern using strata of median split maternal pre-pregnancy BMI (above and below 23.7) and PRS scores (Fig. 4a,b). In multivariable analyses, children born to mothers with a higher BMI and with a greater genetic predisposition for the respective disorder showed the strongest associations with the western dietary pattern. For ADHD diagnosis, this group had an OR 2.18 (1.30–3.74); P = 0.004, and for autism diagnosis, it was 4.59 (2.33–9.78); P < 10−4. When further stratified by child sex, findings continued to show consistent significance across both sexes (Extended Data Fig. 7a,b). Findings were again consistent when considering the objectively measured WDP-MS (Extended Data Fig. 8a,b).

Fig. 4 |. Moderation of the western dietary pattern on neurodevelopmental outcomes in COPSAC2010 cohort.

Fig. 4 |

a,b, OR estimates for ADHD (a) and autism diagnoses (b) based on interactions of the western dietary pattern, maternal pre-pregnancy BMI (split at median value 23.7) and child’s PRS (median split) for ADHD and autism. c,d, Linear regression estimates for ADHD (c) and autism (d) symptom loads based on the western dietary pattern, considering tertiles of maternal pre-pregnancy BMI and child’s PRS for ADHD and autism. ORs and estimates are in relation to a change of 1 s.d. of the western dietary pattern. Stars represent significance levels: *P < 0.05, **P < 0.01, ***P < 0.001, NS, non-significant (P ≥ 0.05). Further details, including the individual associations of these modulating factors, can be found in Supplementary Table 11. Adjustments were not made for multiple comparisons.

To assess the association of the western dietary pattern on ADHD and autism symptom loads, we employed a tertile split. Concordantly, we found that both ADHD and autism consistently showed that the association of the western dietary pattern was most pronounced in children born to mothers in the highest pre-pregnancy BMI group (>25.4) and in children with the highest genetic risk for the respective disorders (Fig. 4c,d). For ADHD symptom load, this group had an estimate of β 5.07 (3.12–7.03); P < 10−6, and for autism symptom load it was β 13.5 (9.51–17.5); P < 10−10. When further stratified by child sex, this pronounced association persisted significantly only for male children (ADHD β 8.24 (5.19–11.3); P < 10−6; autism, β 24.6 (19.0–30.2); P < 10−4 (Extended Data Fig. 7c,d). Findings were again consistent when considering the objectively measured WDP-MS (Extended Data Fig. 8a,b). A further graphic is provided (Extended Data Fig. 9) for ADHD (a–c) and autism symptom loads (d–f) showing model estimates when considering maternal pre-pregnancy BMI across the categories <25, 25–30 and >30.

Discussion

In our large prospective general population COPSAC2010 mother–child cohort, we observed strong associations between a western dietary pattern during pregnancy with ADHD and autism diagnoses, as well as related symptom loads for these disorders in 10-year-old children. Our findings for ADHD were corroborated in three additional cohorts, which together encompass more than 60,000 mother–child pairs. From the 43 metabolites associated with a western dietary pattern, a subset of 15 mediating metabolites notably strengthened the association with ADHD diagnosis in external validation. In the COPSAC2010 and VDAART cohorts, we consistently found dietary metabolite score associations in early-mid-pregnancy had the strongest associations with neurodevelopmental outcomes, suggesting that this may be a particularly sensitive period of neurodevelopment to dietary influences. Finally, we observed that the association of the western dietary pattern during pregnancy with ADHD and autism diagnoses, as well as symptom loads, was markedly stronger in children with higher genetic predisposition and maternal pre-pregnancy BMI, particularly in male children.

Expanding on previous research, our study, reinforced by clinically assessed outcomes, presents compelling evidence indicating a potential association between maternal dietary habits during pregnancy and child neurodevelopment. The persistence of the western dietary pattern’s association on ADHD symptoms, even in children without a neurodevelopmental disorder diagnosis, suggests that the pregnancy western dietary pattern may also affect the subclinical population. A Norwegian study of 77,768 mother–child pairs found that higher maternal adherence to dietary guidelines was inversely correlated with ADHD diagnosis and symptom severity, while ultra-processed food was positively associated with ADHD symptom severity26. This study revealed no link between the diet of 3-year-olds and ADHD outcomes, aligning with our results. Conversely, the Raine Study associated a western dietary pattern in 1,799 adolescents with ADHD, but did not explore maternal dietary influences27. In a cross-cohort study of 800 pregnant women in the United States, weak associations were found between established reference dietary patterns and autism-related traits and diagnosis28. Our study adds to this existing literature by identifying potential temporal associations of a western dietary pattern on child neurodevelopmental outcomes, using both maternal and child self-reported dietary intakes, and the objective blood metabolome29. Given the lack of replication for autism diagnosis in the DNBC, the association between a western dietary pattern during pregnancy and autism should be interpreted with caution and may be a chance finding. The mediating metabolites identified in our analysis highlight plausible pathways through which maternal diet may influence neurodevelopmental outcomes. For instance, ergothioneine, a potent antioxidant, may counteract oxidative stress, a mechanism implicated in neurodevelopmental disorders30. Likewise, indolepropionate, a microbial metabolite of dietary tryptophan, may support neurodevelopment by enhancing gut barrier integrity, limiting systemic inflammation and promoting gut–brain axis communication, processes critical for maintaining homeostasis and protecting against neuroinflammatory disruptions associated with neurodevelopmental disorders31. Conversely, specific lipid- and fatty acid-associated metabolites were positively weighted in the western dietary pattern metabolite score, such as sphingomyelin (d18:2/18:1), 1-stearoyl-2-arachidonoyl-GPE (18:0/20:4) and medium chain fatty acids (caprate and caprylate), suggest that disrupted lipid metabolism may influence neurodevelopment, potentially by impairing processes such as myelination, synaptic signalling and neuronal membrane integrity32.

Our findings suggest a potential interplay between the prenatal environment and child genetics that may influence child neurodevelopment. Males with high genetic risk born from mothers with high pre-pregnancy BMI had the strongest associations with the pregnancy western dietary pattern. Twin studies support the hypothesis that such interactions play a substantial role in the development of these disorders33,34. While heritability for ADHD and autism is high, with genetic influences accounting for approximately 70–80% of the phenotypic variance35, current estimates for heritability encompass gene–environment interaction effects36. Our findings highlight the potential role of the environment in the aetiology of ADHD and autism. It is worth noting that much of the heritability for ADHD and autism is explained by single-nucleotide polymorphisms (SNPs) in regulatory regions rather than coding regions37, providing further evidence for the role of the environment in these disorders. This may aid researchers in understanding the underlying mechanisms contributing to the development of these disorders.

The main strength of our study is the prospectively assessed COPSAC2010 cohort followed from pregnancy through childhood, with a deep psychiatric and dimensional psychopathological characterisation provided by the COPSYCH project. We use pregnancy and early-life samples taken before onset of disease and symptoms, which allows for the identification of potential risk factors and the directionality of associations. The breadth of data from the COPSAC2010 cohort enabled the inclusion of relevant covariates, and the depth of phenotyping allowed for genetic characterisation, making assessments of gene–environment interactions possible. By utilising a validated semi-quantitative food frequency questionnaire and identifying dietary patterns via data-driven approaches, our findings more accurately reflect the dietary patterns that are existing in the population38. A reduction in model estimates for our replication finding in DNBC may be due to the nature of their registry-derived outcome data, compared with the cross-sectional clinical examination in COPSAC2010. We validate this methodology by identifying a highly correlated dietary pattern within the DNBC. Although our analysis lacked information on morning sickness and hyperemesis gravidarum, our FFQ was registered at 24 weeks gestation with 1-month recall, outside the period when these symptoms are commonly experienced. Furthermore, universal accessibility of a uniform prenatal care in Denmark enhances the reliability of our findings. The pregnancy western dietary pattern was derived from estimates of nutrient constituents, this approach is not novel39, and is supported by a recent meta-analysis across 123 studies40, which reported the reliability of FFQs to capture nutrient constituents with correlation coefficients consistently exceeding 0.5 for most nutrients. This nutrient-centric methodology may offer accurate representation of dietary patterns across diverse populations, as nutrients align more closely with biological and physiological processes than food group categories. Acknowledging the limitations of FFQs, including recall bias and quantification challenges, our study incorporates blood metabolomics to provide objective biomarkers for dietary intake. This approach, while not without its own limitations, such as the transient nature of dietary-derived biomarkers, has validated the western dietary pattern both internally, through a strong metabolomic imprint, and externally, in two independent FFQs in the VDAART cohort. Many studies have likewise found strong dietary signatures in the metabolome, suggesting this may be a promising avenue for personalised nutrition and targeted therapeutic strategies29.

Our findings for ADHD were strengthened by external validation in three independent mother–child cohorts. This validation enhances the reliability and generalisability of our results, despite the presence of notable differences in cohort characteristics. The validation for ADHD diagnosis in the large-scale DNBC cohort, encompassing 59,725 mother–child pairs, underscores the relevance and utility of our findings in the general population. Moreover, validation from the US-based VDAART cohort demonstrates the broad applicability of our findings across diverse ethnic and racial groups, dietary habits and socioeconomic spectra. In VDAART, our external validation was significantly strengthened by focusing on a subset of metabolites identified in causal mediation analysis, implying these metabolites may be crucial intermediaries in the associations observed. Additionally, the VDAART findings enhance our understanding from COPSAC2010, with stronger associations of the western dietary pattern for ADHD in early pregnancy (10–18 weeks), which may reflect a more sensitive period of neurodevelopment. Given this context, it may not be surprising to see weaker associations from neonatal DBS in COPSAC2000, potentially reflecting dietary intakes in late pregnancy.

We cannot rule out potential confounding by maternal phenotypic factors that relate to child neurodevelopmental disorders; however, supplementary analysis adjusting for maternal genetic risk did not change our main findings. Given the observational nature of our data, we cannot elucidate the critical window of these dietary associations. Moreover, it is possible that there are discrepancies in the metabolomics platforms concerning metabolite detection, annotations and cross-platform compatibility, which may introduce bias. Nevertheless, the same metabolomics platform was employed for all maternal and child time points in the COPSAC2010 and VDAART cohorts (HD4, Metabolon), as well as for the DBS metabolomics profiles in both the COPSAC2010 and COPSAC2000 cohorts41. A further limitation is that metabolite scores for children, derived from modelling on pregnant mothers, may not reflect dietary patterns in childhood. However, correlations between pregnancy and child metabolite scores were consistently ≥0.33 in both COPSAC2010 and VDAART, which may partly reflect vertically transferred metabolites42. While dietary intakes remain stable across pregnancy trimesters43, our ability to distinguish potential acute effects of a pregnancy western dietary pattern or longer-term effects is limited by our reliance on a single FFQ assessment.

Moving forward, future research should focus on establishing causality to further elucidate the relationship between western dietary patterns in pregnancy and neurodevelopmental outcomes. While animal studies have provided valuable insights44, further clinical investigations are warranted. Our findings underscore the potential for targeted prevention strategies and conducting randomised controlled trials would be instrumental in establishing causality. Additionally, genetic studies could strengthen causal inference in our observational data45.

In conclusion, a western dietary pattern in pregnancy was strongly associated with ADHD and autism, and with symptom loads for these disorders. Our findings suggest that early–mid-pregnancy may be a particularly sensitive window during which dietary influences may impact child neurodevelopment. Highlighting specific subgroup effects, our research points towards the potential for tailored dietary guidelines during pregnancy, especially for at-risk populations. Ultimately, our research underscores the importance of developing targeted dietary interventions for pregnant women to potentially mitigate the risk of neurodevelopmental disorders in children.

Methods

Study design

The primary analysis of our research was conducted within the COPSAC2010 mother–child cohort, supplemented by validation analyses in three independent mother–child cohorts: the DNBC, the VDAART and COPSAC2000. The COPSAC2010 cohort includes 700 mother–child pairs with extensive phenotyping from 14 clinical visits and exposure assessments since birth, including infants born within a gestational range of 30 to 42 weeks, thus covering both preterm and full-term births46. Outcome data for this study were derived from the COPSYCH study47nested within the COPSAC2010 mother–child cohort, at age 10 years.

In validation analysis, we utilised the DNBC, a large mother–child cohort that recruited over 100,000 pregnant mothers from early gestation, approximately 35% of pregnancies during the recruitment period, to validate our findings of the food frequency questionnaire-derived dietary pattern48,49. Furthermore, we used the large independent US-based VDAART mother–child cohort (NCT00920621) (n = 656)50, to validate our blood metabolome modelling51 and further validated our findings in the COPSAC2000 cohort (n = 348), using metabolic profiles from neonatal DBS52. Extended Data Fig. 10 summarizes the study design, cohorts and analytical approach.

The COPSYCH 10-year visit

The COPSYCH study comprised a 2-day clinical visit that focused on neurodevelopment, reflected by neurocognition and psychopathology47. Clinical examinations were carried out between January 2019 and December 2021.

We used both the International Classification of Disorders 10th Revision (ICD-10) of Mental and Behavioural Disorders: Clinical descriptions and diagnostic guidelines and Diagnostic and Statistical Manual of Mental Disorders, Fifth Edition (DSM-5) criteria for research diagnoses based on clinical information from the 10-year visit. ADHD ICD-10 diagnostic codes assigned at the COPSYCH visit included: DF90.0 (disturbance of activity and attention), DF90.8 (other hyperkinetic disorders) and DF98.8C (ADD without hyperactivity). For secondary analysis, we further specified ADHD combined presentation (DSM-5) (fulfilling ICD-10 DF90.0 or DF90.8) and ADHD predominantly inattentive presentation (DSM-5) (fulfilling ICD-10 DF98.8C). Autism ICD-10 diagnostic codes assigned were: DF84.0 (childhood autism), DF84.5 (Asperger’s syndrome) and DF84.8 (other pervasive developmental disorders). For our analysis, we also included additional neurodevelopmental disorder codes under the umbrella of ‘any neurodevelopmental disorder’, including DF95.1 (chronic motor or vocal tic disorder), DF95.2 (Tourette’s syndrome), DF88 (other disorders of psychological development), and DF89 (unspecified disorder of psychological development), in addition to ADHD and autism as previously described.

The ADHD Rating Scale (ADHD-RS) questionnaire was completed by parents to assess the severity of inattentive and impulsive-hyperactive symptoms6 and the Social Responsiveness Scale-2 (SRS-2) was used to assess the severity of autism traits in the whole cohort7. Symptom loads are derived from the total scores of the ADHD-RS (Q1–Q18) and SRS-2 questionnaires. Subscales for ADHD-RS and SRS-2 are utilised in subanalysis. In addition, at 6 years, we evaluated hyperactivity/inattention problems using the subscale from the SDQ, which scores range from 0 to 10 (refs. 53,54).

The Kiddie Schedule for Affective Disorders and Schizophrenia for School-Age Children Present and Lifetime Version (K-SADS-PL)25 was used to assess current and lifetime psychopathology through a general screening interview and supplementary interview for relevant disorders55. All K-SADS-PL interviews were conducted by a trained clinician. If certain thresholds are reached, a supplementary interview is conducted to assign relevant diagnoses based on all available information. Consensus diagnoses were made between senior researcher and psychologist with specialty in child and adolescent psychiatry (J.R.J.M.J.) and at least two examiners according to both the Diagnostic and Statistical Manual of Mental Disorders, Fifth Edition56 and the ICD-10 of Mental and Behavioural Disorders: Clinical descriptions and diagnostic guidelines57. Diagnostic classification was further validated by a professor in child and adolescent psychiatry (N.B.). An estimation of interrater reliability on the symptom level was performed based on video recordings of ten participants with J.R.J.M.J. as the gold standard. The overall agreement, including both currently present and not present symptoms, was 99.48% (95% CI 99.25–99.66). The agreement specifically on present symptoms was 88.48% (95% CI 82.60–92.92).

Food frequency questionnaires and pregnancy dietary patterns

At 24 weeks of gestation, upon their recruitment to the COPSAC2010 cohort, mothers were asked to complete a validated semi-quantitative FFQ with a 1-month recall period, encompassing 360 items detailing their dietary intake over the previous month. Mothers in COPSAC2010 and DNBC were subsequently excluded from the analysis for reporting unrealistic energy intakes, either below 4,200 kJ d−1 or exceeding 16,700 kJ d−1. Utilised in both the DNBC validation cohort and the COPSAC2010 cohort, this FFQ has been validated in both a group of younger women58 and for pregnant women59,60. The timing of FFQ completion at week 25 in the DNBC cohort, closely aligned with the COPSAC2010 cohort’s at 24 weeks, and thus facilitates the examination of dietary pattern associations on neurodevelopmental outcomes49. Mothers reported their intake of foods with natural units like apples, while for items without natural units, such as lasagne, they indicated frequency of consumption. Nutrient intakes were estimated using standard portion sizes and recipes, with frequency categories converted to daily intake. Intakes of various food items were calculated based on standard portion size assumptions, measured in grams per day. Nutrient constituents were then determined using the National Food Institute’s Food Composition Databank, v.7 (ref. 61). Nutrient constituents were selected for analysis due to its association with physiological and metabolic functions, which provides a perspective on biological mechanisms applicable across various populations. During the COPSYCH clinical assessment at the age of 10 years, we collected data on the dietary habits of children. The FFQ, encompassing 145 distinct food items, aimed to capture the consistent dietary habits of children. It has been previously validated for use among adolescents aged 12–15 years in the DNBC study62. Intakes of food groups and nutrient components were measured using the same method as the pregnancy questionnaire mentioned above.

In COPSAC2010, PCA was used to identify maternal dietary patterns based on the calculated estimates of energy, macronutrient, and micronutrient intake in 613 mothers, providing a direct reflection of total nutrient intake. Nutrient-based PCA was chosen as it provides a comprehensive representation of dietary preferences and enables the identification of patterns aligned with health outcomes, facilitating reliable diet-disease analyses39. Studies have also demonstrated that energy adjustment has minimal influence on the patterns derived, supporting the robustness of this methodology63. In the DNBC cohort, dietary pattern validation was achieved using the PC model originally trained in COPSAC2010 data, ensuring the identification of directly comparable dietary patterns across the two cohorts. To validate our methodology, we also assessed for associations of a comparable dietary pattern trained within the DNBC. In COPSAC2010, the derived dietary patterns were associated with estimates for food groups for interpretability. The sum totals of nutrient constituents were excluded to avoid redundancy in the PCA.

In the VDAART cohort, mothers were asked to complete a semi-quantitative FFQ during the clinical visit corresponding to when the blood metabolome samples were taken: 10–18 weeks and 32–38 weeks gestation64. The FFQ captured the average weekly consumption of each food item(s) over the past year using the following ordinal categories: ‘Less than once per week’ as 0; ‘Once per week’ as 1; ‘2–4 times per week’ as 2; ‘Nearly daily or daily’ as 3; and ‘Twice or more per day’ as 4.

DNBC, VDAART and COPSAC2000 neurodevelopmental outcomes

In the DNBC cohort, neurodevelopmental outcomes were derived from national registers. Specifically, outcome data were extracted from the Danish National Patient Register65, the Danish Psychiatric Central Research Register66 and the Danish National Prescription Registry67. Children were defined as having an ADHD diagnosis if they had received an ADHD diagnosis or redeemed a prescription for ADHD medication after reaching 3 years of age. The diagnoses were obtained from the Danish National Patient Register and Danish Psychiatric Central Research Register. These were recorded according to the ICD-10 and we defined a case by using the diagnostic codes from F90.x. Prescriptions of ADHD medication were identified from the Danish National Prescription Registry using the Anatomical Therapeutic Chemical Classification codes for methylphenidate (N06BA04), modafinil (N06BA07) and atomoxetine (N06BA09). Similarly, autism diagnosis was defined as children aged 2 years or older with a diagnosis code of ICD-10: F84.0, F84.1, F84.5, F84.8 or F84.9, derived from the Danish National Patient Register or the Danish Psychiatric Central Research Register. Any neurodevelopmental diagnosis disorder was defined as having an ADHD or autism diagnosis, as defined above, or any of the following ICD-10 codes: F80–83 (other developmental disorder), F84 (pervasive developmental disorders), F88–89 (other/unspecified disorders of psychological development), F95 (tic disorders), F98.8 (ADHD – inattentive type) and F20–F29 (schizophrenia spectrum disorder). In addition, at 7 years, we evaluated hyperactivity/inattention problems using the subscale from the SDQ, with scores ranging from 0 to 10 (refs. 53,54).

Parents of VDAART children at the 6-, 7- and 8-year follow-up visits were asked if their child ‘had ever received a physician diagnosis of ADD or ADHD’ or ‘had ever received a physician diagnosis of autism’. Our main analysis was on children at the age of 6 years. Further for an analysis of robustness we assessed associations on whether children had ever had a diagnosis of ADD/ADHD or autism up to the age of 8 years.

In COPSAC2000, participants were asked to complete the ASRS v.1.1 at the 18-year clinical cohort visit68. The ASRS has been validated and demonstrated good reliability and validity in screening for ADHD in adults. In our analysis, participants received a score of 1 for any question that deemed a symptom of ADHD (such that total scores could range from 0 to 18)69. As a subanalysis we stratified inattention-based questions (Q1–Q4 and Q7–Q11) and hyperactivity-impulsivity questions (Q5–Q6 and Q12–Q18).

Blood metabolome

Untargeted plasma metabolomics data were collected from mothers at mid-pregnancy (24 weeks gestation) and 1 week postpartum, and from children at ages 6 months, 18 months and 6 years in the COPSAC2010 cohort. A blood sample was collected using an EDTA tube during the visit to the research clinic site, then centrifuged for 10 min at 4,000 rpm to extract the plasma. The supernatant was secured and stored at −80 °C for future analysis. The untargeted metabolomic analysis of the plasma samples for both COPSAC2010 and the VDAART cohorts were carried out by Metabolon.

For sample preparation, we employed the MicroLab STAR system from Hamilton Company, which is an automated process. Each sample was enhanced with recovery standards to ensure quality control before metabolites were extracted using methanol. This extraction process involved vigorous shaking for 2 min using a Glen Mills GenoGrinder 2000, followed by centrifugation, to precipitate proteins. The extract was then divided into four aliquots for further analysis on four different liquid chromatography–tandem mass spectrometry (LC–MS/MS) platforms. The aliquots were dried using a TurboVap (Zymark) to evaporate the organic solvent, then stored under nitrogen overnight before LC–MS/MS preparation.

The analysis through LC–MS/MS was conducted using an ACQUITY Ultra-Performance Liquid Chromatography (UPLC) system by Waters, coupled with a Q-Exactive Hybrid Quadrupole-Orbitrap mass spectrometer, which includes a heated electrospray ionisation (HESI-II) source, provided by Thermo Fisher Scientific. We prepared the sample extracts in solvent mixes specifically chosen for each of the four LC methods applied: two methods were reverse phase UPLC-ESI(+) MS/MS for analysing both hydrophilic and hydrophobic molecules; another was a reverse phase UPLC-(−) MS/MS; and the last was HILIC/UPLC-(−) MS/MS. The MS analysis alternated between full-scan MS and data-dependent MSn scans with dynamic exclusion, covering a scan range from 70 to 1,000 m/z for both ion modes.

In terms of data collection and quality control, the raw data were subjected to extraction, peak identification and followed by quality control procedures. The semi-quantification of samples was based on the area-under-the-curve method. Further details are discussed in our previously published work70.

Data preprocessing was carried out by excluding metabolites with >33% missingness. Remaining missing data was imputed using random forest imputation (missForest package, v.1.5)71 and the metabolome data were log-transformed, centred and scaled, before analysis. A pattern of missingness identified in the metabolite subset (0.11 (0.02–0.20); P = 0.021) suggested under detection in the western dietary pattern, with no corresponding bias for neurodevelopmental outcomes or across the full metabolome (Supplementary Table 13), reinforcing the validity of our imputation approach. The metabolome data for mothers at mid-pregnancy (24 weeks gestation) had a total of 760 annotated metabolites for analysis. Of these, 744 metabolites overlapped between the 24-week gestation period and one week postpartum, 516 metabolites overlapped with 6-month data, 707 metabolites overlapped with 18-month data and 540 metabolites overlapped with 6-year data.

We used two VDAART blood metabolome pregnancy time points (10–18 weeks and 32–38 weeks), measured on the same platform as the COPSAC2010 samples, to replicate our findings for ADHD. The 24-week pregnancy time point in COPSAC2010 was compared with those for early pregnancy (10–18 weeks gestation) and late pregnancy (32–38 weeks gestation) in VDAART, identifying 640 and 689 overlapping metabolites, respectively. We further predicted metabolite scores for the VDAART children, with 523 overlapping metabolites at 1 year, 530 at 3 years and 677 overlapping metabolites at 6 years. The metabolite scores were predicted using the model trained on COPSAC2010 data; applied to log-transformed, centred and scaled VDAART data. The metabolite score predictions were subsequently scaled, and thus results should be interpreted as per s.d. change in the given population.

Neonatal dried blood spot samples

DBS samples from COPSAC2010 (n = 677) and COPSAC2000 (n = 387) were respectively collected at age 2–3 days and 1–12 days after birth, and stored at −20 °C at the Danish National Biobank until analysis. Metabolic profiles of the DBS samples were acquired by LC–MS. Data preprocessing was executed using both XCMS and MZmine, with the quality assessed based on the distribution of pooled samples41. Metabolite extraction from DBS samples, a 3.2-mm punch in diameter, was conducted using a MicroLab STAR automated liquid handler from Hamilton Bonaduz. These samples were extracted onto 96-well plates in batches with 100 μl 80% methanol, specifically designed for analytical processes. Subsequently, 75 μl of the supernatants were shifted to fresh plates, air-dried under a nitrogen atmosphere and reconstituted in 75 μl 2.5% methanol. Before injection, 65 μl was transferred onto the final plates. For the analysis, samples from both COPSAC2000 and COPSAC2010 were divided, with the former distributed across six batches and the latter across ten. Each batch or plate comprised eight water blanks, an internal standard mix, four external controls, three paper blanks, four pooled samples, two diluted pools and 74 cohort samples. All extractions utilised LC–MS-grade solvents provided by Thermo Fisher Scientific. An addition of 24 isotope-labelled internal standards, encompassing amino acids and acylcarnitines, was made to the extraction solvents. These standards, consistent in concentration across samples, were employed to ensure quality and evaluate the efficacy of batch correction and normalisation that followed. To further gauge the variability in sample preparation, acquisition and preprocessing, quality control pooled samples were periodically assessed throughout the analysis run. Metabolic profiles were generated using a high-resolution Thermo Scientific Q-Exactive Orbitrap mass spectrometer, linked to a Dionex Ultimate 3000 UPLC. This complex procedure involved a series of specific injection, gradient operation and parameters for MS analysis. Preprocessing of the acquired data involved the use of software such as XCMS, MZmine and MSconvert, with specific protocols established for peak detection, alignment, deconvolution and filtering. Ensuring data quality was paramount and this was maintained through the use of internal standards and a series of checks, including PCA to confirm the clustering of pooled samples. For a more detailed insight into the equipment settings, data preprocessing steps and quality controls, refer to the specific sections on MS settings, LC–MS/MS data preprocessing and quality control in the supplementary information. Further in-depth description of sample preparation, LC–MS metabolic profiling and data preprocessing for both cohorts can be found in previous work41.There were 2,313 features detected in COPSAC2010 and 2,363 features in COPSAC2000. As the majority of features were unnamed, we merged both datasets using an inexact matching criterion (mass ± 0.01, retention time ± 0.1) using the fuzzyjoin R package (v.0.1.6)72 and subsequently found 1,253 overlapping metabolites between cohorts. For further robustness, we applied a further filter, only retaining features that had a cross-correlation between cohorts of >0.4, ending with 951 overlapping features between cohorts.

Information on covariates

We included covariates based on a directed acyclic graph constructed to guide covariate selection using causal reasoning73,74. This approach guided identification of the most relevant covariates and confounders by considering potential causal pathways and relationships among variables. Accordingly, in our multivariable analysis we included the following covariates for COPSAC2010: pre-pregnancy maternal BMI, social circumstances (the first PC of household income, maternal education level and maternal age at birth), child sex, birth weight, gestational age, smoking during pregnancy, antibiotic use during pregnancy, pre-eclampsia and a child western dietary pattern, assessed by a FFQ from children at 10 years old. Missing covariate data were imputed, based on the available covariate information available using the imputePCA function with one component from the missMDA (v.1.18) R package.

Additionally, we conducted sensitivity analysis in COPSAC2010 to explore the influence of the following variables: the results of two randomised controlled trials conducted within the COPSAC2010 cohort (n3-LCPUFA supplementation and high-dose vitamin D during pregnancy)46, total energy intake derived from the maternal FFQ, maternal ADHD genetic risk, intake of prenatal supplements and genomic PCs. Specifically, adjustment of intake of prenatal supplements was conducted by adjusting for the first seven PCs (explaining 78.6% of the total variance) of the estimated intakes of 31 vitamins, minerals and fatty acids, recorded at the time of the 24-week FFQ, and whether prenatal supplements were taken (yes (94.1%) or no (5.9%)). Missing data were imputed using the same approach described above from the missMDA R package.

Covariates used in multivariable analysis for the DNBC included pre-pregnancy maternal BMI, parental social group (high, medium, skilled, student, unskilled or unemployed), maternal age, child sex, birth weight, gestational age and smoking during pregnancy. Missing covariate data were imputed based on existing covariates using multiple imputation as implemented by the PROC MI procedure (fully conditional specification method) in SAS (v.9.1, SAS Institute).

Covariates used in multivariable analysis for the VDAART included pre-pregnancy maternal BMI, social circumstances (the first PC of household income, maternal education level and maternal age at birth), child sex, birth weight, gestational age, smoking during pregnancy, pre-eclampsia and race. Missing covariate data were imputed, based on the available covariate information using the imputePCA function with one component from the missMDA (v.1.18) R package.

Covariates used in multivariable analysis for COPSAC2000 included social circumstances (the first PC of household income, maternal education level and maternal age at birth), child sex, birth weight, antibiotics during pregnancy and smoking during pregnancy.

The child sex variable in COPSAC2010, the DNBC, COPSAC2000 and VDAART was interpreted as sex assigned at birth.

Polygenic risk scores

Maternal and child genotypes in the COPSAC2010 cohort were analysed using the Illumina Infinium HumanOmniExpressExome BeadChip. To calculate PRS for ADHD and autism, we used data from genome-wide association meta-analyses of diagnosed ADHD cases (n = 20,183) and controls (n = 35,191)75 and autism cases (n = 18,381) and controls (n = 27,969)76.

The software package PRS-CS was used for PRS construction through regularising SNP effects using a shrinkage prior77. PRS-CS uses a linkage disequilibrium reference panel constructed via European ancestry samples from the 1000 Genomes Project. We used the automatic estimation of the polygenicity parameter (phi). Subsequent to SNP effect adjustment with PRS-CS, we used the software PLINK2 (ref. 78) to aggregate SNP effects into PRSs for each individual. The scores were scaled to mean 0 and s.d. 1 for each phenotype.

Statistical analysis

Logistic regression models were used to determine the associations of maternal dietary patterns on neurodevelopmental disorders, and linear regression models were used to assess the associations of maternal dietary patterns on parentally reported symptom loads for ADHD and autism. All multivariable models were adjusted for the previously mentioned covariates. Dietary PCs and metabolite scores were scaled to enhanced interpretation (ORs and estimates are interpreted as per s.d. change). We used linear interaction models to examine the modulating effects of genetics, child sex and maternal BMI on neurodevelopmental outcomes. All interaction models were multivariable (see ‘Information on covariates‘), additionally including genetic risk (see ‘Polygenic risk scores‘). We excluded five individuals from the analysis. Specifically, we removed the second twin from twin pairs as the exposure of interest was not independent. However, non-twin sibling pairs were retained in the analysis, as the exposure and outcome measures were independently assessed for each sibling.

To address concerns about statistical power, we conducted a post hoc power calculation directly on the discovery cohort using the pwrss package (v.0.3.1) in R. The analysis was based on base probabilities of 0.1 for ADHD and 0.03 for autism, reflecting the observed prevalence rates in our dataset. Assuming a type I error rate of 5% (0.05), a squared correlation (R2) of 0.2 between the predictor and other covariates and a 1 × s.d. increase of a normally distributed exposure, we determined the minimum detectable effect sizes for a power of 80% (0.8). With a sample size of 508 participants, we are powered to detect an OR of 1.66 for ADHD (n = 415) and OR of 2.22 for autism (n = 436). These calculations suggest that while effect sizes smaller than these thresholds might go undetected, the cohort’s size allows for meaningful assessment of associations within this range.

We used Gaussian graphical network models via the framework described by Williams and Rast79. Gaussian graphical models show the non-zero relationships (95% Cl) between the dietary pattern, neurodevelopmental outcomes and model covariates, controlling for the linear effects of all covariates expressed as partial correlations. We integrated gestational age and birth weight to refine our Gaussian graphical network models, as these variables are highly collinear80. From these models, significant associations in the resulting precision matrices were visualised as interconnected network diagrams utilising the ggraph (v.2.1.0), igraph (v.1.2.11) and qgraph (v.1.9.2) libraries in R.

We used the caret package (v.6.0.90) to establish western dietary pattern metabolite scores (WDP-MS), via sparse partial least squares regression on the COPSAC2010 metabolomics datasets, with the pregnancy western dietary pattern as the response. Individual models were created for predicting WDP-MS at other time points, using the subset of overlapping metabolites (see ‘Blood metabolome‘). To improve interpretability and reduce the risk of overfitting, we used single-component models, applying cross-validated predictions (repeated cv, number of segments = 5, repeats = 10). After reviewing models that varied in sparsity (incremented by 0.1 from 0 to 1), we opted for the model with the lowest RMSECV as our selection criteria. For external validation between COPSAC2010 and VDAART, we adjusted our model parameters to balance against overfitting while ensuring optimal performance, leading to the selection of models that were within +0.01 RMSECV of the best-performing model. We trained a sPLS model in the COPSAC2010 cohort on the western dietary pattern from DBS metabolic profiles that overlapped with the COPSAC2000 cohort, with the western dietary pattern as the response variable.

To elucidate the role of metabolites as potential biomarkers or mediators in the association between a western dietary pattern and neurodevelopmental disorders, we employed a systematic backward elimination strategy. This approach was designed to iteratively exclude metabolites, aiming to identify those with the most profound mediating influence on the outcome. We employed 10,000 iterations for each step of this elimination. We used two linear models: one linking a composite metabolite score to the western dietary pattern and covariates, and another assessing its mediating role between dietary patterns and neurodevelopmental outcome. This causal mediation analysis was conducted with the mediation package in R (v.4.5.0).

When comparing the associations of the mother and child WDP-MS in logistic regression, we utilised the imputePCA function from the missMDA package (v.1.18)81 to impute missing data with one component (12.5% in COPSAC2010). This was conducted using the available metabolite scores as a reference. Linear mixed models with variable slopes and intercepts were applied to the WDP-MS data, integrating gestational age alongside chronological age. The slopes and intercepts were treated as random effects, allowing for modelling of the longitudinal association of the identified maternal dietary pattern on neurodevelopmental outcomes. Accordingly, the random effects were extracted for inference, the ‘lme4’ R-package (v.1.1.28) was used for modelling82, both slopes and intercepts were scaled (estimates are interpreted as per s.d. change).

A significance level of 0.05 was used in all analyses and FDR control was applied where relevant (<0.05). All data analyses were performed with the statistical software R v.4.1.1. Data distribution was assumed to be normal but this was not formally tested. Other R packages utilised in this analysis include tidyverse (v.1.3.1), dplyr (v.1.0.10), broom (v.0.7.12), lubridate (v.1.8.0), ggpubr (v.0.4.0) and tableone (v.0.13.0).

Reporting summary

Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.

Data availability

For the COPSAC2010 and COPSAC2000 cohort datasets, participant-level personally identifiable data are protected under the Danish Data Protection Act and European Regulation 2016/679 of the European Parliament and of the Council that prohibit distribution even in pseudo-anonymised form. However, participant-level data can be made available under a data-transfer agreement as part of a collaboration effort with COPSAC (ulrik.ralfkiaer@dbac.dk).

For the VDAART cohort dataset, participant-level data are protected under the consent agreements provided by study participants and applicable US data privacy laws. Data access is subject to stringent security and compliance measures to ensure alignment with the participant consent. Use of the data is restricted to approved investigators within the recipient institution, and data cannot be transferred to personal devices or shared with external parties without prior approval. Collaboration and agreement with VDAART investigators are required for any use of the data. Requests for access to VDAART data should include a detailed proposal outlining the intended analyses and collaborative framework with VDAART investigators. For further inquiries, please contact the VDAART leadership team (rejas@channing.harvard.edu). For the DNBC cohort dataset, participant-level data are subject to controlled access and protected under the Danish Data Protection Act and European Regulation 2016/679 of the European Parliament and of the Council. These regulations prohibit the distribution of personally identifiable data, even in pseudo-anonymised form, outside the permitted framework. Access to DNBC data is granted on a need-to-know basis and requires approval from the DNBC Reference Group, listing of the project on the applicant’s institution’s data processing register and compliance with the conditions for access. Researchers may request access to DNBC data by submitting an application form and protocol to the DNBC Secretariat (dnbc-research@ssi.dk). Source data are provided with this paper.

Extended Data

Extended Data Fig. 1 |. Biplot of the first two principal components (PCs) from the maternal food frequency questionnaire-derived nutrient constituents.

Extended Data Fig. 1 |

The left panel displays box-and-whisker plots summarizing the distribution of PC2 scores, and the bottom panel shows PC1 scores, for children stratified by neurodevelopmental diagnosis status (NDD, ADHD, and autism), with boxes representing the interquartile range (IQR; 25th–75th percentile), centre lines indicating the median, and whiskers extending to 1.5 times the IQR. PC2 (Western dietary pattern) is significantly associated with any neurodevelopmental disorder (OR 1.53 (1.17–2.00), p = 0.002), ADHD (OR 1.66 (1.21–2.27), p = 0.002), and autism diagnosis (OR 2.22 (1.33–3.74), p = 0.002). PC1 is not significantly associated with any neurodevelopmental disorders (p > 0.288). Further details of the loadings for each of the 95 nutrient constituents can be viewed in supplementary table 2. Adjustments were not made for multiple comparisons.

Extended Data Fig. 2 |. Biplot of the first two principal components from the maternal FFQ-derived nutrient constituents.

Extended Data Fig. 2 |

Biplot of the first two principal components from the maternal FFQ-derived nutrient constituents A) Nutrient constituents are categorized into fatty acids, amino acids, sugars, minerals and vitamins. Fatty acids are a key determinant of PC2 (Western dietary pattern) B) Stratified further by fatty acid type, saturated fatty acids are most associated with PC2 (Western dietary pattern).

Extended Data Fig. 3 |. Comparison of maternal blood metabolomes at three different pregnancy time points from two mother–child cohorts.

Extended Data Fig. 3 |

Top panels show a Principal Component Analysis (PCA) scoreplot on all metabolites, as well as the selected metabolite scores for the COPSAC2010 vs VDAART 10–18 weeks (left) and COPSAC2010 vs VDAART 32–38 weeks (right). Bottom panels show the relative variation per metabolite computed by the ratio of sums of squares (SSQtime/SSQresidual) from a one-way anova model with Time/Cohort at predictor and Comparison of per metabolite standard deviation within cohort relative to 24-week gestation pregnancy time point from COPSAC2010 for the COPSAC2010 vs VDAART 10–18 weeks (left) and COPSAC2010 vs VDAART 32–38 weeks (right).

Extended Data Fig. 4 |. Linear regression associations between pregnancy dietary intake and western dietary pattern metabolite scores in the VDAART cohort.

Extended Data Fig. 4 |

Linear regression associations between dietary intake from food frequency questionnaires (FFQs) during pregnancy and Western Dietary Pattern Metabolite Scores (WDP-MS) at two distinct time points (10–18 weeks (n = 775) and 32–38 weeks (n = 780)) in the VDAART cohort. The depicted associations, based on the VDAART cohort, were assessed using COPSAC2010 cohort-trained models that shared overlapping metabolites. Positive and negative associations are represented by colour coding, with confidence intervals reflecting the uncertainty of the estimates. Bar plots represent model estimates with error bars indicating 95% confidence limits. Adjustments were not made for multiple comparisons.

Extended Data Fig. 5 |. Metabolites associated with a western dietary pattern and their mediation of ADHD diagnosis in the VDAART cohort.

Extended Data Fig. 5 |

Metabolites associated with a Western dietary pattern at VDAART gestational time points (10–18 weeks and 32–38 weeks), based on models from the COPSAC2010 cohort. The selected metabolite scores are depicted by bars, distinguished by their metabolic pathway. Striped bars indicate metabolites that mediate the association with ADHD Diagnosis in COPSAC2010, while solid bars signify non-mediating metabolites. The directionality of the bars represents the positive or negative metabolite score. Metabolite scores from VDAART are colour-coded for each time point: 10–18 weeks (green) and 32–38 weeks (purple).

Extended Data Fig. 6 |. Comparative analysis of metabolomic data across newborn dried blood spots from the COPSAC2010 and COPSAC2000 cohorts.

Extended Data Fig. 6 |

Comparative analysis of metabolomic data across newborn dried blood spots from the COPSAC2010 and COPSAC2000 mother–child cohorts. Principal Component Analysis (PCA) plots illustrate the distribution and separation of metabolomic data between cohorts. Panels AC represent overlapping metabolomes used in our analysis (n = 951, n = 774, n = 626), showcasing subsets of metabolites selected based on varying degrees of correlation and distributional similarity between cohorts. A: displays the PCA for metabolites with correlations greater than 0.4 (n = 951), B: Correlations greater than 0.6 (n = 774), and C: Metabolites with a correlation greater than 0.6 passing the two-sample Kolmogorov-Smirnov test with a threshold of >=0.05 (n = 626).

Extended Data Fig. 7 |. Modulation of the western dietary pattern, stratified by child sex, on neurodevelopmental outcomes.

Extended Data Fig. 7 |

Odds ratio estimates of ADHD (A) and autism diagnoses (B) based on interactions of the Western dietary pattern, maternal pre-pregnancy BMI (split at median value 23.7), and child’s polygenic risk score (PRS) (median split) for ADHD and autism, stratified by child sex. Linear regression estimates for ADHD (C) and autism symptom loads (D) based on the Western dietary pattern, considering tertiles of maternal pre-pregnancy BMI ( < 22.2, 22.2–25.4, >25.4) and child’s PRS for ADHD and autism, stratified by child sex. Stars represent significance levels: * indicates p < 0.05, ** indicates p < 0.01, and *** indicates p < 0.001, with “NS” denoting non-significant results (p ≥ 0.05). Further details, including the individual associations of these modulating factors, can be found in Supplementary Table S11. Adjustments were not made for multiple comparisons.

Extended Data Fig. 8 |. Modulation of the western dietary pattern metabolite score on neurodevelopmental outcomes in COPSAC2010 cohort.

Extended Data Fig. 8 |

Odds ratio estimates for ADHD (A) and autism diagnoses (B) based on interactions of the Western dietary pattern metabolite score, maternal pre-pregnancy BMI (split at median value 23.7), and child’s polygenic risk score (PRS) (median split) for ADHD and autism. Linear regression estimates for ADHD (C) and autism (D) symptom loads are based on the Western dietary pattern metabolite score, considering tertiles of maternal pre-pregnancy BMI and child’s PRS for ADHD and autism. Stars represent significance levels: * indicates p < 0.05, ** indicates p < 0.01, and *** indicates p < 0.001, with “NS” denoting non-significant results (p ≥ 0.05). Further details, including the individual associations of these modulating factors, can be found in Supplementary Table S11. Adjustments were not made for multiple comparisons.

Extended Data Fig. 9 |. The western dietary patterns metabolite scores association with ADHD and autism symptom loads, considering standard clinical classifications of maternal pre-pregnancy BMI.

Extended Data Fig. 9 |

Panels A and D represent ADHD and autism symptom loads respectively, stratified by low/high genetic risk (median cut). Panels B and E further contextualize these associations based on maternal pre-pregnancy BMI categories. Panels C and F again contextualize these associations by stratifying by child sex (male sex shown). Panels AC include n = 522, while Panels DF include n = 523. Data represent model estimates with error bars indicating 95% confidence limits. Adjustments were not made for multiple comparisons.

Extended Data Fig. 10 |. Study design and validation of the western dietary pattern–neurodevelopmental association across cohorts.

Extended Data Fig. 10 |

Study design illustrating the discovery and validation of associations between a western dietary pattern during pregnancy and ADHD outcomes. The primary analysis was conducted in the COPSAC2010 mother-child cohort (n = 508), leveraging dietary data from pregnancy food frequency questionnaires (FFQ) and blood metabolomics profiling to derive a western dietary pattern metabolite score. Validation of findings was performed across three independent cohorts—Danish National Birth Cohort (DNBC, n = 59,625), VDAART (n = 656), and COPSAC2000 (n = 348)—utilizing distinct methodologies: FFQ-based dietary pattern analysis in DNBC, maternal metabolomic validation in VDAART, and neonatal dried blood spot (DBS) metabolomics in COPSAC2000.

Supplementary Material

Supplementary Materials
Supplementary Data

Acknowledgements

We express our deepest gratitude to the children and families of the COPSAC2010, COPSAC2000 and VDAART cohorts for all their support and commitment. We acknowledge and appreciate the unique efforts of the COPSAC research team. We acknowledge all funding received by COPSAC, listed on www.copsac.com. The Lundbeck Foundation (grant numbers R16-A1694 and R269-2017-5); the Ministry of Health (grant number 903516); the Danish Council for Strategic Research (grant number 0603-00280B) and the Capital Region Research Foundation have provided core support to the COPSAC research centre. This project has received funding from the European Research Council under the European Union’s Horizon 2020 research and innovation programme (grant agreement number 946228) (B.C.). MAR is funded by the Novo Nordisk Foundation (grant number NNF21OC0068517). C.P. was supported by an Australian National Health and Medical Research Council L3 Investigator grant (1196508) and by a grant from the Lundbeck Foundation (ID R246-2016-3237). J.L.-S. (R01HL123915, R01HL155742 and R01HL141826) and S.H.C. (K01HL153941) are funded through the National Institute of Heart, Lung and Blood Institute.

The Danish National Birth Cohort was established with a significant grant from the Danish National Research Foundation. Additional support was obtained from the Danish Regional Committees, the Pharmacy Foundation, the Egmont Foundation, the March of Dimes Birth Defects Foundation, the Health Foundation and other minor grants. The DNBC Biobank has been supported by the Novo Nordisk Foundation and the Lundbeck Foundation. Follow-up of mothers and children was supported by the Danish Medical Research Council (SSVF 0646, 271-08-0839/06-066023, O602-01042B, 0602-02738B), the Lundbeck Foundation (195/04, R100-A9193), The Innovation Fund Denmark 0603-00294B (09-067124), the Nordea Foundation (02-2013-2014), Aarhus Ideas (AU R9-A959-13-S804), University of Copenhagen Strategic Grant (IFSV 2012) and the Danish Council for Independent Research (DFF-4183-00594 and DFF-4183-00152).

The funders had no role in study design, data collection and analysis, decision to publish or preparation of the paper.

Competing interests

B.E. is part of the Advisory Board of Eli Lilly Denmark A/S, Janssen-Cilag, Lundbeck Pharma A/S, and Takeda Pharmaceutical Company; and has received lecture fees from Bristol-Myers Squibb, Boehringer Ingelheim, Otsuka Pharma Scandinavia AB, Eli Lilly Company and Lundbeck Pharma A/S. B.Y.G. has been the leader of a Lundbeck Foundation Centre of Excellence for Clinical Intervention and Neuropsychiatric Schizophrenia Research (CINS) (January 2009 to December 2021), which was partially financed by an independent grant from the Lundbeck Foundation based on international review and partially financed by the Mental Health Services in the Capital Region of Denmark, the University of Copenhagen and other foundations. All grants are the property of the Mental Health Services in the Capital Region of Denmark and administered by them. She has no other conflicts to disclose. J.L.-S. is a scientific advisor for Precion and a consultant to Tru Diagnostic. All other authors declare no competing interests. The funding agencies did not have any role in design and conduct of the study; collection, management and interpretation of the data; or preparation, review or approval of the paper. No pharmaceutical company was involved in the study.

Footnotes

Code availability

The custom code employed in this research is freely accessible to the public for transparency and reproducibility purposes. Specifically, code used in making the Gaussian graphical models and backward elimination mediation analysis can be found at https://github.com/dlghorn/Code-for-Gaussian-Graphical-Models-and-Backward-Elimination-Mediation-Analysis.

Ethics statement

The study is conducted in accordance with the Declaration of Helsinki and was approved by the Danish Ethics Committee (H-B-2008–093) and the Danish Data Protection Agency (2015–41-3696). The study is conducted and monitored in accordance with the requirements of GCP as defined in guidelines, EU Clinical Trials Directive (2001/20/EC) and EU GCP Directive (2005/28/EC). All study participants have signed approved informed consent forms before any study-related procedures. The confidentiality of all study participants will be protected in accordance with GCP guidelines.

Extended data is available for this paper at https://doi.org/10.1038/s42255-025-01230-z.

Supplementary information The online version contains supplementary material available at https://doi.org/10.1038/s42255-025-01230-z.

Peer review information Nature Metabolism thanks Kristopher Kahle and the other, anonymous, reviewer(s) for their contribution to the peer review of this work. Primary Handling Editors: Jean Nakhle and Ashley Castellanos-Jankiewicz, in collaboration with the Nature Metabolism team.

References

  • 1.Bougeard C, Picarel-Blanchot F, Schmid R, Campbell R & Buitelaar J Prevalence of autism spectrum disorder and co-morbidities in children and adolescents: a systematic literature review. Front. Psychiatry 12, 744709 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Dalsgaard S et al. Incidence rates and cumulative incidences of the full spectrum of diagnosed mental disorders in childhood and adolescence. JAMA Psychiatry 77, 155–164 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Willcutt EG The prevalence of DSM-IV attention-deficit/hyperactivity disorder: a meta-analytic review. Neurotherapeutics 9, 490–499 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Talantseva OI et al. The global prevalence of autism spectrum disorder: a three-level meta-analysis. Front. Psychiatry 14, 1071181 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Larsson H, Anckarsater H, Råstam M, Chang Z & Lichtenstein P Childhood attention-deficit hyperactivity disorder as an extreme of a continuous trait: a quantitative genetic study of 8,500 twin pairs. J. Child Psychol. Psychiatry 53, 73–80 (2012). [DOI] [PubMed] [Google Scholar]
  • 6.Makransky G & Bilenberg N Psychometric properties of the parent and teacher ADHD Rating Scale (ADHD-RS): measurement invariance across gender, age, and informant. Assessment 21, 694–705 (2014). [DOI] [PubMed] [Google Scholar]
  • 7.Constantino JN et al. Validation of a brief quantitative measure of autistic traits: comparison of the social responsiveness scale with the autism diagnostic interview-revised. J. Autism Dev. Disord 33, 427–433 (2003). [DOI] [PubMed] [Google Scholar]
  • 8.Cortés-Albornoz MC, García-Guáqueta DP, Velez-van-Meerbeke A & Talero-Gutiérrez C Maternal nutrition and neurodevelopment: a scoping review. Nutrients 10.3390/nu13103530 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Fernandes DJ et al. Exposure to maternal high-fat diet induces extensive changes in the brain of adult offspring. Transl. Psychiatry 11, 149 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Giriko CÁ et al. Delayed physical and neurobehavioral development and increased aggressive and depression-like behaviors in the rat offspring of dams fed a high-fat diet. Int. J. Dev. Neurosci 31, 731–739 (2013). [DOI] [PubMed] [Google Scholar]
  • 11.Mitchell AJ et al. Maternal western-style diet reduces social engagement and increases idiosyncratic behavior in Japanese macaque offspring. Brain Behav. Immun 10.1016/j.bbi.2022.07.004 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Prado EL & Dewey KG Nutrition and brain development in early life. Nutr. Rev 72, 267–284 (2014). [DOI] [PubMed] [Google Scholar]
  • 13.Cordain L et al. Origins and evolution of the western diet: health implications for the 21st century. Am. J. Clin. Nutr 81, 341–354 (2005). [DOI] [PubMed] [Google Scholar]
  • 14.Devarshi PP, Grant RW, Ikonte CJ & Hazels Mitmesser S Maternal omega-3 nutrition, placental transfer and fetal brain development in gestational diabetes and preeclampsia. Nutrients 10.3390/nu11051107 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Taylor MR, Chuang C, Carrasco KD, Nagatomo S & Rucklidge JJ Dietary and micronutrient treatments for children with neurodevelopment disorders. Curr. Dev. Disord. Rep 10.1007/s40474-018-0150-5 (2018). [DOI] [Google Scholar]
  • 16.Halliwell B, Cheah IK & Tang RMY Ergothioneine—a diet-derived antioxidant with therapeutic potential. FEBS Lett 592, 3357–3366 (2018). [DOI] [PubMed] [Google Scholar]
  • 17.Prince N et al. Phenotypically driven subgroups of ASD display distinct metabolomic profiles. Brain Behav. Immun 111, 21–29 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Poornimai Abirami GP et al. The regulation of reactive neuroblastosis, neuroplasticity, and nutraceuticals for effective management of autism spectrum disorder. Adv. Neurobiol 24, 207–222 (2020). [DOI] [PubMed] [Google Scholar]
  • 19.Naveed S, Lakka T & Haapala EA An overview on the associations between health behaviors and brain health in children and adolescents with special reference to diet quality. Int. J. Env. Res. Public Health 10.3390/ijerph17030953 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Basak S & Duttaroy AK Maternal PUFAs, placental epigenetics, and their relevance to fetal growth and brain development. Reprod. Sci 10.1007/s43032-022-00989-w (2022). [DOI] [PubMed] [Google Scholar]
  • 21.Pettersson E et al. Genetic influences on eight psychiatric disorders based on family data of 4 408 646 full and half-siblings, and genetic data of 333 748 cases and controls—CORRIGENDUM. Psychol. Med 49, 351 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Atladottir HO et al. The increasing prevalence of reported diagnoses of childhood psychiatric disorders: a descriptive multinational comparison. Eur. Child Adolesc. Psychiatry 24, 173–183 (2015). [DOI] [PubMed] [Google Scholar]
  • 23.Tran NQV & Miyake K Neurodevelopmental disorders and environmental toxicants: epigenetics as an underlying mechanism. Int. J. Genomics 10.1155/2017/7526592 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Keers R et al. A genome-wide test of the differential susceptibility hypothesis reveals a genetic predictor of differential response to psychological treatments for child anxiety disorders. Psychother. Psychosom 85, 146–158 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Faraone SV et al. The World Federation of ADHD International Consensus Statement: 208 evidence-based conclusions about the disorder. Neurosci. Biobehav. Rev 128, 789–818 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Borge TC et al. The associations between maternal and child diet quality and child ADHD—findings from a large Norwegian pregnancy cohort study. BMC Psychiatry 21, 139 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Howard AL et al. ADHD is associated with a “western” dietary pattern in adolescents. J. Atten. Disord 15, 403–411 (2011). [DOI] [PubMed] [Google Scholar]
  • 28.Vecchione R et al. Maternal dietary patterns during pregnancy and child autism-related traits: results from two US cohorts. Nutrients 10.3390/nu14132729 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.Noerman S & Landberg R Blood metabolite profiles linking dietary patterns with health: toward precision nutrition. J. Intern. Med 293, 408–432 (2023). [DOI] [PubMed] [Google Scholar]
  • 30.Bjørklund G et al. Oxidative stress in autism spectrum disorder. Mol. Neurobiol 57, 2314–2332 (2020). [DOI] [PubMed] [Google Scholar]
  • 31.Jiang H, Chen C & Gao J Extensive summary of the important roles of indole propionic acid, a gut microbial metabolite in host health and disease. Nutrients 10.3390/nu15010151 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Richardson AJ & Ross MA Fatty acid metabolism in neurodevelopmental disorder: a new perspective on associations between attention-deficit/hyperactivity disorder, dyslexia, dyspraxia and the autistic spectrum. Prostaglandins Leukot. Essent. Fatty Acids 63, 1–9 (2000). [DOI] [PubMed] [Google Scholar]
  • 33.Faraone SV & Larsson H Genetics of attention deficit hyperactivity disorder. Mol. Psychiatry 24, 562–575 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34.Santos JX et al. A role for gene-environment interactions in autism spectrum disorder is supported by variants in genes regulating the effects of exposure to xenobiotics. Front. Neurosci 16, 862315 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Ma SL et al. Genetic overlap between attention deficit/hyperactivity disorder and autism spectrum disorder in gene. Front. Neurosci 15, 649588 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Bateson P & Gluckman P Plasticity, Robustness, Development and Evolution (Cambridge University Press, 2011). [Google Scholar]
  • 37.Gusev A et al. Partitioning heritability of regulatory and cell-type-specific variants across 11 common diseases. Am. J. Hum. Genet 95, 535–552 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38.Newby PK & Tucker KL Empirically derived eating patterns using factor or cluster analysis: a review. Nutr. Rev 62, 177–203 (2004). [DOI] [PubMed] [Google Scholar]
  • 39.Zhao J et al. A review of statistical methods for dietary pattern analysis. Nutr. J 20, 37 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 40.Cui Q et al. A meta-analysis of the reproducibility of food frequency questionnaires in nutritional epidemiological studies. Int. J. Behav. Nutr. Phys. Act 18, 12 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41.Gürdeniz G et al. Neonatal metabolome of caesarean section and risk of childhood asthma. Eur. Respir. J 10.1183/13993003.02406-2021 (2022). [DOI] [PubMed] [Google Scholar]
  • 42.Brustad N et al. Diet-associated vertically transferred metabolites and risk of asthma, allergy, eczema, and infections in early childhood. Pediatr. Allergy Immunol 34, e13917 (2023). [DOI] [PubMed] [Google Scholar]
  • 43.Savard C et al. Trimester-specific dietary intakes in a sample of french-canadian pregnant women in comparison with national nutritional guidelines. Nutrients 10.3390/nu10060768 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44.Urbonaite G, Knyzeliene A, Bunn FS, Smalskys A & Neniskyte U The impact of maternal high-fat diet on offspring neurodevelopment. Front. Neurosci 10.3389/fnins.2022.909762 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45.Pingault JB et al. Using genetic data to strengthen causal inference in observational research. Nat. Rev. Genet 19, 566–580 (2018). [DOI] [PubMed] [Google Scholar]
  • 46.Bisgaard H et al. Deep phenotyping of the unselected COPSAC 2010 birth cohort study. Clin. Exp. Allergy 10.1111/cea.12213 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 47.Mohammadzadeh P et al. Effects of prenatal nutrient supplementation and early life exposures on neurodevelopment at age 10: a randomised controlled trial—the COPSYCH study protocol. BMJ Open 12, e047706 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 48.Olsen J et al. The Danish National Birth Cohort—its background, structure and aim. Scand. J. Public Health 29, 300–307 (2001). [DOI] [PubMed] [Google Scholar]
  • 49.Olsen SF et al. Data collected on maternal dietary exposures in the Danish National Birth Cohort. Paediatr. Perinat. Epidemiol 21, 76–86 (2007). [DOI] [PubMed] [Google Scholar]
  • 50.Litonjua AA et al. The vitamin D antenatal asthma reduction trial (VDAART): rationale, design, and methods of a randomized, controlled trial of vitamin D supplementation in pregnancy for the primary prevention of asthma and allergies in children. Contemp. Clin. Trials 38, 37–50 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51.Kelly RS et al. Metabolomics and communication skills development in children; evidence from the ages and stages questionnaire. Metabolites 10.3390/metabo9030042 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 52.Bisgaard H The Copenhagen Prospective Study on Asthma in Childhood (COPSAC): design, rationale, and baseline data from a longitudinal birth cohort study. Ann. Allergy Asthma Immunol 93, 381–389 (2004). [DOI] [PubMed] [Google Scholar]
  • 53.Obel C et al. The strengths and difficulties questionnaire in the Nordic countries. Eur. Child Adolesc. Psychiatry 13, II32–II39 (2004). [DOI] [PubMed] [Google Scholar]
  • 54.Sveen TH, Berg-Nielsen TS, Lydersen S & Wichstrøm L Detecting psychiatric disorders in preschoolers: screening with the strengths and difficulties questionnaire. J. Am. Acad. Child Adolesc. Psychiatry 52, 728–736 (2013). [DOI] [PubMed] [Google Scholar]
  • 55.Kaufman J et al. Schedule for affective disorders and schizophrenia for school-age children-present and lifetime version (K-SADS-PL): initial reliability and validity data. J. Am. Acad. Child Adolesc. Psychiatry 36, 980–988 (1997). [DOI] [PubMed] [Google Scholar]
  • 56.American Psychiatric Association. Diagnostic and Statistical Manual of Mental Disorders: DSM-5-TR (APA, 2022). [Google Scholar]
  • 57.World Health Organization. The International Statistical Classification of Diseases and Health Related Problems ICD-10: Tenth Revision. Vol. 2 (World Health Organization, 2004). [Google Scholar]
  • 58.Friis S, Kruger Kjaer S, Stripp C & Overvad K Reproducibility and relative validity of a self-administered semiquantitative food frequency questionnaire applied to younger women. J. Clin. Epidemiol 50, 303–311 (1997). [DOI] [PubMed] [Google Scholar]
  • 59.Mikkelsen TB, Olsen SF, Rasmussen SE & Osler M Relative validity of fruit and vegetable intake estimated by the food frequency questionnaire used in the Danish National Birth Cohort. Scand. J. Public Health 35, 172–179 (2007). [DOI] [PubMed] [Google Scholar]
  • 60.Mikkelsen TB, Osler M & Olsen SF Validity of protein, retinol, folic acid and n-3 fatty acid intakes estimated from the food-frequency questionnaire used in the Danish National Birth Cohort. Public Health Nutr 9, 771–778 (2006). [DOI] [PubMed] [Google Scholar]
  • 61.National Food Institute. Danish Food Composition Databank v.7.01 (Technical University of Denmark, 2013); http://www.foodcomp.dk [Google Scholar]
  • 62.Bjerregaard AA, Halldorsson TI, Kampmann FB, Olsen SF & Tetens I Relative validity of a web-based food frequency questionnaire for Danish adolescents. Nutr. J 17, 9 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 63.Smith ADAC, Emmett PM, Newby PK & Northstone K Dietary patterns obtained through principal components analysis: the effect of input variable quantification. Br. J. Nutr 109 1881–1891 (2013). [DOI] [PubMed] [Google Scholar]
  • 64.Kachroo P et al. Fish oil supplementation during pregnis protective against asthma/wheeze in offspring. J. Allergy Clin. Immunol. Pract 8, 388–91.e2 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 65.Schmidt M et al. The Danish National Patient Registry: a review of content, data quality, and research potential. Clin. Epidemiol 7 449–490 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 66.Mors O, Perto GP & Mortensen PB The Danish Psychiatric Central Research Register. Scand. J. Public Health 39, 54–57 (2011). [DOI] [PubMed] [Google Scholar]
  • 67.Pottegård A et al. Data resource profile: the Danish National Prescription Registry. Int. J. Epidemiol 46, 798–798f (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 68.Kessler RC et al. The World Health Organization Adult ADHD Self-Report Scale (ASRS): a short screening scale for use in the general population. Psychol. Med 35, 245–256 (2005). [DOI] [PubMed] [Google Scholar]
  • 69.Adler LA, Faraone SV, Sarocco P, Atkins N & Khachatryan A Establishing US norms for the Adult ADHD Self-Report Scale (ASRS-v1.1) and characterising symptom burden among adults with self-reported ADHD. Int. J. Clin. Pract 73, e13260 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 70.Rago D et al. Fish-oil supplementation in pregnancy, child metabolomics and asthma risk. eBioMedicine 46, 399–410 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 71.Stekhoven DJ & Bühlmann P MissForest–non-parametric missing value imputation for mixed-type data. Bioinformatics 28, 112–118 (2012). [DOI] [PubMed] [Google Scholar]
  • 72.Robinson D, Bryan J & Elias J fuzzyjoin: join tables together on inexact matching v.0.1.6. CRAN https://cran.r-project.org/package=fuzzyjoin (2020). [Google Scholar]
  • 73.Piccininni M, Konigorski S, Rohmann JL & Kurth T Directed acyclic graphs and causal thinking in clinical risk prediction modeling. BMC Med. Res. Methodol 20, 179 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 74.Williams TC, Bach CC, Matthiesen NB, Henriksen TB & Gagliardi L Directed acyclic graphs: a tool for causal studies in paediatrics. Pediatr. Res 84, 487–493 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 75.Demontis D et al. Discovery of the first genome-wide significant risk loci for attention deficit/hyperactivity disorder. Nat. Genet 51, 63–75 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 76.Grove J et al. Identification of common genetic risk variants for autism spectrum disorder. Nat. Genet 51, 431–444 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 77.Ge T, Chen CY, Ni Y, Feng YCA & Smoller JW Polygenic prediction via Bayesian regression and continuous shrinkage priors. Nat. Commun 10, 1776 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 78.Purcell S & Chang C PLINK 2.0 https://www.cog-genomics.org/plink/2.0/ [Google Scholar]
  • 79.Williams DR & Rast P Back to the basics: rethinking partial correlation network methodology. Br. J. Math Stat. Psychol 73, 187–212 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 80.Marsál K et al. Intrauterine growth curves based on ultrasonically estimated foetal weights. Acta Paediatr 85, 843–848 (1996). [DOI] [PubMed] [Google Scholar]
  • 81.Josse J & Husson F missMDA: a package for handling missing values in multivariate data analysis. J. Stat. Softw 10.18637/jss.v070.i01 (2016). [DOI] [Google Scholar]
  • 82.Bates D, Mächler M, Bolker B & Walker S Fitting linear mixedeffects models using lme4. J. Stat. Softw 10.18637/jss.v067.i01 (2015). [DOI] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Supplementary Materials
Supplementary Data

Data Availability Statement

For the COPSAC2010 and COPSAC2000 cohort datasets, participant-level personally identifiable data are protected under the Danish Data Protection Act and European Regulation 2016/679 of the European Parliament and of the Council that prohibit distribution even in pseudo-anonymised form. However, participant-level data can be made available under a data-transfer agreement as part of a collaboration effort with COPSAC (ulrik.ralfkiaer@dbac.dk).

For the VDAART cohort dataset, participant-level data are protected under the consent agreements provided by study participants and applicable US data privacy laws. Data access is subject to stringent security and compliance measures to ensure alignment with the participant consent. Use of the data is restricted to approved investigators within the recipient institution, and data cannot be transferred to personal devices or shared with external parties without prior approval. Collaboration and agreement with VDAART investigators are required for any use of the data. Requests for access to VDAART data should include a detailed proposal outlining the intended analyses and collaborative framework with VDAART investigators. For further inquiries, please contact the VDAART leadership team (rejas@channing.harvard.edu). For the DNBC cohort dataset, participant-level data are subject to controlled access and protected under the Danish Data Protection Act and European Regulation 2016/679 of the European Parliament and of the Council. These regulations prohibit the distribution of personally identifiable data, even in pseudo-anonymised form, outside the permitted framework. Access to DNBC data is granted on a need-to-know basis and requires approval from the DNBC Reference Group, listing of the project on the applicant’s institution’s data processing register and compliance with the conditions for access. Researchers may request access to DNBC data by submitting an application form and protocol to the DNBC Secretariat (dnbc-research@ssi.dk). Source data are provided with this paper.

RESOURCES