Soil biota and energy flow within their food webs have a profound impact on various ecosystem functions. However, there are still significant gaps in our understanding of how climate change factors, such as nitrogen deposition and reduced precipitation, impact ecosystem functioning, particularly in temperate forest ecosystems. In this study, we evaluated the response of ecosystems to long-term nitrogen deposition and/or reduced precipitation due to climate change. We assessed these responses by examining nematode community energy fluxes and their associated ecosystem multifunctionality. Field experiments were conducted in a temperate forest to simulate nitrogen deposition (5.0 kg N·ha−1·yr−1) using NH4NO3 application and to reduce precipitation (to 70 % of a normal year) using rain shelters. Our findings showed that nitrogen addition and/or precipitation reduction treatments altered soil nematode composition. Nitrogen addition alone reduced the abundance and energy fluxes of high trophic groups such as omnivore-predators, which served as proxies for total abundance and energy fluxes. In contrast, precipitation reduction did not exhibit significant effects on overall abundance and energy fluxes. Environmental factors influencing changes in soil nematode abundance and energy fluxes included soil pH, NH4+-N, and total nitrogen in the soil. Nitrogen addition increased ecosystem multifunctionality by promoting nutrient cycling, while precipitation reduction promoted plant productivity and inhibited carbon cycling, without changing ecosystem multifunctionality. Regression analysis showed that soil nematode energy fluxes were negatively correlated with ecosystem multifunctionality. The effects of these two factors on soil nematode food webs showed temporal variation, as well as indicators related to multiple functions of the ecosystem. Our study suggests that soil nematode energy fluxes are more sensitive than nematode abundance for quantifying the relationship between biodiversity and ecosystem multifunctionality.