In the present work, magnesium oxide (MgO) and lead oxide (PbO) nanoparticles were prepared by the co-precipitation method. Their structural parameters and morphology were investigated using XRD, HRTEM, and FTIR. The formation of the phases was seen to have small average crystallite sizes and an orthorhombic crystal structure for both MgO and PbO nanoparticles. The results of HR-TEM showed irregularly shaped nanoparticles: quasi-spherical or rod-like shapes and spherical-like shapes for MgO and PbO nanoparticles, respectively. The produced nanoparticles’ size using X-ray diffraction analysis was found to be 17 nm and 41 nm for MgO and PbO nanoparticles, respectively. On the other hand, it was observed from the calculations that the optical band gap obeys an indirect allowed transition. The calculated values of the band gap were 4.52 and 4.28 eV for MgO and PbO NPs, respectively. The MB was extracted from the wastewater using the prepared composites via absorption. Using a variety of kinetic models, the adsorptions were examined. Out of all the particles, it was discovered that the composites were best. Furthermore, of the models currently under consideration, the pseudo-second-order model best fit the degradation mechanism. The resultant composites could be beneficial for degrading specific organic dyes for water purification, as well as applications needing a wider optical band gap.