An aquarium filter removes waste and keeps water safe by pulling water through three layers of material
An aquarium filter works by drawing water from your tank through a motor-driven pump, pushing it through layers of material that trap solid waste and grow bacteria that break down harmful chemicals, then returning the cleaned water to the tank. The three stages—mechanical, biological, and chemical filtration—work together. Mechanical filtration catches visible debris like uneaten food and fish waste. Biological filtration grows beneficial bacteria that convert ammonia (from fish waste) into less toxic compounds. Chemical filtration, usually activated carbon, removes odors and discoloration.
Most home aquarium filters combine all three in one unit, though the balance between them varies by filter type. The filter runs continuously, usually 24 hours a day, because fish produce waste constantly and bacteria need a steady water supply to survive. Understanding how each stage works helps you maintain the filter correctly and keep your tank stable.
Key Takeaways
- Water enters the filter through an intake tube, gets pushed through foam, floss, or sponge to trap solid waste, then flows through media where bacteria live and break down ammonia.
- The beneficial bacteria that do the real cleaning work take two to four weeks to establish themselves, which is why new tanks need time before they can handle a full fish load.
- A filter's flow rate (measured in gallons per hour) should turn over your entire tank volume at least three to four times per hour to keep waste from building up.
- Cleaning the filter media in old tank water—not tap water—preserves the bacteria colonies that do the chemical work.
- Different filter types (hang-on-back, canister, sponge, internal) use the same three-stage principle but arrange the materials differently.
How water moves through the filter: intake, processing, and return
Water enters the filter through an intake tube that sits in the tank, usually held in place by suction cups. A motor-driven impeller (a small spinning wheel) pulls water down the tube and into the filter housing. The water then passes through the filter media in sequence—each layer does a different job—before a return tube or outlet sends the cleaned water back into the tank. The whole cycle repeats continuously, usually running 24 hours a day.
The speed at which water moves through the filter is called the flow rate, measured in gallons per hour (GPH). A filter rated for 100 GPH on a 20-gallon tank turns over the entire tank five times per hour. Most aquarium filters are sized so they turn over the tank three to four times per hour; anything slower and waste builds up faster than the filter can process it. You can find the flow rate on the filter's packaging or manual, and it should match your tank size. If flow rate drops over time, it usually means the mechanical media is clogged and needs cleaning.
Mechanical filtration: trapping solid waste
The first stage of filtration is purely physical. Water enters a layer of mechanical media—usually foam, floss, or a sponge—that acts like a net. Uneaten food, fish waste, dead plant matter, and other visible particles get trapped here. This layer does the when ready cleanup work and prevents debris from clogging the rest of the filter. Without mechanical filtration, larger particles would jam the biological media and reduce the filter's effectiveness.
Mechanical media gets dirty fastest and needs cleaning every one to two weeks, depending on how much waste your tank produces. When you clean it, rinse it gently in a bucket of old tank water (water you removed during a water change). Never rinse it under tap water, because chlorine and temperature shock will kill the bacteria living in the media. A clogged mechanical layer reduces flow rate and forces the motor to work harder, so keeping it clean extends the filter's life and maintains water quality.
Biological filtration: bacteria that break down ammonia
After mechanical filtration, water flows through biological media—usually porous material like ceramic rings, lava rock, or sponge—where beneficial bacteria live. These bacteria perform the chemical work that mechanical filtration cannot do. Fish waste contains ammonia, which is toxic to fish even in small amounts. The bacteria convert ammonia into nitrite (still toxic), and a second type of bacteria converts nitrite into nitrate (much less toxic and removed during water changes).
This process is called the nitrogen cycle, and it takes time to establish. A new filter needs two to four weeks before enough bacteria colonies grow to handle a full tank's waste load. This is why new tanks should start with only a few fish and be fed lightly for the first month. If you add too many fish too quickly, ammonia and nitrite spike and can kill your fish. You can speed up the cycle by adding bacteria starter cultures (sold at aquarium stores) or by moving some used media from an established tank into your new filter.
Biological media should be cleaned gently and infrequently—only when flow rate drops noticeably. Rinse it in old tank water only, and do not replace it unless it is physically falling apart. The bacteria colonies are what matter, not the media itself. If you replace the media too often, you will restart the nitrogen cycle and lose the biological capacity you have built up.
Chemical filtration: removing odors and discoloration
Chemical media, usually activated carbon, is the final stage. It absorbs odors, tannins (which turn water brown), and some medications. Activated carbon is porous at a microscopic level, giving it a huge surface area to trap dissolved compounds. It works well for a few weeks, then becomes saturated and stops absorbing anything new. Once saturated, it no longer removes odors or discoloration, though it does not harm the tank.
Most home aquarium filters include a small pouch or cartridge of activated carbon. You can replace it every month or two, or leave it out if your tank does not have odor or discoloration problems. Chemical filtration is optional for basic tank maintenance; mechanical and biological filtration do the essential work. If you are treating your tank with medication, remove the carbon temporarily, because it will absorb the medicine and make the treatment ineffective.
Why filter media needs old tank water, not tap water
When you clean filter media, always use water from your tank—the water you removed during a water change. Tap water contains chlorine (which kills bacteria) and is often a different temperature than your tank. Both of these will damage the bacterial colonies living in the media. You only need a bucket or two of old tank water; rinse the media gently until the water runs clearer, then put it back in the filter.
The goal is to remove trapped debris without destroying the bacteria. If you accidentally rinse media in tap water, the bacteria will regrow over a few days, but you will have temporarily reduced the filter's biological capacity. For this reason, many experienced aquarists clean only the mechanical layer frequently and leave the biological media alone unless flow rate drops dramatically. This approach keeps the bacterial colonies stable while still removing visible waste.
Different filter types use the same three stages
Hang-on-back filters (the most common for small tanks) stack all three media types in a cartridge that hangs on the tank rim. Canister filters (used for larger tanks) house the media in a sealed cylinder under or beside the tank, connected by hoses. Sponge filters (straightforward and cheap) are just a foam block with an air pump pushing bubbles through it. Internal filters sit inside the tank. Despite their different shapes, all of them pull water through mechanical, biological, and chemical media in some order.
The choice between filter types depends on tank size, budget, and how much maintenance you want to do. Hang-on-back filters are easiest to clean but hold less media. Canister filters hold more media and are quieter but cost more and take longer to clean. Sponge filters are nearly silent and very reliable but do not filter as thoroughly. All of them work on the same principle: trap debris, grow bacteria, and return clean water. The filter type you choose should match your tank size and your willingness to perform regular maintenance.
Frequently Asked Questions
How often should I replace my filter cartridge?
Replace the mechanical layer (foam or floss) every two to four weeks, or when water flow slows noticeably. Replace activated carbon every month or two, or when odor returns. Never replace the biological media unless it is physically damaged—the bacteria are what matter, and they take weeks to regrow.
Can I turn off my filter at night?
No. Bacteria need a constant supply of water to survive, and fish produce waste 24 hours a day. Turning off the filter for even a few hours lets ammonia build up and can stress or kill your fish. Leave the filter running all the time.
Why does my filter make noise?
Noise usually comes from a clogged intake tube or mechanical media restricting water flow, forcing the motor to work harder. Clean the intake tube and rinse the mechanical layer. If noise persists, the impeller may be worn or the motor failing, and the filter may need replacement.
What does it mean if my filter stops pulling water?
The intake tube is probably blocked by debris or algae, or the mechanical media is so clogged that water cannot flow through. Check that the intake tube is clear and not pinched, then rinse the mechanical layer in old tank water. If water still will not flow, the impeller may be stuck or broken.
Do I need to cycle my tank before adding fish?
Yes. A new filter needs two to four weeks for beneficial bacteria to establish themselves. You can speed this up by adding bacteria starter cultures or by moving media from an established tank. Without cycling, ammonia spikes and kills fish.