Through comprehensive bioinformatics analysis and experimental studies, we identified key genes, particularly HSPA1A and PPARGC1A, associated with the B[a]P-NASH-HCC pathway. Here, HSPA1A is linked to hepatocellular carcinoma.