The invention discloses a sex pheromone analogue for preventing and controlling lobesia botrana, and application of the sex pheromone analogue. The general formula of the sex pheromone analogue is ROCOCnHaXb. In the general formula, R is one of (E, Z)-7, 9-dodecadienyl and (Z)-9-dodecenyl, X is a halogen atom, n, a and b belong to N*, a+b=2n+1, a is more than or equal to 0 and less than or equal to 2n, and b is more than 0 and less than or equal to 2n+1. The sex attractant for the lobesia botrana can be applied to pest quarantine, insect pest situation monitoring, large-scale trapping and mating interference of the lobesia botrana, thus having a great significance for the comprehensive management of the lobesia botrana. The sex attractant analogue for the lobesia botrana is simple to prepare, diverse in dosage forms, simple to use, strong in trapping ability and good in stability; furthermore, the sex attractant analogue is single in action object, non-resistant, environmentally-friendly, non-toxic to human and animals, high in stress resistance, not afraid of wind, sun and rain, and long in effect lasting period; the prevention and control effect can be maintained for 30 days or more.