The invention discloses a preparation method of polyethylene glycol hydrogel and belongs to the technical field of hydrogel. According to the method, polyethylene glycol is taken as a raw material and is subjected to esterification with cysteine, multi-mercapto linear polyethylene glycol ester is produced, multi-mercapto linear polyethylene glycol ester and citric anhydride are subjected to condensation polymerization under the catalysis of trifluoromethane sulfonic acid rare earth to produce multi-double-bond linear polyethylene glycol type polyether ester, then, multi-mercapto linear polyethylene glycol ester and multi-double-bond linear polyethylene glycol type polyether ester are mixed and subjected to an addition reaction through mercapto-double bond Michael, hydrogel is prepared, glycosidase and esterase are added at the low temperature, the mixture is stored at the low temperature, the activity of enzymes is inhibited at the low temperature, enzymes are in high activity at the temperature of a human body after hydrogel enters the human body, hydrogel is hydrolyzed, molecules which can be absorbed or degraded by the human body are produced, and degradation of hydrogel is accelerated due to addition of the enzymes. The method is simple to operate and easy to industrialize.