Introduction

Neurodevelopmental disorders (NDD) are characterized by impairments in brain development that affect motor and cognitive systems. These difficulties may in turn compromise social abilities, learning abilities, and behavior later in life1,2. Attention-deficit/hyperactivity disorder (ADHD) and autism spectrum disorder (ASD) are the two most prevalent NDD3. Approximately 15–20% of children are affected by NDD, with reported prevalence rates of 5–11% for ADHD, and 0.70–3% for ASD4. NDD manifests in early childhood, and the fetal environment may play a critical role5. The negative effects of NDD often persist throughout life, posing a significant public health concern and highlighting the necessity to better understand and support healthy neurodevelopment, especially in early life4,6.

Both ADHD and ASD are highly heritable disorders (up to 88% for ADHD and up to 91% for ASD) involving complex and heterogeneous neurodevelopmental, cognitive, and behavioral processes7,8,9,10,11. Metabolites are both intermediate and end products of cellular processes, acting as pivotal connections from the genome to the proteome, metabolome, and the clinical phenotype. Studies suggest that individuals with NDD, autism or ADHD symptoms show differences in their metabolome compared to neurotypical participants12,13, particularly in amino acids, sphingolipids, and vitamin profiles13,14,15. Increased plasma levels of sphingosine-1-phosphate and sphinganine-1-phosphate have been reported in ADHD patients15, while reduced levels of glutathione and tryptophan have been associated with autism and autism severity14. Additionally, lower plasma levels of cortisol, triacylglycerols and phospholipids and elevated levels of γ-tocopherol have been observed in children aged 6 to 14 with ADHD16,17. Alterations in the kynurenine pathway—such as increased kynurenic acid and 3-hydroxyanthranilic acid—have also been associated with ADHD-like behaviors in mouse models of ADHD and ASD18. In children with ASD, lower levels of linolenic acid and long-chain polyunsaturated fatty acids, higher levels of perfluorodecanoic acid, and alterations of a range of triglycerides have been reported19,20. Exposures before onset of disease are more likely to be causally involved in the disease than cross-sectional findings21,22,23. However, previous metabolomics studies predominantly focused on animal models or data from children at specific timepoints in case-control designs, rather than examining the pregnancy period or tracking metabolic changes longitudinally through childhood. Additionally, limited sample sizes and the absence of robust clinical validations restrict the generalizability of current findings.

The fetal neurodevelopmental period represents a time of significant brain growth and differentiation24. This period of accelerated neurodevelopment thus represents a window of increased vulnerability, with early adversities potentially increasing the risk of developing NDD25. Key neurodevelopmental processes, such as neuronal apoptosis, myelination, synaptogenesis, neurogenesis and proliferation occur during the second and third trimesters25,26,27, but our understanding of the mechanisms underlying abnormal neurodevelopment and NDD is still limited. Metabolic alterations during pregnancy have been observed in rodent models of NDD, such as ASD28,29. Similarly, maternal metabolome changes during pregnancy have previously been associated with the risk of ASD assessed during childhood30,31. We hypothesize that metabolic perturbations during pregnancy and early childhood may contribute to the risk of developing NDD, and longitudinal studies tracking metabolic alterations across these developmental stages are therefore essential.

In this work, we analyzed >3000 plasma metabolomic profiles consisting of 683 metabolites from 581 mother-child pairs in the Danish COPSAC2010 cohort. Plasma samples were collected from pregnancy through age 10 as part of the cohort’s original design, with a particular focus on early life to capture critical developmental windows. Samples were collected at 6 timepoints from gestational week 24, week 1 postpartum, child age 6 months, 18 months, 6 years and age 10 years to investigate potential metabolite biomarkers, patterns and trajectories related to the risk of NDD at age 10.

Results

Baseline characteristics

A total of 604 children of the COPSAC2010 cohort participated in the follow-up at age 10 years. Of the 604 children, 593 underwent psychopathological assessment. The numbers of participants included at each time point are shown in Supplementary Fig. 1. Of the 593 children, 581 (98%) of their mothers had metabolomic profiling at gestational week 24 and 579 (98%) at one week postpartum, 520 (88%), 535 (90%), 477 (80%) and 520 (88%) of the children had metabolomic profiling at 6 months, 18 months, 6 years, and 10 years, respectively. Figure 1a, b presents the distribution of metabolome data across all timepoints, analyzed using principal component analysis (PCA), as well as the study design including participants and classes of studied metabolites.

Fig. 1: Overview of the metabolic profiling data collected at different time points.
Fig. 1: Overview of the metabolic profiling data collected at different time points.The alternative text for this image may have been generated using AI.
Full size image

a PCA for all metabolome data from all time points included in this study. b Number of participants included in each time point and classes of studied metabolites. TCA citric acid cycle, PCM partially characterized molecules, OP oxidative phosphorylation, PC principal component, ADHD attention-deficit/hyperactivity disorder, Any NDD any neurodevelopmental disorders. Source data are provided as a Source data file.

Of the 581 children with both psychopathological assessments and maternal metabolome data available from gestational week 24, 86 (15%) met criteria for at least one NDD, 63 (11%) had ADHD, and 16 (3%) had autism by age 10. A total of 59 (11%) had other psychiatric disorders than NDD (e.g., anxiety disorders, enuresis, and encopresis), and 454 (78%) had no mental disorders and were considered neurotypical participants. More boys (n = 61, 71%) than girls (n = 25, 29%) fulfilled criteria for any NDD (P < 0.001). Mothers (P < 0.001) and fathers (P = 0.04) of children with any NDD had lower educational attainment (Table 1). Baseline characteristics of children with and without ADHD or autism are presented in Supplementary Data 1 and 2.

Table 1 Baseline characteristics for children with vs without neurodevelopment disorders

Association between metabolome profile and NDD at age 10

