Abstract Soil macrofauna plays an important role in the soil ecosystem. Through various biological activities, macrofauna provides various ecosystem services such as the provision and regulation of nutrients and carbon through litter decomposition, increasing water holding capacity, and improving soil structure. The diversity of soil macrofauna is strongly influenced by the litter produced. The more diverse types of plants, the more diverse macrofauna will be found. The purpose of this study was to determine the relationship between macrofauna and soil organic carbon in various cropping patterns of sacha inchi in Sragen, Central Java. The research was conducted on teak-sacha inchi, teak monoculture, mixed agroforestry, and sacha inchi monoculture. Based on the results, there were a total of 6 orders of macrofauna in four types of cropping patterns. The highest total number of individuals was found in the sacha inchi monoculture. The macrofauna diversity index was found the highest in teak-sacha inchi with a Shannon-Wiener index of 1.207, and the lowest in the sacha inchi monoculture with a Shannon-Wiener index of 0.76. Based on the correlation analysis, it is known that soil organic carbon content has a negative correlation with the number of macrofauna and a positive correlation with macrofauna diversity.