This is a prospective intervention study on patients with T2DM and obesity undergoing gastric bypass surgery, sleeve gastrectomy or non surgical best medical care. Patients will have T2DM for more than 2 years and have or be at high risk of developing kidney damage. Patients will be recruited from specialist medical and surgical clinics.