Taken together, our data suggest that HMGCS2 is an important factor that needs to be considered before using a ketogenic diet as a therapeutic approach for patients with HCC. Here, HMGCS2 is linked to hepatocellular carcinoma.