The ‘fertilizer island effect’ — a phenomenon engendered by shrubs — promotes the growth of symbiotic herbs and the stabilization of community structures in scrublands. Specifically, leguminous shrubs contribute significantly to the nitrogen input in desert ecosystems. However, the impact of these inputs on the nutrient balance in symbiotic herbs has seldom been explored. To enhance our understanding of the nutrient balance between nitrogen-fixing legume shrubs and symbiotic non-legume herbaceous plants in desert ecosystems, we focused on a typical legume shrub (Eremosparton songoricum) that grows in the Gurbantunggut Desert of northern China. Subsequently, we examined the biomass, ecological stoichiometry, and rhizosphere soil properties of two plant species (annual plant: Ceratocarpus arenarius; and ephemeral plant: Centaurea pulchella) growing across four horizontal distance ranges from E. songoricum. The results indicated that the closer a herbaceous plant was to the leguminous shrubs, the lower was its biomass and nutrient content. In contrast, herbaceous plants growing further away from the shrubs exhibited better growth conditions. The total biomass of Cer. arenarius and Cen. pulchella was greatest at a distance of D4 (90–100 cm), being 3.07, 2.15, and 1.23 times higher for Cer. arenarius and 2.05, 1.18, and 1.26 times higher for Cen. pulchella compared to distances of D1 (0–10 cm), D2 (30–40 cm), and D3 (60–70 cm), respectively. Meanwhile, the physicochemical properties of the rhizosphere root varied inversely with distance, with nutrient levels decreasing horizontally from D1 to D4 and vertically from 0–5 cm > 5–10 cm > 10–20 cm, showcasing a distinct ‘fertilizer island effect’. As the distance increased, the above-ground and below-ground parts of the symbiotic non-leguminous plants started to rely on different types of soil nutrients from different depths to maximize nutrient acquisition. According to the structural equation model, although soil fertility was higher closer to the central leguminous plants, the biomass of nearby herbaceous plants was lower. In summary, in desert ecosystems, the competitive dynamics exerted by leguminous shrubs significantly overshadowed the nutrient provisioning role of the ‘fertilizer island effect’. Furthermore, the utilization of nutrients by symbiotic non-leguminous plants did not exhibit species-specific patterns, and the dominant shrub continued to play a pivotal role. The evidence from this study promotes a deeper understanding of species coexistence mechanisms and ecological stability in desert environments.