Abstract. Surficial enhanced rock weathering (ERW) is a land-based carbon dioxide removal (CDR) strategy that involves applying crushed silicate rock (e.g., basalt) to agricultural soils. However, unintended biogeochemical interactions with the nitrogen cycle may arise through ERW increasing soil pH as basalt grains undergo dissolution that may reinforce, counteract, or even offset the climate benefits from carbon sequestration. Increases in soil pH could drive changes in the soil emissions of key non-CO2 greenhouse gases, e.g., nitrous oxide (N2O), and trace gases, e.g., nitric oxide (NO) and ammonia (NH3), that affect air quality and crop and human health. We present the development and implementation of a new improved nitrogen cycling scheme for the Community Land Model v5 (CLM5), the land component of the Community Earth System Model, allowing evaluation of ERW effects on soil gas emissions. We base the new parameterizations on datasets derived from soil pH responses of N2O, NO, and NH3 in ERW field trial and mesocosm experiments with crushed basalt. These new capabilities involve the direct implementation of routines within the CLM5 N cycle framework, along with asynchronous coupling of soil pH changes estimated through an ERW model. We successfully validated simulated “control” (i.e., no ERW) seasonal cycles of soil N2O, NO, and NH3 emissions against a wide range of global emission inventories. We benchmark simulated mitigation of soil N2O fluxes in response to ERW against a subset of data from ERW field trials in the US Corn Belt. Using the new scheme, we provide a specific example of the effect of large-scale ERW deployment with croplands on soil nitrogen fluxes across five key regions with high potential for CDR with ERW (North America, Brazil, Europe, India, and China). Across these regions, ERW implementation led to marked reductions in N2O and NO (both 18 %), with moderate increases in NH3 (2 %). While further developments are still required in our implementations when additional ERW data become available, our improved N cycle scheme within CLM5 has utility for investigating the potential of ERW point-source and regional effects of soil N2O, NO, and NH3 fluxes in response to current and future climates. This framework also provides the basis for assessing the implications of ERW for air quality given the role of NO in tropospheric ozone formation, as well as both NO and NH3 in inorganic aerosol formation.