ResultsThirty-two culturable bacterial and eight fungal species, along with 10,561 bacterial and 2,427 fungal operational taxonomic units (OTUs), were identified. Nine culturable bacterial species, 955 bacterial and 701 fungal OTUs were shared in both four groups. More culturable bacterial and fungal isolates were detected from the uninfected soils and roots than from the infected soils and roots (except no fungi detected from the uninfected roots), and among all samples, nine bacterial species (Arthrobacter sp., Bacillus sp., Burkholderia ambifaria, Enterobacteriaceae sp., Fictibacillus barbaricus, Microbacterium sp., Micrococcaceae sp., Rhizobiaceae sp., and Serratia sp.) were shared, with Arthrobacter sp. and Bacillus sp. being dominant. Pseudomonas nitroreducens was exclusively present in the infested soils, while Mammaliicoccus sciuri, Microbacterium azadirachtae, and Priestia sp., together with Mucor irregularis, Penicillium sp., P. commune, and Sordariomycetes sp. were found only in the uninfected soils. Cupriavidus metallidurans, Gordonia sp., Streptomyces viridobrunneus, and Terribacillus sp. were only in the uninfected roots while Aspergillus sp. only in infected roots. After M. incognita infestation, 319 bacterial OTUs (such as Chryseobacterium) and 171 fungal OTUs (such as Spizellomyces) were increased in rhizosphere soils, while 181 bacterial OTUs (such as Pasteuria) and 166 fungal OTUs (such as Exophiala) rose their abundance in plant roots. Meanwhile, much more decreased bacterial or fungal OTUs were identified from rhizosphere soils rather than from plant roots, exhibiting the protective effects of host plant on endophytes. Among the detected bacterial isolates, Streptomyces sp. TR27 was discovered to exhibit nematocidal activity, and B. amyloliquefaciens, Bacillus sp. P35, and M. azadirachtae to show repellent potentials for the second stage M. incognita juveniles, which can be used to develop RKN bio-control agents.