As the main drivers and modifiers of soil ecosystem change, it remains unclear whether microbial metabolic limitation in sandy soil will affect its community structure and how microbial community responds to resource limitation. Hence, we studied the relationship between soil microbial community and nutrient limitation in Horqin Sandy land, a typical sandy area in northern China. The results of enzyme stoichiometric vector analysis showed that microbial carbon (C) and nitrogen (N) limitation decreased with vegetation restoration, while soil microbial phosphorus (P) limitation increased with vegetation restoration, and there was a shift from N limitation to P limitation from the semi-mobile dunes to semi-fixed dunes. We found that total N (TN) and total P (TP) were most closely related to microbial community richness, and the effects of electrical conductivity (EC), pH and topographic factors (lat, lon and dem) could not be ignored. The co-occurrence network and linear regression analysis revealed that 39.5% of the key microbes (15 key species) had significant correlation with the N/P limitation (P