IntroductionCoronary heart disease (CHD) is strongly associated with cognitive impairment, which is a core feature of depression, highly prevalent in patients with CHD. Interestingly, patients with CHD and individuals with depression display reduced heart rate variability (HRV), which proxies a complex network integrating autonomic and attentional systems. This study investigated the moderating role of depressive symptoms in the relation between reduced HRV and cognitive performance in patients with CHD. MethodThe sample included 274 patients with CHD (mean [standard deviation] age = 62 [9.5] years; 13 % women) admitted to cardiac rehabilitation units. Visual attention and task switching were assessed through the Trail Making Test (TMT). Depressive symptoms were assessed with the Beck Depression Inventory-II (BDI-II). Resting electrocardiographic recordings were collected to compute HRV indices. ResultsPatients with more severe depressive symptoms displayed an inverse association between HRV and cognitive performance (TMT-A: b = −0.08, p = .022; TMTB: b = −0.07, p = .042), whereas patients with milder depressive symptoms showed no significant association (TMT-A: b = −0.00, p = .90; TMTB: b = −0.02, p = .44). ConclusionsDepressive symptoms may strengthen the relation between reduced HRV and poorer cognitive performance in cardiac patients. The presence of depressive symptoms may signal the dysfunction of a network subserving autonomic and cognitive function.