A discriminatory real time PCR for the detection of Taylorella equigenitalis, the causative agent of contagious equine metritis (CEM), and the related species T. asinigenitalis was developed for the direct examination of genital swabs. The 112bp amplicons produced from the two species were discriminated from each other using TaqMan probes labelled with different fluorophores. The TaqMan PCR was shown to be specific for the 16S ribosomal DNA of the two species of taylorella and did not cross-hybridise with the 16S ribosomal DNA of other bacteria tested. Direct amplification from genital swabs was shown to be equally sensitive to that of culture methods. Prevalence in a sample set from The Netherlands was shown to be equivalent to that demonstrated by culture. A companion real time PCR that amplified a fragment of the 16S rDNA gene of equine commensal bacteria was developed to ensure bacterial DNA was extracted from swab material supplied for testing. The use of a rapid and reliable real time PCR for the organism causing CEM should aid the control of this disease.