Our findings that the gut hormone PYY mediates some key anti-diabetic effects of bariatric surgery imply that a pharmacological agent enhancing PYY release or its action could provide an effective and non-surgical therapy for T2D. Here, PYY is linked to type 2 diabetes mellitus.