Our findings revealed that GLP-1 agonists were associated with a lower risk of dementia in patients with T2DM, compared to DPP-4 inhibitors or sulfonylureas. Here, GLP1R is linked to dementia.