The exact cause of liver cancer is unknown, but most cases are associated with damage and scarring of the liver known as cirrhosis.Cirrhosis can have a number of differentcauses,including drinking excessive amounts of alcohol over many years and having a long-term hepatitis B or hepatitis C viral infection.