Dementia patients had higher probability of insulin dispensation (hazard ratio 1.21 [95% CI 1.11–1.31] and lower probability of DPP-4i (0.72 [0.66–0.79]), GLP-1a (0.51 [0.41–0.63]), and SGLT-2i dispensation (0.44 [0.36–0.54]) after index date. This evidence concerns the gene INS and dementia.