Indigo and indirubin are the major indole alkaloids in Baphicacanthus cusia,which have the dual value attributes of pharmacodynamic substances and natural pigments,and have high economic and so-cial benefits.The AP2/ERF family genes can regulate the synthesis of secondary metabolites at the tran-scriptional level.In this study,205 AP2/ERF transcription factors were identified from the genome of B.cu-sia using bioinformatics,which were unevenly distributed on 16 chromosomes.The members were subdivided into 28 AP2s,103 ERFs,65 DREBs,7 RAVs and 2 Soloist subfamilies by domain characteriza-tion and phylogenetic analysis.Conserved motif and gene structure analysis showed that Motif 1,2,4,and 5 were widely distributed in B.cusia AP2/ERF,some subfamilies had their own specific Motif,and the in-tron/exon structure of each group was consistent.Interspecies collinearity analysis found that 49.8%of the B.cusia AP2/ERFs had homologous gene pairs in Arabidopsis thaliana.The differentially expressed genes in tissues in response to methyl jasmonate induction were screened in combination with the tran-scriptome,which provided a reference for further research of the role of AP2/ERF in the regulation of syn-thesis of indole alkaloids.