Stress-induced changes in gut microbiota cause γδ T cell migration to the meninges, where they affect behavior in mice.