In this study, we found that gut microbiota link Tlr9 deletion in B cells to obesity and impaired metabolic responses. This evidence concerns the gene TLR9 and obesity due to melanocortin 4 receptor deficiency.