In this study, a HAp/NaP nanocomposite was prepared by adding a synthesized nano-hydroxyapatite to zeolite NaP gel in the hydrothermal condition and used for the removal of lead(II) and cadmium(II) ions from aqueous solution. HAp/zeolite nanocomposite was then characterized by Fourier transform infrared spectroscopy, X-ray diffraction and Rietveld method, scanning electron microscope, energy-dispersive X-ray analysis, and surface area and thermal analyses. Results suggested that the nanocomposite crystals of HAp were dispersed onto the zeolite external surface and/or encapsulated within the zeolite channels and pores. The potential of the composite in adsorption of heavy metals was investigated by using batch experiment. The metal concentration in the equilibrium C (mg/g) after adsorption with nanocomposite of HAp/NaP was analyzed using flame atomic adsorption spectrometry. The adsorption experiments were carried out at pH of 3–9. The influences of contact time, initial concentration, dose, and temperature on the adsorption of lead and cadmium ions were also studied. Results show e that these nanocomposites have further adsorption related to NaP and HAp. They have great potential (about 95 %) for Pb(II) and Cd(II) adsorption at room temperature. The equilibrium process was described by Frendlich, Langmuir, Temkin, and Dubinin–Radushkevich (D-R) models. The kinetics data were successfully fitted by a pseudosecond-order model. The in vitro antibacterial activity ofthese composites was evaluated against Bacillus subtilis (as Gram-positive bacteria) and Pseudomonas aeruginosa (as Gram-negative bacteria) and compared with standard drugs that show inhibition on bacterial growth.