1. Belkaid, Y. & Hand, T. W. Role of the microbiota in immunity and inflammation. Cell 157, 121–141 (2014).

2. Hill, D. A. & Artis, D. Intestinal bacteria and the regulation of immune cell homeostasis. Annu. Rev. Immunol. 28, 623–667 (2010).

3. Vuong, H. E., Yano, J. M., Fung, T. C. & Hsiao, E. Y. The microbiome and host behavior. Annu. Rev. Neurosci. 40, 21–49 (2017).

4. Maren, S. Neurobiology of Pavlovian fear conditioning. Annu. Rev. Neurosci. 24, 897–931 (2001).

5. VanElzakker, M. B., Dahlgren, M. K., Davis, F. C., Dubois, S. & Shin, L. M. From Pavlov to PTSD: the extinction of conditioned fear in rodents, humans, and anxiety disorders. Neurobiol. Learn. Mem. 113, 3–18 (2014).

6. Mielcarz, D. W. & Kasper, L. H. The gut microbiome in multiple sclerosis. Curr. Treat. Options Neurol. 17, 344 (2015).

7. Krajmalnik-Brown, R., Lozupone, C., Kang, D. W. & Adams, J. B. Gut bacteria in children with autism spectrum disorders: challenges and promise of studying how a complex community influences a complex disease. Microb. Ecol. Health Dis. 26, 26914 (2015).

8. Zheng, P. et al. Gut microbiome remodeling induces depressive-like behaviors through a pathway mediated by the host’s metabolism. Mol. Psychiatry 21, 786–796 (2016).

9. Möhle, L. et al. Ly6Chi monocytes provide a link between antibiotic-induced changes in gut microbiota and adult hippocampal neurogenesis. Cell Rep. 15, 1945–1956 (2016).

10. Hoban, A. E. et al. Regulation of prefrontal cortex myelination by the microbiota. Transl. Psychiatry 6, e774 (2016).

11. Braniste, V. et al. The gut microbiota influences blood-brain barrier permeability in mice. Sci. Transl. Med. 6, 263ra158 (2014).

12. Erny, D. et al. Host microbiota constantly control maturation and function of microglia in the CNS. Nat. Neurosci. 18, 965–977 (2015).

13. Hoban, A. E. et al. The microbiome regulates amygdala-dependent fear recall. Mol. Psychiatry 23, 1134–1144 (2018).

14. Lu, J. et al. Microbiota influence the development of the brain and behaviors in C57BL/6J mice. PLoS ONE 13, e0201829 (2018).

15. Arentsen, T., Raith, H., Qian, Y., Forssberg, H. & Diaz Heijtz, R. Host microbiota modulates development of social preference in mice. Microb. Ecol. Health Dis. 26, 29719 (2015).

16. Desbonnet, L., Clarke, G., Shanahan, F., Dinan, T. G. & Cryan, J. F. Microbiota is essential for social development in the mouse. Mol. Psychiatry 19, 146–148 (2014).

17. Hepworth, M. R. et al. Group 3 innate lymphoid cells mediate intestinal selection of commensal bacteria-specific CD4+ T cells. Science 348, 1031–1035 (2015).

18. Pattwell, S. S. et al. Altered fear learning across development in both mouse and human. Proc. Natl Acad. Sci. USA 109, 16318–16323 (2012).

19. Soliman, F. et al. A genetic variant BDNF polymorphism alters extinction learning in both mouse and human. Science 327, 863–866 (2010).

20. Bravo, J. A. et al. Ingestion of Lactobacillus strain regulates emotional behavior and central GABA receptor expression in a mouse via the vagus nerve. Proc. Natl Acad. Sci. USA 108, 16050–16055 (2011).

21. Sgritta, M. et al. Mechanisms underlying microbial-mediated changes in social behavior in mouse models of autism spectrum disorder. Neuron 101, 246–259.e246 (2019).

22. Kipnis, J., Cohen, H., Cardon, M., Ziv, Y. & Schwartz, M. T cell deficiency leads to cognitive dysfunction: implications for therapeutic vaccination for schizophrenia and other psychiatric conditions. Proc. Natl Acad. Sci. USA 101, 8180–8185 (2004).

23. Miyajima, M. et al. Metabolic shift induced by systemic activation of T cells in PD-1-deficient mice perturbs brain monoamines and emotional behavior. Nat. Immunol. 18, 1342–1352 (2017).

