In Maranhão State, Brazil, soils are naturally acidic, nutrient-deficient, and prone to cohesion and erosion. Removing the natural cover to establish pastures causes physical, chemical, and biological changes in the soil. Therefore, this study aimed to evaluate the contents and stocks of carbon (C), nitrogen (N), and particle-size fractions of soil organic matter (SOM) in pastures with different years of recovery, and compare them with a secondary forest in the Legal Amazon. Four treatments were evaluated: secondary forest, perennial pasture, and perennial pastures recovered for five years and eight years, both of the latter through corn + brachiaria intercropping. The contents and stocks of total organic carbon, total nitrogen, C, and N from the soil organic matter particle-size fractions, as well as the carbon management indexes (CMI) of the 0.00–0.10, 0.10–0.20, 0.20–0.30, and 0.30–0.40 m layers were evaluated. The perennial pasture environment presented the highest total soil C and N contents; however, when observing the granulometric fractions and CMI, these increases were qualitative in relation to the secondary forest. Pasture recovery over eight years contributed to an improvement of soil quality similar to secondary forest, indicating that an increase in SOM quality, quantity, and recovery time related to increased pasture capacity to accumulate C and N in the soil.