We performed a retrospective cohort study using TriNetX database to evaluate adult patients who carried the diagnosis of RA from January 1, 2006 to December 1, 2024 with co-existing T2DM and who initiated GLP-1 analogs or DPP4i after diagnosis of RA and T2DM. The gene discussed is GLP1R; the disease is type 2 diabetes mellitus.