To study the effect of partial Ba 2?-to-Sr 2? and/ or Ta 5?-toW 4-6? substitution on various properties of SrW(O,N) 3 , cubic perovskite-type W-and/or Ta-based oxynitrides Sr 1-x Ba x W 1-y Ta y (O,N) 3 , where x,y = 0,0; 0.25,0; 0.125,0.125; 0,0.25; and 1.1, were synthesized by ammonolyzing their corresponding oxide precursors under an NH 3 flow. The synthesized oxynitrides have highly porous structures and consist of small crystallites in the range of 53-630 nm and with specific surface areas in the range of 5.4-14.7 m 2 Ág-1. Interestingly, the Ta 5?-toW 4*6? substitution in SrW(O,N) 3 can suppress the formation of reduced tungsten species during thermal ammonolysis. The weaker absorptions beyond 560 and 580 nm in the UV-Vis diffuse reflectance spectra, which correspond to reduced tungsten species, are observed in SrW 0.75 Ta 0.25 (O,N) 3 and Sr 0.875 Ba 0.125 W 0.875 Ta 0.125 (O,N) 3 compared to SrW(O,N) 3 and Sr 0.75 Ba 0.25 W(O,N) 3. The XPS results reveal that low-valent transition metal oxides, nitrides, and oxynitrides and/or tungsten metal are present on the surfaces of the as-synthesized oxynitrides. After 5 h of the photocatalytic oxygen evolution reaction, CoO x-loaded SrW 0.75 Ta 0.25 (O,N) 3 exhibited the highest amount of evolved O 2 gas due to its higher specific surface area and lower concentration of intrinsic defects. During the pho-tocatalytic reaction, the N 2 gas is also evolved because of the self-oxidation of oxynitrides consuming photo-generated holes. The estimated TONs of the oxynitride samples exceeded one, evidencing that the observed O 2 gas evolution reactions were catalytic. Accordingly, the photosta-bility enhancement of oxynitrides reduces the loss of photo-generated charge carriers and increases their photo-catalytic activity. Graphical abstract