Dientamoeba fragilis is a trichomonad parasite that causes human gastrointestinal disease. Currently microscopy is considered to be the gold standard for diagnosis of D. fragilis infection. However, this method is time-consuming and relatively insensitive. A PCR assay based on the small-subunit ribosomal RNA gene of D. fragilis for the specific detection of D. fragilis DNA in fresh unpreserved stool samples was developed. The D. fragilis PCR was positive in 29/31 samples with positive microscopy and did not cross-react with other protozoan parasites. The PCR protocol showed a specificity of 100% and a sensitivity of 93.5% and the entire procedure can be performed in one day.