The climate crisis will increase the frequency of extreme weather events. Harrison et al. show that while global waterlogging-induced yield losses increase from 3–11% historically to 10–20% by 2080, adapting sowing periods and adopting waterlogging-tolerant genotypes can negate such yield losses.