The Varroa destructor mite is a devastating parasite of Apis mellifera honeybees. They can cause colonies to collapse by spreading viruses and feeding on the fat reserves of adults and larvae. Amitraz is used to control mites due to its low toxicity to bees; however, the mechanism of bee resistance to amitraz remains unknown. In this study, we found that amitraz and its major metabolite potently activated all four mite octopamine receptors. Behavioral assays using Drosophila null mutants of octopamine receptors identified one receptor subtype Octβ2R as the sole target of amitraz in vivo. We found that thermogenetic activation of octβ2R-expressing neurons mimics amitraz poisoning symptoms in target pests. We next confirmed that the mite Octβ2R was more sensitive to amitraz and its metabolite than the bee Octβ2R in pharmacological assays and transgenic flies. Furthermore, replacement of three bee-specific residues with the counterparts in the mite receptor increased amitraz sensitivity of the bee Octβ2R, indicating that the relative insensitivity of their receptor is the major mechanism for honeybees to resist amitraz. The present findings have important implications for resistance management and the design of safer insecticides that selectively target pests while maintaining low toxicity to non-target pollinators.