The present study highlights the efficiency of Ag3PO4 photocatalyst with a band gap of 2.25 eV, synthesized by a green and one-pot simple mechanochemical method, towards photodegradation of orange G under visible irradiation. The phase structure, morphology, and optical properties of mechano-synthesized Ag3PO4 were investigated using X-ray diffraction, Scanning Electron Microscopy, Thermogravimetric Analysis, Fourier Transform Infrared, the Brunauer-Emmet-Teller surface area, and UV–vis diffuse reflectance spectroscopy. DFT calculations were also conducted for band gap energy prediction. The photocatalytic activity of the sample was evaluated using a central composite design for surface response methodology (CCD-RSM) to determine the optimal conditions for Orange G (OG) removal. The photocatalytic activity of Ag3PO4 was approximately 93 % within 20 min of reaction under irradiation for 24.6 mg/L and 11 mg/L of Ag3PO4 and Orange G, respectively. Trapping experiments confirmed that peroxides and hydroxyl radicals are the dominant active species in the photodegradation process.