🧽
Fish10 min read

Aquarium Filtration: How It Actually Works and How to Maintain It

What a filter actually removes, why the biological half matters most, the turnover math worked for real tank sizes, and the one maintenance mistake that wipes out the bacteria you built.

On This Page
A hang-on-back aquarium filter opened to show its layered mechanical sponge, ceramic biological media, and activated carbon chemical media

Aquarium Filtration: How It Actually Works and How to Maintain It

Affiliate Disclosure
This post contains affiliate links. We may earn a commission from qualifying purchases at no extra cost to you.

A filter's job looks simple from the outside: water goes in dirty, comes out clear. What's actually happening is closer to a small wastewater treatment plant sitting in a box on the back of your tank, and the part doing the real work isn't the part most new owners notice. The pad that visibly catches gunk is the least important piece long-term. The bacteria living quietly on and inside the media, invisible, unglamorous, and easy to accidentally kill during a routine cleaning, are the reason a tank doesn't slowly poison the animals in it. This guide covers the equipment itself: what a filter's three media types actually do, how much flow a given tank needs, why the number on the box overstates what you'll really get, which filter type suits which setup, and the single maintenance habit that protects the colony you spent weeks growing. For the biology of that colony and how to grow it in the first place, our aquarium cycling guide covers the nitrogen cycle in full; this article assumes a cycled tank and focuses on the hardware and its upkeep.

What a Filter Is Actually Doing

Every home aquarium filter runs water through some combination of three distinct jobs, and according to the Merck Veterinary Manual's overview of aquatic life support systems, they're meant to happen in a specific order for a reason. Mechanical filtration comes first, catching uneaten food, waste, and debris before that debris ever reaches the biological stage. Biological filtration comes next, hosting the nitrifying bacteria that convert ammonia and nitrite into far less toxic nitrate. Chemical filtration, most commonly activated carbon, polishes the water further, pulling out dissolved toxins, discoloration, and odor.

That ordering isn't arbitrary. Merck's guidance is explicit that large particles reaching a biological filter can clog it, creating channeling and anoxic, low-oxygen pockets that compromise the whole unit, which is exactly why mechanical media sits upstream of biological media in every properly designed filter. Of the three, the biological stage is the one that actually keeps fish alive day to day. Mechanical and chemical media can both be skipped entirely in a pinch, plenty of sponge-filter setups run with no chemical media at all, but a tank with no functioning biological filtration is a tank quietly building up ammonia no matter how clear the water looks.

The Three Media Types and What Each Removes

Media TypeWhat It RemovesHow Often to Disturb It
Mechanical (floss, foam, sponge)Uneaten food, waste particles, visible debrisRinse freely, even weekly, it holds no colony worth protecting
Biological (ceramic rings, bio-balls, sponge)Ammonia and nitrite, via the nitrifying bacteria living on its surfaceBarely ever. Rinse gently in old tank water only, and never all at once
Chemical (activated carbon, resin)Dissolved toxins, discoloration, odor, and residual chlorine/chloramine from tap waterReplace on a schedule, it's consumable and exhausts itself, not something to "clean"

Notice that the maintenance instinct runs backward from what feels intuitive. The pad that looks the dirtiest, the mechanical stage, is the one you're free to hose down aggressively. The media that looks cleanest and least interesting, a handful of ceramic rings or a chunk of sponge, is the one that needs the gentlest possible handling, because it's not catching debris so much as hosting a living population you can't see.

The Turnover Math, Worked for Real Tanks

"Turnover" is how many times per hour a filter can push a tank's entire water volume through its media. It's the number that actually determines whether a filter is doing enough, more than the tank size printed on its box. There's no single governing body publishing one universal target, but the figure that shows up consistently across filter sizing charts and tank setup guidance is a multiple of the tank's own volume: something like 4 times an hour for a lightly stocked or heavily planted tank, 6 to 8 times for a typical stocked community, and 10 times or more for a heavily stocked or messy tank, an oscar or a goldfish setup being the standard example.

Turning that into a shopping number is just multiplication, and it's worth doing the arithmetic yourself rather than trusting a filter's tank-size label:

Tank SizeLight Stocking (~4x/hr)Community (~6-8x/hr)Heavy/Messy (~10x/hr)
10 gallons40 gph60-80 gph100 gph
20 gallons80 gph120-160 gph200 gph
40 gallons160 gph240-320 gph400 gph
75 gallons300 gph450-600 gph750 gph

That's tank volume multiplied by your target turnover, nothing more. A 40-gallon community tank at the middle of that range needs a filter rated somewhere around 240 to 320 gph, not a filter merely labeled "up to 40 gallons," since that label and the actual gph behind it can vary a lot between brands. For a goldfish tank specifically, where the bioload runs well above most other freshwater fish of the same size, our goldfish tank setup guide is worth reading alongside this math, since stocking density is what pushes a tank from the community column into the heavy column.

Why the Box Number Overstates Reality

