Among tumor markers, elevated AFP was strongly associated with HCC (OR = 2.7, 95% CI: 2.0–3.5, P < .001), while elevated CA19-9 significantly increased ICC risk (OR = 4.1, 95% CI: 3.0–5.6, P < .001). Here, AFP is linked to hepatocellular carcinoma.