Soil organic carbon (SOC) rapidly accumulates during ecosystem primary succession in glacier foreland. This makes it an ideal model for studying soil carbon sequestration and stabilization, which are urgently needed to mitigate climate change. Here, we investigated SOC dynamics in the Kuoqionggangri glacier foreland on the Tibetan Plateau. The study area along a deglaciation chronosequence of 170-year comprising three ecosystem succession stages, including barren ground, herb steppe, and legume steppe. We quantified amino sugars and lignin phenols to assess the contributions of microbial and plant residues to SOC, and used FT-ICR mass spectroscopy to analyze the composition of dissolved organic matter. We found that herbal plant colonization increased SOC by enhancing ecosystem gross primary productivity, while subsequent legumes development decreased SOC, due to increased ecosystem respiration from labile organic carbon inputs. Plant residues were a greater contributor to SOC than microbial residues in the vegetated soils, but they were susceptible to microbial degradation compared to the more persistent and continuously accumulating microbial residues. Our findings revealed the organic carbon accumulation and stabilization process in early soil development, which provides mechanism insights into carbon sequestration during ecosystem restoration under climate change.