Liver disease due to viruses, alcohol and fat is the only cause of mortality still increasing in the UK, due to their capacity to trigger chronic damage leading to fibrosis, cirrhosis and liver cancer. We dissect mechanisms by which the immune response can control or exacerbate liver disease by studying hepatitis B virus infection.