A biofilter is a system that uses living microorganisms to break down pollutants. Instead of relying on chemicals or mechanical processes, it harnesses bacteria and fungi growing on a surface to convert harmful substances into harmless ones. Biofilters are used across a surprisingly wide range of settings, from industrial wastewater plants and factory exhaust systems to the small filter humming in a home fish tank.
How a Biofilter Works
Every biofilter shares the same core design: a bed of porous material (rock, plastic, sand, compost, or sponge) that gives microorganisms a surface to colonize. These microbes form a thin, sticky layer called a biofilm on the material’s surface. When contaminated water or air passes through the bed, pollutants contact the biofilm and are absorbed into it. The microorganisms then metabolize those pollutants, breaking them down into simpler, non-toxic byproducts like carbon dioxide, water, and bacterial biomass.
The process is entirely biological. No added chemicals are needed once the microbial colony is established. What makes biofilters effective is surface area: the more porous and textured the filter medium, the more space bacteria have to grow, and the more pollutant they can process at once.
The Nitrogen Cycle in Water Biofilters
In water treatment and aquaculture, the biofilter’s main job is handling nitrogen. Fish waste, decomposing food, and sewage all release ammonia, which is toxic even in small concentrations. Specialized bacteria convert ammonia through a two-step process called nitrification. First, ammonia-oxidizing bacteria transform ammonia into nitrite, which is still toxic. Then, nitrite-oxidizing bacteria convert nitrite into nitrate, a far less harmful compound that plants can absorb or that can be removed through water changes.
The key players in this process are well studied. In most aquaculture and aquarium biofilters, bacteria from the genus Nitrosomonas handle the ammonia-to-nitrite step. For the second step, Nitrospira is typically the dominant nitrite oxidizer, though Nitrobacter and a lesser-known genus called Nitrotoga also contribute, especially in cold or slightly acidic water. These organisms are chemolithoautotrophic, meaning they get their energy directly from chemical reactions rather than from consuming organic matter. They grow slowly compared to other bacteria, which is why new biofilters take time to become effective.
A properly functioning water biofilter keeps ammonia and nitrite levels near zero. The bacteria thrive in a fairly specific range: a pH between 7.0 and 8.0, water temperatures of 25 to 30°C (77 to 86°F), and plenty of dissolved oxygen. If oxygen drops too low, the system can shift toward denitrification, where bacteria start converting nitrate back into nitrogen gas under oxygen-free conditions. That’s useful in some engineered wastewater systems but problematic in an aquarium.
Biofilters for Air Pollution
Biofilters aren’t limited to water. They’re widely used to clean contaminated air from industrial operations. Paint factories, pharmaceutical plants, composting facilities, food processing operations, coffee roasters, landfills, and sewage treatment plants all produce air streams loaded with volatile organic compounds (VOCs) and odorous gases like hydrogen sulfide. An air biofilter forces this contaminated air through a bed of biologically active material, typically about one meter deep, made from compost, soil, or wood chips.
As the polluted air moves through the moist filter bed, contaminants dissolve into the wet biofilm surrounding each particle. Aerobic bacteria and fungi then break those compounds down. The end products of complete biodegradation are carbon dioxide, water, and microbial biomass. Fungi are particularly effective at handling hydrophobic (water-repelling) VOCs because they can thrive with less moisture than bacteria and can often process higher emission volumes.
The efficiency numbers are striking. Compost-based biofilters treating ammonia emissions from composting facilities have achieved removal rates above 95%, with some studies reporting 98% removal. These systems can handle a wide range of compounds, including chlorinated solvents, ketones, aldehydes, toluene, and aromatic hydrocarbons like benzene.
Common Biofilter Types
In industrial wastewater treatment, the classic biofilter design is the trickling filter. Wastewater is distributed over a bed of rock, slag, or plastic media, then trickles downward through it. Rock beds can be up to 200 feet in diameter and 3 to 8 feet deep, using stones between 1 and 4 inches across. Packed plastic versions (sometimes called bio-towers) are narrower, 20 to 40 feet in diameter, but much taller, reaching 14 to 40 feet. A rotating distributor sprays wastewater evenly across the top, and an underdrain system at the bottom collects treated water while also allowing air to reach the microorganisms. Part of the treated effluent is often recirculated back through the filter to keep the media wet and improve removal rates.
In home aquariums, biofilters take simpler forms. Sponge filters provide porous surfaces for bacterial colonization and are popular in small tanks and breeding setups. Canister filters are sealed units filled with various media like ceramic rings, lava rock, or plastic bio-balls. Hang-on-back filters and under-gravel filters also function as biofilters. Fluidized bed filters suspend lightweight media (often small plastic pieces) in a column of moving water, maximizing the surface area exposed to bacteria. Despite the marketing around different media types, they all accomplish the same thing: providing surface area for beneficial bacteria to colonize.
How Biofilms Develop
A new biofilter doesn’t work immediately. The microbial colony needs time to establish itself through a process aquarium hobbyists call “cycling.” Biofilm formation follows a predictable sequence. First, bacteria loosely attach to the filter surface, often via their flagella or cell tips. This attachment becomes permanent as the bacteria reduce their movement, begin producing a sticky matrix of proteins and sugars, and anchor themselves to the surface. Small clusters form, growing into thicker microcolonies embedded in the matrix.
In aquariums, this cycling process typically takes 4 to 8 weeks, during which ammonia and nitrite levels spike before the bacterial population grows large enough to handle the load. The timeline depends on temperature, pH, and how much ammonia is being produced. Warmer water and optimal pH speed the process. In industrial systems, startup times vary based on the scale of the operation and the type of pollutant being treated.
When Biofilters Fail
The most common biofilter failure is clogging. As the biofilm thickens over time, it begins filling the pores between filter media particles. Smaller pores fill first, and as airflow or water flow paths narrow, some regions of the filter become completely blocked. This creates “channeling,” where water or air follows only the remaining open paths and bypasses large sections of the filter bed. The portions buried under excessive biofilm lose access to oxygen and pollutants, so they stop providing treatment even though they’re still alive.
The result is a gradual decline in removal efficiency paired with increasing resistance to flow (called head loss). Eventually the system needs to be shut down for cleaning or media replacement. In industrial air biofilters, biomass accumulation is considered the primary load-limiting factor. In aquariums, signs of a struggling biofilter include rising ammonia or nitrite readings, reduced flow rate, and visible buildup on the media.
Prevention involves matching the filter design to the expected load. Overly fine media clogs faster. Periodic backwashing, where water is pushed through the filter in reverse to dislodge excess biomass, extends the life of many biofilter systems. In aquariums, rinsing filter media in tank water (not tap water, which contains chlorine that kills the bacteria) removes accumulated debris without destroying the colony. Maintaining stable pH, temperature, and oxygen levels keeps the microbial community healthy and prevents sudden population crashes that can send ammonia spiking.

