The oriental fruit fly,Bactrocera dorsalis (Hendel), is a notorious pest of fruit crops, causing severe damage to fleshy fruits during oviposition and larval feeding. Gravid females locate suitable oviposition sites by detecting the host volatiles. Here, the oviposition preference of antenna-removed females and the electrophysiological response of ovipositors to benzothiazole indicated that both antennae and ovipositors are involved in perceiving benzothiazole. Subsequently, odorant receptors (ORs) expressed in both antennae and ovipositors were screened, and BdorOR43a-1 was further identified to respond to benzothiazole using voltage-clamp recording. Furthermore, BdorOR43a-1-/- mutants were obtained using the CRISPR/Cas9 system and their oviposition preference to benzothiazole was found to be significantly altered compared to WT females, suggesting that BdorOR43a-1 is one of the important ORs for benzothiazole perception. Our results not only demonstrate the important role of antennae and ovipositors in benzothiazole-induced oviposition but also elucidate on the OR responsible for benzothiazole perception in B. dorsalis.