Artificial forest restoration is widely recognized as a crucial approach to enhance the potential of soil carbon sequestration. Nevertheless, there is still limited understanding regarding the dynamics of aggregate organic carbon (OC) and the underlying mechanisms driving these dynamics after artificial forest restoration. To address this gap, we studied Pinus tabuliformis forests and adjacent farmland in three recovery periods (13, 24 and 33 years) in the Loess Plateau region. Samples of undisturbed soil from the surface layer were collected and divided into three aggregate sizes: >2 mm (large aggregate), 0.25–2 mm (medium aggregate), and <0.25 mm (small aggregate). The aim was to examine the distribution of OC and changes in enzyme activity within each aggregate size. The findings revealed a significant increase in OC content for all aggregate sizes following the restoration of Pinus tabuliformis forests. After 33 years of recovery, the OC of large aggregates, medium aggregates and micro-aggregates increased by (30.23 ± 9.85)%, (36.71 ± 21.60)% and (37.88 ± 16.07)% respectively compared with that of farmland. Moreover, the restoration of Pinus tabuliformis forests lead to increased activity of hydrolytic enzymes and decreased activity of oxidative enzymes. It is noteworthy that the regulation of carbon in all aggregates is influenced by soil P-limitation. In large aggregates, P-limitation promotes the enhancement of hydrolytic enzyme activity, thereby facilitate OC accumulation. Conversely, in medium and small aggregates, P-limitation inhibits the increase in oxidative enzyme activity, resulting in OC accumulation. The results emphasize the importance of P-limitation in regulating OC accumulation during the restoration of Pinus tabulaeformis forest, in which large aggregates play a leading role.