Introduction: Nanoparticles (NPs) are one of the antibacterial substances, among them nanoparticles type MgO and Fe2O3 are less toxic to mammalian cells. So, the aim of this study was investigation of combination effects of iron oxide and magnesium oxide nanoparticles on the growth of Staphylococcus aureus and Escherichia coli (E.coli) to achieve the optimum combination of nanoparticles inhibit the growth of Staphylococcus aureus and Escherichia coli in food (juice).Methods: In this experimental research, the effect of MgO and Fe2O3 Nanoparticles compound on Staphylococcus aureus and Escherichia coli bacteria in liquid environment was investigated, and then their effect was investigated separately in juices of carrot, pomegranate and apple via colony count approach. Also, scanning electron microscopy was used to characterize the morphological changes of Staphylococcus aureus and Escherichia coli after antimicrobial treatments. The results of the research were analyzed using one way ANNOVA.Results: The results of the research indicated that in liquid medium, these nanoparticles lead to reduce the growth of both bacteria. compound of 1.5Mg+0.5Fe2O3 was introduced as the most appropriate antibacterial compounds; Staphylococcus aureus sensitivity to Escherichia coli was higher against nanoparticles. The findings of research about the juices revealed that the combined effect of nanoparticles reduced the growth of both bacteria. the combined effect of Fe2o3 and MgO nanoparticles treatments distorted and damaged the cell membrane، resulting in a leakage of intracellular contents and eventually the death of bacterial cells.Conclusion: Nanoparticles in the allowed concentrations have significant effect on Staphylococcus aureus and Escherichia coli bacteria.