Background: Cardiovascular disease (CVD) is a heavy burden on cancer patients worldwide. This study aimed to evaluate the prevalence and influence of cardiovascular risk factors (CVRF) and CVD on the all-cause mortality among Chinese cancer patients.Results: Overall, 13.0% of all cancer patients had at least one type of CVRFs and 5.0% with CVDs. Patients with CVRF or CVD presented more frequently at later stages and received higher percentage of oncotherapy. During 1,782,527 person-years of follow-up, the all-cause mortality in cancer patients with CVDs and with CVRFs was higher compared with those without (182.6/1000, 109.5/1000 and 93.3/1000 person-years, respectively). Cox regression analysis showed that patients with heart failure (HR 1.79, 95% CI 1.61-1.99), myocardial infarction (HR 1.50, 95% CI 1.16-1.95), atrial fibrillation (HR 1.30, 95% CI 1.09-1.53), stroke (HR 1.21, 95% CI 1.11-1.32), hypertension (HR 1.10, 95% CI 1.04-1.16) and diabetes (HR 1.16, 95% CI 1.08-1.24) had increased all-cause mortality, whereas dyslipidemia patients had better prognosis (HR 0.73, 95% CI 0.64-0.83). Stratified by cancer type, the prognostic impact of specific CVRF or CVD varied.Methods: We consecutively recruited 710,170 cancer patients between Feb. 1995 and Jun. 2018. A stratified Cox proportional hazards model was used to analyze the effect of comorbidities on the overall survival of patients stratified by cancer type.Conclusions: Cancer patients are vulnerable to comorbidity related to heart and cerebral disease. The influence of comorbidities on prognosis is noticeable and specific both for the type of cancer and comorbidities.