The invention discloses a gingerflower sesquiterpene synthase gene HcTPS14 and its application. The full-length cDNA sequence of the HcTPS14 gene is shown in SEQ ID NO:1; the coding sequence is shown in SEQ ID NO:2; the encoded amino acid sequence is shown in SEQ ID NO:3. The HcTPS14 gene is expressed to a certain extent in leaf tissue and rhizome, but hardly expressed in flower organs, and its expression level is regulated by leaf development. The exogenous recombinant protein of HcTPS14, after catalyzing the substrate, can generate α-caryophyllene, a medicinal ingredient of sesquiterpene, which can be used to prepare α-caryophyllene and further prepare essential oils, essences and drugs; connect HcTPS14 to the plant transformation vector, and then introduce In Ginger Flower or other plant cells, transgenic plants expressing the gene can be obtained; specific molecular markers can also be produced according to the gene sequence information of the present invention, for identifying the sesquiterpene α-Caryophyllum of Ginger Flower or other plants The alkene synthase gene is used for molecular marker-assisted selection breeding, thereby improving the selection efficiency of breeding, and has great application prospects.