To elucidate the origin of antibacterial activity of ZnO nanoparticles, a reactive oxygen species (ROS) mechanism is systematically investigated based on electronic and protonic conductions. While the enhancement of antibacterial activity by an increase in electronic conductivity is marginal, an apparent improvement is observed by in the increase of protonic conductivity in terms of the surface basicity. This study first demonstrates that antibacterial activity can be enhanced by controlling the surface basicity of solid particles. The basicity of ZnO can be modulated by doping alkaline‐earth oxides such as MgO and CaO, and it results in the increase of hydroxyl defects on the surface of solid particles. The basicity shows a strong dependency on mobile OH concentrations. The increase of ROS hydroxyl radicals is confirmed by Mg (ZMO) or Ca‐doping (ZCO), which shows high antibacterial activity, and Ca‐doped ZnO exhibits the highest performance. It is clearly observed that the antibacterial activity is proportional to the basicity, which is controlled by the mobile OH formation. While both electrons and hydroxyl species are required for ROS reactions, it is concluded that the formation of hydroxyl species is a key factor in improving the antibacterial activity in ZnO.