AbstractEcosystem engineers affect other organisms by creating, maintaining or modifying habitats, potentially supporting species of conservation concern. However, it is important to consider these interactions alongside non-engineering trophic pathways. We investigated the relative importance of trophic and non-trophic effects of an ecosystem engineer, red deer, on a locally rare moth, the transparent burnet (Zygaena purpuralis). This species requires specific microhabitat conditions, including the foodplant, thyme, and bare soil for egg-laying. The relative importance of grazing (i.e., trophic effect of modifying microhabitat) and trampling (i.e., non-trophic effect of exposing bare soil) by red deer on transparent burnet abundance is unknown. We tested for these effects using a novel method of placing pheromone-baited funnel traps in the field. Imago abundance throughout the flight season was related to plant composition, diversity and structure at various scales around each trap. Indirect effects of red deer activity were accounted for by testing red deer pellet and trail presence against imago abundance. Imago abundance was positively associated with thyme and plant diversity, whilst negatively associated with velvet grass and heather species cover. The presence of red deer pellets and trails were positively associated with imago abundance. The use of these sites by red deer aids the transparent burnet population via appropriate levels of grazing and the provision of a key habitat condition, bare soil, in the form of deer trails. This study shows that understanding how both trophic and non-trophic interactions affect the abundance of a species provides valuable insights regarding conservation objectives.