Crop rotation helps preventing pathogen infestations compared to monocultures, which may be partly due to root-associated microbes. Here, the authors show that rhizosphere microbiomes in monocultures are less able to suppress fungal pathogens compared to crop rotations, and that inoculating certain microbes can mitigate it.