In order to explore how soil warming and precipitation exclusion influence soil N_2O fluxes, we used related functional genes as markers,and four treatments were set up,i. e.,control (CT),soil warming (W,5 ℃ above the ambient temperature of the control),50% precipitation reduction (P),soil warming plus 50% precipitation reduction (WP). The results showed that precipitation exclusion reduced soil ammonium nitrogen concentration significantly. Soil warming decreased soil N_2O flux and soil denitrification potential significantly. Soil microbial biomass nitrogen (MBN) in warming treatment (W) and precipitation exclusion treatment (P) was significantly lower than that in the control. The amoA gene abundance of AOA was negatively correlated with MBN and ammonium nitrogen contents,but neither soil nitrification potential nor soil N_2O flux was correlated with the amoA gene abundance of AOA. Path analysis showed that the denitrification potential affected soil N_2O flux directly,while microbial biomass phosphorus (MBP) and warming affected soil N_2O flux indirectly through their direct effects on denitrification potential. Temperature might be the main driver of N_2O flux in subtropical forest soils. Global warming would reduce N_2O emissions from subtropical forest soils.