Introduction

There is strong evidence that diets high in saturated fat and refined carbohydrates are associated with cognitive impairments in humans1 and rodents2,3, but the mechanisms underlying this association remain unclear. Such diets compromise physiological functions across multiple organ systems, many of which could contribute to the observed cognitive impairments. Therefore, identifying key physiological disruptions that contribute to diet-induced cognitive dysfunction is essential to better understand and mitigate the effects of poor diet and obesity on cognition.

We and others have used rodent models to show that a western-style cafeteria diet, high in fat and sugar, promotes prolonged hyperphagia and increases adiposity, compromising metabolic health4,5,6. Exposure to such diets impairs performance on hippocampal-dependent tasks assessing short-term spatial recognition2,7 and reference8,9 memory, as well as disrupting multiple hippocampal molecular pathways, including pro-inflammatory signaling7,8,10, blood–brain barrier integrity3,11 and synaptic transmission12, and inducing fecal microbiome perturbations13,14. However, no one of these physiological changes has been consistently tied to the behavioral phenotype and limited studies targeting causation have been undertaken.

We have also shown that intermittent access to a western-style cafeteria diet (3 consecutive days of cafeteria diet followed by 4 consecutive days of chow diet each week for 16 weeks) resulted in similar fecal microbiome perturbations to those observed in rats continuously consuming cafeteria diet15 with intermediate alterations to metabolic health16. Of particular interest, such intermittent exposure to cafeteria diet does not impair spatial memory task performance compared with young male rats maintained on a healthy diet17, while still impairing metabolic health. This intermediate phenotype provides an opportunity to identify the key changes in hippocampal function and microbiome composition that are associated with diet-induced cognitive impairment, separate from more general changes produced by a cafeteria diet.

The present study aimed to determine whether specific differences in hippocampal gene expression and microbiome composition between intermittent (Cycle) and continuous cafeteria (Cafeteria) diet exposure contributed to the severity of spatial memory impairment. We chose to investigate these differences in females, as there are limited preclinical studies of the effects of obesogenic diets on cognition in female rodents despite a higher incidence of weight cycling18 and dieting19 in women.

Materials and methods

Ethics statement

This protocol was approved by the Animal Care and Ethics Committee of UNSW Sydney in accordance with the Australian guidelines for the use and care of animals for scientific purposes (Australian National Health and Medical Research Council).

Subjects and diet manipulation

Thirty-six female Sprague–Dawley rats aged 4–5 months (Animal Resource Centre, Australia) were housed three per box (18–22 oC; 12 h light/dark). Rats were handled daily for 1 week, while maintained on standard chow (11 kJ/g; Premium Rat and Mouse Maintenance diet; Gordon’s Specialty Stockfeeds, Australia) and water ad libitum.

Following acclimatization, weight-matched groups were randomly allocated to receive Chow, Cycle, or Cafeteria diet (n = 12 rats, n = 4 cages per group) ad libitum. The sample size was based on previous power calculations showing a minimum of ten rats is needed to detect hippocampal gene expression differences with a moderate effect size. Chow rats remained on standard chow and water. Cycle rats were exposed to 3 consecutive days of cafeteria diet, then 4 consecutive days of Chow for 7 weeks. Cafeteria rats had continuous access to cafeteria diet (full protocol in ref. 20) consisting of standard chow, water, and 10% sucrose solution, alongside commercially produced cakes (e.g., mud cake and jam roll), biscuits (e.g., choc-chip cookies and custard creams), and savory foods (e.g., meat pie and dim sims).

Body weight and food intake were measured twice weekly. For food intake, food items were weighed before administration and reweighed following 24 h after carefully removing all food from the cage. The amount eaten and drunk per home cage was converted to kJ using data provided by the manufacturers and the average intake per rat was calculated assuming equal intake in a cage. Body composition was analyzed at the end of week 7 by EchoMRI-900 (EchoMRI LLC, USA).

Behavior: novel object and novel place tasks

Hippocampal-dependent spatial and perirhinal-dependent object recognition memory were assessed using the novel place recognition task (NPR) at 3 and 6 weeks, and novel object recognition task (NOR) at 4 weeks.

The apparatus was a square arena (60 cm × 60 cm × 60 cm, 40 lux). For the NOR, objects were matched on volume and color, but differed in shape and material. Object type and locations were counterbalanced across treatment groups and across time. No object was used twice for any rat. Videos were recorded to mask experimental group prior to scoring.

