Liver cirrhosis remains a major health concern globally, but its epidemiology and etiology evolve with time. However, the changing pattern in etiology and cause of liver‐related mortality for patients with cirrhosis are not fully elucidated. Herein, our aim was to characterize the temporal trend of the etiological spectrum and evaluate the impact of etiology on liver‐related death among patients with compensated cirrhosis (CC) in Beijing, China. Clinical profiles of patients with CC discharged between January 2008 and December 2015 were retrieved from the Beijing hospital discharge database. The mortalities of different etiologies of cirrhosis were calculated. The risks of readmission and liver‐related death associated with etiologies were evaluated by the Cox regression model. A total of 23 978 cirrhotic patients were included. The predominant cause was hepatitis B virus (HBV) (58.93%), followed by alcohol (21.35%), autoimmune (14.85%), miscellaneous etiologies (3.55%), and hepatitis C virus (HCV) (1.32%). From 2008 to 2015, the proportion of HBV‐related cirrhosis decreased to 28.11%. Meanwhile, the proportions of autoimmune‐ and miscellaneous‐related cirrhosis increased to 28.54% and 13.11%. The risk of liver‐related death ranked the highest in patients with miscellaneous cirrhosis, followed by HBV‐related cirrhosis, alcohol‐related cirrhosis, autoimmune‐related cirrhosis, and HCV‐related cirrhosis. The 5‐year rates of liver‐related death were 22.56%, 18.99%, 18.77%, 16.01%, and 10.76%, respectively. HBV‐related cirrhosis caused the highest risk of hepatocellular carcinoma (HCC)‐related death, whereas alcohol‐ and miscellaneous‐related cirrhosis caused higher risks of decompensation (DC)‐related death than HBV‐related cirrhosis, with hazard ratios of 1.35 (95% confidence interval [CI]: 1.24–1.48) and 1.20 (95% CI: 1.03–1.40), respectively. HBV remained a common cause of liver cirrhosis but gradually decreased. Mortality disparities existed in etiologies, with higher risks of HCC‐related death in HBV‐related cirrhosis, and DC‐related death in alcohol‐ and miscellaneous‐related cirrhosis.