Our study used a random forest analysis to demonstrate that treatment for HCC, the serum albumin level, and the TNM stage were significant prognostic factors among patients with NAFLD-HCC. Here, ALB is linked to metabolic dysfunction-associated steatotic liver disease.