Introduction

Autism spectrum disorder (ASD), a combination of disordered social behaviors and repetitive or restricted interests, affects one in 34 boys and one in 145 girls in the United States, with altered behaviors presenting in some children as early as 18 months of age or younger1, but most children are not diagnosed until after age three2,3,4,5,6,7,8. Early symptoms of ASD include poor eye contact, problems with social behaviors (difficulty with joint attention, no response to their name, poor nonverbal communication), and poor imitation skills; many children are not evaluated until families identify a delay in verbal communication9. Diagnosing ASD as early as infancy and resultant early intervention has been shown to improve neurodevelopmental outcomes, highlighting the importance of identifying potential biomarkers for early detection10,11,12. Even among neurotypical children a spectrum of behaviors exists13, some of which may create challenges in personal relationships and learning and professional environments. While several risk factors for ASD have been identified or hypothesized including genetics14, maternal infection during pregnancy15,16,17, and environmental exposures18, the etiologies are not well understood, leading to treatments targeting symptoms rather than underlying causes19. As a result, therapies, apart from early-life behavioral interventions, are often minimally effective20,21.

Recently, the interrelationship between the gastrointestinal tract and its microbiome (the compilation of microorganisms in the intestines) and the brain, known as the gut-brain axis, has been proposed as a potential cause or modifier of ASD behaviors22,23,24. Specifically, a recent mechanistic study found that mice transfected with the stool of ASD patients began displaying ASD behaviors, which were then modified by a correction of the imbalance in bacterial metabolites brought on by transfection25. Several case–control studies have compared the gut microbiome in children diagnosed with ASD to neurotypical siblings or community controls and observed notable differences26,27,28,29,30,31,32,33. However, these studies are subject to reverse causation, have been small, and have produced inconsistent results. To date, no epidemiological studies have examined the microbiome at multiple early-life ages to elucidate when in the lifespan it is most relevant to neurodevelopment, particularly autism-related social behaviors. Further, no prospective cohort study has employed metagenomic sequencing and examined bacterial function in relation to social behaviors to better understand how gut bacteria may affect the brain.

Our study aimed to address these gaps by examining the infant/toddler microbiome at four early-life time points, beginning at 6 weeks postpartum, in relation to a continuous measure of social behavior at 3 years of age. In addition to investigating bacterial diversity, structure, and specific taxa, we inferred gene function from metagenomic sequences to identify pathways associated with essential features of ASD.

Results

Population characteristics

Study populations were similar across the four time points; most mothers reported not smoking during pregnancy (> 95%) and approximately half were parous (Table 1). Most parents were not of advanced age (average maternal age at delivery 32.3 ± 4.6 years, average paternal age at delivery 33.6 ± 5.8 years). SRS-2 total T-scores were lower (better) and had a narrower distribution than the normative population (a nationally representative sample of 474 ratings of 247 children34) to which the test is standardized (i.e., approximate mean ± SD: 44 ± 5 in each study population compared to 50 ± 10 in the normative sample). As expected, within subject diversity increased as the microbiome sample age increased [mean ± SD Shannon Indices: 1.66 ± 0.49, 2.89 ± 0.56, 3.57 ± 0.46, and 3.83 ± 0.48 at 6 weeks, 1 year, 2 years, and 3 years, respectively; Table 1].

Table 1 Characteristics of New Hampshire Birth Cohort Study (NHBCS) subjects followed to age 3 years compared to those in each microbiome analytical cohort [N (%) or mean (± SD)].

Within-subject diversity

At most time points, increased within-subject diversity was correlated with improved SRS-2 total T-scores [βSix-week Shannon = − 0.19 (− 0.92, 0.54), p = 0.62; βOne-year Shannon = 0.07 (− 0.60, 0.74), p = 0.83; βTwo-year Shannon = − 0.04 (− 0.79, 0.72), p = 0.93; βThree-year Shannon =  − 0.49 (− 1.25, 0.27), p = 0.21 in basic models], although the relationships were not statistically significant (Fig. 1, Supplementary Table S1). Estimates were similar between basic and full models, but within-subject diversity at 6 weeks appeared to be more strongly correlated with SRS-2 total T-scores in the full model. Sensitivity analyses did not alter the conclusions (Supplementary Tables S2–S7). Using metagenomics data, all metrics of within-subject diversity at 1 year related to improved social behaviors. However, at 6 weeks higher Shannon and Simpson Indices were associated with better social behaviors, but higher taxa count related with worse social behavior (Supplementary Table S8). None of the estimates for metagenomic within-subject diversity reached statistical significance.

