Bacteriocins are an abundant class of antimicrobial molecules that appear to mediate population dynamics within species. The bacteriocins of Escherichia coli have served as a model for exploring the ecological role of these potent toxins. Studies suggest that colicins provide a competitive edge in nutrient-poor environments and that there might be a trade-off between the costs and benefits of colicin production.