The most common risk factor for liver cancer is chronic (long-term) infection with hepatitis B virus (HBV) or hepatitis C virus (HCV). These infections lead to cirrhosis of the liver and are responsible for making liver cancer the most common cancer in many parts of the world.