Overall, 208 patients with cirrhosis and EGV undergoing prophylactic EVT will be enrolled. They will be randomly assigned at a ratio of 1:1 to the pantoprazole group and the control group. The primary endpoint is 6-week GIB. The secondary endpoints include: (1) 6-week all-cause death; (2) hierarchical composite endpoint of all-cause death or 6-week GIB. The safety outcome is 6-week adverse events, which contains complications potentially related to EVT or PPI within 6 weeks after EVT.