Plants under attack by arthropod herbivores often emit volatile compounds from their leaves that attract natural enemies of the herbivores. Here we report the first identification of an insect-induced belowground plant signal, (E)-β-caryophyllene, which strongly attracts an entomopathogenic nematode. Maize roots release this sesquiterpene in response to feeding by larvae of the beetle Diabrotica virgifera virgifera, a maize pest that is currently invading Europe. Most North American maize lines do not release (E)-β-caryophyllene, whereas European lines and the wild maize ancestor, teosinte, readily do so in response to D. v. virgifera attack. This difference was consistent with striking differences in the attractiveness of representative lines in the laboratory. Field experiments showed a fivefold higher nematode infection rate of D. v. virgifera larvae on a maize variety that produces the signal than on a variety that does not, whereas spiking the soil near the latter variety with authentic (E)-β-caryophyllene decreased the emergence of adult D. v. virgifera to less than half. North American maize lines must have lost the signal during the breeding process. Development of new varieties that release the attractant in adequate amounts should help enhance the efficacy of nematodes as biological control agents against root pests like D. v. virgifera. Maize roots under attack by larvae of the western corn rootworm beetle, Diabrotica, have been found to emit a below-ground signal which attracts a nematode that is a natural enemy of the beetle. Or rather, some maize does. This rootworm is the worst maize pest in North America and was recently introduced to Europe, where it is spreading rapidly. Most of the maize lines used by farmers in North America, it turns out, no longer emit the sesquiterpene compound, resulting in a low rate of nematode infection. This implies that a change to maize varieties that still produce this attractant should help to recruit nematodes as natural biological control agents.