Worldwide food security is severely threatened by the devastating wheat stripe rust disease. The utilization of resistant wheat cultivars represents the most cost-effective and efficient strategy for combating this disease. However, the lack of resistant resources has been a major bottleneck in breeding for wheat disease resistance. Therefore, revealing novel gene resources for combating stripe rust and elucidating the underlying resistance mechanism is of utmost urgency. In this study, we identified that the soybean NF-YB transcription factor GmNF-YB20 in wheat provides resistance to the stripe rust fungus (Puccinia striiformis f. sp. tritici, Pst). Wheat lines with stable overexpression of the GmNF-YB20 enhanced resistance against multiple Pst races. Transcriptome profiling of GmNF-YB20 transgenic wheat under Pst infection unveiled its involvement in the lipid signaling pathway. RT-qPCR assays suggested that GmNF-YB20 increased transcript levels of multiple nonspecific lipid transfer protein (LTP) genes during wheat-Pst interaction, luciferase reporter analysis illustrates that it activates the transcription of TaLTP1.50 in wheat protoplast, and GmNF-YB20 overexpressed wheat plants had higher total LTP content in vivo during Pst infection. Overexpression of TaLTP1.50 in wheat significantly increased resistance to Pst, whereas knockdown of TaLTP1.50 exhibited the opposite trends, indicating that TaLTP1.50 plays a positive role in wheat resistance. Taken together, our findings provide perspective regarding the molecular mechanism of GmNF-YB20 in wheat and highlight the potential use for wheat breeding.