We fingerprinted a collection of 627 Burkholderia cepacia isolates from 255 patients with cystic fibrosis (CF) and 43 patients without CF and from the environment, by a PCR-based randomly amplified polymorphic DNA (RAPD) method with primers selected for their ability to produce discriminatory polymorphisms. The RAPD typing method was found to be reproducible and discriminatory, more sensitive than PCR ribotyping, and able to group epidemiologically related B. cepacia strains previously typed by both pulsed-field gel electrophoresis and conventional ribotyping. Seven strain types infecting multiple CF patients were found at several different CF treatment centers in Canada, the United States, the United Kingdom, France, and Australia, indicating the presence of epidemic strain types. Most CF patients were each colonized with a single strain type, and several patients harbored the same strain type for 5 or more years. B. cepacia isolates recovered from other clinical sources (44 isolates examined) and from the environment (58 isolates examined) possessed RAPD fingerprints that were generally distinct from CF-associated strain types (525 isolates examined). RAPD is a versatile fingerprinting method for studying the epidemiology of B. cepacia.