[Background] Porcine circovirus can cause postweaning multisystemic wasting syndrome. [Objective] To understand the epidemiology and genetic variation of porcine circovirus 2 (PCV2) in Anhui province. [Methods] Total 31 tissue samples of pig suspected suffering PMWS were collected. PCR was employed to identify PCV2 and its genome. genetic evolution of the PCV2 virus strains were analyzed by DNAStar and other bioinformatics software. [Results] Nucleotide comparability of identified 8 strains with the strains published on GenBank was 92.8%?99.0%. The comparability of ORF2 and its derived amino acid sequences was 85.8%?99.6% and 82.5%?100%, respectively. The results of genetic evolution showed that there were one strain of PCV2a, two strains of PCV2b and five strains of PCV2d among the eight strains. Moreover, there were no genotypes of PCV2c, PCV2e and PCV2f. In addition, through the analysis of amino acid sequence, unique site was found on Cap protein with each genotype. [Conclusion] PCV2 infection in pigs was common in Anhui province. PCV2d was the dominant genotype. This study provides a basis for PCV2 prevention and control in Anhui province.