SummaryEcological restoration of degraded lands is essential to human sustainability. Yet, an in-depth community, functional, and evolutionary microbial perspective of long-term restoration of damaged ecosystems is lacking. Herein, we comprehensively assessed the impact of long-term (up to 17 years) restoration of Tengger Desert, China, by multi-omic profiling of 1,910 topsoil samples. The soil biophysiochemical properties, especially soil hydraulics, microbiome stability, and functional diversity, significantly improved during restoration. The soil microbiome transitioned from an extreme oligotrophic and autotrophic community to a diverse copiotrophic ecosystem. The soil microbiota, including fungi, could mediate the soil physicochemical changes through metabolites. Importantly, the systematic rewiring of nutrient cycles featured the multi-domain preference of an efficient carbon fixation strategy in the extreme desert environment. Finally, the microbiome was evolving via positive selections of genes of biogeochemical cycles, resistance, and motility. In summary, we present a comprehensive community, functional, biogeochemical, and evolutionary landscape of the soil microbiome during the long-term restoration of desert environments. We highlight the crucial microbial role in restoration from soil hydraulic and biogeochemical perspectives, offering promising field applications.HighlightsThe desert soil microbiome transformed from simple oligotrophic to a diverse, stable, and nutrient-rich ecosystem with expanded functional diversity.Restoration led to systematically rewired biogeochemical cycles, which are highly efficient in carbon fixation in the desert environment.The microbiome was evolving via positive selections of genes involved in biogeochemical cycles and environmental adaptations.Microbes and metabolites could facilitate desert restoration from hydraulic and biogeochemical aspects, offering promising field applications.