Hydrogen-type mordenite (HMOR) modified with pyrazole hydrochloride (Pya center dot HCl) was prepared by the ion exchange method. The results showed that Pya center dot HCl introduction significantly improved the activity and stability of HMOR in the carbonylation reaction of dimethyl ether (DME) to methyl acetate (MA). Small pyrazole ions (HPya(+)) entered into the twelve-membered ring (12-MR) pores of HMOR and selectively replaced part of the Bronsted acid (BAS), thus suppressing the formation of carbon deposits. The modified HMOR presented a larger specific surface area and pore volume, which provided larger channels for molecular diffusion. Additionally, non-framework aluminum was removed by the acidic Pya center dot HCl solution, resulting in the formation of mesopores, which facilitated the migration of carbon-deposited species from the inside of the zeolite to the outside.