"Cirrhosis is potentially fatal and there is no cure as such," said lead study author Dr Oliver Kennedy.
"Therefore, it is significant that the risk of developing cirrhosis may be reduced by consumption of coffee, a cheap, ubiquitous and well-tolerated beverage."
However, he cautioned that it is not currently clear exactly how coffee benefits liver health: "Coffee is a complex mixture containing hundreds of chemical compounds, and it is unknown which of these is responsible for protecting the liver," he said.
It's also probably a bad idea to start drinking large amounts of coffee for the benefit of your health.
According to a 2013 study, drinking five or more cups a day increases the amount of fat stored in the abdomen.
Even a "moderate intake" of coffee in the average day could also lead to problems such as increased risk of heart disease and diabetes.