SGLT2 inhibitors were associated with better cardioprotective effects among older adults than younger adults with type 2 diabetes.