Logistic regression and restricted cubic spline analysis were used to explore the correlation between ApoB/ApoA1 ratio and LC and HCC risk. Here, APOA1 is linked to hepatocellular carcinoma.