The synergistic effect of the dopants B, Ce, and Ag led to the enhancement of the photocatalytic activity and disinfection efficiency of the ternary doped catalysts. The results of this study suggest that the ternary doped Titanium dioxide photocatalysts can be used as an effective photocatalyst for the degradation of antibiotics and disinfection of microorganisms under sunlight irradiation