For any NDD, the sparse partial least squares (sPLS) metabolome model showed a cross-validated median repeat area under the curve (AUC) of 0.60 (range of repeats 0.59–0.62) for gestational week 24, 0.57 (0.52–0.60) for one week postpartum, 0.54 (0.50–0.56) for 6 months, 0.61 (0.58–0.63) for 18 months, 0.41 (0.37–0.45) for 6 years, and 0.55 (0.51–0.59) for 10 years. Among these, metabolome data from gestational week 24 and child age 18 months of children demonstrated the highest AUC value compared to the other time points (Fig. 2a–g).

Fig. 2: sPLS models for any NDD.
Fig. 2: sPLS models for any NDD.The alternative text for this image may have been generated using AI.
Full size image

af AUC (area under the curve) from repeated tenfold CV (cross-validation) of an sPLS (sparse partial least squares) model for risk of any NDD (neurodevelopmental disorders) at different time points. The box plots represent the diagnosis predictions for the median cross-validated model. The center of the boxes represents the median, their bounds represent the 25th and 75th percentiles, and the lower and upper ends of whiskers represent the smallest and largest values, respectively, no further than 1.5 × IQR (interquartile range) from the respective end of the box plot. Sample sizes were N = 581 at gestational week 24, N = 579 at one week postpartum, and N = 520, 535, 477, and 520 at 6 months, 18 months, 6 years, and 10 years, respectively. g ROC curve of sPLS models of any NDD. ROC (receiver operating characteristic) curves were constructed for sPLS models at each timepoint, with the best-performing resample selected based on AUC. h Representation of the top 50 metabolites related to risk of any NDD, contributing to the optimal set of loadings for the 10-times repeated 10-fold cross-validation sPLS model (n = 100 separate model runs) using the entire samples of week 24 (N = 581 samples). Bars depict the median across repeats ± SD. Source data are provided as a Source data file.

The final sPLS model of any NDD selected 200 metabolites. Figure 2h displays the top 50 metabolites with the highest absolute numerical loading scores from the model at gestational week 24 ranked from high to low. Adipoylcarnitine (C6-DC), glutamine conjugate of C6H10O2, and caprate (10:0) from gestational week 24 were the strongest positively associated metabolites with the risk of any NDD, while 4-hydroxy-2-oxoglutaric acid, branched-chain 14:0 dicarboxylic acid, and gentisate were the metabolites most strongly negatively associated, showing protective effects against any NDD. Metabolites associated with any NDD identified by sPLS at one week postpartum and at 18 months of age were shown in Supplementary Fig. 3a, b.

For ADHD, the sPLS model showed an AUC of 0.60 (0.57–0.62) for week 24, 0.57 (0.55–0.61) for one week postpartum, 0.53 (0.49–0.58) for 6 months, 0.60 (0.56–0.64) for 18 months, 0.46 (0.43–0.49) for 6 years, and 0.51 (0.45–0.53) for 10 years (Supplementary Fig. 2). Among these, the metabolome data from pregnancy week 24 and child age 18 months demonstrated equal performance with AUC values of 0.6 and showed higher AUC than the other timepoints. Adipoylcarnitine (C6-DC) at week 24 of pregnancy was the metabolite most strongly positively associated with the risk of ADHD, while threonate was the strongest negatively associated metabolite. Metabolites associated with ADHD at one week postpartum (e.g., 5, 6-dihydrouridine, urate, and 3,4-dihydroxybutyrate) were shown in Supplementary Fig. 3c. At 18 months, only quinolinate was selected by the model and positively associated with the ADHD risk (Supplementary Fig. 3d).

In the nested five-fold CV model, only the gestational week 24 metabolome achieved comparable performance, with an AUC of 0.60 (SD = 0.05, 0.57–0.67) for any NDD and 0.59 (SD = 0.04, 0.54–0.65) for ADHD (Supplementary Results in Supplementary Information).

Association between metabolome-NDD risk scores and risk factors

The final sPLS model of gestational week 24 was selected based on the highest median AUC value and lowest variance across repeated cross-validation rounds, and the predicted values from the median repeat were used to extract the predicted metabolome-NDD risk scores. Our association analysis identified several potential risk factors linked to the gestational week 24 metabolome-NDD risk score. Specifically, pre-pregnancy BMI, gestational diabetes, an unhealthy Western dietary pattern derived from Food Frequency Questionnaires (FFQs)32, maternal inflammation measured as hs-CRP levels and maternal inflammation PC1 derived from 92 proteins33, antibiotic use during pregnancy, low family income, and low maternal and paternal educational attainment were associated with an increasing gestational week 24 metabolome-NDD risk score at a false discovery rate (FDR) 5% significance level (Supplementary Fig. 4a). Additionally, we examined the association between quinolinate levels at gestational week 24 and the same potential risk factors mentioned above. Consistently, hs-CRP levels, Western dietary pattern, pre-pregnancy BMI, and maternal inflammation PC1 were all positively associated with quinolinate levels (Supplementary Fig. 4b).

Metabolic trajectories from gestational week 24 and childhood NDD risk

We conducted longitudinal analyses using the metabolomic profiles at six timepoints. Since the metabolome during gestational week 24 provided the strongest association for both any NDD and ADHD using the sPLS full and nested model, we analyzed the differences in predicted risk scores based on the week 24 metabolome for these outcomes between children with vs. without NDD (Fig. 3). As the prediction model was built based on gestational week 24 metabolome, risk scores for the week 24 metabolome were calculated using the best fold from nested outfold CV of the testing set (n = 116). The analysis identified difference in metabolic risk scores over time for any NDD and ADHD. Significant differences in these scores emerged early in childhood, particularly before age 18 months, between children diagnosed with and without NDD or ADHD.

