A CMC-g-poly(AA-co-AMPS)/Fe3O4 hydrogel nanocomposite was successfully designed and prepared via graft copolymerization followed by cross-linking addition. This was used as an efficient catalyst for the green synthesis of 1,4-DHPs under ultrasound and thermal conditions.