Due to the rapid growth of global population, new, fast and reliable methods must be developed to purify contaminated water. Various photocatalysts have been developed to remove organic dyes from water. Herein, Ag doped BaTiO3 has been synthesized using a facile solvothermal method and its excellent photocatalytic activities were demonstrated in degradation of both anionic and cationic dyes under visible light illumination. Ag doped BaTiO3 nanoparticles showed greater efficacy in the degradation of methylene blue (MB) and eosin yellow (EY) than undoped BaTiO3 nanoparticles, which makes them a better candidate for photocatalysis. 1.0 AgBT sample showed the highest photocatalytic activity for MB (99.1 % in 100 min) and EY (99.3 % in 60 min) dye degradation compared with those of other samples. Further, the trapping experiments revealed that hydroxyl radicals and holes are the active species in the photocatalytic process of MB and EY dye degradation and recycle test showed excellent stability of the synthesized material.