The purpose of this study was to correlate the population size of ammonia-oxidizing bacteria (AOB) and nitrite oxidizing bacteria (NOB) with nitrification performance under various operational conditions (chemical oxygen demand (COD) concentration, dissolved oxygen (DO), and hydraulic retention time (HRT)) and influent allylthiourea (ATU) shock. The AOB (genera Nitrosomonas and Nitrosospira ) and NOB (genera Nitrobacter and Nitrospira ) communities were analyzed using fluorescent in situ hybridization (FISH). Ammonia-oxidizing bacteria and NOB accounted for 6.2 ± 0.9% and 2.5 ± 0.3% in total biomass, respectively. The population sizes of AOB and NOB varied with different levels of COD, DO, and HRT. Nitrosomonas and Nitrospira were dominant under conditions favorable for nitrification, while Nitrosospira outcompeted Nitrosomonas under adverse conditions (low [NH4+], low DO, short HRT, and ATU shock), and Nitrobacter outcompeted Nitrospira at high substrate concentrations (COD and [NH4+]). Under ATU shock that inhibited the oxidation of NH4+ to NO2–, AOB population was substantially reduced with the stepwise increase of ATU dosage, and led to a corresponding decrease of NOB population. There was a discrepancy between nitrifying bacterial populations and their functions. Although AOB outnumbered NOB in all tests and became more dominant at low DO and short HRT, NH4+ oxidation, instead of NO2– oxidation, was the rate-limiting reaction for nitrification and susceptible to the adverse conditions. The study demonstrated the importance of elucidating the shifts of nitrifying bacterial population to optimize process design and operation at different influent characteristics, aeration intensity, retention time, and potential influent toxic shock.