Dapagliflozin and empagliflozin showed significant benefit, while canagliflozin did not.<h4>Conclusion</h4>Use of SGLT2 inhibitors is significantly associated with lower dementia risk compared to DPP-4 inhibitors in patients with T2DM. This evidence concerns the gene SLC5A2 and dementia.