Fig. 3: Any NDD and ADHD risk score trajectories at each timepoint from pregnancy to child age 10.
Fig. 3: Any NDD and ADHD risk score trajectories at each timepoint from pregnancy to child age 10.The alternative text for this image may have been generated using AI.
Full size image

Risk scores from 6 months to 10 years were predicted based on a full model trained on the maternal week 24 metabolome. Sample sizes were N = 579 at one week postpartum, and N = 520, 535, 477, and 520 at 6 months, 18 months, 6 years, and 10 years, respectively. As the prediction model was built based on week 24 metabolome, risk scores for the week 24 metabolome were calculated using the scores predicted on the testing set (n = 116 samples) using the outfold of nested five-fold CV (cross-validation). Smoothed loess curves were used to depict trends over time. The Y axis represents the mean score difference between the NDD and ADHD risk scores calculated as: mean risk score (any NDD/ADHD = Yes)-mean risk score (any NDD/ADHD =  No). The mean difference between any NDD and ADHD risk scores for individuals diagnosed with any NDD and ADHD and those without the diagnoses was calculated using the Wilcoxon rank-sum test, with a confidence level set at 95%. Two-sided P < 0.05 was considered significant. ADHD attention-deficit/hyperactivity disorder, Any NDD any neurodevelopmental disorders. Source data are provided as a Source data file.

There were significant differences between children with vs. without NDD at one week postpartum (p = 0.02), whereas this was non-significant at 6 months (P = 0.10), and 18 months (P = 0.08). For ADHD, there were significant differences at 1 week postpartum (P = 0.002), and 6 months (P = 0.04), whereas the difference disappeared by 18 months (P = 0.12). Additionally, we correlated the predicted metabolome-NDD risk scores for any NDD and ADHD based on the maternal week 24 metabolome with the NDD outcomes (Supplementary Data 3). Using all timepoints of children, the results demonstrated a trend of association for the metabolome-any NDD risk score (aOR = 1.04, 95% CI [1.00–1.07], P = 0.058) and the metabolome-ADHD risk score (aOR = 1.06 [1.01–1.11], P = 0.012), whereas there were significant associations using the timepoints until age 18 months for the metabolome-any NDD risk score (aOR = 1.06 [1.00–1.13], P = 0.046) and the metabolome-ADHD risk score (OR = 1.11 [1.02–1.20], P = 0.021), indicating that the early metabolic timepoints may be more important. We further adjusted for maternal exposures, including maternal smoking, maternal antibiotic use and alcohol use during pregnancy, which did not substantially modify the results (Supplementary Data 3).

Single metabolite analysis

We thereafter associated each individual metabolite at each timepoint to the risk of any NDD, ADHD, and autism, including conservative adjustment for potential confounders and multiple testing adjustments. No metabolites reached significance when adjusted for FDR 5%, while some metabolites exhibited nominal significance across the neurodevelopmental outcomes as outlined below.

In the maternal week 24 plasma metabolome (Fig. 4a–c), 54 metabolites were nominally associated with the risk of any NDD, exhibiting ORs ranging from 0.25 to 16.28 after adjusting for covariates. Sulfate, sphingomyelin (d18:1/18:1, d18:2/18:0), C-glycosyltryptophan, O-sulfo-tyrosine, and N-acetylneuraminate had the highest ORs. For ADHD, 39 metabolites achieved nominal significance in analyses adjusted for covariates (aOR range 0.13–25.83), with sulfate, C-glycosyl tryptophan, N-acetylneuraminate, 5-oxoproline, and quinolinate being the top positively associated metabolites with the highest ORs. For autism, 32 metabolites reached nominal significance after covariate adjustment (aOR range 0.01–11.88), with vanillylmandelate, N(1) + N(8)-acetylspermidine, creatine, sphingomyelin (d18:1/21:0, d17:1/22:0, d16:1/23:0), and picolinoyl glycine being the top positively associated metabolites with the highest OR.

Fig. 4: Associations between single metabolites and NDD risk at 10 years.
Fig. 4: Associations between single metabolites and NDD risk at 10 years.The alternative text for this image may have been generated using AI.
Full size image

a Maternal week 24 plasma metabolites associated with NDD in offspring (adjusted). b Maternal week 24 plasma metabolites associated with ADHD in offspring (adjusted). c Maternal week 24 plasma metabolites associated with autism in offspring, adjusted. d Associations between child age 18 months plasma metabolites and NDD at age 10 years. e Associations between child age 18 months plasma metabolites and ADHD at 10 years. f Associations between child age 18 months plasma metabolites and autism at 10 years. Two-sided P < 0.05 was considered significant. All associations are nominally significant, while none of them remained significant after FDR 5% correction. Top 20 metabolites with the highest absolute OR from each analysis were shown. g Associations between highlighted metabolites and neurodevelopmental outcomes. Note: N = 581 for w24, N = 579 for w1, N = 520, N = 535, N = 477, N = 520 for 6 months, 18 months, 6 years, and 10 years of children, respectively. Error bars represent covariate-adjusted log(OR) with 95%CI. Covariates adjusted for week 24 were maternal BMI, maternal age, smoking, antibiotic use, pre-eclampsia, diabetes and alcohol intake during pregnancy, household income, maternal and paternal educational attainment at birth, gestational age, child sex, and birth weight. Covariates of 18-months children: sex, maternal and paternal educational attainment, household income, and BMI Z-score of children. Logistic regression was applied and adjusted for multiple comparisons using FDR (ag). P values and the FDR-corrected P values are available in the Source data file. “*” indicates nominal significance of P < 0.05 after covariates adjustment (ag). w24 gestational week 24, w1 week 1 postpartum, 6mth 6 months of children, 18 mth 18 months of children, 6yr 6 years of children, 10yr 10 years of children, NDD neurodevelopmental disorder, ADHD attention deficit/hyperactivity disorder, OR odd ratio, CI confidence interval. Source data are provided as a Source data file.

