Quantification of microorganisms is an important part of the normal diagnostic work of a clinical microbiology laboratory. Traditionally the diagnosis of pertussis is subject to a yes or no approach with no quantitative dimension. This can, however, be of interest as a factor when judging the risk of a patient spreading the bacterium and as a research tool. The aim of the present study was to develop a PCR-based quantitative assay for Bordetella pertussis DNA in clinical nasopharyngeal aspirates by combining a quantitative PCR with a colorimetric detection principle, DIANA (detection of immobilised amplified nucleic acid). A competitor to the PCR target sequence in IS-481, containing a lac-operator, was constructed and calibrated, and a test protocol prepared. A total of 46 clinical nasopharyngeal aspirates, previously diagnosed using a standard nested PCR assay and quantified by culture, were analysed by the quantitative PCR. The method showed acceptable precision and accuracy considering that it estimates the total number of bacterial genomes while culture detects viable bacteria. Recognised advantages were the simple colorimetric detection, the inborn indication of a working PCR assay, and the possibility of obtaining results even when partial inhibition of the PCR assay was seen. In addition, the quantitative PCR result can be obtained within one day compared to 3-10 days for culture. The present results and the qualities of the quantitative PCR suggest that this assay will be a useful complement in routine diagnostics and in research.