In the version of this article initially published, three authors (Hui-Fern Kuoy, Adam P. Uldrich and Dale. I. Godfrey) and their affiliations, acknowledgments and contributions were not included. The correct information is as follows:Ayano C. Kohlgruber1,2, Shani T. Gal-Oz3, Nelson M. LaMarche1,2, Moto Shimazaki1, Danielle Duquette4, Hui-Fern Koay5,6, Hung N. Nguyen1, Amir I. Mina4, Tyler Paras1, Ali Tavakkoli7, Ulrich von Andrian2,8, Adam P. Uldrich5,6, Dale I. Godfrey5,6, Alexander S. Banks4, Tal Shay3, Michael B. Brenner1,10* and Lydia Lynch1,4,9,10*1Division of Rheumatology, Immunology and Allergy, Brigham and Women's Hospital, Boston, MA, USA. 2Division of Medical Sciences, Harvard Medical School, Boston, MA, USA. 3Department of Life Sciences, Ben-Gurion University of the Negev, Beersheba, Israel. 4Division of Endocrinology, Department of Medicine, Brigham and Women's Hospital, Boston, MA, USA. 5Department of Microbiology and Immunology, Peter Doherty Institute for Infection and Immunity, University of Melbourne, Parkville, Australia. 6ARC Centre of Excellence in Advanced Molecular Imaging, University of Melbourne, Parkville, Australia. 7Department of General and Gastrointestinal Surgery, Brigham and Women's Hospital, Boston, MA, USA. 8Department of Microbiology and Immunology, Harvard Medical School, Boston, MA, USA. 9School of Biochemistry and Immunology, Trinity College, Dublin, Ireland. 10These authors jointly supervised this work: Michael B. Brenner, Lydia Lynch. *e-mail: firstname.lastname@example.org; email@example.comAcknowledgementsWe thank A.T. Chicoine, flow cytometry core manager at the Human Immunology Center at BWH, for flow cytometry sorting. We thank D. Sant'Angelo (Rutgers Cancer Institute) for providing Zbtb16-/- mice and R. O'Brien (National Jewish Health) for providing Vg4/6-/- mice. Supported by NIH grant R01 AI11304603 (to M.B.B.), ERC Starting Grant 679173 (to L.L.), the National Health and Medical Research Council of Australia (1013667), an Australian Research Council Future Fellowship (FT140100278 for A.P.U.) and a National Health and Medical Research Council of Australia Senior Principal Research Fellowship (1117766 for D.I.G.).Author contributionsA.C.K., L.L., and M.B.B. conceived and designed the experiments, and wrote the manuscript. A.C.K., N.M.L., L.L., H.N.N., M.S., T.P., and D.D. performed the experiments. S.T.G.-O. and T.S. performed the RNA-seq analysis. A.S.B. and A.I.M. provided advice and performed the CLAMS experiments. A.T. provided human bariatric patient samples. Parabiosis experiments were performed in the laboratory of U.v.A. H.-F.K., A.P.U. and D.I.G provided critical insight into the TCR chain usage of PLZF+ γδ T cells. M.B.B., N.M.L., and L.L. critically reviewed the manuscript.The errors have been corrected in the HTML and PDF version of the article.Correction to: Nature Immunology doi:10.1038/s41590-018-0094-2 (2018), published online 18 April 2018.