In the child age 18 months, plasma metabolome (Fig. 4d–f), 27 metabolites were associated with risk of any NDD (aOR range 0.05–4.42) after adjusting for covariates. Hydroxyasparagine, N-acetylputrescine, 2’-O-methylcytidine, 3-methoxytyrosine, and quinolinate had the highest ORs, positively associated with any NDD. For ADHD, 30 metabolites achieved nominal significance (aOR range 0.04–8.31) with hydroxyasparagine, glucose, 2’-O-methylcytidine, 3-methoxytyrosine, and 1, 5-anhydroglucitol (1, 5-AG) being the top positively associated metabolites with the highest ORs. For autism, 56 metabolites were nominally significant (aOR range 0.01–9.96), with citrate, cortisone, and imidazole lactate being the top positively associated metabolites with the highest ORs. Associations between each single metabolite from the other time points and risk of different NDD outcomes are shown in Supplementary Fig. 5 and Supplementary Data 4. We additionally adjusted for the randomized controlled trials (RCTs) of fish oil and vitamin D supplementation during pregnancy, which did not significantly alter the findings. (Supplementary Fig. 6).

We identified three metabolites: quinolinate, ferulic acid 4-sulfate, and 8-methoxy kynurenate, which were consistently associated with at least one outcome: any NDD, ADHD, or autism, measured during week 24 of pregnancy, as well as at 6 and 18 months of age (Fig. 4g). Interestingly, levels of quinolinate at all the six time points were positively associated with at least one of the outcomes of any NDD, ADHD, or autism across all timepoints, particularly ADHD. Ferulic acid 4-sulfate levels from gestational week 24 and child age 6 months were negatively associated with the risk of any NDD, and levels from 6 months and 18 months also showed a negative association with the risk of ADHD and autism, respectively. Similarly, 8-methoxy kynurenate levels at 6 and 18 months were positively associated with the risk of any NDD and autism, respectively. Further adjusting for breastfeeding status at one week postpartum showed similar associations between the metabolome and NDD risk (Supplementary Fig. 7).

For ADHD and autism dimensional psychopathology, we observed a similar trend to NDD diagnosis for these metabolites, though with fewer significant data points (Supplementary Fig. 8).

To explore the impact of single versus multiple NDD diagnoses, we performed logistic regression analyses associating each individual metabolite from gestational week 24 and child age 6 months with the binary outcome (0 = ADHD only, 1 = multiple NDD diagnoses) (Supplementary Fig. 9). Notably, metabolites, such as quinolinate, bilirubin and its degradation products, and several sphingomyelins were positively associated with ADHD-only cases and negatively associated with multiple NDD diagnoses.

Enrichment analysis

An enrichment analysis was conducted using the top 100 metabolites identified by the sPLS model at gestational week 24 to investigate their association with any NDD and ADHD. Figure 5 illustrates the Sankey and bubble diagrams of enrichment of sub-pathways for key metabolites associated with any NDD. The analysis revealed several pathways significantly enriched in long-chain saturated fatty acid, fatty acid-dicarboxylate, medium-chain fatty acid, chemicals, lactoyl amino acid, and vitamin A metabolites. Notably, the long-chain saturated fatty acid pathway (fold enrichment = 5.65, Pfdr = 0.018) was among the most significantly enriched pathways for any NDD. For ADHD, the enriched pathways were similar to those for any NDD (Supplementary Fig. 10), with Vitamin A metabolism showing the highest fold of enrichment and lowest p-value after FDR correction.

Fig. 5: Sankey plot and enrichment analysis of top 100 metabolites associated with any NDD with sPLS (sparse partial least squares) model based on metabolome data of week 24 during pregnancy.
Fig. 5: Sankey plot and enrichment analysis of top 100 metabolites associated with any NDD with sPLS (sparse partial least squares) model based on metabolome data of week 24 during pregnancy.The alternative text for this image may have been generated using AI.
Full size image

Each left-side node represents a metabolite, and each right-side node represents a sub-pathway. All metabolites are uniquely assigned to one pathway. Node colors are arbitrarily assigned for visual clarity and do not reflect statistical significance or effect direction. All edges (links) have equal thickness and indicate membership relationships between metabolites and their respective pathways. Bubble plot displaying pathway-level enrichment statistics. Each point corresponds to one pathway. X-axis representing the enrichment magnitude of each pathway relative to metabolites. Y-axis: pathways with larger fold enrichment are plotted lower. Dot size: encodes p-value tier. One-sided P < 0.05 was considered significant, and raw P values were corrected for multiple testing using the FDR (false discovery rate) procedure across all tested sub-pathways. NDD neurodevelopmental disorder. Source data are provided as a Source data file.

Meditation analysis

We lastly performed mediation analyses to investigate whether quinolinate explained the association between NDD risk factors, such as maternal inflammatory proteins, unhealthy Western diet and maternal BMI, and NDD. Causal mediation analyses indicated that maternal inflammatory proteins (Supplementary Fig. 11), such as CCL3 (proportion mediated: 21.9%, P = 0.048), were mediated through maternal quinolinate levels during pregnancy. The inflammatory protein profile captured in PC1 of a PCA and individual proteins, including VEGFA, CD5, and IL-12B, showed non-significant results for mediation. Maternal BMI (proportion mediated: 17.6%, P = 0.042) and unhealthy Western diet (proportion mediated: 10.0%, P = 0.004) were also found to be mediated through maternal quinolinate levels.

Discussion

