Background Diabetes is one of the most common diseases affecting people's mental health and the body. Therefore, psychological interventions seem necessary to solve the problems caused by this disease. Objective The present study aimed to compare the effectiveness of Compassion-focused Therapy (CFT) and Acceptance and Commitment Therapy (ACT), and commitment to self-care behavior and glycosylated hemoglobin in patients with type 2 diabetes at Tonekabon City Hospital. Materials and Methods This clinical trial was a one-step cluster sampling study, including 200 patients who were randomly selected from all patients with type 2 diabetes in Tonekabon City Hospital and, at the same time, the scale of self-care behavior of Tobert, Glasgow, and Hamspon (2002). A total of 45 people were randomly selected and divided into three groups of 15 people, including two intervention groups and one control group, 12 compassionate therapy sessions, and 12 admission-based treatment sessions, each lasting 45 minutes. Meetings for each intervention were performed twice a week with an interval of 3 days. At the end of treatment, all three groups were retested. Results Due to the comparison of the mean differences between the two treatment groups for self-care and glycosylated hemoglobin (5. 012) (-2. 145), respectively, Acceptance and Commitment Therapy was more effective than compassion-focused therapy. Conclusion The results owed a positive trend and increased self-care behavior and balanced glycosylated hemoglobin level in the follow-up and effectiveness of both approaches and the superiority of the acceptance and commitment-based treatment approach. Therefore, this treatment can be used in different conditions to improve the lives of patients with type 2 diabetes.