Here's the part that math above doesn't fully capture: the gph rating printed on a filter's packaging is a best-case number, measured by the manufacturer in clean water, with no media loaded into the filter and no vertical height for the pump to push water against. Your actual filter is never running under those conditions. Media, especially as it accumulates debris between cleanings, restricts flow. A hang-on-back filter lifting water up out of the tank, or a canister sitting on the floor pushing water up to a stand-mounted tank, is fighting gravity the whole time it runs, and every foot of that lift costs real flow. The upshot is straightforward even without pinning down an exact percentage: buy toward the higher end of your calculated range, not the lower end, and treat the number on the box as a ceiling you'll rarely actually reach rather than a guaranteed floor.

Filter Types: What Each One Actually Suits

Filter TypeBest ForTradeoff
Hang-on-back (HOB)Standard community tanks, easiest to maintainLimited media capacity versus a canister
CanisterLarge or heavily stocked tanks needing serious turnoverMost expensive, most involved to open and clean
SpongeFry, shrimp, bettas, and axolotls, gentle low-flow intakeLimited chemical filtration, needs a separate air pump
InternalSmall or nano tanks with no room for a hang-on unitTakes up interior tank space fish have to swim around
UndergravelLargely legacy nowMakes substrate cleaning and rescaping far harder; mostly superseded

The sponge filter deserves a specific mention here because it's the standard recommendation for axolotls, whose feathery gills are easily damaged by strong current, and it's also the gentlest option for a fry or shrimp tank where a stronger intake would pull small animals straight into the impeller. Our axolotl tank setup guide covers why that gentle flow matters for that species specifically. On the other end, a larger canister filter earns its higher price and more involved cleaning routine specifically on large or heavily stocked tanks, where raw media volume and turnover capacity matter more than convenience.

Fun Fact

Undergravel filters work by pulling water down through the substrate itself, turning the entire gravel bed into biological media. That sounds efficient, and for decades it was the default recommendation, but it also means every piece of debris that settles gets pulled down into the substrate rather than staying accessible at the surface, which is most of why the hobby has largely moved on from it.

The One Maintenance Rule That Actually Matters

If you take away a single habit from this article, make it this one: rinse biological media in water removed from the tank during a water change, never under the tap. The reason isn't superstition. Municipal tap water carries chlorine or chloramine specifically because water utilities add those compounds to kill bacteria and pathogens before the water reaches your home, and biological filter media is, by design, covered in a living bacterial colony. NC State's Southern Regional Aquaculture Center publication on starting a biofilter states plainly that system water needs to be free of residual chlorine before nitrifying bacteria are even introduced, and describes how a deliberate chlorine-based disinfection pass on a recirculating system kills the nitrifying bacteria in the biofilter right alongside whatever pathogens it was aimed at, requiring the whole colony to be started over. A few seconds of tap water on a sponge you're about to put back in a running tank is a smaller-scale version of exactly that same mechanism.

Key Takeaway

Every other cleaning step in fishkeeping is forgiving. This one isn't. Fill a bucket with water siphoned out during your regular water change, swish the biological media in that, and put it straight back. It costs nothing extra and it's the difference between a filter that keeps working and one that quietly stops.

The same logic extends to medicating a tank. Merck's guidance on managing aquarium fish notes that antimicrobial treatments tend to kill the nitrifying bacteria in a biofilter along with their intended target, and it is firmer still about copper: copper "will adversely impact the nitrifying bacteria in biofilters, and a transient increase in ammonia and nitrite should be expected for weeks to months after treatment." Weeks to months is the part worth planning around. Any time you're treating a tank for illness, expect the filter's biological capacity to take a real hit alongside the fish getting the medication, and keep testing ammonia and nitrite long after the course itself has finished.

Never Replace All Your Media at Once

The same bacteria-protection logic applies to routine media replacement, not just cleaning. NC State's SRAC guidance describes nitrifying bacteria growing on every wet surface of a filter system, following what it calls a continual cycle of growing, multiplying, maturing, dying, and sloughing off the media to be replaced by new cells, a cycle that depends on there being established media around for new cells to join. Swap out every piece of biological media in one pass, whether that's a full cartridge or an entire basket of ceramic rings, and you've removed the surface area that colony was actually living on, forcing a partial recycle right when you thought you were doing routine upkeep. Replace biological media in portions instead, staggered weeks apart, so the bacteria on the untouched media keep the colony running while new media gets colonized alongside it. Mechanical and chemical media don't carry this restriction; a carbon cartridge is consumable by design and gets swapped on its own schedule without any of this caution.

What Happens When a Filter Stops

