Interactions between herbivorous insects and their parasitoids occur in highly structured and complex environments. Habitat structure can be an important factor affecting ecological interactions between different trophic levels. In this study the influence of plant architecture and surrounding vegetation structure on the interaction between the tansy leaf beetle, Galeruca tanaceti L. (Coleoptera: Chrysomelidae) and its egg parasitoid, Oomyzus galerucivorus Hedqvist (Hymenoptera: Eulophidae), was investigated at two small spatial scales in the field. It was expected that high and structurally complex plants or vegetation represent an enemy free space for the herbivore by making host search more difficult for the parasitoid. At the scale of individual plants, plant height had a positive influence on herbivore oviposition and egg clutch height a negative impact on parasitism. In addition, the beetle was more likely to oviposit on simple plants than on plants with branches, while the parasitoid remained unaffected by the degree of branching. At the microhabitat scale (r = 0.1 m around an oviposition site), both height and density of the vegetation affected beetle oviposition positively and egg parasitism negatively. The herbivore and its parasitoid, therefore, were influenced in opposite ways by habitat structure at both spatial scales investigated, suggesting the existence of an enemy free space for the herbivores' eggs on tall plants and in tall and complex vegetation. This study indicates that structural components of the environment are important for interactions among organisms of different trophic levels.