Soil microorganisms play important roles in crop production and sustainable agricultural management. However, soil conditions and crop selection are key determining factors for soil microbial communities. This study investigated the effect of plant types and soil salinity on the microbial community of interspecific interaction zone (II) based on the sorghum/peanut intercropping system. Microbial community diversity and composition were determined through PacBio single molecule, real-time sequencing of 16S rDNA and internal transcribed spacer (ITS) genes. Results showed Proteobacteria, Bacteroidota, and Acidobacteriota to be the dominant bacterial phyla in IP, II, and IS, whereas Ascomycota, Basidiomycota, and Mucoromycota were the dominant fungal phyla. Under salt-treated soil conditions, the plants-specific response altered the composition of the microbial community (diversity and abundance). Additionally, the interspecific interactions were also helpful for maintaining the stability and ecological functions of microbial communities by restructuring the otherwise stable core microbiome. The phylogenetic structure of the bacterial community was greatly similar between IP and II while that of the fungal community was greatly similar between IP and IS; however, the phylogenetic distance between IP and IS increased remarkably upon salinity stress. Overall, salinity was a dominant factor shaping the microbial community structure, although plants could also shape the rhizosphere microenvironment by host specificity when subjected to environmental stresses. In particular, peanut still exerted a greater influence on the microbial community of the interaction zone than sorghum.