Hepatocellular carcinoma (HCC) risk stratification in individuals with dysmetabolism is a major unmet need. Genetic predisposition contributes to non-alcoholic fatty liver disease (NAFLD). We aimed to exploit robust polygenic risk scores (PRS) that can be evaluated in the clinic to gain insight into the causal relationship between NAFLD and HCC, and to improve HCC risk stratification.We examined at-risk individuals (NAFLD cohort, n=2,566; 226 with HCC; and a replication cohort of 427 German patients with NAFLD) and the general population (UK Biobank [UKBB] cohort, n=364,048; 202 with HCC). Variants in PNPLA3-TM6SF2-GCKR-MBOAT7 were combined in a hepatic fat PRS (PRS-HFC), and then adjusted for HSD17B13 (PRS-5).In the NAFLD cohort, the adjusted impact of genetic risk variants on HCC was proportional to the predisposition to fatty liver (p=0.002) with some heterogeneity in the effect. PRS predicted HCC more robustly than single variants (p<10-13). The association between PRS and HCC was mainly mediated through severe fibrosis, but was independent of fibrosis in clinically relevant subgroups, and was also observed in those without severe fibrosis (p<0.05). In the UKBB cohort, PRS predicted HCC independently of classical risk factors and cirrhosis (p<10-7). In the NAFLD cohort, we identified high PRS cut-offs (≥0.532/0.495 for PRS-HFC/PRS-5) that in the UKBB cohort detected HCC with ∼90% specificity but limited sensitivity; PRS predicted HCC both in individuals with (p<10-5) and without cirrhosis (p<0.05).Our results are consistent with a causal relationship between hepatic fat and HCC. PRS improved the accuracy to detect HCC and may help stratify HCC risk in individuals with dysmetabolism, including those without severe liver fibrosis. Further studies are needed to validate our findings.