<b><i>Introduction:</i></b> Prior studies reported lower mortality with hemodialysis (HD) compared to peritoneal dialysis (PD) in patients with heart failure (HF). We examined mortality rate by initial dialysis modality in incident dialysis patients with a history of HF using contemporary data and methods that ensure comparable HD and PD groups. <b><i>Methods:</i></b> Retrospective cohort study using administrative databases in Ontario, Canada. Adults (age 50–80) with a history of HF who initiated maintenance dialysis between April 1, 2007 and March 31, 2016 were included. We excluded patients typically ineligible for PD as an initial modality (dialysis start in hospital, dementia, long-term care facility residency). We determined the cause-specific hazard ratio (transplant as a competing event) between initial dialysis modality (HD vs. PD) and all-cause mortality using an intention-to-treat approach. <b><i>Results:</i></b> We included 2,199 patients with HF who initiated maintenance dialysis (77% HD and 23% PD). There were 1,152 (67.8%) and 340 (68.1%) mortality events over a median follow-up of 2.4 and 2.5 years in the HD and PD groups, respectively. Patients initiating HD versus PD was not associated with the mortality rate (adjusted hazard ratio 1.0, 95% CI 0.9–1.1). Similar results were seen in analyses censoring at modality switches and treating modality as time-varying. <b><i>Conclusions:</i></b> We found no difference in mortality by initial dialysis modality. Our data support the current practice of selecting dialysis modality based on patient preference for patients with pre-existing HF.