Both in vitro and in vivo, CYP8B1 inhibited the proliferation, invasion, and migration of HCC cells. Here, CYP8B1 is linked to hepatocellular carcinoma.