Tenvermectin B (TVM‐B) and five TVM‐B analogs were produced by fermentation of a genetically engineered strain Streptomyces avermitilis HU02, and TVM‐B is being developed as a new insecticide. Through 11 generations of resistance selection against TVM‐B in the diamondback moth, Plutella xylostella, the median lethal concentration (LC50) was increased from 14.84 to 1213.73 mg L−1. The resistance to TVM‐B in P. xylostella developed fast and its realized heritability was high (h2 = 0.2901 (F7), h2 = 0.4070 (F11)). However, the relative fitness was 0.6916 suggesting a fitness cost in the resistant strains. The fitness cost was partially explained by the upregulation of the detoxification enzyme activity by 2.15 folds in carboxylate esterase (CarE) and the gene expressions of ATP‐binding cassette transporter gene (ABCC2) and the alpha subunit of the glutamate‐gated chloride channel (GluCl) by 1.70‐ and 2.32 folds, respectively. The resistance was also explained by two points of mutations at the alpha subunit of the glutamate‐gated chloride channel in the P. xylostella (PxGluClα) subunit in F11. However, there was little change in the binding affinity. These results provided helpful information for the mechanism study of TVM‐B resistance and will be conducive to designing rational resistance management strategies in P. xylostella.