Here, we review the key mechanisms regulating class switching to IgA vs IgG in the intestine, processes that could be therapeutically manipulated in infection and IBD. This evidence concerns the gene CD79A and inflammatory bowel disease.