Powdery mildew is a major threat to world wheat yields. Here the authors describe the map-based cloning of Pm24, a gain-of-function powdery mildew resistance allele that encodes a tandem kinase-pseudokinase protein with a deletion in a kinase domain that is endemic to certain wheat landraces.