Novel environmentally-friendly corrosion inhibitors based on primary aminated modified cellulose (PAC) containing nano-oxide of some metals (MONPs), for instance iron oxide nanoparticles (Fe3O4NPs), copper oxide nanoparticles (CuONPs), and nickel oxide nanoparticles (NiONPs), were successfully synthesized. The as-prepared PAC/MONPs nanocomposites were categorized using Fourier transform infrared spectroscopy (FT-IR), transmission electron microscope (TEM), field-emission scanning electron microscopy (FE-SEM), energy-dispersive X-ray spectroscopy (EDX), X-ray diffraction (XRD), and selected area diffraction pattern (SAED) techniques. The data from spectroscopy indicated that successful formation of PAC/MONPs nanocomposites, as well as the TEM images, declared the synthesized PAC/Fe3O4NPs, PAC/CuONPs, and PAC/NiONPs with regular distribution with particle size diameters of 10, 23 and 43 nm, respectively. The protection performance of the as-prepared PAC and PAC/MONPs nanocomposites on the corrosion of C-steel in molar HCl was studied by the electrochemical and weight-loss approaches. The outcomes confirmed that the protection power increased with a rise in the [inhibitor]. The protection efficiency reached 88.1, 93.2, 96.1 and 98.6% with 250 ppm of PAC/CuONP, PAC/Fe3O4NPs, and PAC/NiONPs, respectively. PAC and all PAC/MONPs nanocomposites worked as mixed-kind inhibitors and their adsorption on the C-steel interface followed the isotherm Langmuir model. The findings were reinforced by FT-IR, FE-SEM and EDX analyses.