The pine wood nematode (PWN), Bursaphelenchus xylophilus, is a destructive invasive species that exerts devastating effects on most native pines in invaded regions, while many of the non-native pines have resistance to PWN. Recently, increasingly more research is focused on how microbial communities can improve host resistance against pathogens. However, the relationship between the microbial community structures and varying levels of pathogen resistance observed in different pine tree species remains unclear. Here, the bacterial and fungal communities of introduced resistant pines Pinus elliottii, P. caribaea, and P. taeda and native susceptible pines healthy and wilted P. massoniana infected by PWN were analyzed. The results showed that 6057 bacterial and 3931 fungal OTUs were annotated. The pine samples shared 944 bacterial OTUs primarily in the phyla Proteobacteria, Acidobacteria, Firmicutes, Bacteroidetes, and Chloroflexi and 111 fungal OTUs primarily in phyla Ascomycota and Basidiomycota, though different pines had unique OTUs. There were significant differences in microbial community diversity between different pines, especially between the bacterial communities of resistant and susceptible pines, and fungal communities between healthy pines (resistant pines included) and the wilted P. massoniana. Resistant pines had a greater abundance of bacteria in the genera Acidothermus (class unidentified_Actinobacteria) and Prevotellaceae (class Alphaproteobacteria), but a lower abundance of Erwinia (class Gammaproteobacteria). Healthy pines had a higher fungal abundance of Cladosporium (class Dothideomycetes) and class Eurotiomycetes, but a lower abundance of Graphilbum, Sporothrix, Geosmithia (class Sordariomycetes), and Cryptoporus (classes Agaricomycetes and Saccharomycetes). These differences in microbial abundance between resistant and healthy pines might be associated with pathogen resistance of the pines, and the results of this study contribute to the studies exploring microbial-based control of PWN.