Myocyte enhancer transcription factor 2D (MEF2D) is an important transcription factor for promoting the growth and development of muscle. CAG repeats have been found in the coding sequence (CDS) of avian MEF2D; however, their functions remain unknown and require further investigation. Here, we examined the characteristics and functional role of MEF2D CAG repeat in duck. The full-length CDS of duck MEF2D was cloned for the first time, and a novel CAG repeat was identified and located in exon 9. Sequence analysis indicated that the protein domains of duck MEF2D are highly conserved relative to other vertebrates, whereas MEF2D CAG repeats with variable repeat numbers are specific to avian species. Furthermore, sequencing has revealed polymorphisms in MEF2D CAG repeat at both DNA and mRNA levels. Four MEF2D CAG repeat genotypes and 10 MEF2D cDNA variants with different CAG repeat numbers were detected in two duck populations. A t-test showed that the expanded CAG repeat generated significantly longer transcription products (p < 0.05). Association analysis demonstrated positive correlations between the expansion of the CAG repeat and five muscle-related traits. By using protein structure prediction, we suggested that the polymorphisms of the CAG repeat affect protein structures within protein domains. Taken together, these findings reveal that duck MEF2D CAG repeat is a potential functional element with polymorphisms and may cause differences in MEF2D function between duck and other vertebrate species.