Background: Patients with type 2 diabetes (T2DM) often experience depression during treatment, negatively influencing their treatment compliance and clinical outcomes. Recently, the pay-for-performance (P4P) program for chronic diseases, with high-cost and high-risk feature, such as T2DM, has been implemented and has been operational for several years. Nevertheless, its effect on the risk of developing depression among T2DM cases is unknown. This study aims to explore the association of P4P use with the subsequent risk of developing depression among these patients.Methods: This cohort study used a nationwide health insurance database to identify patients 20–70 years of age newly diagnosed with T2DM who enrolled in the P4P program between 2001 and 2010. From this group, we enrolled 17,022 P4P users and then 17,022 non-P4P users who were randomly selected using propensity-score–matching. Enrolled patients were followed until the end of 2012 to record the occurrence of depression. The Cox proportional hazards regression was utilized to obtain the adjusted hazard ratio (aHR) for P4P use.Results: During the study period, a total of 588 P4P users and 1,075 non-P4P users developed depression at incidence rates of 5.89 and 8.41 per 1,000 person-years, respectively. P4P users had a lower depression risk than did non-P4P users (aHR, 0.73; 95% Confidence Interval, 0.65–0.80). This positive effect was particularly prominent in those receiving high-intensity use of the P4P program.Conclusion: Integrating P4P into routine care for patients with T2DM may have beneficial effects on curtailing the subsequent risk of depression.