Low serum 25(OH)D3 levels, low serum albumin levels, and the presence of esophageal varices were positively associated with CHE in patients with cirrhosis, particularly in those aged <75 years. This evidence concerns the gene ALB and esophageal varices.