In order to improve the photocatalytic performance of mesoporous titania under visible light, a series of photocatalysts of S and Ag co-doped mesoporous titania have been successfully prepared by template method using thiourea, AgNO3 and tetrabutyl titanate as precursors and Pluronic P123 (EO20PO70EO20) as template. Scanning electron microscopy, X-ray diffraction, nitrogen adsorption-desorption measurements, and UV-visible spectroscopy were employed to characterize the morphology, crystal structure, surface structure, and optical absorption properties of the samples. The microcrystal of the photocatalysts consisted of anatase phase and was approximately present in the form of spherical particle. The photocatalytic performance was studied by photodegradation methyl orange in water under UV and visible light irradiation. The calcination temperature and the doping content influenced the photoactivity. In addition, the possibility of cyclic usage of co-doped mesoporous titania was also confirmed, the photocatalytic activity of mesoporous titania remained above 89% of the fresh sample after being used four times. It was shown that the co-doped mesoporous titania could be activated by visible light and could thus be potentially applied for the treatment of water contaminated by organic pollutants. The synergistic effect of sulfur and silver co-doping played an important role in improving the photocatalytic activity.