Specifically, our results indicate mediation through body mass index in the causal relationship between depression and type 2 diabetes, further supporting this hypothesis. In addition, antidepressants often cause weight gain, leading to type 2 diabetes, and the systemic inflammatory response associated with increased levels of stress hormones such as cortisol in the context of depression also contributes to insulin resistance.