Phyllosphere microbes residing on plant leaf surfaces for maintaining plant health have gained increasing recognition. However, in desert ecosystems, knowledge about the variety, composition, and coexistence patterns of microbial communities in the phyllosphere remains limited. This study, conducted across three basins (Turpan-TLF, Tarim-CL, and Dzungaria-MSW) and three seasons (spring, summer, and autumn) in Xinjiang, China, aimed to explore the diversity and composition of microbial communities in the phyllosphere, encompassing both bacteria and fungi in Alhagi sparsifolia. We also investigated the co-occurrence patterns, influencing factors, and underlying mechanisms driving these dynamics. Results indicate that phyllosphere bacteria exhibited lower diversity indices (ACE, Shannon, Simpson, Fisher phylogenetic diversity, and Richness) in spring compared to summer and autumn, while the Goods Coverage Index (GCI) was higher in spring. Conversely, diversity indices and GCI of phyllosphere fungi showed an opposite trend. Interestingly, the lowest level of multi-functionality and niche width in phyllosphere bacteria occurred in spring, while the highest level was observed in phyllosphere fungi. Furthermore, the study revealed that no significant differences in multi-functionality were found among the regions (CL, MSW, and TLF). Network analysis highlighted that during spring, phyllosphere bacteria exhibited the lowest number of nodes, edges, and average degree, while phyllosphere fungi had the highest. Surprisingly, the multi-functionality of both phyllosphere bacteria and fungi showed no significant correlation with climatic and environmental factors but displayed a significant association with the morphological characteristics and physicochemical properties of leaves. Structural Equation Model indicated that the morphological characteristics of leaves significantly influenced the multi-functionality of phyllosphere bacteria and fungi. However, the indirect and total effects of climate on multi-functionality were greater than the effects of physicochemical properties and morphological characteristics of leaves. These findings offer new insights into leaf phyllosphere microbial community structure, laying a theoretical foundation for vegetation restoration and rational plant resource utilization in desert ecosystems.