Ecological stoichiometry is an important index to reflect ecological interaction and the balance of various elements in ecological processes. At present, the stoichiometric spatial distribution of soil carbon (C), nitrogen (N), phosphorus (P) and potassium (K) in farmland and grassland of Inner Mongolia and its influencing factors are still unclear. In this study, the spatial distribution of soil nutrient content and stoichiometry and the effects of environmental factors on soil C:N:P:K stoichiometry were analyzed under different land use patterns in four agro-pastoral areas. The results showed that there was a geographical gradient in the ecological stoichiometric relationship between farmland and grassland. RCN, RCP, RCK, RNP and RNK showed an "N" distribution from west to east, while RPK showed a "V" distribution. The difference in spatial distribution was more significant than the difference in land use pattern. The ecological stoichiometric relationship of grassland was mainly affected by the content of C and N, and was related to the similarity of soil properties. The field ecological stoichiometry was mainly affected by the content of nitrogen and phosphorus, and had a great relationship with fertilization. The effects of MAT and MAP on soil ecological stoichiometry were related to the inter-regional environmental heterogeneity. The influence of MAP on farmland and MAT on grassland was more significant. It was of great significance for field management according to local conditions, rational utilization of land resources and sustainable development of agriculture to clarify the ecological stoichiometric characteristics of farmland and grassland in agro-pastoral ecotone.