Glaciers retreating due to global warming create important new habitats, particularly suitable for studying ecosystem development where nitrogen is a limiting factor. Nitrogen availability mainly results from microbial decomposition and transformation processes, including nitrification. AOA and AOB perform the first and rate-limiting step of nitrification. Investigating the abundance and diversity of AOA and AOB is essential for understanding early ecosystem development. The dynamics of AOA and AOB community structure along a soil chronosequence in Tianshan No. 1 Glacier foreland were analyzed using qPCR and clone library methods. The results consistently showed low quantities of both AOA and AOB throughout the chronosequence. Initially, the copy numbers of AOB were higher than those of AOA, but they decreased in later stages. The AOB community was dominated by "Nitrosospira cluster ME", while the AOA community was dominated by "the soil and sediment 1". Both communities were potentially connected to supra- and subglacial microbial communities during early stages. Correlation analysis revealed a significant positive correlation between the ratios of AOA and AOB with soil ammonium and total nitrogen levels. These results suggest that variations in abundance and diversity of AOA and AOB along the chronosequences were influenced by ammonium availability during glacier retreat.