Vegetation in desert steppes typically exhibits patchy distributions that alter local soil resource patterns, thereby shaping root-associated microbial communities. To explore this, bacterial and fungal communities across bulk, root-zone, and rhizosphere soils were compared among three vegetation patches in a grazing-excluded steppe (Ningxia, China): pure Stipa breviflora (P1), and mixtures with Stipa bungeana (P2) or Agropyron mongolicum (P3). Although plant species richness was uniform across patches, species evenness and soil profiles varied markedly. P2 enriched phosphorus, alkali-hydrolyzable nitrogen, sulfur, and conductivity; P1 accumulated more organic matter, total nitrogen, and potassium; whereas P3 exhibited higher pH. Microbial α-diversity differed among patches only in root-zone soils, whereas β-diversity strongly responded to both patch type and soil compartment. Bacterial community structures varied among patches in root-zone and rhizosphere soils, whereas fungi differed across all compartments. While dominant phyla (e.g., Actinobacteriota, Proteobacteria for bacteria; Ascomycota for fungi) remained stable across patches, genus-level indicator taxa exhibited pronounced specificity. Environmentally, bacterial structures correlated with phosphorus, potassium, sulfur, and alkali-hydrolyzable nitrogen, whereas fungi associated strongly with total nitrogen and organic matter. Overall, despite similar plant species richness, vegetation patch types and root-associated soil gradients jointly drive the fine-scale spatial differentiation of soil resources and S. breviflora-associated microbiomes in desert steppes.