resource stoichiometry in a typical steppe on the Loess Plateau. Results We found that increasing stocking rate and interaction between grazing and N addition significantly decreased EMF, while increasing N addition rate significantly promoted EMF. Grazing decreased soil NH 4 + -N, soil NO 3 − -N, aboveground biomass, and plant C, N, and P pools, but increased soil total N and P at 8.7 and 5.3 sheep ha − 1 , respectively. N addition increased soil NH 4 + -N, NO 3 − -N, and total P. Plant aboveground biomass, and plant C, N, and P pools increased at the lower N addition rate (≤ 5 g N m − 2 yr − 1 ) under grazing. The structural equation models indicated that (1) EMF was driven by the direct effects of grazing and the indirect effects of grazing on plant resource stoichiometry and soil pH;(2) EMF increased with increasing N addition rates, but such positive response of EMF to increasing N addition rates was alleviated at high levels of plant resource stoichiometry and diversity; and (3) the indirect effects of plant diversity induced by grazing and N addition had moderate effects on EMF via the variations of plant resource stoichiometry. Conclusions This study demonstrated grazing and N addition had contrasting effects on ecosystem multifunctionality in a typical steppe, and highlighted the capacity of plant diversity in balancing plant elements that serve as a key mechanism in the maintenance of EMF in response to intensive grazing y and N enrichment.