Provided are herbicide resistance protein, and encoding genes and an application thereof. The herbicide resistance protein comprises: protein (a) composed of an amino acid sequence shown in SEQ ID NO:2, or protein (b) derived by (a) through replacement and/or deficiency and/or addition of one or more amino acid of the amino acid sequence in (a) and provided with herbicide resistance activity. The herbicide resistance protein has particularly good resistance to phenoxy auxin herbicide.