This study examines longitudinal mother-child pairs’ global metabolome profiles from pregnancy to middle childhood in relation to NDD risk at age 10 years. The study demonstrated that metabolic disturbances, especially during week 24 of pregnancy, are associated with an increased risk of offspring NDD, emphasizing the fetal environment’s pivotal role in shaping neurodevelopment. Further, sPLS-derived metabolome scores and enrichment analyses identified early life metabolic trajectories from pregnancy until age 18 months, with pathways including lactoyl amino acid, vitamin A metabolism, fatty acids, and xenobiotics playing a role in the risk of NDD. Finally, single metabolite analyses revealed three metabolites (quinolinate, ferulic acid 4-sulfate, and 8-methoxy kynurenate) at week 24 of pregnancy, child age 6 and 18 months that were consistently nominally associated with risk of NDD, whereof quinolinate levels at all timepoints until age 10 years showed nominal significant associations. Mediation analyses suggested that quinolinate mediates the association between maternal inflammatory proteins, an unhealthy diet, maternal BMI, and NDD. However, none of the metabolites remained significant after FDR correction, indicating that metabolic perturbations may be subtle. The modest AUC values from the sPLS model further suggest that factors beyond maternal metabolic profiles likely play a role in the neurodevelopment of children.

We investigated the predictive performance of sPLS models using maternal and child metabolome profiles at six timepoints in relation to the risk of any NDD at age 10. Of all timepoints, the gestational week 24 metabolome showed the highest AUC for predicting both any NDD and ADHD in the cross-validated sPLS models and nested CV models. This suggests that the maternal metabolic profile is associated with NDD risk in offspring, which aligns with previous studies emphasizing the importance of the maternal metabolic state in the prenatal period for fetal neurodevelopment5,24,25,34. Maternal metabolome alterations during pregnancy have been linked to ASD (Norwegian Autism Birth Cohort, N = 408)30, and disturbed lipid metabolism during late pregnancy and in placental serum profiles have been associated with non-typical disorders, which is related to ADHD (N = 141)35,36. Further, a previous study (N = 114) suggested that mid-pregnancy metabolic changes may be associated to ASD risk31, but hitherto our study is to explore longitudinal, global metabolic profiles from pregnancy through childhood in relation to multiple NDD outcomes in a large cohort.

Maternal metabolic disturbances may indirectly influence fetal neurodevelopment by modulating placental functions and nutrient transport37,38. Our results suggest that the metabolic profile during pregnancy offers insights into the intrauterine environment and fetal programming. However, modest AUC values of 0.6 indicate that factors beyond maternal metabolic profiles are involved in the development of NDD in the offspring. This warrants further research to validate and expand our findings and potentially incorporate environmental factors and possibly other omics data layers in a multi-omics integrative approach. The lower AUC values at subsequent timepoints during childhood compared to gestational week 24 suggest that the predictive power of metabolic profiles for NDD decreases, particularly after age 18 months, possibly due to the increasing influence of genetic and environmental factors2,39.

Using sPLS-derived metabolome–NDD risk scores based on maternal metabolome data at 24 weeks of pregnancy, we identified metabolic trajectories potentially associated with any NDD and ADHD prior to 18 months of age. These findings suggest that metabolic alterations in early life are crucial for NDD risk. Further, metabolome-NDD risk scores derived from maternal metabolome underscore the importance of prenatal metabolic regulation and the need for early NDD risk identification. Maternal metabolic perturbations during pregnancy may initiate a cascade of biological changes that persist into later life, contributing to NDD in offspring. Gestational week 24 represents a critical window in fetal brain development, occurring shortly after peak neurogenesis, when processes like neuronal proliferation, migration, early synapse formation and cortical layering are highly active and sensitive to maternal metabolic and inflammatory cues5,25. This can lead to long-term consequences for neurodevelopmental programming.

In contrast, postnatal periods reflect distinct and temporally specific neurodevelopmental processes. Between birth and 6 years, the brain undergoes rapid synaptogenesis, myelination, and cortical thickening, with gray matter volume peaking around age 6. From 6 to 10 years, these processes slow and give way to synaptic pruning and cortical refinement. Therefore, the same metabolite may interact with different molecular or cellular pathways depending on the developmental stage, potentially explaining the weaker associations observed at later time points. Incorporating a developmental perspective provides important biological context to our findings and highlights the significance of prenatal metabolic exposures—particularly during mid-gestation—as early-life determinants of NDD risk, as supported by recent literature outlining normative trajectories in brain growth and structure across developmental stages40,41.

Our pathway enrichment analysis utilized the top 100 significant metabolites associated with NDD from the sPLS model. Notably, the long-chain saturated fatty acids (LC-SFAs) were among the most significantly enriched for any NDD, and the vitamin A metabolism pathway was among the most significantly enriched for ADHD. The LC-SFAs pathway supports energy storage, cell membranes structure, and bioactive lipids synthesis42. Stearate (C18:0) and myristate (C14:0), key LC-SFAs, are common in the human diet43. The relationship between LC-SFAs and NDD appears to be less directly studied. However, in vitro studies have shown that LC-SFAs can induce adverse metabolic effects, such as lipotoxicity and apoptotic cell death44, as well as upregulate the expression of cyclooxygenase-2 (COX-2) via activation of toll-like receptor 4 (TLR4)45. TLR4 involved in the maturation of immune responsiveness in infants and adults and cortical development in vitro, suggesting its role in neurodevelopmental processes46,47. COX-2 has been identified as a potential neuroinflammatory marker, may also contribute to the NDD risk48. Studies have suggested that unhealthy dietary patterns high in saturated fat may be associated with ADHD symptoms49. Our finding that maternal Western dietary patterns during pregnancy are associated with increased NDD risk scores, along with the previously reported association with ADHD risk32, further strengthens the relevance of the LC-SFA pathway enrichment results. Metabolites, such as myristate (14:0), stearate (18:0), enriched in the LC-SFAs pathway, were positively associated with any NDD and ADHD risk in the sPLS model, suggesting their potential role in increasing risk.

