Background Ideal cardiovascular health (CVH) can be assessed by 7 metrics: smoking, body mass index, physical activity, diet, hypertension, dyslipidemia and diabetes, proposed by the American Heart Association. We examined the association of ideal CVH metrics with risk of all-cause, CVD and non-CVD death in a large cohort. Methods A total of 29,557 participants in the Swedish National March Cohort were included in this study. We ascertained 3,799 deaths during a median follow-up of 19 years. Cox regression models were used to estimate hazard ratios with 95% confidence intervals (95% CIs) of the association between CVH metrics with risk of death. Laplace regression was used to estimate 25th, 50th and 75th percentiles of age at death. Results Compared with those having 6-7 ideal CVH metrics, participants with 0-2 ideal metrics had 107% (95% CI = 46-192%) excess risk of all-cause, 224% (95% CI = 72-509%) excess risk of CVD and 108% (31-231%) excess risk of non-CVD death. The median age at death among those with 6-7 vs. 0-2 ideal metrics was extended by 4.2 years for all-causes, 5.8 years for CVD and 2.9 years for non-CVD, respectively. The observed associations were stronger among females than males. Conclusions The strong inverse association between number of ideal CVH metrics and risk of death supports the application of the proposed seven metrics for individual risk assessment and general health promotion.