The aim of the planned study is to evaluate the efficacy of a diabetes-specific CBT combined with diabetes education versus a continuous treatment with SSRI (SER) combined with diabetes education in high-risk patients with poorly controlled insulin-treated type 1 or type 2 diabetes mellitus and depression. Here, INS is linked to major depressive disorder.