Ridge-furrow tillage is an important tillage and yield enhancement method used in dry farming areas; however, the spatial characteristics of the soil microenvironment under ridge-furrow tillage and the response of crop yields to mulching and biochar addition are not known. In this study, we conducted a three-year field experiment in which mulch and biochar, alone or combined, were introduced into ridge-furrow tillage system to explore their interactive effects on soil enzyme activities, bacterial communities, functional genes, and crop yields. The findings reveal significant spatial differences in soil physicochemical composition, enzyme activity, microbial communities, and functional genes under ridge-furrow tillage, which are further exacerbated by the addition of mulching and biochar. Under the premise of ridge-furrow tillage, both mulching and biochar addition reduce the α diversity of bacterial communities. Mulching simplifies the bacterial network, while biochar addition has the opposite effect. Mulching and biochar addition increase the relative abundance of carbon, nitrogen, and phosphorus functional genes and accelerate nutrient cycling, especially on the ridges. Mulching significantly improves crop yield but is detrimental to alkaline phosphatase activity and the abundance of the gene function. The addition of biochar mitigates the harm of mulching and further increases alfalfa yield. These findings not only provide scientific support for optimizing ridge-furrow tillage but also deepen our comprehensive understanding of the soil biochemical environment after the addition of mulching and biochar, further revealing their positive effects on yield formation.