Patients with early-stage hepatocellular carcinoma (HCC) and those with advanced-stage disease exhibited distinct gut microbiota diversity and alterations, with future studies warranted to investigate the mechanisms underlying the interactions between gut microbiota and HCC progression.