The gut microbiota contributes to the development of normal immunity but, when dysregulated, can promote autoimmunity through various non-antigen-specific effects on pathogenic and regulatory lymphocytes. Here, we show that an integrase expressed by several species of the gut microbial genus Bacteroides encodes a low-avidity mimotope of the pancreatic β cell autoantigen islet-specific glucose-6-phosphatase-catalytic-subunit-related protein (IGRP