Figure 1
figure 1

Associations of within-subject diversity with total T-scores on the Social Responsiveness Scale-2 (SRS-2) at 3 years of age. Basic models adjust for age at SRS-2, maternal education, marital status, maternal age, paternal age, child sex. Full models adjust for all covariates in the basic model and maternal self-reported smoking during pregnancy, early exclusive breastfeeding, delivery mode, peripartum antibiotics, and gestational age.

Microbial community structure

Community structure of the gut microbiome at 1 year was associated with total SRS-2T-scores at 3 years, particularly in the basic model (p = 0.01, 0.06 in basic and full models, respectively; Fig. 2, Supplementary Table S9). The p values were similar between the basic and full models, except for 2-year community structure, where birth mode and peripartum antibiotic exposure explained significant portions of the variability in the full model (data not shown). Similar results were obtained in sensitivity analyses (Supplementary Table S10).

Figure 2
figure 2

Generalized Unifrac distance principal component (PC) plots. Each point represents a subject and lines indicate distance to median centroids for subjects with Social Responsiveness Scale-2 (SRS-2) total T-scores above and below 50. Some points were removed for visual clarity (4 at one year and 1 at three years) but contributed to centroid calculation. Associations with continuous SRS-2 scores were statistically significant at 1 year (p = 0.01, 0.06 in basic and full Models, respectively). Principal components are time point specific. The contribution of each principal component to overall variability in community structure is found along the axis (%).

Individual taxa

The relative abundance of specific taxa at 1 year, 2 years, and 3 years were associated with social behaviors (Table 2). Higher relative abundance of two ASVs in the Lachnospiraceae (Blautia producta and an unknown taxon) at 1 year were associated with worse social behavior at 3 years [e.g., βB.producta-full = 0.29 (0.15, 0.42), q = 0.017]. Similarly, higher relative abundances of Coprococcus and Bifidobacterium at 2 years were associated with poorer social behaviors in both basic and full models. Two additional taxa (Ruminococcus gnavus and Sutterella) were associated with SRS-2 total T-scores in only the basic and full models, respectively [e.g., βR.gnavus-basic = 0.17 (0.08, 0.26), q = 0.069]. At 3 years, higher relative abundance of Butyricicoccus pullicaecorum was associated with worse social behavior in both basic and full models. In general, associations were modest, and the relative abundances of associated taxa were low (Table 2). Most of the statistically significantly associated taxa were in the Lachnospiraceae family (e.g., Blautia producta, Coprococcus), or more broadly in the Clostridiales order in the Firmicutes phylum (e.g., Butyricicoccus pullicaecorum), which was also true of the taxa with a nominal p value < 0.05 (Supplementary Table S11). Sensitivity and supplemental analysis results were similar (Supplementary Tables S12,S13).

Table 2 Taxa associated with Social Responsiveness Scale-2 (SRS-2) total T-scores at 3 years (q < 0.25).

Metagenomic data provided deeper insight into the taxa whose relative abundance at 6 weeks and 1 year were associated with SRS-2 total T-scores (Table 2). At 6 weeks, a taxon identified as Flavonifactor plautii was associated with worse total T-scores on the SRS-2. Similarly, at 1 year greater relative abundance of four taxa were associated with poorer social behavior, namely Adlercreutzia equolfaciens, Ruminococcus torques, Eubacterium dolichum, and a bacterium in the Lachnospiraceae, [e.g., βA.equolifaciens-full = 0.002 (0.001, 0.002), q = 0.001]. Associations between taxa and SRS-2 total T-scores reaching a nominal p value of 0.05 were largely in the Actinobacteria (class) and Clostridiales (Supplementary Table S14).

Bacterial functional pathways

Increased relative abundance of two functional pathways, l-ornithine de novo biosynthesis and the superpathway of pyridoxal 5′-phosphate biosynthesis and salvage, at both 6 weeks and 1 year were associated with better social behavior at 3 years [e.g., βl-ornithine-6W-basic = − 2.4E−5 (− 4.2E−5, − 6.8E−6), p = 0.008; Fig. 3, Supplementary Figure S1, Supplementary Table S15]. An additional three pathways (the superpathway of l-aspartate and l-asparagine synthesis, O-antigen building blocks biosynthesis—Escherichia coli, and pentose phosphate pathway) had highly significant associations (p < 0.001) at 1 year in either basic or full models (Fig. 3, Supplementary Figure S1). Several associated pathways (p < 0.05) are involved in the urea cycle (involving aspartate, asparagine, or ornithine), pyridoxal 5′-phosphate (highly bioavailable vitamin B6) synthesis, or menaquinol biosynthesis (Supplementary Table S15).

