Visible-light-driven semiconducting photocatalysts of Ag3PO4 were prepared by a hydrothermal method, and were optimized by adjusting reaction conditions, i.e., temperature, pH of reaction solution, concentration of feedstock, and time of hydrothermal process.