Crop rotation and other tillage systems can affect soil microbial communities and functions. Few studies have reported the response of soil spatial microbial communities to rotation under drought stress. Therefore, the purpose of our study was to explore the dynamic changes of the soil space microbial community under different drought stress-rotation patterns. In this study, two water treatments were set up, control W1 (mass water content 25%–28%), and drought W2 (mass water content 9%–12%). Four crop rotation patterns were set in each water content, spring wheat continuous (R1), spring wheat-potato (R2), spring wheat-potato-rape (R3) and spring wheat-rape (R4), for a total of eight treatments (W1R1, W1R2, W1R3, W1R4, W2R1, W2R2, W2R3, W2R4). Endosphere, rhizosphere and bulk soil of spring wheat in each treatment were collected, and root space microbial community data were generated. The soil microbial community changed under different treatments and their relationship with soil factors were analyzed using a co-occurrence network, mantel test, and other methods. The results revealed that the alpha diversity of microorganisms in the rhizosphere and bulk soil did not differ significantly, but it was significantly greater than in the endosphere. The bacteria community structure was more stable, fungi alpha-diversity significant changes (p< 0.05), that were more sensitive to the response of various treatments than bacteria. The co-occurrence network between fungal species was stable under rotation patterns (R2, R3, R4), while the community stability was poor under continuous cropping pattern (R1), and interactions were strengthened. Soil organic matter (SOM), microbial biomass carbon (MBC), and pH value were the most important factors dominating the bacteria community structural changed in the endosphere, rhizosphere, and bulk soil. The dominant factor that affected the fungal community structural changed in the endosphere, rhizosphere, and bulk soil was SOM. Therefore, we conclude that soil microbial community changes under the drought stress-rotation patterns are mainly influenced by soil SOM and microbial biomass content.