Serum XO activity, an independent risk factor for type 2 diabetes, significantly mediated the serum retinol–type 2 diabetes relationship (accounting for 12.1% of the total effects of serum retinol on type 2 diabetes risk). The gene discussed is XDH; the disease is type 2 diabetes mellitus.