Soil microbial communities play crucial roles in the earth's biogeochemical cycles. Yet, their genomic potential for nutrient cycling in association with tree mycorrhizal type and tree-tree interactions remained unclear, especially in diverse tree communities. Here, we studied the genomic potential of soil fungi and bacteria with arbuscular (AM) and ectomycorrhizal (EcM) conspecific tree species pairs (TSPs) at three tree diversity levels in a subtropical tree diversity experiment (BEF-China). The soil fungi and bacteria of the TSPs' interaction zone were characterized by amplicon sequencing, and their subcommunities were determined using a microbial interkingdom co-occurrence network approach. Their potential genomic functions were predicted with regard to the three major nutrients carbon (C), nitrogen (N), and phosphorus (P) and their combinations. We found the microbial subcommunities that were significantly responding to different soil characteristics. The tree mycorrhizal type significantly influenced the functional composition of these co-occurring subcommunities in monospecific stands and two-tree-species mixtures but not in mixtures with more than three tree species (here multi-tree-species mixtures). Differentiation of subcommunities was driven by differentially abundant taxa producing different sets of nutrient cycling enzymes across the tree diversity levels, predominantly enzymes of the P (n = 11 and 16) cycles, followed by the N (n = 9) and C (n = 9) cycles, in monospecific stands and two-tree-species mixtures, respectively. Fungi of the Agaricomycetes, Sordariomycetes, Eurotiomycetes, and Leotiomycetes and bacteria of the Verrucomicrobia, Acidobacteria, Alphaproteobacteria, and Actinobacteria were the major differential contributors (48% to 62%) to the nutrient cycling functional abundances of soil microbial communities across tree diversity levels. Our study demonstrated the versatility and significance of microbial subcommunities in different soil nutrient cycling processes of forest ecosystems. IMPORTANCE Loss of multifunctional microbial communities can negatively affect ecosystem services, especially forest soil nutrient cycling. Therefore, exploration of the genomic potential of soil microbial communities, particularly their constituting subcommunities and taxa for nutrient cycling, is vital to get an in-depth mechanistic understanding for better management of forest soil ecosystems. This study revealed soil microbes with rich nutrient cycling potential, organized in subcommunities that are functionally resilient and abundant. Such microbial communities mainly found in multi-tree-species mixtures associated with different mycorrhizal partners can foster soil microbiome stability. A stable and functionally rich soil microbiome is involved in the cycling of nutrients, such as carbon, nitrogen, and phosphorus, and their combinations could have positive effects on ecosystem functioning, including increased forest productivity. The new findings could be highly relevant for afforestation and reforestation regimes, notably in the face of growing deforestation and global warming scenarios.