In this era, metal oxide nanoparticles with appliances in solar, catalysis, sensors, actuators, and many other fields, are highly sought-after because of their wide band gap. This study examines the Mg doped ZnO nanoparticles for the structural, electrical transportation and photo-catalytic behaviour. The XRD, FT-IR (Infrared Spectroscopy), PL (Photoluminescence), and Complex Impedance Spectroscopy were used to characterise the prepared sample. The wurtzite hexagonal structure in space group P63mc was shown by the XRD data. The analyzed crystallite sizes, planner distances, and cell volumes of Mg doped ZnO nanoparticles are 35.2 nm, 2.6122 Å, and 60.91 Å3, respectively. The aggregation in sample is visible in the micrographs. The PL spectra was traced at an excitation wavelength of 330 nm (λ) using a PL spectrometer. Using the FTIR approach, IR spectra with acmes about 520–640 cm-1 were traced, leading to Zn–O bond stretching. Using a photocatalytic reactor, the photocatalytic degradation of magnesium-doped ZnO nanoparticles was measured for two hours. For the Mg doped ZnO sample, the degradation efficiencies (ɳ%) is 67 percent.