<i>In vivo</i>, loss of MZB1, the J chain, or both altered IgA abundance and form, differentially affected susceptibility to DSS-induced colitis, and reshaped gut microbiota composition. The gene discussed is MZB1; the disease is colitis.