Ammonia oxidation by microorganisms is a critical process in the nitrogen cycle. In this study, four soil samples collected from a desert zone in an iron-exploration area and others from farmland and planted forest soil in an iron mine surrounding area. We analyzed the abundance and diversity of ammonia-oxidizing archaea (AOA) and ammonia-oxidizing bacteria (AOB) in iron-mining area near the Miyun reservoir using ammonia monooxygenase. A subunit gene (amoA) as molecular biomarker. Quantitative polymerase chain reaction was applied to explore the relationships between the abundance of AOA and AOB and soil physicochemical parameters. The results showed that AOA were more abundant than AOB and may play a more dominant role in the ammonia-oxidizing process in the whole region. PCR-denaturing gradient gel electrophoresis was used to analyze the structural changes of AOA and AOB. The results showed that AOB were much more diverse than AOA. Nitrosospira cluster three constitute the majority of AOB, and AOA were dominated by group 1.1b in the soil. Redundancy analysis was performed to explore the physicochemical parameters potentially important to AOA and AOB. Soil characteristics (i.e. water, ammonia, organic carbon, total nitrogen, available phosphorus, and soil type) were proposed to potentially contribute to the distributions of AOB, whereas Cd was also closely correlated to the distributions of AOB. The community of AOA correlated with ammonium and water contents. These results highlight the importance of multiple drivers in microbial niche formation as well as their affect on ammonia oxidizer composition, both which have significant consequences for ecosystem nitrogen functioning.