Two days prior to the first NPR, rats were exposed to the empty arena for 10 min each day. Both NPR and NOR tasks consisted of familiarization, retention, and test phases. During familiarization, rats were placed into the arena with two identical novel objects and allowed to explore for 5 min. They were then returned to their home cage for a 5 min retention period, while the arena and objects were cleaned with 40% ethanol.

Immediately following retention, animals underwent a 3 min test. For NOR, objects were placed in the same locations as familiarization, with one novel object and one object identical to those used previously. In NPR, the objects were identical to those shown previously, but one object was moved to a new location, while the other remained in the original location. Exploration ratio was calculated as (novel exploration time)/(novel + familiar exploration time).

Estrous cycle monitoring

As this study examined females and diet is known to affect both the estrous cycle21,22 and oocyte health23, and there is mixed evidence for a moderating role of estrous cycle in spatial cognition24,25, diet- and microbiome-associated differences in estrous cycle and oocyte number were investigated. During weeks 1–2 and 6–7, daily estrous monitoring was performed by vaginal lavage. Epithelial changes were stained using 0.1% toluidine blue stain and were classified as previously reported26.

Sample collection

Following 7 weeks, rats were deeply anesthetized (ketamine/xylazine 15/100 mg/kg intraperitoneally). All rats had access to their respective diets until killing (Cycle on cafeteria diet). Body weight, naso-anal length, girth, and blood glucose were measured following induction of anesthesia. Blood was obtained by cardiac puncture and rats were decapitated. Plasma was stored at −80 oC for subsequent determination of leptin, insulin, and triglyceride content.

The dorsal hippocampus (within a coronal block defined by the rostro-caudal limits of the Circle of Willis) was rapidly dissected and collected. Retroperitoneal white adipose tissue and liver were dissected and weighed. One fecal pellet was removed from the distal colon. Hippocampus and feces were snap frozen in liquid nitrogen and stored at −80 oC for analysis. Ovaries were dissected and oocytes recovered and counted.

Plasma hormone and triglyceride measurements

