In this study, a novel method was used to produce a nanostructured composite consisting of hydroxyapatite and MgO by varying the temperature. The structure and morphology of the synthesized nanocomposite were characterized. From x-ray diffraction (XRD) analysis, an increase in crystallite size and degree of crystallinity with an increase in the temperature was observed. The XRD investigation confirms that the grain size of the synthesized nanocomposites is in the range 4-11 nm. The grain size increases when the temperature is increased due to the agglomeration of nanoparticles. The fourier transform infrared spectroscopy (FTIR) studies confirm the presence of PO4 3-, CO3 2- and Mg2+ and oh- groups. The UV-VIS spectroscopy measurements show the reduction in the band-gap upon the temperature. Transmission electron microscope (TEM) images ascertained that nano HAp/MgO at 250°C and 300°C composite shows flakes like morphology.