Ag3PO4@g-C3N4 photocatalyst was successfully prepared via a workable liquid phase deposition strategy. The Ag3PO4 particles were anchored intimately on the surface of g-C3N4 by the chemical bonding interactions. The obtained Ag3PO4@g-C3N4 heterojunction catalysts exhibit outstanding enhanced photodegradation performance and good stability for the removal of organic pollutants rhodamine B (RhB) and methyl orange (MO). And the as-synthesized Ag3PO4@g-C3N4 also displayed excellent stability for the photodegradation activity of RhB and MO in wastewater, and the performance remained above 90% after six cycles. The significant improvement of photocatalytic performance is attributed to the hereojunction structures derived from the interaction between Ag3PO4 and g-C3N4. The mechanism of the photocatalytic removal of RhB and MO dye was also investigated by the capture experiments and ESR spectra. Based on the research results, a new simple and feasible way for the preparation of Ag3PO4@g-C3N4 photocatalyst is provided for the degradation of organic pollutants in wastewater.