Research has shown that coffee can be a good for the liver and that drinking moderate amounts of coffee (3-4 cups/day) can actually help prevent cirrhosis, liver cancer and fatty liver disease as well as lead to better response to treatment for people with liver disease.
Numerous studies from 1996-2014 all conclude that the more coffee you drink a day, the lower your risk of liver cancer.
For more about the potential health benefits of coffee visit the Canadian Liver Foundation.