Dental plaque and the viscous brown slime in drainpipes are two familiar examples of bacterial biofilms. Removing such bacterial depositions from surfaces is often very difficult, in part because they are extremely water-repellent. Scientists have now been able to show how such biofilms adapt their surface texture to repel water — similar to leaves.