Biofilm is both good and bad, and the answer depends entirely on where it forms, which microbes build it, and what it interacts with. The same basic structure that shields disease-causing bacteria from antibiotics in a wound also protects the lining of your gut, cleans polluted water, and feeds entire freshwater food webs. Biofilms are among the oldest and most successful forms of life on Earth, with fossil evidence stretching back roughly 3.5 billion years. Understanding why they help in some contexts and harm in others turns on a few key biological features that make biofilms fundamentally different from free-floating bacteria.
What Holds a Biofilm Together
A biofilm is not just a clump of bacteria stuck to a surface. It is a structured community embedded in a self-produced matrix made mostly of water and a mixture of sugars, proteins, and DNA collectively called extracellular polymeric substances, or EPS.1PubMed Central. Extracellular polymeric substances, a key element in understanding biofilm phenotype That gooey scaffold is the reason biofilms behave so differently from individual bacteria drifting in liquid. The matrix acts as a physical barrier, a nutrient reservoir, and a communication highway. Bacteria inside it share resources, exchange genetic material, and coordinate group behaviors through chemical signaling systems. When population density reaches a certain threshold, those signals can trigger the biofilm to mature or, eventually, to break apart so cells can colonize new surfaces.2Current Opinion in Microbiology. Biofilm dispersion and quorum sensing This cycle of formation, maturation, and dispersal is what makes biofilms so adaptable, and so difficult to deal with when they show up in the wrong place.
Why Biofilms Are a Medical Nightmare
In hospitals, biofilms are responsible for some of the most stubborn and dangerous infections. They form on catheters, artificial joints, heart valves, and other implanted devices, creating sheltered colonies that the immune system struggles to reach. Pathogenic bacteria capable of forming biofilms account for a large share of hospital-acquired infections, with reports indicating that both common infection-causing groups of bacteria contribute to up to 70% of such infections in intensive care patients.3PubMed Central. Medical Device-Associated Infections Caused by Biofilm-Forming Microbial Pathogens and Controlling Strategies
The reason these infections are so hard to clear goes beyond the physical barrier of the matrix. Inside a biofilm, a fraction of the bacterial population enters a dormant state. These dormant cells, sometimes called persister cells, can make up around 1% of the biofilm population, a much larger proportion than what you see among free-floating bacteria.4PubMed Central. Bacterial persister cell formation and dormancy Because most antibiotics work by disrupting active cellular processes like growth or protein production, dormant cells simply wait out the treatment. When the antibiotic course ends, those survivors wake up, multiply, and rebuild the biofilm. This cycle of treatment, apparent clearance, and relapse is a hallmark of chronic biofilm infections.5Signal Transduction and Targeted Therapy. Bacterial persisters: molecular mechanisms and therapeutic development In infections caused by common hospital pathogens, the biofilm structure limits immune cell access while persister cells survive antibiotic attack, creating a near-perfect recipe for recurrence.6PubMed. Multidrug tolerance of biofilms and persister cells
Dental Plaque and the Shift from Healthy to Harmful
Your mouth contains one of the most familiar biofilms in everyday life: dental plaque. A thin layer of oral bacteria living in biofilm is normal and, in a balanced state, part of how the mouth functions. The trouble starts when that community’s composition shifts. In experimental models of gum disease, researchers have tracked how the bacterial makeup of oral biofilms changes over time as inflammation develops. During the early stages of gum inflammation, bacterial diversity actually drops compared to baseline, suggesting that a few species begin to dominate the community. As the condition progresses toward bone loss, diversity climbs again, but the community looks very different from the original healthy one.7PubMed Central. Oral biofilm dysbiosis during experimental periodontitis
This progression illustrates a broader principle: biofilm itself is not the enemy. The same structural framework that causes disease when populated by the wrong species is harmless or even protective when its microbial balance is healthy. The clinical problem is dysbiosis, a shift in which species dominate the community, rather than the mere presence of biofilm. That distinction matters for anyone wondering whether aggressive antimicrobial mouthwashes are always a good idea. Wiping out all oral biofilm indiscriminately can remove the protective species along with the harmful ones.
Corrosion, Ships, and Drinking Water
Biofilms cost industries billions every year. One of the most damaging effects is microbiologically influenced corrosion, where bacterial communities growing on metal surfaces accelerate the breakdown of pipelines and infrastructure. Sulfate-reducing bacteria are among the most common culprits, forming biofilms inside oil and gas pipelines that create pitting corrosion and eat through metal from the inside out.8PubMed Central. The Microbiologically Influenced Corrosion and Protection of Pipelines: A Detailed Review
On ships, biofilm is the starting point for biofouling, the accumulation of organisms on submerged hulls. Even a thin microbial biofilm increases drag, which raises fuel consumption and greenhouse gas emissions. Worse, biofouling on ship surfaces facilitates the transfer of non-native species to new ecosystems, making it an environmental concern as well as an economic one.9Frontiers in Marine Science. Biofilms associated with ship submerged surfaces: implications for ship biofouling management and the environment
Drinking water systems face their own biofilm challenges. Bacteria can attach to pipe walls and form biofilms within distribution networks. Research on common waterborne bacteria shows that while these organisms readily attach and form biofilms under laboratory conditions, the biofilm did not grow when exposed to flowing drinking water alone, and regrowth was not observed in microcosms using standard polyethylene pipe materials.10PubMed Central. Survival, Biofilm Formation, and Growth Potential of Environmental and Enteric Escherichia coli Strains in Drinking Water Microcosms That finding is somewhat reassuring for well-maintained water systems, but nutrient spikes, pipe damage, or stagnant zones can tip the balance, which is why utilities monitor biofilm formation as part of water safety management.
How Biofilms Damage Trees and Crops
In agriculture and forestry, certain plant pathogens use biofilms as a colonization strategy. Biofilm formation plays a role in the colonization of xylem vessels, leaf surfaces, and dying tissues, where these communities can stabilize zones of decay and help bacteria transition from harmless decomposers to active pathogens.11PubMed Central. Biofilm as a Key Element in the Bacterial Pathogenesis of Forest Trees: A Review of Mechanisms and Ecological Implications One dramatic example involves the bacterium responsible for a devastating disease in olive trees across southern Europe. Mathematical modeling of how biofilm grows inside olive tree xylem vessels showed that infection severely reduced the water-carrying capacity of the vessels, with hydraulic flow dropping by two to three orders of magnitude.12Journal of Theoretical Biology. A mathematical model of biofilm growth and spread within plant xylem: Case study of Xylella fastidiosa in olive trees In plain terms, the biofilm physically clogs the tree’s plumbing. When a tree cannot move water, its branches wilt and die, which is exactly the pattern seen in millions of olive trees in Italy and other Mediterranean countries.
Biofilm as a Bodyguard for Your Gut and Skin
For all the damage harmful biofilms can do, your own body relies on beneficial biofilms every day. In the intestines, the surface mucus layer hosts structured microbial communities that are part of the gut barrier. This barrier selectively allows nutrients, electrolytes, and water to pass while blocking pathogens, and the biofilm within the mucus layer is one of its functional components.13Clinical Gastroenterology and Hepatology. Gut Goo: Physiology, Diet, and Therapy of Intestinal Mucus and Biofilms in Gastrointestinal Health and Disease Disruptions to these communities, whether from prolonged antibiotic use, chronic inflammation, or dietary changes, are linked to a range of gastrointestinal conditions.
The skin tells a similar story. Commensal bacteria living on your skin interact with one another and with potential pathogens through several mechanisms, including the production of antimicrobial compounds and molecules that reduce the ability of harmful bacteria to adhere to and invade tissues.14PubMed Central. Microbe Interactions within the Skin Microbiome These protective communities exist in biofilm-like structures on the skin surface. When you strip them away, through over-washing, harsh antiseptics, or broad-spectrum antibiotics applied topically, you remove a layer of defense that was actively keeping harmful organisms in check.
Protecting Plant Roots from Below
The zone of soil immediately surrounding plant roots, called the rhizosphere, is packed with bacterial biofilms that benefit the plant. Genetic resistance to most soil-borne diseases is rare among plants, so they depend heavily on their root microbiome for defense. Beneficial bacteria living in biofilm communities around the roots compete with pathogens for nutrients and produce metabolites that directly inhibit harmful organisms.15PubMed Central. Bacterial biofilms as an essential component of rhizosphere plant-microbe interactions This is a natural version of biological pest control, and it has been happening for as long as plants have had roots. Some agricultural research is now exploring how to seed soils with specific biofilm-forming strains to boost crop resistance without chemical pesticides.
Cleaning Polluted Water and Soil
One of the most practical applications of beneficial biofilms is in wastewater treatment. Moving bed biofilm reactors use plastic carriers colonized by bacterial biofilms to break down organic matter in sewage and industrial effluent. These systems can achieve remarkably efficient pollutant removal; one study of a reactor treating dairy wastewater showed that it removed about 95% of organic contaminants while cutting the treatment time in half compared to conventional processes.16ScienceDirect / Energy Reports. Moving bed biofilm reactor (MBBR) for dairy wastewater treatment Municipalities and industries around the world use biofilm-based reactors as workhorses for water cleanup.
Beyond engineered systems, biofilms play a growing role in bioremediation of contaminated environments. Their EPS matrix, cooperative metabolism, and enhanced genetic exchange give biofilm communities advantages over free-floating bacteria when it comes to breaking down pollutants. These communities have been studied for their ability to degrade heavy metals, persistent organic pollutants, oil spills, pesticides, and even emerging contaminants like pharmaceutical residues and microplastics.17PubMed Central. Biofilm-mediated bioremediation of xenobiotics and heavy metals: a comprehensive review of microbial ecology, molecular mechanisms, and emerging biotechnological applications The durability and structural complexity of biofilms make them well suited to long-term remediation projects in soil and water, where conditions fluctuate and individual bacterial cells would struggle to survive on their own.18PubMed. Applications of biofilms in bioremediation and biotransformation of persistent organic pollutants, pharmaceuticals/personal care products, and heavy metals
Biofilms That Generate Electricity
Perhaps the most surprising beneficial role for biofilms is in energy production. Microbial fuel cells use electroactive biofilms, communities of bacteria capable of transferring electrons from organic matter to an electrode, to generate electricity from wastewater. Species like Geobacter sulfurreducens and Shewanella oneidensis are among the bacteria that can perform this trick, essentially “breathing” onto a solid electrode the way other bacteria breathe oxygen.19PubMed. Electroactive biofilm communities in microbial fuel cells for the synergistic treatment of wastewater and bioelectricity generation The EPS matrix of these biofilms is not just structural scaffolding; it plays an active role in electron transfer, improving the efficiency of the system.20Letters in Applied Microbiology. Extracellular polymeric substances in electroactive biofilms play a crucial role in improving the efficiency of microbial fuel and electrolysis cells The technology is still far from replacing conventional power generation, but it represents a compelling idea: using bacteria organized in biofilm to simultaneously clean wastewater and produce energy.
The Foundation of Freshwater Food Webs
In rivers and streams, biofilms are not just present; they are foundational. The thin, slimy layer that coats rocks in a streambed, sometimes called periphyton, is a biofilm composed of algae, bacteria, fungi, and other microorganisms. In mountain streams, periphyton is the dominant primary producer, forming the base of the food web that supports invertebrates and fish at higher levels.21Hydrobiologia. Temporal patterns of stream biofilm in a mountain catchment: one-year monthly samplings across streams of the Orobic Alps (Northern Italy) Without biofilm on those rocks, the entire aquatic community above it would collapse. This is one of the clearest examples of biofilm as an unambiguously positive force in nature, quietly underpinning ecosystems that most people never think about when they hear the word “biofilm.”
Biofilm as an Engine of Bacterial Evolution
The close-packed structure of biofilms creates an environment where bacteria swap genetic material far more readily than they would while drifting alone. Antibiotic resistance genes, in particular, transfer between bacteria through horizontal gene exchange at higher rates inside biofilms than in free-floating populations.22PubMed Central. Horizontal Gene Transfer of Antibiotic Resistance Genes in Biofilms From a public health perspective, this is alarming: it means that a biofilm in a hospital drain or on a medical device is not only sheltering resistant bacteria but also spreading resistance traits to other species within the community.
On an evolutionary timescale, though, this same gene-swapping capacity has been a driver of microbial innovation for billions of years. Fossil microbial mats, essentially ancient biofilms preserved in rock as structures called stromatolites, are among the oldest known fossils on Earth, dating back roughly 3.5 billion years.23PubMed. Community living long before man: fossil and living microbial mats and early life Biofilm living is not a modern trick bacteria stumbled onto. It is arguably the original mode of microbial life, and the genetic exchange it fosters has been shaping bacterial capabilities since long before multicellular organisms existed. The cholera-causing bacterium Vibrio cholerae offers a vivid modern example of how tightly biofilm biology is woven into bacterial life cycles: at low population density it forms biofilms, and at high density its signaling systems trigger dispersal.24PLOS Biology. The intragenus and interspecies quorum-sensing autoinducers exert distinct control over Vibrio cholerae biofilm formation and dispersal Formation and dissolution are tightly controlled, not accidental.
Breaking Biofilms Apart With New Therapies
Because conventional antibiotics often fail against biofilm infections, researchers are developing strategies that target the biofilm structure itself rather than just the bacteria inside it. One approach uses enzymes that chew through the EPS matrix. DNase I, for example, degrades the extracellular DNA that helps hold many biofilms together, weakening the structure, promoting dispersal, and making the bacteria more vulnerable to antimicrobial agents.25Trends in Microbiology. Is Biofilm Good or Bad? The Harmful & Beneficial Roles The concept is appealing because it does not try to kill the bacteria directly; instead, it strips away their protective housing so that existing antibiotics or the immune system can finish the job.
Another promising avenue involves bacteriophages, the viruses that naturally prey on bacteria. Phages come equipped with enzymes that degrade EPS components, and researchers are harnessing both whole phages and their isolated enzymes as biofilm-busting tools. Phage-derived enzymes such as depolymerases and endolysins can dismantle the biofilm matrix and kill the exposed bacteria, and some of these proteins are already being developed as standalone antibacterial agents.26Current Opinion in Biotechnology. Targeting biofilms using phages and their enzymes Dispersal-triggering enzymes represent yet another strategy, essentially tricking the biofilm into thinking it is time to break up naturally.27npj Biofilms and Microbiomes. Strategy to combat biofilms: a focus on biofilm dispersal enzymes None of these approaches are widely available in clinical practice yet, but they reflect a shift in thinking: rather than trying to outgun biofilms with stronger antibiotics, the goal is to undermine the very features that make biofilms so resilient.
The challenge with all anti-biofilm therapies is precision. If beneficial biofilms in the gut, on the skin, or in environmental systems are collateral damage, the cure could create new problems. Researchers working on anti-biofilm drugs for chronic wound infections, for instance, face the same selectivity question that has dogged broad-spectrum antibiotics for decades. The most promising future strategies will likely combine biofilm-disrupting agents with narrow-spectrum antimicrobials targeted at specific pathogens, preserving the beneficial communities while dismantling the harmful ones.