Figure 3
figure 3

Associations of bacterial functional pathways and Social Responsiveness Scale-2 (SRS-2) total T-scores. Volcano plots of associations between metagenomically identified functional pathways and SRS-2 total T-scores in full models (adjusting for age at SRS-2, maternal education, marital status, maternal age, paternal age, child sex, maternal self-reported smoking during pregnancy, early exclusive breastfeeding, delivery mode, peripartum antibiotics, and gestational age). Points representing unmapped or unintegrated pathways have been removed for visual clarity (2 points per plot). Dashed blue line indicates p = 0.05, dotted orange line indicates p = 0.001. ARGININE-SYN4-PWY: l-ornithine de novo biosynthesis; ASPASN-PWY: superpathway of l-aspartate and l-asparagine synthesis; OANTINGEN-PWY: O-antigen building blocks biosynthesis (Escherichia coli); PENTOSE-P-PWY: pentose phosphate pathway; PWY0-845: superpathway of pyridoxal 5′-phosphate biosynthesis and salvage.

Discussion

Our analysis uncovered the potential for several novel, time-dependent associations between the early-life gut microbiome and child social behaviors at age three. Specifically, we found suggestive evidence of better social behaviors with increased within-subject microbial diversity during infancy and early childhood as well as an association with bacterial community structure at 1 year of life. Many of the taxa associated with relative decrements in social behaviors were in the Lachnospiraceae family. Metagenomic sequencing data from 6-week and 1-year fecal samples complemented our 16S rRNA findings and demonstrated several associations, including with Adlercreutzia equolifaciens and Ruminococcus torques. By classifying our metagenomic sequences into functional pathways, we also identified several promising pathways through which the microbiome may act on autism-related social behaviors.

Studies of within-subject diversity and health outcomes including attention deficit hyperactivity disorder35 and gastrointestinal disorders36, both common ASD comorbidities37,38, generally have found a beneficial association with increased microbial diversity. Our limited evidence of an association between within-subject diversity and social behaviors supports the potential for the microbiome to interact with the brain and behavior at a different level (e.g., the taxon level). The direction of the effect estimates in our study was somewhat sensitive to the metric used, with the Simpson Index (a measure of evenness) providing consistent evidence of potential beneficial impacts across time points and the Shannon Index (a measure of richness and evenness) and taxa count (a measure of richness) indicating a potential adverse association between increased diversity and social behaviors at 1 and 2 years39. However, the lack of statistical significance implies our findings should be interpreted carefully.

The association with bacterial community structure was strongest when measured at 1 year, when the bacterial community is more established (as compared to 6 weeks) but more malleable than an adult microbiome40. However, because not all subjects appear in each analysis any time-specific effects may be artifacts of the specific population. Similar to the within-subject diversity analysis, the association between bacterial community structure and social behaviors did not appear to differ with the addition of autism risk factors for which community structure may act as a mediator.

Several taxa at 1, 2, and 3 years were associated with poorer social behaviors, primarily in the Lachnospiraceae family, one of the most abundant in the gut. While the family was altered in several case–control investigations of ASD, the direction is not consistent across studies27,28,29, and is not present in others30,31. A prospective study examining the gut microbiome at six months and scores on the Ages and Stages Questionnaire (ASQ) at 3 years in the Vitamin D Antenatal Asthma Reduction Trial (n = 309 primarily neurotypical children) found an adverse association between Ruminococcus, a genus in the Lachnospiraceae that was also identified in our analyses, and both total ASQ score and personal/social development41. We observed an association between a low-abundance Bifidobacterium taxon at two years and worse social behaviors. Bifidobacterium species are generally considered to be beneficial with respect to their psychoactive properties, especially in infants and children42,43,44,45. Because this finding was not consistent across time points or in our more probing shotgun metagenomics analyses it may be the result of chance. In our analysis using metagenomic data, which allows more precise identification of bacterial species and strain, we identified an adverse association between Ruminococcus torques, previously found to be increased in ASD cases with gastrointestinal symptoms (n = 54), and SRS-2 performance46. We also found an association between Adlercreutzia equolifaciens and poorer social behaviors. Although this taxon has not been detected in other ASD studies, its primary product, a phytoestrogen called equol, may interfere with normal microglial function47, including essential early-life synaptic pruning, a deficit of which is a putative mechanism for ASD48,49. Indeed, one recent study found increased genistein and daidzein (two other phytoestrogens dependent on gut microbial production) in mice colonized with ASD-patient microbiomes compared to controls25. Importantly, ASD phenotypes, including altered social behaviors, were reduced after restoring gut microbiome metabolomic balance.

