Ag3PO4 was initially prepared via ion-exchange reaction and then annealed in air.
Thermal annealing also resulted in the formation of metallic Ag and Ag vacancies.
The annealed samples exhibited superior activity to the pristine sample.
Both Ag vacancies and metallic Ag contributed to the high activity.