Although the function of Toll-like receptor 9 (TLR9) in immunity and inflammation is well-established, its role in obesity is less well-studied. In this study, the authors demonstrate that TLR9 deficiency in B cells is associated with obesity in mice and results in altered frequencies of T and B lymphocyte subsets and gut microbiome dysbiosis.