Patients with cardiometabolic diseases (CMDs) had an increased risk of depression than those without CMDs. There was a dose-dependent accumulative association between CMDs and the risk of depression.