Herbivores and pathogens with acute host specificity may promote high tree diversity in tropical forests by causing distance- and density-dependent mortality of seedlings, but evidence is scarce. Although Lepidoptera larvae are the most abundant and host-specific guild of herbivores in these forests, their impact upon seedling distributions remains largely unknown. A firm test of the mechanism underpinning the Janzen-Connell hypothesis is difficult, even for a single tree species, because it requires more than just manipulating seeds and seedlings and recording their fates. Experimental tests require: (1) an insect herbivore that is identified and highly specialised, (2) linkage to an in situ measure (or prevention) of herbivory, and (3) evaluation and confirmation among many conspecific adult trees across years. Here we present experimental evidence for a spatially explicit interaction between newly germinating seedlings of a Neotropical emergent tree, big-leaf mahogany (Swietenia macrophylla, Meliaceae), and caterpillars of a noctuid moth (Steniscadia poliophaea). In the understory of a southeastern Amazon forest, the proportion of attacks, leaf area lost, and seedling mortality due to this specialised herbivore peaked near Swietenia trees, but declined significantly with increasing distance from mature fruiting trees, as predicted by the Janzen-Connell hypothesis. We conclude that long-distance dispersal events (>50 m) provided an early survival advantage for Swietenia seedlings, and propose that the role of larval Lepidoptera as Janzen-Connell vectors may be underappreciated in tropical forests.