Leguminous green manure (LGM) has a reputation for improving crop productivity. However, little is known about the beneficial interactions with straw on crop yield and nutrient (N, P, K) use efficiency. Herein, a 9-year field experiment (from 2015 to 2023) containing three treatments-(1) chemical fertilizer as the control (CK), (2) NPK + straw return (Straw) and (3) NPK + straw return with LGM (Straw + LGM)-was conducted to investigate whether the combined application of LGM and straw can increase productivity and nutrient use efficiency in the wheat-maize-sunflower diversified cropping rotation. The results showed that in the third rotation (2021-2023), Straw + LGM significantly increased wheat yield by 10.2% and maize yield by 19.9% compared to CK. The total equivalent yield under Straw + LGM was the highest (26.09 Mg ha-1), exceeding Straw and CK treatments by 2.7% and 12.3%, respectively. For each 2 Mg ha-1 increase in straw returned to the field, sunflower yield increased by 0.2 Mg ha-1, whereas for each 1 Mg ha-1 increase in LGM yield from the previous crop, sunflower yield increased by 0.45 Mg ha-1. Compared to CK, the co-application of LGM and straw increased the N use efficiency of maize in the first and third rotation cycle by 70.6% and 55.8%, respectively, and the P use efficiency by 147.8% in the third rotation cycle. Moreover, Straw treatment led to an increase of net income from wheat and sunflower by 14.5% and 44.6%, while Straw + LGM increased the net income from maize by 15.8% in the third rotation cycle. Combining leguminous green manure with a diversified cropping rotation has greater potential to improve nutrient use efficiency, crop productivity and net income, which can be recommended as a sustainable agronomic practice in the Hetao District, Northwest China.