Within the frame of mechanisms explaining the epidemiological relationship between T2D and periapical diseases, we show that IL-17 is a causal factor responsible for the virulence of Porphyromonas gingivalis (Pg), establishing a mechanistic link that explains this epidemiological relationship. This evidence concerns the gene IL17A and type 2 diabetes mellitus.