Using electronic healthcare data (nSGLT2i = 24,155; nDPP4i = 24,155), we found that the use of SGLT2 inhibitors was associated with a 23% reduced risk of prostate cancer (hazard ratio = 0.77, 95% CI = 0.61 to 0.99) in men with diabetes. The gene discussed is SLC5A2; the disease is Familial prostate cancer.