12Finding a suitable oviposition site is a challenging task for a gravid female moth. At the same time, it is of 13 paramount importance considering the limited capability of most caterpillars to relocate to alternative host 14 plants. The hawkmoth, Manduca sexta (Sphingidae), oviposits on solanaceous plants. Larvae hatching on 15 a plant that is already attacked by conspecific caterpillars can face food competition, as well as an increased 16 exposure to predators and induced plant defenses. Here, we show that frass from conspecific caterpillars is 17 sufficient to deter a female M. sexta from ovipositing on a plant and that this deterrence is based on the 18 frass-emitted carboxylic acids 3-methylpentanoic acid and hexanoic acid. Using a combination of genome 19 editing (CRISPR/Cas9), electrophysiological recordings, calcium imaging and behavioral analyses we 20 demonstrate that the ionotropic co-receptor IR8a is essential for acid-mediated frass avoidance in 21 ovipositing hawkmoths. 22 (Nicotiana attenuata) and jimson weed (Datura wrightii). It was reported that a single M. sexta caterpillar 57 consumes 1-10 tobacco plants until pupation 31 , resulting in complete defoliation of the plants and 58 accumulation of frass under the plant (Fig. 1 a). Therefore, it is crucial for female M. sexta to find a suitable 59 host plant that is not already occupied by a conspecific larva. 60Volatiles emitted from larval frass have been shown to act as kairomones and attract parasitoids and 61predators [32][33][34][35] . The smell of larval frass, therefore, not only indicates the occupancy of the host plant, and 62 the resulting potential for intra-specific competition, but also an increased susceptibility to parasitization 63 and predation. Hence, female moths should avoid sites that are already occupied by conspecific larvae and 64 could do so by e.g. detecting chemical cues emanating from larval frass. In several insect species, female 65 oviposition has been found to be deterred by conspecific larval frass 36 . Thus, larval frass alone is sufficient 66