We used a generalized additive model to determine the nonlinear correlation between serum albumin and 14th day, 28th day and 90th day all-cause mortality in patients with heart failure. Here, ALB is linked to heart failure.