Lepidoptera suffer critical lack of genetic tools and heritable genome edition has been achieved only in a few model species. Here we demonstrate that the CRISPR/Cas9 system is highly efficient for genome editing in a non-model crop pest Lepidoptera, the noctuid moth Spodoptera littoralis. We knocked-out the olfactory receptor co-receptor Orco gene to investigate its function in Lepidoptera olfaction. We find that 89.6% of the injected individuals carried Orco mutations, 70% of which transmitted them to the next generation. CRISPR/Cas9-mediated Orco knockout caused defects in plant odor and sex pheromone olfactory detection in homozygous individuals. Our work genetically defines Orco as an essential OR partner for both host and mate detection in Lepidoptera, and demonstrates that CRISPR/Cas9 is a simple and highly efficient genome editing technique in noctuid pests opening new routes for gene function analysis and the development of novel pest control strategies.