Our study provides a novel link between immunoglobulin (especially IgM), obesity and type 2 diabetes in mice and humans. Here, CD40LG is linked to obesity disorder.