Fertilized soil is an essential source of atmospheric gaseous nitrogen compounds (GNC, including N2O, NO, HONO, and NH3) that play important roles in global warming and regional air pollution. However, there is still a lack of comprehensive research on the exchange fluxes of these gases between soil and the atmosphere, let alone exploration of mitigation measures. Herein, the fluxes of N2O, NO, HONO, and NH3 under different fertilization treatments (surface fertilization (SF), deep fertilization (DF), DF with added nitrification inhibitor (DN), and control (CK, non-fertilization)) were comparatively investigated by open-top dynamic chambers in a maize field in the North China Plain (NCP) in 2022. The results showed that fertilization significantly promoted soil GNC emissions under SF and DF treatments, while there was no significant increase in GNC emissions except for NH3 under the DN treatment after fertilization. In comparison to the SF treatment, the cumulative emissions under the DF treatment exhibited a significant reduction, amounting to 80.8% for N2O, 89.4% for NO, 88.3% for HONO, 84.8% for NH3, and 83.9% for the total emissions of these four gases. These results emphasize the effect of fertilizer deep placement in mitigating soil GNC emissions, and further reductions were observed when using nitrification inhibitors like dicyandiamide (DCD). Compared with the cumulative emissions under the SF treatment, the DN treatment showed reductions exceeding 95% for N2O, NO, and HONO, and 77.1% for NH3 due to the inhibition of ammonia oxidation by DCD, resulting in an overall reduction of 88.8% for the four gases. Therefore, we advocate deep placement of fertilizer with or without nitrification inhibitors during crop cultivation to achieve a comprehensive reduction in GNC emissions and improve regional air quality.