Bacteria form communities known as biofilms, which disassemble over time. In our studies outlined here, we found that, before biofilm disassembly, Bacillus subtilis produced a factor that prevented biofilm formation and could break down existing biofilms. The factor was shown to be a mixture of D-leucine, D-methionine, D-tyrosine, and D-tryptophan that could act at nanomolar concentrations. D-amino acid treatment caused the release of amyloid fibers that linked cells in the biofilm together. Mutants able to form biofilms in the presence of D-amino acids contained alterations in a protein (YqxM) required for the formation and anchoring of the fibers to the cell. D-amino acids also prevented biofilm formation by Staphylococcus aureus and Pseudomonas aeruginosa. D-amino acids are produced by many bacteria and, thus, may be a widespread signal for biofilm disassembly.