Ethylenediurea (EDU) can effectively mitigate the crop yield loss caused by ozone (O3), a major, phytotoxic air pollutant. However, the relevant mechanisms are poorly understood, and the effect of EDU on soil ecosystems has not been comprehensively examined. In this study, a hybrid rice variety (Shenyou 63) was cultivated under ambient O3 and sprayed with 450 ppm EDU or water every 10 days. Real time quantitative polymerase chain reaction (RT-qPCR) showed that EDU had no significant effect on the microbial abundance in either rhizospheric or bulk soils. By applying both metagenomic sequencing and the direct assembly of nitrogen (N)-cycling genes, EDU was found to decrease the abundance of functional genes related to nitrification and denitrification processes. Moreover, EDU increased the abundance of genes involved in N-fixing. Although the abundance of some functional genes did not change significantly, nonmetric multidimensional scaling (NMDS) and a principal coordinates analysis (PCoA) suggested that the microbial community structure involved in N cycling was altered by EDU. The relative abundances of nifH-and norB-harboring microbial genera in the rhizosphere responded differently to EDU, suggesting the existence of functional redundancy, which may play a key role in sustaining microbially mediated N-cycling under ambient O3. IMPORTANCE Ethylenediurea (EDU) is hitherto the most efficient phytoprotectant agent against O3 stress. However, the underlying biological mechanisms of its mode of action are not clear, and the effects of EDU on the environment are still unknown, limiting its large-scale application in agriculture. Due to its sensitivity to environmental changes, the microbial community can be used as an indicator to assess the environmental impacts of agricultural practices on soil quality. This study aimed to unravel the effects of EDU spray on the abundance, community structure, and ecological functions of microbial communities in the rhizosphere of rice plants. Our study provides a deep insight into the impact of EDU spray on microbial-mediated N cycling and the structure of N-cycling microbial communities. Our findings help to elucidate the mode of action of EDU in alleviating O3 stress in crops from the perspective of regulating the structure and function of the rhizospheric soil microbial community.