The preparation of p-hydroxyphenyl methacrylate is as follows:Add 3992ml of n-hexane to the 5L four-necked flask equipped with stirring paddle, condenser tube and thermometer, turn on stirring, add 83.78g of p-hydroxyphenol to the system, slowly add 0.02g of polymerization inhibitor p-benzoquinone to the reaction system, add 102.36 g of g basic ion exchange resin, adjust pH=7-8, cool down to -19°C, slowly add 102.36g vinyl methacrylate dropwise to the reaction system, keep the reaction for 6h, monitor the reaction progress, take samples to detect the reaction is complete and then go to the reaction system 1000 ml of water was added, and the mixture was stirred for extraction and phase separation. The organic phase was dried, concentrated under reduced pressure and evaporated to dryness to obtain 127 g of 2-methyl-2-acrylic acid-4-hydroxyphenyl ester product, with a yield of 93.68%.