Nowadays, overcome to agglomeration of nanoparticles is one of the most important problems in catalytic reaction. In this way, Fe 3 O 4 nanoparticles introduced to zeolite gel as a template and magnetic nanocomposite of NaP zeolite@Fe 3 O 4 with different ratio were prepared, then in the second step to prepare acid-base catalyst NaP zeolite@Fe 3 O 4 functionalized with 2aminopyridine as a basic group. Several techniques were used to evaluate the physical and chemical characterizations magnetic acid and base nanocomposites. The X-ray diffraction (XRD) confirm the presence of NaP zeolite and Fe 3 O 4 in the composite. The Scanning electron microscope (SEM) graphs showed that much of Fe 3 O 4 was successfully coated by the NaP zeolite layer. Also, the Vibrating sample magnetometer (VSM) results show that the magnetism of the products is stable even with introducing Fe 3 O 4 to zeolite. The Transmission electron microscopy (TEM) and Burner Emmet Taller (BET) confirmed the presence of mesoporous phase in the surface of NaP zeolite@Fe 3 O 4 and preparation a micro-meso structure.