We describe here a method for computer-assisted fingerprinting of Pseudomonas aeruginosa. In this method, DNA is digested with SalI, and bands with molecular sizes of >/=9.7 kb are visually scored after electrophoresis on agarose gels. Pattern scores are entered into a Microsoft Excel database. In scoring, the number of bands within each of a set of molecular size ranges is scored, rather than the absolute molecular size of each band, substantially enhancing the speed and reproducibility of the method, while eliminating the need for using expensive gel scanning equipment and software. Pattern scores are used to generate matrices of genetic distance values, which can be visualized in neighbor-joining trees. The method reliably distinguishes two epidemiologically unrelated isolates in 99.3% of all comparisons. The genetic relationships between isolates observed with the method were consistent with those obtained by analysis of two P. aeruginosa genes, indicating that it provides valid estimates of genetic divergence between isolates. Using the method, respiratory tract isolates from cystic fibrosis patients in Green Lane Hospital in Auckland, New Zealand, were shown to be genetically less diverse than epidemiologically unrelated isolates from other patients. This finding was not due to the existence of clusters of related strains specialized toward colonization of the respiratory tract and thus was indicative of transmission between patients. Analysis of multiple isolates from individual cystic fibrosis patients suggested that up to five separate clusters of genetically related strains may simultaneously be present in a patient. The method described should significantly enhance our ability to investigate the epidemiology of P. aeruginosa.