Detection of Haemophilus ducreyi in genital ulcer specimens by culture lacks sensitivity. To enhance detection, a heminested polymerase chain reaction (PCR) assay was developed targeting the nucleotide sequence of a gene, designated p27, which encodes for a 27 kDa H. ducreyi-specific protein. The p27 PCR assay detected all (37/37) H. ducreyi strains tested and gave no amplified product from DNA extracts of any of 31 other microorganisms, from 30 non-genital ulcer specimens, or from 29 urethral and vaginal swab specimens collected from non-chancroid STD patients. In genital ulcer disease specimens, compared to combined positive results obtained by culture and a previously described PCR assay, the p27 PCR assay showed a sensitivity of 91% (48/53). The p27 PCR assay provides a specific and a sensitive detection of H. ducreyi in clinical specimens.