Therefore, the purpose of this study was to determine whether there is an association between HF and cancer, as well as its impact on survival, and to further explore whether NT-proBNP level in cancer patients are predictive of HF in NHANES database between 1999 and 2018. This evidence concerns the gene NPPB and cancer.