The nitrifying bacteria that run your biological filtration need continuous, oxygenated flow to survive, not because they're fragile in some abstract sense, but because nitrification itself is an oxygen-consuming process. SRAC's recirculating systems management guidance puts a real number on that dependency: nitrifying bacteria become inefficient once dissolved oxygen in the biofilter drops below roughly 2 ppm, and the same publication is blunt about the broader pattern, stating flatly that biological filters do not take rapid change well. A brief pause while you're cleaning the filter itself is normal and harmless. A longer stoppage, a power outage or a filter left unplugged overnight, is a different situation with its own restart procedure, since simply flipping a long-dead filter back on can push a slug of stagnant, oxygen-poor water and dead bacteria straight into the tank. That scenario, along with the actual steps for checking and safely restarting a filter that's been off for hours, is covered in full in our aquarium power outage and transport guide, so it isn't duplicated here.

The Real Takeaway

A filter's mechanical stage is the part you see and the part that's genuinely forgiving to clean hard and often. Its biological stage is the part you can't see and the part that actually keeps the water safe, built from a bacterial colony that lives on the media itself and needs oxygen, stability, and protection from chlorine to keep doing its job. Size your filter using real turnover math rather than the tank-size label on the box, buy toward the higher end of that range since the printed gph number is a best case you'll rarely hit, and treat every cleaning and every media swap as an opportunity to either protect that colony or accidentally wipe it out. Get the turnover right and handle the biological media gently, and everything else about running a healthy tank gets noticeably easier. For target water parameters once your filtration is doing its job, our betta fish water parameters guide is a useful reference across most freshwater species, not just bettas.

Printable Guide

Want this as a printable reference? The Goldfish Care Package turns this guide into a 21-page PDF you can keep by the enclosure, $8.99.


Sources & Further Reading

❓ Frequently Asked Questions

How do I know if my filter has enough flow for my tank?

Check the gallons-per-hour (gph) rating printed on the box against your actual tank volume, then discount it, since manufacturers test that number in clean water with no media loaded and no height for the pump to lift against, conditions your tank never matches. As a practical target, aim for a filter rated well above your tank's raw volume, more for a heavily stocked or messy tank like a goldfish setup, less for a lightly stocked, heavily planted one, and expect the real, in-tank number to land noticeably lower than the box promises.

What's the actual difference between mechanical, biological, and chemical filtration?

Mechanical media, floss or a sponge, physically traps uneaten food and waste particles before they can clog anything downstream. Biological media, porous ceramic, sponge, or bio-balls, is just a surface for nitrifying bacteria to live on, and per the Merck Veterinary Manual, mechanical filtration is placed first specifically so large particles don't clog the biological stage and create the low-oxygen dead zones that stop those bacteria working. Chemical media, usually activated carbon, adsorbs dissolved toxins, discoloration, and odor, including residual chlorine or chloramine from tap water.

Why shouldn't I rinse my filter media under the tap?

Tap water in most municipal systems carries chlorine or chloramine specifically because those compounds are added to kill bacteria, and your biological media is covered in the nitrifying bacteria colony a cycled tank depends on. NC State's Southern Regional Aquaculture Center guidance on starting a biofilter is direct about the mechanism: system water has to be free of residual chlorine before bacteria are introduced, and a chlorine-based disinfection pass on an aquaculture system kills the nitrifying bacteria right along with the pathogens it targets. Rinse biological media in a bucket of water pulled from the tank during a water change instead.

Which filter type is best: hang-on-back, canister, sponge, internal, or undergravel?

There isn't one best type, each suits a different setup. Hang-on-back filters are the easiest to maintain for a standard community tank. Canister filters hold the most media and flow for large or heavily stocked tanks. Sponge filters are gentle enough for fry, shrimp, and bettas and are the standard choice for axolotls. Internal filters suit small or nano tanks with limited stand space. Undergravel filters are largely a legacy option now, mostly replaced by the other four.

Is it ever okay to replace all my filter media at once?

No, not for biological media. NC State's SRAC guidance describes nitrifying bacteria living on every wet surface of a filter in a continual cycle of growing, aging, and sloughing off to make room for new cells, which is exactly why swapping every piece of biological media out in one go removes the colony's home in a single move. Replace biological media in stages, a portion at a time, weeks apart, and let the untouched media keep sustaining the colony while new media gets colonized.

What happens to the bacteria if my filter loses power or stops running?

The colony needs continuous oxygenated flow to function, and the Southern Regional Aquaculture Center's own recirculating systems guidance is blunt that nitrifying bacteria become inefficient once dissolved oxygen drops below about 2 ppm and that biological filters simply do not take rapid change well. A short stop during routine cleaning is fine. A longer outage is a different problem with its own restart steps, covered in our [aquarium power outage and transport guide](/blog/aquarium-power-outage-and-transport-guide/).

🛒 Recommended Gear

As an Amazon Associate, we earn from qualifying purchases through the links above - at no extra cost to you.

Dex, a bearded dragon, lying in long grass with his mouth open in the sun

Written by Michael Ryan

Mike keeps two rescued bearded dragons, Dex and Cera, and writes the care guides on BeastlyFacts from his own research and mistakes. He is not a veterinarian.

More about Michael Ryan →

Comments

No comments yet - be the first!

Leave a comment

Comments are moderated before appearing.

Loading...