Maintenance of soil organic carbon (SOC) is important for the long-term productivity of agroecosystems. An investigation was conducted to study the effects of long-term application of inorganic fertilizers and farmyard manure (FYM) on soil organic carbon (SOC), nitrogen, phosphorus, and potassium nutrient content, water-stable aggregate distribution, and aggregateassociated carbon in a field experiment started in 1982 in an arid region of northwest China. Application of inorganic fertilizer alone (N, NP, or NPK treatments) did not increase SOC concentrations compared with no application of fertilizers (CK) and SOC concentration was significantly reduced, by 18% on average, compared with the initial value at the beginning of the experiment. Application of imbalanced inorganic fertilizer (N and NP), especially, resulted in a significant decrease in available phosphorus and potassium nutrients at a depth of 20 cm. This indicates that long-term application of inorganic fertilizers were inadequate to maintain levels of SOC and nutrients under conventional management with no aboveground crop residues returning to the soil. Long-term application of FYM alone or combined with inorganic fertilizers (M (FYM), MN, MNPK, or MNPK treatments), however, improved SOC and total nitrogen concentrations from initial values of 12.1 and 0.76 g kg -1 , respectively, to 15.46 and 1.28 g kg -1 , on average, and also enhanced available nitrogen, phosphorus, and potassium concentrations by 47, 50, and 68%, respectively, during the 23-year period. Treatment with FYM resulted in a 0.48 mm greater average mean weight diameter (MWD) of aggregates and a higher percentage of macro-aggregates (>2 mm) and small macroaggregates (2-0.25 mm) than treatment without FYM. The MWD increased with increasing SOC concentration (R 2 =0.75). The SOC concentration was highest in small macro-aggregates, intermediate in macro-aggregates, and lowest in microaggregates (0.25-0.05 mm). Approximately 54-60% of total SOC was stored in micro-aggregates (0.25-0.05 mm) and sand+silt fractions ( < 0.05 mm) after treatment without FYM but 57-64% of total SOC was stored in macroaggregates (>0.25 mm) after treatment with FYM. MNPK treatment had the greatest effect on improving the levels of SOC and NPK nutrients and in enhancing the formation and stability of macro-aggregates.