A method for producing ammonia, comprising reducing at least one member selected from the group consisting of nitrogen and nitrogen oxides in water in the presence of a photocatalyst composition in which CuPd alloy nanoparticles are supported on a photocatalyst capable of photoreducing protons to hydrogen with irradiation of the photocatalyst composition with light capable of activating the photocatalyst contained in the photocatalyst composition to produce ammonia, wherein the CuPd alloy nanoparticles have an average particle diameter of 1 to 7 nm, and the CuPd alloy nanoparticles are at least one type of CuPd alloy nanoparticle from among (1), (2) and (3):
- (1) CuPd alloy nanoparticles having a B2 type crystal structure and denoted by CuxPd(1-x) (wherein 0.3≦x≦0.7);
- (2) CuPd alloy nanoparticles having a bcc type crystal structure and denoted by CuxPd(1-x) (wherein 0.3<x<0.7);
- and (3) CuPd alloy nanoparticles having an L12 type crystal structure and denoted by CuxPd(1-x) (wherein 0.7≦x≦0.98).