P(NIPAM-co-FPA) contains an aldehyde group and a phenolic ester moiety is synthesized. The aldehyde group can form reversible covalent bonds with hydrazide to endow the polymer gels with self-healing properties. The self-healable polymer gel can be degraded in Na2CO3 solution based on cleavage of phenolic ester bond.