Plasma leptin and insulin concentrations were obtained using commercial kits according to manufacturer’s instructions (CAT#90040 and CAT#90060, CrystalChem, Inc., USA).

Plasma triglyceride content was measured spectrophotometrically using triglyceride reagent (Roche Diagnostics Australia Pty, Ltd, Australia) at 37 °C alongside a standard curve generated from glycerol standard (G7793-5ML, Sigma-Aldrich Pty, Ltd, Australia).

Hippocampal gene expression

RNA was extracted from dorsal hippocampus using a TRI Reagent protocol (Sigma-Aldrich Pty, Ltd, Australia). Following DNAse I treatment (Catalog# 42885; Merck, Australia), 1.5 μg of RNA were reverse transcribed to produce cDNA (High Capacity Reverse Transcriptase Kit; Thermo Fisher Scientific, USA). Gene expression was assessed using Taqman inventoried gene expression assays (Life Technologies Australia Pty, Ltd, Australia; details in Supplementary Table 2). Genes of interest were normalized against the geometric mean of the two most stable housekeeping genes (Ywhaz and Hprt1) identified by Normfinder code in R27. Analysis of relative gene expression was performed using the ∆∆CT method normalized to an independent calibrator28.

Statistical analyses

Data were analyzed using one-way analysis of variance (ANOVA) or mixed two-way ANOVA (for measures over time) with post-hoc Tukey’s comparisons. Where data violated homoscedasticity of variance, log transformations were employed. Ordinal variables were analyzed using an independent-samples Jonckheere–Terpstra test for ordered alternatives followed by non-parametric Bonferroni–Dunn post-hoc testing. All post-hoc comparisons are presented only in the associated figures and tables when p < 0.05. Pearson’s correlations were performed to identify key variables of interest associated with NPR performance, which was followed up using simultaneous multiple regression to identify key predictors. All analyses were completed using IBM SPSS Statistics 23 (Australia). One Cafeteria rat was excluded due to poor health (hepatomegaly).

Fecal DNA extraction, microbiome community sequencing, and statistical analyses

DNA extraction was performed using the PowerFecal DNA Isolation Kit (MoBio Laboratories, USA). Microbial community composition was assessed by Illumina amplicon sequencing (2 × 250 bp MiSeq chemistry, V4 region, 515F-806R primer pair) using a standard protocol. Sequence data were analyzed using MOTHUR29, using modified commands from MiSeq SOP30, including alignment with the SILVA database, singleton removal, chimera checking with UCHIME, and classification against the latest RDP training set. Sequence data (n = 8346 total clean reads/sample) did not undergo rarefaction.

Operational taxonomic unit (OTU) correlations and LefSe analyses were completed using Calypso31, where multiple testing was corrected using the Benjamini–Hochberg false discovery rate (FDR). Alpha diversity metrics were obtained from Calypso and analyses were completed using SPSS, whereas FDR-corrected DESeq2 was performed using R, using the Phyloseq32 package for the negative binomial Walk’s test in DESeq233. OTU abundances were analyzed using SPSS with Kruskal–Wallis tests when necessary, followed by non-parametric Bonferroni–Dunn post-hoc testing where appropriate. OTUs of interest were identified using SINA Aligner34 and BlastN.

Distanced-based linear modeling (dbLM), permutational ANOVA (PERMANOVA), non-metric multidimensional scaling (nMDS), and canonical analysis of principal coordinates were completed using Primer (Primer-E Ltd, Plymouth, UK35). All primer analyses utilized a Bray–Curtis similarity matrix constructed at the OTU level. Marginal dbLM interrogates the unique contribution of each predictor variable to the variance in the Bray–Curtis similarity matrix.

Phylogenetic Investigation of Communities by Reconstruction of Unobserved States (PICRUSt) was performed using Galaxy web, to predict putative functions (through metagenomic prediction) from the 16S OTU data using Greengenes 13.5 for taxonomic classification36. Pathway counts were compared across groups using FDR-corrected Kruskal–Wallis tests followed by non-parametric Bonferroni–Dunn post-hoc testing, where appropriate.

Results

Continuous cafeteria diet impairs metabolic health more than diet cycling

Access to cafeteria diet consistently elevated daily energy intake: Cafeteria and Cycle rats consumed on average 3.8- and 1.8-fold more energy than chow controls (41,920 kJ/rat, 19,980 kJ/rat, and 11,133 kJ/rat total energy, respectively). Based on food-intake measurements, Cafeteria rats consumed 58% carbohydrates, 8% protein, and 34% fat as energy; similarly, Cycle rats consumed 56% carbohydrates, 8% protein, and 35% fat while on cafeteria diet. Chow diet comprised 65% carbohydrate, 22% protein, and 13% fat.

Absolute protein intake was slightly elevated in Cafeteria rats relative to Chow. Cycle rats ate comparable protein to Cafeteria rats, while consuming cafeteria diet; however, they consumed slightly less protein than Chow rats overall (Supplementary Fig. 1C; total protein: Chow: 2473 kJ/rat, Cycle: 2036 kJ/rat, and Cafeteria: 3092 kJ/rat). The intake of carbohydrate and fat (Supplementary Fig. 1D and E) when Cycle rats were exposed to the cafeteria diet were comparable to those by Cafeteria rats and were higher than Chow intakes when summed over the study (total carbohydrate: Chow: 7418 kJ/rat, Cycle: 11,524 kJ/rat, Cafeteria: 24,351 kJ/rat; total fat: Chow:1538 kJ/rat, Cycle: 6192 kJ/rat, Cafeteria: 14,184 kJ/rat).

Body weight gain over the study was significantly different between groups (F(2,32) = 49.62, p < 0.001; Supplementary Fig. 1F for body weight over time) such that weight gain was greater in Cafeteria rats than Chow and Cycle rats. There was no significant difference between Chow and Cycle rats, in line with our previous work in male rats37.

Continuous cafeteria diet increased body weight, fat mass, liver weight, and blood glucose, as well as plasma insulin, leptin, and triglyceride concentrations, relative to Chow rats with less marked effects in Cycle rats. Although lean mass did not differ, fat mass and leptin concentrations were significantly different among all groups, increasing with diet exposure. Oocyte number was reduced in Cafeteria rats relative to Chow controls (Table 1).

Table 1 Body composition, tissue collection, and plasma measures.

Intermittent cafeteria diet spares cognition and increases the expression of some hippocampal pro-inflammatory genes

Short-term spatial and object memory recognition were assessed using NPR and NOR tasks, respectively; when assessed with a short retention period (5 min), the NPR is predominantly hippocampal-dependent, whereas the NOR relies on an intact perirhinal cortex38,39. Previously, we have shown that NPR, but not NOR, is impaired by exposure to cafeteria diet in rats2,7.

Following 3 weeks of diet exposure, NPR memory was significantly affected by diet (F(2,32) = 9.08, p < 0.001; Fig. 1b and Supplementary Fig. 2A, B). Although both Chow and Cycle rats performed significantly better than Cafeteria, there was no difference between Chow and Cycle rats. By contrast, there were no significant group differences for NOR at 4 weeks (F(2,32) < 1; Supplementary Fig. 2E, F), consistent with previous work2,7.

Fig. 1: Intermittent cafeteria diet exposure spares spatial recognition memory while increasing expression of some hippocampal pro-inflammatory genes.
figure 1

a Novel place recognition memory task performance at 6 weeks of diet exposure. b Novel place recognition memory task performance over the study. c Expression of pro-inflammatory genes in the dorsal hippocampus. d Expression of glial and blood–brain barrier-related genes in the dorsal hippocampus. e Expression of neuroplasticity-related and receptor genes in the dorsal hippocampus. Data are expressed as box-and-whisker plots (min, IQR, max); n = 10–12; data were analyzed by one-way ANOVA followed by Tukey-adjusted post-hoc comparisons (ap < 0.05 relative to Chow, bp < 0.05 relative to Cycle). f Correlation between spatial recognition memory and hippocampal Aif1 gene expression. g Correlation between spatial recognition memory and hippocampal Tlr2 gene expression. Data are expressed as scatterplots of individual values; n = 9–12; data were analyzed by Pearson’s correlations. Aif1 allograft inflammatory factor 1, Bdnf brain-derived neurotrophic factor, Cln5 Claudin 5, Drd1 dopamine receptor D1, Drd2 dopamine receptor D2, Gfap glial fibrillary acidic protein, Ghsr growth hormone secretagogue receptor, Glut1 glucose transporter 1, Htr1a serotonin receptor 1a, Ikbkb inhibitor of nuclear factor κB kinase subunit β, Il1b interleukin-1β, Il6 interleukin-6, Mtor mammalian target of rapamycin, Ocln occludin, Syn1 synapsin 1, Tlr2 Toll-like receptor 2, Tlr4 Toll-like receptor 4, Tnf tumor necrosis factor-α.

The group differences in NPR performance present at 3 weeks remained significant at 6 weeks (F(2,32) = 7.57, p = 0.022; Fig. 1a, b), when Cycle rats had experienced 19–20 days total cafeteria diet, matching exposure of Cafeteria rats at the 3-week time point. Tested 4 days later, although Cycle rats were consuming chow, the overall effect of diet remained significant (F(2,31) = 5.71, p = 0.008; Supplementary Fig. 2C, D) such that Cafeteria rats were significantly impaired relative to Cycle rats. There was no significant difference between Chow and Cycle rat performance on the NPR task. Exploration times were not significantly different between groups for any of the tasks (Supplementary Fig. 1).

As there is some evidence that spatial cognition may vary with estrous cycle in female rodents24,25, we assessed estrous cycle after the final NPR. No relationship was observed with NPR performance, although this was not explicitly manipulated, as we did not want to introduce variability in dietary exposure by matching estrous cycle across groups.

Hippocampal gene expression was assessed to determine whether diet affected markers of pro-inflammatory signaling, blood–brain barrier integrity, and synaptic function (Fig. 1c-e and Supplementary Table 1 for gene names). Overall, these results indicate that although any exposure to cafeteria diet increases hippocampal cytokine expression, increased markers of astroglial and microglial proliferation, downstream pro-inflammatory signaling, and changes to blood–brain barrier integrity were unique to continuous cafeteria diet exposure. Specifically, any cafeteria diet exposure increased expression of Il1b (F(2,29) = 6.13, p = 0.006), Il6 (F(2,29) = 5.17, p = 0.012), Ikbkb (F(2,29) = 17.05, p < 0.001), and Drd2 (F(2,29) = 6.091, p = 0.006), while continuous access uniquely elevated expression of Gfap (F(2,29) = 4.948, p = 0.014), Glut1 (F(2,29) = 3.827, p = 0.036), Cln5 (F(2,29 = 3.846, p = 0.033), and Htr1a (F(2,29) = 6.64, p = 0.004) relative to Chow. Aif1 (gene for Iba1, a marker of microglial proliferation; F(2,29) = 8.33, p = 0.001) was significantly elevated in Cafeteria rats relative to both Chow and Cycle groups. Interestingly, Syn1 (F(2,29) = 3.886, p = 0.032), Mtor (F(2,29) = 4.214, p = 0.025), and Mc4r (F(2,29) = 5.98, p = 0.007; Supplementary Fig. 3C) were elevated in Cycle rats, suggesting differences in synaptic plasticity and energy homeostasis signaling exclusively in this group. Lepr (F(2,29) = 1.83, 0.18; Supplementary Fig. 3A), Insr (F(2,29) = 1.82, p = 0.18; Supplementary Fig. 3B), and Glut3 (F(2,29) = 1.7, p = 0.21; Supplementary Fig. 3D) were also assessed to determine whether there were any group differences in metabolic signaling, but did not show statistically significant differences. Aif1 and Tlr2 were the only genes significantly associated with spatial recognition memory (Fig. 1f and g, and Supplementary Table 2), implying that bacterial lipoprotein content and microglial proliferation may be involved in diet-induced cognitive impairment.

Intermittent cafeteria diet exposure does not affect α-diversity or predicted bacterial function, but alters microbiome composition

Microbial species diversity was assessed using richness, evenness, and Shannon’s diversity at 7 weeks. Both richness (F(2,33) = 3.949, p = 0.029; Fig. 2a) and Shannon’s diversity (F(2,33) = 4.31, p = 0.022; Fig. 2c) were significantly affected by diet overall, and the Cafeteria group showed reduced values relative to chow-fed controls. Evenness (Fig. 2b) was not significantly changed by diet. No significant effect of cage was observed.

Fig. 2: Any cafeteria diet exposure affects gut microbiome composition and alters predicted bacterial metabolic pathways.
figure 2

a Microbial species richness, b microbial species evenness, and c Shannon’s diversity following 7 weeks of diet exposure. Data are expressed as box-and-whisker plots (min, IQR, max); n = 11–12; data were analyzed by one-way ANOVA followed by Tukey-adjusted post-hoc comparisons (ap < 0.05 relative to Chow). d Non-metric multidimensional scaling (using Bray–Curtis similarity scores) on fecal microbiome samples; n = 11–12. e Operational taxonomic units (OTUs) differentially expressed between Chow, Cycle, and Cafeteria groups. Data are expressed using both DeSeq2 (log(Fold change), FDR-adjusted p-value < 0.05), and LefSe (LDA score > 2, FDR-adjusted p < 0.05) scores. The color of the circle/bar denotes the group the OTU is enriched in (open: Chow, gray: Cycle, black: Cafeteria); n = 11–12. f Ether lipid metabolism, g flavone and flavonol biosynthesis, and h flavonoid biosynthesis predicted using PICRUSt from fecal microbiome data at 7 weeks. Data are expressed as box-and-whisker plots (min, IQR, max); n = 11–12; data were analyzed by one-way ANOVA (FDR-adjusted overall p-value to account for multiple relevant pathways included in the analysis) followed by Tukey-adjusted post-hoc comparisons (ap < 0.05 relative to Chow, bp < 0.05 relative to Cycle).

PERMANOVA (999 permutations) at 7 weeks revealed significant differences in microbiome composition by diet (Pseudo-F(2,24) = 3.18, p = 0.006) and cage (Pseudo-F(3,24) = 1.51, p = 0.001), and the nMDS plot illustrating the similarity between groups is presented in Fig. 2d. Canoncal analysis of principal coordinates revealed that although Cycle microbiome overlapped with both Chow and Cafeteria groups, it was more closely aligned with the Cafeteria microbiome composition: when combined Cycle and Cafeteria were compared with Chow, there was 0% mis-classification error, whereas this was 14.3% for combined Cycle and Chow vs. Cafeteria. Overall, there were no significant differences in dispersion between groups (F(2,33) = 1.55, p = 0.235).

Several relative OTU abundances were selectively enriched in particular diet groups, using both LefSe and DeSeq2 analyses (DeSeq2: FDR-adjusted p < 0.05; LefSe: LDA score > 2, p < 0.05; Fig. 2e). When comparing Chow and Cafeteria, 16 OTUs were enriched in cafeteria diet, whereas 15 OTUs were enriched in chow-fed controls, and similar differences were observed between Chow and Cycle rats. Between Cycle and Cafeteria groups, only two OTUs were differentially enriched: Porphyromonadaceae unclassified_OTU35 was enriched in Cycle rats, whereas probacter_OTU66 was relatively enriched in the Cafeteria group.

Predicted bacterial function was assessed using PICRUSt analysis of 16S sequence data. Following FDR correction for multiple comparisons on relevant bacterial and metabolic KEGG (Kyoto Encyclopedia of Genes and Genomes) pathways, ether lipid metabolism (H(2) = 19.99, p = 0.005), flavone and flavonol biosynthesis (H(2) = 15.42, p = 0.005), and flavonoid biosynthesis (H(2) = 16.90, p = 0.001) were all significantly reduced by any cafeteria diet exposure but none of these changes were associated with NPR performance.

Changes in global microbiome composition are associated with place task performance

Several variables were significantly associated with overall microbiome composition when their unique variance was considered through dbLM (Table 2), including measures of adiposity as well as hippocampal Ikbkb and Il1b. Of note, NPR performance at 6 weeks was a significant predictor of global microbiome composition (Pseudo-F = 1.89, p = 0.022, R2 = 0.054).

Table 2 Correlations between global microbiome composition and variables of interest.

Coprobacter_OTU66 and body length are significant predictors of place task performance

Several variables of interest were significantly associated with spatial recognition memory using Pearson’s correlations (Supplementary Table 2). Although many differentially abundant OTUs correlated with NPR performance, only the association with Coprobacter_OTU66 (r = −0.456, p = 0.008; Fig. 3f) was not dependent on large outliers. Of note, this association was statistically significant in Chow rats only (r = −0.899, p < 0.001) when investigated within each diet group. Coprobacter_OTU66 was also significantly associated with girth, fat mass, and a number of hippocampal pro-inflammatory genes (Supplementary Table 2). These variables were then entered into a sequential multiple regression, to determine which significantly predicted NPR performance while accounting for other variables. The final model, presented in Fig. 3a, found that Coprobacter_OTU66 and naso-anal length significantly predict 41.4% of the variance in NPR (F(2,30) = 12.28, p < 0.001). Naso-anal length did not differ significantly between groups (Fig. 3b), although its strong positive association with fat mass (r = 0.444, p = 0.008; Fig. 3d) and other measures of adiposity indicate that this may be an indirect measure of diet impact.

Fig. 3: Naso-anal length and Coprobacter_OTU66 are significant predictors of place task performance in a multiple regression model.
figure 3

a Final multiple regression model (F(2,30) = 12.28, p < 0.001) predicting 41.3% of the variance in place task performance following the removal of nonsignificant predictors. b Naso-anal length at 7 weeks and its associations with (c) spatial recognition memory and (d) fat mass. e Relative abundance of Coprobacter_OTU66 at 7 weeks and its associations with (f) spatial recognition memory and (g) fat mass. Group data are expressed as box-and-whisker plots (min, IQR, max); n = 11–12; data were analyzed by one-way ANOVA followed by Tukey-adjusted post-hoc comparisons (ap < 0.05 relative to Chow, bp < 0.005 relative to Cycle). Associational data are expressed as scatterplots of individual values; n = 9–12; data were analyzed by Pearson’s correlations.

Coprobacter_OTU66 was enriched in Cafeteria rats relative to Chow, as well as in Cafeteria relative to Cycle rats (Fig. 3e), and positively associated with fat mass (r = 0.379, p = 0.025; Fig. 3g). SINA Aligner analysis identified one uncultured bacterium from the family Muribaculaceae (Accession number EU451781 ENA) isolated from mouse cecum40 that shared 90.5% sequence identity with Coprobacter_OTU66. BLAST analysis showed Coprobacter_OTU66 shared 90% sequence identify with Muribaculum intestinale strain YL27.

Discussion

In contrast to continuous access to cafeteria diet, we found that intermittent diet exposure in females (Cycle group) generated an intermediate phenotype, with moderate increases in energy intake and adiposity, perturbed fecal microbiome composition, but no cognitive impairment. This pattern of access to a cafeteria diet has been shown to spare spatial recognition in male rats17, which is interesting, as poor diet has been shown to impair cognition when presented in a daily limited access model41 and when excess energy intake is prevented10. Such intermittent access to cafeteria may spare cognition through the hypophagia exhibited during access to healthy chow, as both chronic42 and intermittent43 caloric restriction have been shown to improve cognition in mice.

Although Cycle rats developed a similar metabolic phenotype to Cafeteria rats, they exhibited lower relative fat mass and plasma leptin concentrations, which could explain the apparent protective effects of intermittent cafeteria diet on cognition. Of note, the plasma measures were conducted while animals were unfasted, due to previous work showing that diet-induced hypothalamic neuroinflammation can be reversed with overnight fasting44, and this could potentially mask differences in metabolic function between Cycle and Cafeteria rats. However, we have previously shown that diet-induced cognitive impairments occur without increased body weight7,10. Furthermore, although changes in hippocampal pro-inflammatory gene expression (Tlr2 and Aif1) were associated with spatial recognition memory independently, as seen in other rodent studies2,11,45, these were no longer significant predictors of the behavioral phenotype when multiple anthropometric and microbiome predictors of NPR performance were considered, most likely due to issues of multicollinearity. These findings indicate that although increased adiposity and hippocampal gene expression may contribute to cognitive impairments observed in obesity46,47,48, these changes are highly related and are therefore difficult to disentangle. Overall, it appears that different schedules of cafeteria diet induce incremental increases in hippocampal dysfunction and inflammation, and metabolic impairment, and it may be that some or all these changes must reach a threshold before diet-induced cognitive impairment is observed.

Cycle rats exhibited an intermediate microbiome composition that was significantly different from both Chow and Cafeteria groups, although exhibiting significant overlap with the Cafeteria group. This is similar to previous observations in mice exposed to 4-week cycles between chow and high-fat diet49 or chronic caloric restriction while on high-fat diet50, as well as our previous work with male rats exposed to long-term cafeteria diet cycling15. Although overall microbiome composition was altered, diet cycling protected female rats from the reductions in measures of α-diversity typically seen with extended exposure to a cafeteria diet15,51. Reduced α-diversity measures have been consistently reported in other diet-induced obesity models52,53, and following 4-week periods of cycling between healthy and high-fat diets49. Our previous diet cycling work in male rats showed comparable reductions in richness between rats exposed to cycling and continuous cafeteria diet15, although this may have been due to either longer diet exposure of 16 weeks.

Naso-anal length and Coprobacter_OTU66 were identified as significant predictors of place task performance through multiple regression modeling. Naso-anal length is typically increased with cafeteria diet in rodents17,54 and, although it was not significantly increased with diet in this study, it was highly correlated with measures of adiposity, which is known to be negatively associated with cognition in both humans55,56 and rodents57. This relationship between spatial recognition and naso-anal length is likely specific to rodents, who continue to grow linearly across their lifespan. When naso-anal length was removed from the regression analysis, lean mass became a significant predictor of place task performance. Lean mass is also increased with an energy dense diet in rodents, most likely due to diet-induced growth as well as increased organ weights. Contrastingly, lean mass is protective against cognitive in aging humans58,59 and is positively associated with hippocampal-dependent lure discrimination in healthy young adults60.

Coprobacter_OTU66 was putatively identified as M. intestinale strain YL27 and has only been recently sequenced61. In mice, this strain has been associated with a healthy phenotype62 and low-fat diet consumption61. Future studies manipulating this strain in rats may provide further insight into its role in diet-induced obesity and cognitive dysfunction.

It is important to note that we failed to detect any association between estrous stage and spatial task performance, but did observe a lengthening of proestrous and a reduction in diestrous stage 1/2 of the Cafeteria rats, in line with other rodent work21,63. We subsequently investigated the rats’ ovaries and found that oocyte number was reduced by continuous cafeteria diet exposure. Similarly, others have shown that Ob/ob mice exhibit reduced oocyte number64 and high-fat fed mice are less fertile due to increased oxidative stress-induced apoptosis and impaired oocyte maturation65.

In summary, our model of intermittent access to cafeteria diet identified OTU66_Coprobacter (high similarity to M. intestinale strain YL27) and naso-anal length, an indirect measure of adiposity and diet-induced growth, as predictive of differences in spatial recognition memory observed with differing schedules of cafeteria diet access in female rats. This approach appears useful for identifying microbiome composition differences that are relevant to phenotypic differences, rather than overall diet effects, and may prove useful in future studies investigating microbiome differences associated with cafeteria diet exposure.