A heterogeneous and magnetically recyclable Ni–chitosan nanocatalyst was synthesized and thoroughly characterized by powder Fourier-transform infrared (FTIR) spectroscopy, X-ray diffraction (XRD) analysis, scanning electron microscopy (SEM), high-resolution transmission electron microscopy (HRTEM), energy-dispersive X-ray (EDX) spectroscopy, etc. It was effectively utilized in the eco-friendly synthesis of new C5–C6-unsubstituted 1,4-DHPs under ultrasonic irradiation. The important focus of the methodology was to develop an environmentally friendly protocol with a short reaction time and a simple reaction procedure. The other advantages of this protocol are a wide substrate scope, a very good product yield, the use of an eco-friendly solvent and a recyclable nanocatalyst, as well as reaction at room temperature.