The influence of erythromycin on ammonia-oxidizing bacteria (AOB) and nitrite-oxidizing bacteria (NOB) was investigated using batch and continuous experiments. During the batch experiments, the impact of erythromycin was strictly dose-dependent for AOB and NOB. The continuous addition of 1mg/L of erythromycin in the long-term exposure experiment made NOB to be sensitive whereas AOB to be minimally sensitive. After a prolonged exposure to concentration, even up to 50mg/L both NOB and AOB become insensitive to increases in erythromycin. From the seven dosage levels, between 54.3% and 69.1% of erythromycin was removed by adsorption and the percentage of nitrifiers in the microbial community increased from 39.8% to 55.6%.