This study showed that in the population of northern Spain, genetic variants of IL12B, IL23R, and IL23A not only affect the risk of PsO but are also related to the severity of PsO and T2DM. This evidence concerns the gene IL12B and type 2 diabetes mellitus.