24. Filiano, A. J. et al. Unexpected role of interferon-γ in regulating neuronal connectivity and social behaviour. Nature 535, 425–429 (2016).

25. Tovote, P., Fadok, J. P. & Lüthi, A. Neuronal circuits for fear and anxiety. Nat. Rev. Neurosci. 16, 317–331 (2015).

26. Dragunow, M. & Faull, R. The use of c-fos as a metabolic marker in neuronal pathway tracing. J. Neurosci. Methods 29, 261–265 (1989).

27. Gale, G. D. et al. Role of the basolateral amygdala in the storage of fear memories across the adult lifetime of rats. J. Neurosci. 24, 3810–3815 (2004).

28. Thion, M. S. et al. Microbiome influences prenatal and adult microglia in a sex-specific manner. Cell 172, 500–516.e516 (2018).

29. Kierdorf, K. et al. Microglia emerge from erythromyeloid precursors via Pu.1- and Irf8-dependent pathways. Nat. Neurosci. 16, 273–280 (2013).

30. Yuste, R. & Bonhoeffer, T. Morphological changes in dendritic spines associated with long-term synaptic plasticity. Annu. Rev. Neurosci. 24, 1071–1089 (2001).

31. Yuste, R. & Denk, W. Dendritic spines as basic functional units of neuronal integration. Nature 375, 682–684 (1995).

32. Trachtenberg, J. T. et al. Long-term in vivo imaging of experience-dependent synaptic plasticity in adult cortex. Nature 420, 788–794 (2002).

33. Matsuzaki, M., Honkura, N., Ellis-Davies, G. C. & Kasai, H. Structural basis of long-term potentiation in single dendritic spines. Nature 429, 761–766 (2004).

34. Lai, C. S., Franke, T. F. & Gan, W. B. Opposite effects of fear conditioning and extinction on dendritic spine remodelling. Nature 483, 87–91 (2012).

35. Sudo, N. et al. Postnatal microbial colonization programs the hypothalamic-pituitary-adrenal system for stress response in mice. J. Physiol. (Lond.) 558, 263–275 (2004).

36. Ivanov, I. I. et al. Induction of intestinal Th17 cells by segmented filamentous bacteria. Cell 139, 485–498 (2009).

37. Atarashi, K. et al. Induction of colonic regulatory T cells by indigenous Clostridium species. Science 331, 337–341 (2011).

38. Garrett, W. S. et al. Enterobacteriaceae act in concert with the gut microbiota to induce spontaneous and maternally transmitted colitis. Cell Host Microbe 8, 292–300 (2010).

39. Schaedler, R. W. & Dubos, R. J. The fecal flora of various strains of mice. Its bearing on their susceptibility to endotoxin. J. Exp. Med. 115, 1149–1160 (1962).

40. Tautenhahn, R., Patti, G. J., Rinehart, D. & Siuzdak, G. XCMS Online: a web-based platform to process untargeted metabolomic data. Anal. Chem. 84, 5035–5039 (2012).

41. Shaw, W. Increased urinary excretion of a 3-(3-hydroxyphenyl)-3-hydroxypropionic acid (HPHPA), an abnormal phenylalanine metabolite of Clostridia spp. in the gastrointestinal tract, in urine samples from patients with autism and schizophrenia. Nutr. Neurosci. 13, 135–143 (2010).

42. Keşli, R., Gökçen, C., Buluğ, U. & Terzi, Y. Investigation of the relation between anaerobic bacteria genus Clostridium and late-onset autism etiology in children. J. Immunoassay Immunochem. 35, 101–109 (2014).

43. Yeh, Y. C. et al. Indoxyl sulfate, not p-cresyl sulfate, is associated with cognitive impairment in early-stage chronic kidney disease. Neurotoxicology 53, 148–152 (2016).

44. Hsiao, E. Y. et al. Microbiota modulate behavioral and physiological abnormalities associated with neurodevelopmental disorders. Cell 155, 1451–1463 (2013).

45. Kang, M. et al. The effect of gut microbiome on tolerance to morphine mediated antinociception in mice. Sci. Rep. 7, 42658 (2017).

46. Patel, T. P. et al. An open-source toolbox for automated phenotyping of mice in behavioral tasks. Front. Behav. Neurosci. 8, 349 (2014).

47. Dincheva, I. et al. FAAH genetic variation enhances fronto-amygdala function in mouse and human. Nat. Commun. 6, 6395 (2015).

