Forest management strategies can effectively mitigate the impacts of drought on tree species, but their effects on soil fauna remain largely unexplored. Among soil organisms, soil nematodes can serve as valuable bioindicators to assess the impact of forest management on soil biodiversity and soil functioning. Consequently, we investigated two related questions in a Mediterranean Pinus halepensis Mill. forest located in southeastern France. First, how do soil nematodes respond to forest management practices? Second, can forest management practices help modulate the effects of Mediterranean summer drought on these soil organisms? We conducted a field experiment in which we explored the influence of two forest management techniques—tree thinning (intense, moderate, or absent) and understory removal (shrubs present or absent)—on soil nematodes before and after the summer drought. We found that only total and bacterivorous nematode abundances were positively influenced by the forest management practices. The highest values were observed under conditions of intense thinning combined with shrub presence, with an average of 97,509 individuals per kg of dry soil. In contrast, the abundances of all nematodes, with the exception of predaceous nematodes, were lower after the summer drought with a reduction ranging from −55 % to −82 %. Total, bacterivorous, and fungivorous nematode abundances were less negatively affected by the summer drought under conditions of moderate thinning when shrubs were present versus absent. More generally, we discovered that bacterivorous and fungivorous nematodes were particularly sensitive to the forest management practices and the summer drought. It is thus apparent that habitat alterations induced by forest management can strongly affect nematode community structure and could therefore prompt shifts in ecosystem functioning. Finally, this study highlights that, in forests, understory vegetation can have significant positive impacts on soil nematode populations when severe dry periods occur.