The use of SGLT2 inhibitors was associated with a significantly reduced risk for dementia and PD in patients with type 2 diabetes.