BackgroundType 2 diabetes (T2D) is a chronic metabolic disorder that has a notable influence on mental well-being, contributing to elevated morbidity and mortality rates. Depression and anxiety disorders are the most common mental health concerns among patients with T2D worldwide. Therefore, the present study aimed to assess the impact of an online intensive lifestyle intervention (ILI) on mental health outcomes (depression and anxiety) in patients with T2D in India.Materials and methodsThis retrospective pre-post analysis included adult patients (aged > 18 years) diagnosed with T2D who were enrolled in a diabetes management program in India between June 2021 and June 2023. The intervention consisted of lifestyle modifications such as a customized plant-based diet, regular physical activity, psychological support through group and individual therapy, and medical management. Data were extracted from the electronic database of the clinic, including anthropometry, medical history, biochemical parameters, symptoms of depression, and anxiety (assessed using the Patient Health Questionnaire-9 (PHQ-9) and Generalized Anxiety Disorders-7 (GAD-7) scale) at the start and end of the six-month intervention period.ResultsOf the 1061 eligible patients (177 with prediabetes), 40.3% were female. The mean age, duration of diabetes, and HbA1c levels were 52 ± 10.4 years, 9.8 ± 7.8 years, and 8 ± 1.7%, respectively. The prevalence of symptoms of depression and anxiety (ranging from mild to severe) was 46% and 44.3%, respectively, which reduced to 28.7% and 29.2%, respectively, post-intervention.ConclusionIntegrated ILI successfully improved the symptoms of anxiety and depression, highlighting the importance of a multidisciplinary approach that includes diet, physical activity, psychological support, and medical management in enhancing mental health outcomes among patients with T2D. Future prospective studies are needed to explore the long-term effects of such interventions and develop effective strategies for promoting mental health in diverse populations.Trial registrationThe study was approved by the Freedom from Diabetes Research Foundation Institutional Ethics Committee (approval number FFDRF/IEC/2024/7) and registered in the Clinical Trials Registry of India (CTRI/2024/03/064596, registered on March 21, 2024).