In addition to more precisely identifying associations with select taxa, the use of metagenomic data allowed us to infer functional pathways the enrichment or depletion of which was associated with worse social behaviors. Two pathways were less abundant in children with better social behaviors in nearly all models: the l-ornithine de novo biosynthesis pathway and the superpathway of pyridoxal 5′-phosphate biosynthesis and salvage. In humans, ornithine is essential for the detoxification of ammonia, a neurotoxin, to urea50,51,52. Our findings are supported by a case–control study of ASD that found decreased urinary ornithine among cases provided that less excretion is an indication of increased salvage53. Although the authors of this study aspired to identify predictive biomarkers of ASD, their biospecimens, collected at an average of 5 years, were subject to reverse causation (i.e., autistic behaviors, with onset by 18 months3,4,5, may impact diet or exposures, thus altering urinary amino acid concentrations). In contrast, our study indicates that as early as 6 weeks of life alterations in gut bacterial ornithine production are associated with social behaviors in childhood. The relative abundance of another amino acid synthesis pathway (superpathway of l-aspartate and l-asparagine synthesis) at 1 year was also associated with SRS-2 performance. Asparagine is essential to brain development and function54. Thus, further investigation of this pathway in ASD may be informative.

Our findings regarding the superpathway of pyridoxal 5′-phosphate (highly available vitamin B6) biosynthesis and salvage are relevant to clinical trials examining the effectiveness of high-dose vitamin B6 and magnesium supplementation in reducing autistic symptoms. While most of these studies have been small, and with conflicting results55,56,57,58,59, a more recent study suggests that a certain phenotypic subset of autistic subjects respond to B6 and magnesium supplementation60. Further research is needed to clarify whether/what gut microbial functions can identify responders so that treatment can be more successfully targeted. At 1 year we also found associations with O-antigen building blocks biosynthesis and pentose phosphate pathway. O-antigens are a vital component of lipopolysaccharides, which are hypothesized contributors to ASD, and demonstrated effectors of autism phenotypes61,62,63. The implications of the observed association with the pentose phosphate pathway, which is essential to glucose metabolism, are less clear. By generating nicotinamide adenine dinucleotide phosphate (NADPH) this pathway may contribute to the detoxification of reactive oxygen species, but this hypothesis must be robustly tested with in vitro models before any conclusion can be reached64.

Although this study suggests potential windows of microbial development that are sensitive for the development of social behaviors, our findings could have been population-specific rather than true effects because the populations comprise different individuals at each time point. In addition, despite our adjustment for numerous important confounders, we were not able to account for others including genetics. We chose not to include later antibiotic exposure in our models due to its lack of association with SRS-2 scores. However, this may have resulted in nondifferential exposure misclassification, adding imprecision to our estimates, but not biasing them. Further, due to limitations of statistical methods available for microbiome analysis (e.g., treating the microbiome as the dependent variable when it is the hypothesized exposure) and the constraints of observational data our findings cannot be interpreted as causal. However, as the first analysis to prospectively examine the microbiome at multiple time points early in life in relation to social development we have identified several important potential associations that should be explored further in mechanistic models.

The strengths of our study include careful adjustment for a range of variables that may confound the association between the microbiome and SRS-2 total T-scores or predict autism-like behavior. Further, by considering a model including variables for which the microbiome may act as a mediator we found that the association of the microbiome with social behaviors was largely independent of potential risk factors for autism (i.e., variables in the full model). Other variables—such as dietary factors and probiotics—were considered, but ultimately rejected, for model inclusion because of the likelihood of reverse causation (i.e., autism-related behaviors are known to affect food selectivity)65. Ours is among one of the largest studies to date to consider the microbiome and autism-related behaviors, particularly in a prospective cohort setting . Our finding of differences as early as 6 weeks of life highlights opportunities for interventions that have been shown to change the direction of neurodevelopment in murine models25. Additionally, our findings in a pregnancy cohort are generalizable to non-clinical populations while still informing autism research. Specifically, because our cohort comprises primarily neurotypical children we expect stronger associations in a more neurodiverse population.