Vitamin A is essential for brain health, and synaptic plasticity underlying learning and memory50. Vitamin A deficiency is linked to cognitive impairments and may contribute to psychiatric disorders like ADHD50,51,52. Maternal deficiency has also been associated with autistic-like behaviors via disrupted purine and tryptophan metabolism in rat model29. Beta-carotene diol and beta-cryptoxanthin, key carotenoids in vitamin A metabolism, are precursors of vitamin A53. Vitamin A levels have been associated with ADHD in children aged 6–952. In our model, both metabolites were negatively associated with any NDD and ADHD risk, consistent with previous studies54,55.

The fatty acid dicarboxylate pathway was also enriched for NDD risk in our results. Metabolites, including saturated long-chain dicarboxylic acids (e.g., dodecanedioate (C12-DC), sebacate (C10-DC), tetradecanedioate (C14-DC)), were associated with an increased NDD risk. Notably, dicarboxylic acid metabolism has also been linked to autism previously56.

In our single metabolite analysis, no associations remained significant after FDR correction. However, most of the nominally significant metabolites were also selected by the sPLS final models, underscoring their relevance. Among these, three metabolites, namely, quinolinate, ferulic acid 4-sulfate, and 8-methoxy kynurenate from gestational week 24–18 months of the child were consistently associated with at least one NDD outcome at age 10. Notably, quinolinate showed nominal significant associations with NDD risk across all timepoints. As a secondary exploration, preliminary findings of metabolic profile differences between ADHD—only cases and multiple NDD diagnoses suggest the possibility of divergent metabolic signatures between children with isolated versus comorbid neurodevelopmental conditions. However, these results require validation in larger cohorts. For autism outcome, previous studies have linked maternal metabolomic profiles to autism risk, though findings vary by metabolomics platforms, sample sizes, and timing of sample collection30,31. While most metabolites identified by Ritz et al. and Che et al. were not significant in our cohort, we observed a consistent association of pseudouridine with autism at 6 months, aligning with their cord blood findings and supporting its potential relevance30,31.

Quinolinate (quinolinic acid), a kynurenine pathway metabolite, processes tryptophan into nicotinamide adenine dinucleotide (NAD+) and other neuroactive metabolites57,58,59. It redirects tryptophan catabolism to replenish NAD+ in response to inflammation and infection59. While direct evidence linking elevated quinolinate level to NDD risk is limited, it is neurotoxic at high levels60. As an N-methyl-D-aspartate (NMDA) receptor agonist, quinolinate influence synaptic transmission and plasticity in the brain61,62. NMDA receptor dysfunction has been associated with ADHD, autism, and schizophrenia63,64,65, and overactivation can causes excitotoxicity, damaging nerve cells through excessive neurotransmitter stimulation66. Thus, maintaining balance among kynurenine metabolites is critical for brain function, and its disruptions is implicated in neuroinflammation, neurodegenerative and psychiatric disorders60,62,67,68,69,70. Our findings suggest a role for quinolinate in early brain development, through mechanisms behind remain unclear. 8-methoxy kynurenate, a kynurenic acid derivative, also participates in tryptophan and kynurenine metabolism, and may influence neurobiology and neuroprotection that linked to neuropsychiatric disorders71,72, though studies are limited.

In our study, quinolinate was found to be associated with maternal inflammation, Western dietary pattern, and pre-pregnancy BMI. We proposed that quinolinate mediates the association between maternal risk factors, such as maternal inflammatory proteins and BMI, and ADHD using mediation analysis. The effect of CCL3, previously linked to NDDs33, was significantly mediated by maternal quinolinate levels. VEGFA, CD5, IL-12B, and the inflammatory protein profile (PC1) showed non-significant mediation effects. Similarly, the effects of maternal BMI and unhealthy Western diet patterns were mediated through quinolinate. Metabolic disturbances during pregnancy may increase inflammation, oxidative stress, and nutrient dysregulation, adversely affecting fetal brain development37,73. These findings suggest that quinolinate may serve as a biochemical link between maternal inflammation, metabolism, and fetal neurodevelopment, highlighting its potential as a potential biomarker or intervention target. It would be valuable in future work to explore whether other inflammatory proteins act independently or via pathways such as the kynurenine pathway.

Ferulic acid 4-sulfate, a phenolic compound involved in the gut-brain axis, may facilitate communication between gut microbiota and the brain74. As a sulfate form of ferulic acid, it possesses antioxidant, anti-inflammation, and potential neuroprotective effects75,76,77. Although specific research on the sulfate form is limited, its systemic effects suggest a role in reducing neuroinflammation and oxidative damage, potentially lowering NDD risk75. In our study, higher levels of ferulic acid 4-sulfate during pregnancy and in infants were associated with reduced NDD risk at age 10, supporting its potential protective role.

Environmental factors influencing neurodevelopmental outcomes start before conception and persist throughout life78,79. Xenobiotics, such as erythritol, which reflect environmental exposures during pregnancy, were associated with NDD risk in both single-metabolite and sPLS models, suggesting that the prenatal exposome may play a role in neurodevelopmental outcomes and warrants further investigation. Given that obesity, gestational diabetes, dietary patterns, smoking, pre-eclampsia, and stress during pregnancy contribute to the NDD risk32,79,80. Our analyses were adjusted for most of these factors. The results showed that maternal metabolome-NDD risk scores were associated with gestational diabetes, maternal BMI, maternal diet, and family income, aligning with previous studies. We also found that parental educational attainment and antibiotic use during pregnancy were associated with the metabolome-NDD risk scores, highlighting areas for further research. Importantly, our results remained largely unchanged after confounder adjustments, such as our micronutrient RCTs, prenatal exposures, and breastfeeding status.