48. Liston, C. et al. Circadian glucocorticoid oscillations promote learning-dependent synapse formation and maintenance. Nat. Neurosci. 16, 698–705 (2013).

49. Mukamel, E. A., Nimmerjahn, A. & Schnitzer, M. J. Automated analysis of cellular signals from large-scale calcium imaging data. Neuron 63, 747–760 (2009).

50. Dombeck, D. A., Khabbaz, A. N., Collman, F., Adelman, T. L. & Tank, D. W. Imaging large-scale neural activity with cellular resolution in awake, mobile mice. Neuron 56, 43–57 (2007).

51. Rajasethupathy, P. et al. Projections from neocortex mediate top-down control of memory retrieval. Nature 526, 653–659 (2015).

52. Dodt, M., Roehr, J. T., Ahmed, R. & Dieterich, C. FLEXBAR—flexible barcode and adapter processing for next-generation sequencing platforms. Biology (Basel) 1, 895–905 (2012).

53. Dobin, A. et al. STAR: ultrafast universal RNA-seq aligner. Bioinformatics 29, 15–21 (2013).

54. Liao, Y., Smyth, G. K. & Shi, W. The Subread aligner: fast, accurate and scalable read mapping by seed-and-vote. Nucleic Acids Res. 41, e108 (2013).

55. Love, M. I., Huber, W. & Anders, S. Moderated estimation of fold change and dispersion for RNA-seq data with DESeq2. Genome Biol. 15, 550 (2014).

56. Anderson, M. J. A new method for non-parametric multivariate analysis of variance. Austral Ecol. 26, 32–46 (2001).

57. Mi, H., Muruganujan, A., Casagrande, J. T. & Thomas, P. D. Large-scale gene function analysis with the PANTHER classification system. Nat. Protocols 8, 1551–1566 (2013).

58. Kanehisa, M. & Goto, S. KEGG: Kyoto encyclopedia of genes and genomes. Nucleic Acids Res. 28, 27–30 (2000).

59. Snel, B., Lehmann, G., Bork, P. & Huynen, M. A. STRING: a web-server to retrieve and display the repeatedly occurring neighbourhood of a gene. Nucleic Acids Res. 28, 3442–3444 (2000).

60. Pino, P. A. & Cardona, A. E. Isolation of brain and spinal cord mononuclear cells using percoll gradients. J. Vis. Exp. 48, 2348 (2011).

61. Edgar, R. C. Search and clustering orders of magnitude faster than BLAST. Bioinformatics 26, 2460–2461 (2010).

62. Cole, J. R. et al. Ribosomal Database Project: data and tools for high throughput rRNA analysis. Nucleic Acids Res. 42, D633–D642 (2014).

63. McMurdie, P. J. & Holmes, S. phyloseq: an R package for reproducible interactive analysis and graphics of microbiome census data. PLoS ONE 8, e61217 (2013).

64. Bakken, T. E. et al. Single-nucleus and single-cell transcriptomes compared in matched cortical cell types. PLoS ONE 13, e0209648 (2018).

65. Wolf, F. A., Angerer, P. & Theis, F. J. SCANPY: large-scale single-cell gene expression data analysis. Genome Biol. 19, 15 (2018).

66. Blondel, V. D., Guillaume, J.-L., Lambiotte, R. & Lefebvre, E. Fast unfolding of communities in large networks. J. Stat. Mech. 2008, P10008 (2008).

67. Traag, V. A. Faster unfolding of communities: speeding up the Louvain algorithm. Phys. Rev. E 92, 032801 (2015).

68. Ntranos, V., Yi, L., Melsted, P. & Pachter, L. A discriminative learning approach to differential expression analysis for single-cell RNA-seq. Nat. Methods 16, 163–166 (2019).

69. Zhang, Y. et al. An RNA-sequencing transcriptome and splicing database of glia, neurons, and vascular cells of the cerebral cortex. J. Neurosci. 34, 11929–11947 (2014).

70. Habib, N. et al. Massively parallel single-nucleus RNA-seq with DroNc-seq. Nat. Methods 14, 955–958 (2017).

71. McInnes, L., Healy, J., Saul, N. & Großberger, L. UMAP: uniform manifold approximation and projection. J. Open Source Softw. 3, 861 (2018).

72. Dezfuli, G. et al. Subdiaphragmatic vagotomy with pyloroplasty ameliorates the obesity caused by genetic deletion of the melanocortin 4 receptor in the mouse. Front. Neurosci. 12, 104 (2018).