Addition of genetic markers for the prediction of advanced fibrosis (baseline model: age, sex, BMI, diabetes: AUC 0.777) resulted in a higher AUC if PNPLA3(AUC 0.789), and TM6SF2(AUC 0.786) but not if HSD17B13(0.777) were added. Here, TM6SF2 is linked to diabetes mellitus.