A PCR assay for simultaneous species identification and separation of Actinobacillus pleuropneumoniae serovars 1, 7 and 12 was developed. Primers specific for genes involved in biosynthesis of the capsular polysaccharides (cps genes) of serovars 1, 7,and 12 were combined with a species-specific PCR test based on the omlA gene. The PCR test was evaluated with the serovar reference strains of A. pleuropneumoniae as well as 183 Danish field isolates. For all typable strains, a complete correspondence was found between results obtained with the multiplex PCR test and results from the traditional serotyping methods. Among eight serologically cross-reacting strains designated K1:O7, seven isolates produced amplicons of similar sizes as serovar 1 and one isolate produced amplicons of similar sizes as serovar 7. The species specificity of the assay was evaluated using a collection of 126 strains representing 25 different species within the family Pasteurellaceae including 45 field strains of the phylogenetically affiliated species Actinobacillus lignieresii. All these isolates tested negative for the cps genes by the multiplex PCR test except for 6 isolates of A. lignieresii. Five of these isolates produced an amplicon identical to the cps gene of serovar 7, whereas one isolate produced an amplicon identical to the cps gene of serovar 1. In addition, four isolates of Actinobacillus genomospecies 1 tested positive for the omlA gene but negative for the cps genes. The test represents a convenient and specific method for serotyping A. pleuropneumoniae in diagnostic laboratories.