A parasite's ability to infect and a host's ability to resist infection can be heritable traits. Patterns of inheritance suggest how host genes interact with parasite genes to determine whether or not infection occurs. Recent progress in the isolation and characterization of these genes in plants sheds new light on parasitism.