Closed-loop chemical recycling provides a solution to the end-of-use problem of synthetic polymers but the design of dynamic bonds for preparing chemically recyclable cross-linked polymers remains challenging. Here, the authors report a dynamic reversible amidation reaction between maleic anhydrides and secondary amines.