Hepatitis B virus (HBV) infection is closely associated with bile acid. Recent studies have shown that HBV infection is involved in the regulation of bile acid metabolism through bile acid transporters and mediation of liver injury, and bile acid changes HBV biosynthesis through FXR. This article reviews the research advances in the association between HBV infection and bile acid and the role of bile acid in the diagnosis and treatment of HBV-related liver diseases, so as to provide new ideas for the clinical diagnosis and treatment of HBV infection.