Bactrocera dorsalis is a devastating pest on fruits and vegetables because the adult female is the key factor that determines the population density of offspring and the degree of host damage. Unfortunately, there is still a lack of effective female attractants for behavioral control. Males of B. dorsalis fed on methyl eugenol (ME) were shown to be more sexually attracted to females and, therefore, were more successful in mating over ME-deprived males. In the current study, we demonstrated that (E)-coniferyl alcohol (E-CF), one of the ME metabolites in males, was highly attractive to sexually-mature females in laboratory bioassays. During the dusk courtship period, mature females showed the highest response to E-CF. However, there were no significant differences in olfactory responses to E-CF between virgin and mated mature females. Moreover, no obvious signs and symptoms of toxicity or death were observed in mice during a 14-day acute oral toxicity test. Toxicologically, no significant changes were observed in body weight, water intake, food consumption and absolute and relative organ weights between control and treated groups of healthy-looking mice, implying that E-CF could be regarded as non-toxic. Furthermore, cytotoxicity assessment revealed that E-CF was non-toxic against human fetal lung fibroblast 1 (HFL1), human breast cancer (MDA-MB-231), mouse embryonic hepatocytes (BNL-CL.2) and Spodoptera frugiperda ovary (SF-9) cell lines. E-CF proved to be an effective, promising and eco-friendly lure to B. dorsalis females. Therefore, this study may facilitate the development of novel control strategies against B. dorsalis in the field.