Plants have evolved intracellular immune receptors to detect pathogen proteins known as effectors. How these immune receptors detect effectors remains poorly understood. Here we describe the structural basis for direct recognition of AVR-Pik, an effector from the rice blast pathogen, by the rice intracellular NLR immune receptor Pik. AVR-PikD binds a dimer of the Pikp-1 HMA integrated domain with nanomolar affinity. The crystal structure of the Pikp-HMA/AVR-PikD complex enabled design of mutations to alter protein interaction in yeast and in vitro, and perturb effector-mediated response both in a rice cultivar containing Pikp and upon expression of AVR-PikD and Pikp in the model plant Nicotiana benthamiana. These data reveal the molecular details of a recognition event, mediated by a novel integrated domain in an NLR, which initiates a plant immune response and resistance to rice blast disease. Such studies underpin novel opportunities for engineering disease resistance to plant pathogens in staple food crops.