Bariatric surgery can significantly improve or even resolve type 2 diabetes in many patients, but it’s not a guaranteed cure. The impact of surgery on diabetes depends on several factors, including the severity of diabetes and the patient’s overall health.