Viral liver failure may be due to hepatitis B virus, herpes zoster virus, etc., which is contagious. It is usually treated with medication, surgery and other treatments. 1.Drug treatment: (1) Antiviral therapy: patients with liver failure caused by hepatitis B virus infection should be prioritized to use nucleoside analogues, such as entecavir, tenofovir ester, etc.; patients diagnosed with acute liver failure caused by herpes zoster virus infection should be treated with acyclovir. (2) General treatment: hepatoprotective drugs can also be used to promote hepatocyte repair and regeneration and improve liver function, commonly used drugs include diammonium glycyrrhizinate and reduced glutathione. For patients with intestinal microecological imbalance and reduced probiotics, lactobacilli can be taken to regulate intestinal microorganisms. 2. Surgery: Liver transplantation can be used for patients with middle and advanced liver failure, or those who have been treated poorly with active internal medicine and artificial liver therapy. The above drugs are for reference only and should be used in accordance with medical advice. When viral liver failure occurs, it is recommended to consult a doctor in time, follow the doctor’s instructions for further examination, clarify the cause with the help of the doctor and carry out targeted treatment or therapy.