Analysis results of immune-related genes in HCC showed that NR0B1 and FGF9 were risk factors for HCC, and experiments confirmed that NR0B1 and FGF9 could enhance the migration ability of macrophages. The gene discussed is NR0B1; the disease is hepatocellular carcinoma.