In this propensity score matched cohort study on nationwide data, patients with T2D and severe obesity who underwent MBS in Sweden from 2007 until 2019 were identified from the Scandinavian Obesity Surgery Registry and matched to a non-surgical group with T2D treated with GLP-1 RA (81.7% liraglutide, 9.0% dulaglutide, 6.0% exenatide, 1.6% lixisenatide and 0.8% semaglutide) from the general population using generalized linear model. This evidence concerns the gene GLP1R and type 2 diabetes mellitus.