Nitrogen-fixing legumes are key species across ecosystems, as their ability to fix atmospheric nitrogen can facilitate neighboring plants. However, little is known about the fate of this legume effect in the face of extreme weather events, which are increasingly expected to occur in future.