Parasitoid disturbance populations in agroecosystems can be maintained through the provision of habitat refuges with host resources. However, specialized herbivores that feed on different host plants have been shown to form host-specialized races. Parasitoids may subsequently specialize on these herbivore host races and therefore prefer parasitizing insects from the refuge, avoiding foraging on the crop.