In summary, our findings suggest an association of the infant/toddler gut microbiome with social behaviors in a US population sample. Further research is warranted to elucidate mechanisms, and to determine whether features of the gut microbiome can be used to identify ASD during a vulnerable window during which time interventions can optimize neurodevelopmental outcomes.

Methods and materials

Study cohort

The New Hampshire Birth Cohort Study, an ongoing prospective pregnancy cohort, recruited pregnant women (ages 18–45) as previously described (Supplementary Methods)66. This analysis is based on a subset of children who provided a stool sample at 6 weeks, 1 year, 2 years, or 3 years and completed a social behavioral assessment at 3 years (n = 273, Supplementary Figure S2, Supplementary Table S16). Although subjects overlapped in each of the populations, few (n = 21) had microbiome sequencing data at all four time points. Parents of participants provided written informed consent. Study protocols were reviewed and approved by the Center for the Protection of Human Subjects at Dartmouth, and all methods were carried out in accordance with relevant guidelines and regulations.

Stool sample collection and microbial sequencing

Stools were collected from infants/toddlers at 6 weeks, 1 year, 2 years, and 3 years postpartum. If the child was using diapers, the sample was collected by parents from a study-provided diaper, as previously described67. If the child was no longer using diapers, parents were provided an acid-washed receptacle that fit into the toilet to collect a urine-free stool sample (Supplementary Methods). Established protocols were followed for 16S rRNA gene sequencing and data processing (Supplementary Methods)67,68,69,70,71,72. A subset of DNA samples (from 6-week and 1-year stools) also underwent metagenomic sequencing at Marine Biological Laboratory as previously described (Supplementary Methods)73,74,75.

Assessment of social behaviors

Approximately 3 years postpartum, parents were asked to complete the Social Responsiveness Scale, 2nd edition, preschool form (SRS-2), which asks about their child’s usual behavior34,76. The SRS-2 is a standardized, validated instrument designed to assess social behavioral deficits and autistic traits as reflected in five components of social behavior (awareness, cognition, communication, motivation, and restricted interests/repetitive behavior) on a continuous scale77. SRS-2 provides raw and age-standardized T-scores for each subscale as well as an overall total score. The T-scores are standardized to a mean (SD) of 50 (10) with higher scores indicating poorer social behavioral skills. For some visual representations of results scores were dichotomized at 50 points (approximately 1 SD above our population mean, 5–10% of each study population above), but continuous total T-scores were used for all primary analyses. In clinical settings a more stringent cut off of 60 points is applied to identify individuals with mild social impairment.

Statistical analysis

Preliminary analyses identified factors associated with SRS-2 total T-scores in the study population and covariates were then selected if they were associated with SRS-2 scores (and in some cases the microbiome), but unlikely to be a factor for which the microbiome acts as a mediator. These included child age at follow-up, maternal education, maternal marital status, parity, maternal and paternal age at delivery, and child sex—the basic model. Additional models were run including autism risk factors for which the microbiome may act as a partial mediator (basic model variables and maternal smoking during pregnancy78, early postnatal exclusive breastfeeding79,80,81, delivery mode82, perinatal antibiotic exposure83, and continuous gestational age at delivery84—the full model).

Shannon and Simpson Indices and taxa count were linearly regressed against SRS-2 total T-scores adjusting for covariates included in the basic and full models. The Shannon Index is reported as the primary within-subject diversity metric because it accounts for both richness and evenness of species85. Bacterial community structure was contrasted between subjects with generalized UniFrac (GUniFrac) distances86. To assess the significance of the relation between bacterial community structure and SRS-2 total T-scores we employed the adonis2 function in the “vegan” package with 10,000 permutations87. Multivariate Association with Linear Models (MaAsLin2) was used to determine the association between individual amplicon sequence variants (ASVs) and total SRS-2T-scores88,89. We restricted our analyses to ASVs with at least 0.001% relative abundance in at least 10% of subjects to reduce multiple testing. Any taxon-level association with an FDR-corrected q-value < 0.25 was considered statistically significant, which is the MaAsLin default and is commonly used in microbiome studies where further investigation and validation of results is necessary90,91. A complementary analysis using diversities and taxon relative abundances derived from metagenomic data was conducted at 6 weeks and 1 year. Pathway relative abundances associated with SRS-2 total T-scores were determined with MaAsLin2, restricting to pathways with at least 0.0001% in at least 10% of samples. Due to the exploratory nature of this analysis, all pathways with a nominal p value < 0.05 were deemed of interest. Sensitivity analyses are described in Supplementary Methods.