The study benefits from a large participant pool from the general Danish population, providing broad representation and applicability. Comprehensive data collection over 10 years, including detailed metabolic profiles across multiple time points and a high retention rate within the COPSAC cohort, enables robust adjustment for potential confounders and highlights the role of early-life metabolomics, particularly during pregnancy in NDD inception. The longitudinal metabolomic profiles with a large number of common metabolites present at all timepoints is the biggest strength and novelty of the current study design. Another strength is the detailed neuropsychiatric assessment, which includes interviews, performance-based measures, and questionnaires. However, several limitations should be considered. The cohort’s sample size, predominantly white demographic, higher average educational attainment, and missing data may limit the generalizability of the findings. Additionally, the lack of data on parental mental health is significant, given the heritability of NDDs. Polygenetic risk scores explain only a small portion of the variance accounted for by family history of mental disorders. Furthermore, the sensitivity analysis used unbiased internal validation, which, although less robust than external replication, was the best option available for this study.

This longitudinal study analyzing metabolic profiles from pregnancy to middle childhood indicates that metabolic disturbances in early life may increase the NDD risk of offspring. We observed metabolic trajectories during pregnancy and early life up to 18 months that showed potential associations with NDD risk. Additionally, we identified three specific metabolites that were consistently associated with NDD risk with nominal significance, with quinolinate showing a consistent nominal association across all observed timepoints. Quinolinate may mediate the relationship between maternal risk factors, such as inflammatory proteins, BMI and diet, and the NDD risk. These findings highlight the role of the fetal environment in shaping neurodevelopment. However, no metabolites passed FDR correction, and modest AUCs from sPLS suggest that other factors beyond maternal metabolism contribute to NDD risk. Further research is needed to identify molecular pathways for targeted prevention and risk identification to improve neurodevelopment. Investigating the underlying mechanisms are warranted to fully elucidate their role in dysregulation and potential as therapeutic targets.

Methods

Study population

The COpenhagen Prospective Study on Neuro-PSYCHiatric Development (COPSYCH) enrolled 10-year-old children from the population-based COPSAC2010 cohort81,82, including 700 mother-child pairs. The children were assessed clinically for neuropsychiatric outcomes from January 2019 to December 2021. Exclusion criteria for the present study included offspring with a birth weight <1500 grams or a gestational age below 28 weeks, as well as twin B in pairs due to lack of independence. The biological sex was defined by the sex assigned at birth. The study was conducted in accordance with the Declaration of Helsinki and approved by the Danish Ethics Committee (H-B-2008-093) and the Danish Data Protection Agency (2015-41-3696). Written informed consent was obtained from all participants prior to any study-related procedures. Study design details of the COPSAC2010 cohort are available in Supplementary Methods (Supplementary information).

Psychopathological outcomes of NDD

We focused on the most prevalent categorical NDDs outcomes in this cohort. Primary outcomes were any NDD, ADHD, and autism. The prevalence of all research diagnoses in this study is shown in Supplementary Table 1. Research diagnoses followed the International Classification of Disorders 10th revision of mental and behavioral disorders (ICD-10) criteria83,84, based on clinical information from the Kiddie Schedule for Affective Disorders and Schizophrenia Present and Lifetime version (K-SADS-PL) interviews and additional clinical information85, as detailed in the COPSYCH study protocol82.

Secondary outcomes were dimensional psychopathology using K-SADS-PL. Dimensional psychopathology of NDDs includes autistic and ADHD symptoms component scores, the ADHD rating scale (ADHD-RS) and the social responsiveness scale 2 (SRS-2). Parents completed the ADHD-RS and the SRS-2 questionnaires to assess ADHD symptoms and autistic traits86,87,88 (detailed Supplementary Methods in Supplementary information).

Covariates

Thirteen covariates were included in the analyses using maternal week 24 metabolome: pre-pregnancy maternal body mass index (BMI), maternal age, smoking, antibiotic use, pre-eclampsia, maternal diabetes, and alcohol intake during pregnancy, household income level, maternal and paternal educational attainment at birth, gestational age, child sex, and birth weight. For analyses using the maternal one week postpartum metabolome, we included: pre-pregnancy BMI, maternal age, maternal diabetes, mother smoking during pregnancy, household income level, maternal and paternal educational attainment, gestational age, child sex, and birth mode (cesarean or vaginal birth). Sex, maternal and paternal educational attainment, household income (at birth), and WHO BMI Z-score of children were included as covariates in analyses using childhood metabolomes. We additionally adjusted for the RCTs of fish oil and vitamin D interventions at each time point89,90.

Metabolomic and proteomics profiling

Metabolomic profiling was run on blood plasma samples from pregnancy week 24 and one week postpartum of mothers, and at 6 months, 18 months, 6 years, and 10 years for children. Metabolome data from one week postpartum were analyzed in this study under the hypothesis that they may reflect both the prenatal and postnatal environment.

Blood samples (n = 3212) were collected in EDTA tubes at the research clinic, centrifuged for 10 min at 4000 rpm, and plasma was stored at −80 °C until analysis. Untargeted metabolomics of plasma samples was performed by Metabolon, Inc., in Durham, NC, USA, using their HD4 platform. Sample preparation used the automated Hamilton MicroLab STAR system. Recovery standards were added for quality control (QC), and metabolites were extracted with methanol following vigorous shaking (2 min, GenoGrinder 2000) and centrifugation to precipitate proteins. Extracts were divided into four aliquots and analysed across four LC-MS/MS platforms. After drying with TurboVap and storage under nitrogen overnight, samples were analysed using a Waters ACQUITY UPLC system coupled to a Thermo Fisher Q-Exactive Quadrupole-Orbitrap mass spectrometer with HESI-II source. Four chromatographic methods were applied: two reverse-phase UPLC-ESI(+) for hydrophilic and hydrophobic compounds, one reverse-phase UPLC-ESI(−), and one HILIC UPLC-ESI(−). Data were acquired using alternating full-scan MS and data-dependent MSn with dynamic exclusion (70–1000 m/z). Metabolites were identified and semi-quantified using the area under the curve following established QC procedures. Compounds were identified by comparison to library entries of purified standards or recurrent unknown entities.

