Introduction: Iron oxide nanoparticles have gained significant attention in pharmaceutical applications because of their unique properties. The hydrothermal method is employed for the synthesis of iron nanoparticles [IONPs], which offers advantages such as uniform composition and size distribution. Method: However, the size and properties of IONPs can be influenced by various factors. In this study, we utilized quality by design [QBD] via response surface methodology to investigate the impact of temperature, time, and pH on the size of hydrothermally prepared IONPs. The optimized synthesis conditions were determined, and the resulting nanoparticles were characterized using techniques such as dynamic light scattering [DLS], scanning electron microscopy [SEM], transmission electron microscopy [TEM], vibrating sample magnetometry [VSM], X-ray diffraction [XRD], and Fourier-transform infrared spectroscopy [FTIR]. Results: The findings contribute to a better understanding of the controlled synthesis of IONPs and their potential applications in nanomedicine. The XRD characterization revealed that the product was Fe3O4. The FTIR results indicate that Fe3O4 nanoparticles were coated with PEG- 400. The SEM and HRTEM images of the Fe3O4 nanoparticles showed that they were spherical and had a well-distributed size with an optimized hydrodynamic size of 65 nm. Conclusion: The magnetic properties of the Fe3O4 nanoparticles indicated that they exhibited ferromagnetic properties. These prepared nanoparticles are suitable for biomedical purposes, like serving as contrast agents for magnetic resonance imaging in different cancers and delivering drugs.