Taken together, our results suggest that gut microbiota from obese individuals with type 2 diabetes promote stronger IgM humoral responses. Here, CD40LG is linked to type 2 diabetes mellitus.