The duck plague virus (DPV) UL7 gene was identified by constructing the DPV genomic library in our laboratory, and we analyzed the codon usage of DPV UL7 gene by emploting CAI, CHIPS and CUSP program of EMBOSS. the result showed that codon usage bias of DPV UL7 gene was strong bias towards the synonymous with A and T at the third codon position. and obvious differences of the codon usage bias in the DPV UL7 gene and the UL7-like genes of 30 other reference herpesviruses were analyzed, the phylogentic analysis revealed that DPV was evoluationarily closer to the avian alphaherpesvirinae and all of them are highly expressed genes. moreover, there is small variation in codon usage among reference herpesviruses. in addition, the codon usage bias of DPV UL7 gene was compared with those of E. coli, yeast and human. there are 26 codons showing distinct usage differences between DPV and E. coli, 18 codons between DPV and yeast, 22 codon between DPV and human. therefore, the yeast expression system is more suitable for heterologous expression of the DPV UL7 gene.