Both sodium–glucose cotransporter-2 (SGLT2) inhibitors and glucagon-like peptide-1 receptor agonists (GLP-1 RAs) may have neuroprotective effects in patients with type 2 diabetes (T2D). However, their comparative effectiveness in preventing dementia remains uncertain.