Objective: To elucidate the epidemiological characteristics and changing trends of liver failure in order to provide evidence-based strategies for prevention and treatment. Methods: The epidemiological information of inpatients with liver failure admitted and treated at Beijing You'an Hospital from 2012 to 2021 was retrospectively collected. The trend test was used to analyze age, gender, as well as the year-by-year changes in the underlying acute and chronic etiology of acute liver failure (ALF), sub-acute liver failure (SALF), acute-on-chronic liver failure (ACLF), and chronic liver failure (CLF). Results: During the study period, information on a total of 8512 inpatients, aged 51.3±13.5 years and mainly male (71.9%) with liver failure, was collected. The highest to lowest proportions of liver failure types were ACLF 4 023 (47.3%), CLF 3 571(42.0%), SALF 670 (7.9%), and ALF 248 (2.9%). The top five causes of liver failure in the overall population, accounting for 87.6% of the total, were hepatitis B 3 199 (37.58%), alcoholic liver disease 2 237 (26.28%), cryptogenic liver disease 906(10.61%), hepatitis B + alcoholic liver disease 603 (7.08%), drugs 488 (5.73%), The top three etiologies of patients with different types of liver failure were acute etiologies for acute liver failure (ALF), followed by drugs 107 (43.1%), hepatitis B 47(19.0%), and unknown etiology 36 (14.5%); sub-acute liver failure (SALF), followed by drugs 381(56.9%), unknown etiology 106 (15.8%), and sepsis 56 (8.4%); and acute-on-chronic liver failure (ACLF), followed by drugs 2 092(52.0%), alcoholic liver disease 813(20.2%), and cryptogenic liver disease 398(9.9%); and chronic etiologies for chronic liver failure (CLF), followed by alcoholic liver disease 1 410(39.5%), hepatitis B 1 028(28.8%), and cryptogenic liver disease 364(10.2%). Longitudinal analysis showed that the average age of patients with liver failure increased year by year, but the sex ratio trend did not change significantly, with male patients predominating throughout. The proportion of drug-induced liver failure in patients with ALF and SALF increased year by year, and the difference in the trend test was statistically significant (P < 0.05). The proportion of patients with chronic etiologies of ACLF and CLF decreased year by year among hepatitis B, while the proportion of alcoholic liver disease, autoimmune liver disease, and cryptogenic liver disease increased year by year (the difference was statistically significant, P < 0.05). Conclusion: The etiological spectrum of liver failure is changing in our country. Although hepatitis B is still the main cause of liver failure, its proportion shows a decreasing trend year by year, with the exception of ACLF, which is no longer the primary etiology of other types of liver failure, while drug-induced liver disease, alcoholic liver disease, autoimmune liver disease, and cryptogenic liver disease are increasing year by year and will become the focus of liver disease prevention and treatment in the future.