In summary, we revealed RAC1 correlated with M0 macrophage and the risk score to predict the survival of HCC patients through a comprehensive application of WGCNA, LASSO and SVM. This evidence concerns the gene RAC1 and hepatocellular carcinoma.