All samples were normalized using anchor samples with metabolites present in every data set. Only bridging metabolites were included in this study, resulting in a total of 683 metabolites common for all timepoints. All Batch-norm datasets were normalized to the reference set using median ratios of non-missing anchor sample pairs (≥6 per metabolite). Metabolites with >30% missingness were excluded, missing values were imputed with the minimum observed value, and data were log-transformed before analysis. A comprehensive description of the metabolomics protocol was outlined previously91, and more details of data extraction, data preprocessing, and annotation are described in the Supplementary Methods. Xenobiotics, as exogenous compounds distinct from endogenous metabolites, were also included in the metabolomics dataset due to their potential relevance to metabolic function and early-life exposures.

Plasma proteins at week 24 of pregnancy were measured using the Olink Target 96 inflammation panels (Olink). Blood plasma samples were thawed, randomized across nine 96-well plates, refrozen, and transferred to Olink on dry ice before being screened with the Olink target 96 Inflammation assay. A total of 92 inflammatory proteins were quantified from our samples. Each sample was tested once, and all samples were fully randomized, without stratification, across nine plates. All samples were analyzed in nine different plates. The results were presented as log2-transformed normalized protein expression (NPX) values. Four internal controls were added to each sample to monitor the quality of assay performance, as well as the quality of individual samples. All plates and samples passed QC thresholds, defined as an internal control SD of <0.2 NPX from the median between plates and <0.3 NPX between samples within plates, and the samples with QC warnings were excluded from the analyses33. A PCA was performed on the 92 proteins, with PC1 explaining 30.7% of the variance. Inflammatory protein PC1 and key proteins associated with NDD risk, identified in our previous study33—VEGFA, CD5, IL-12B, CCL3, FGF-23, and MCP-1—were included in the mediation analysis in this study.

Statistics

All statistical analyses were conducted using R version 4.2.1. R package “caret” and “mixOmics (6.20.0)” were used in sPLS92,93. We applied a FDR of 5% to account for multiple testing. Two-sided P < 0.05 was considered significant. Children without ADHD, autism or any NDD were used as controls, depending on the specific outcome being modeled. ADHD, autism, and any NDD outcomes were examined separately. The number of cases for each diagnosis is shown in Fig. 1b.

In this study, we applied univariable (logistic and linear regression) and multivariable (sPLS) analyses. Univariable models assessed associations between each metabolite and any NDD, ADHD, and autism. Autism was analyzed only in univariable models because the small sample size (n = 16) precluded reliable multivariable sPLS modeling and subsequent pathway-level analyses. sPLS models focused on ADHD and NDD outcomes, as the low prevalence of autism prevented robust 10-fold cross-validation and nested validation essential for model reliability. The emphasis on ADHD and NDD outcomes was guided by statistical feasibility rather than biological rationale.

First, the sPLS model with 10 times repeated and 10 times cross-validations were performed to predict NDD outcomes from the metabolome data at the six timepoints. For each timepoint, the metabolites loading scores were shown when the area under the receiver operating characteristic curve (AUC) was higher than 0.55. We aimed to identify the timepoint that best predicted NDD and determine the most strongly associated metabolites. This derived a metabolome-NDD risk score for each individual based on the best performed model with highest median AUC and lowest variance across repeated cross-validation rounds (Supplementary Methods in Supplementary Information). Due to the limited number of autism cases (N = 16), we were unable to perform proper 10-fold cross-validation with 10 repetitions and nested cross-validation. Therefore, only ADHD and any NDD outcomes were included in the sPLS modeling and the following analyses involving the sPLS model.

Second, logistic and linear regression analyses were performed to investigate the association between each single metabolite and the NDD outcomes. These analyses were performed unadjusted and adjusted for covariates. As a further exploration of whether single versus multiple NDD diagnoses are associated with metabolomic profiles, we extracted all NDD cases and categorized them into two groups: children diagnosed with only ADHD (n = 48) and those with multiple NDD diagnoses (n = 38). In the logistic regression analysis, individuals with only ADHD were labeled as 0, and those with multiple NDD diagnoses were labeled as 1.

Third, pathway enrichment analyses were conducted by initially converting a list of the top 100 significant metabolites associated with NDD in the sPLS model into a data frame. The list of the top 100 metabolites was then merged with the corresponding counts of metabolites associated with each pathway. Enrichment ratios were calculated as the ratio of selected to total metabolites. Statistical significance was assessed using the hypergeometric test, with p-values adjusted for multiple testing using 5% FDR to identify significantly enriched metabolic pathways among the selected metabolites.

We performed mediation analysis to assess whether the effect of NDD-related risk factors, such as inflammatory proteins and maternal BMI, on ADHD is mediated by the highlighted metabolite. The mediate function from the “mediation (4.5.0)” R package was applied with 1000 bootstrap simulations to estimate the average causal mediation effect, the average direct effect, and the proportion of the total effect mediated. Statistical significance was assessed using bootstrap-derived p-values, and the mediation pathways were visualized with annotated effect estimates, including the proportion mediated and corresponding p-values. We focused on six inflammatory proteins—VEGFA, CCL3, CD5, IL-12B, FGF-23, and MCP-1, together with a maternal protein inflammatory profile PC1 that we previously identified as being associated with NDD risk33. Given the limited number of mediation tests and the hypothesis-driven nature of the analyses, we did not apply FDR correction here.

Sensitivity analysis of sPLS

To address potential overfitting from traditional tenfold cross-validation for sPLS, we additionally conducted a sensitivity analysis using a nested five-fold cross-validation approach, as outlined in our previous study (detailed in Supplementary Methods in Supplementary Information)94.

Reporting summary

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

Reporting summary

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