What an aquarium filter does

An aquarium filter removes waste and leftover food from the water by passing it through three different layers of material. Each layer catches different-sized particles — the first traps large debris, the second breaks down invisible chemicals that make water toxic, and the third grows beneficial bacteria that eat fish waste. Without a filter running continuously, ammonia and nitrite build up to levels that poison fish within days.

The filter pulls water in through an intake tube, pushes it through these layers, and returns clean water to the tank. Most filters run on electricity and move water using a small pump or air stone. The whole cycle repeats many times per hour, so the same water passes through the filter again and again.

Key Takeaways

  • Filters work in three stages: mechanical (trapping particles), chemical (removing dissolved toxins), and biological (growing bacteria that eat waste).
  • The mechanical stage uses foam or floss to catch visible debris like uneaten food and dead plant matter before it decays.
  • The biological stage is the most important — it hosts colonies of bacteria that convert ammonia from fish waste into less toxic nitrate.
  • A new filter takes two to four weeks to build up enough bacteria to handle a full tank, so cycling before adding fish prevents ammonia spikes.
  • Rinsing the mechanical layers in old tank water keeps them working without killing the bacteria in the biological layer.

The mechanical stage: trapping visible waste

The first layer of your filter is usually foam or floss — a spongy material that catches particles you can see: uneaten food, dead leaves, fish waste, and dust. Water flows through the foam, and anything larger than the foam's pores gets stuck. This layer fills up fastest and needs rinsing every one to two weeks, depending on how much you feed and how many fish you have.

When you rinse the mechanical layer, use water from the tank itself, not tap water. Tap water kills the beneficial bacteria that live in the foam. Squeeze the foam gently in a bucket of old tank water until the water runs clear, then put it back. If the foam is torn or falling apart after months of use, replace it — a damaged mechanical layer lets particles slip through to the rest of the filter.

The biological stage: bacteria that eat ammonia

The second layer is usually porous material like ceramic rings, lava rock, or bio-balls — surfaces where beneficial bacteria settle and grow. These bacteria do the real work of the filter: they convert ammonia (from fish waste and decaying food) into nitrite, and then other bacteria convert nitrite into nitrate, which is far less toxic. This process is called the nitrogen cycle, and it is the reason fish survive in a closed tank at all.

A new filter has no bacteria yet, so ammonia and nitrite spike dangerously in the first two to four weeks. This period is called cycling. You can cycle a tank before adding fish by feeding it a pinch of food daily, or by adding ammonia directly. Once the bacteria colony is established, it stays alive as long as the filter keeps running and you do not kill it with tap water or harsh chemicals.

Never turn off the filter for more than a few hours, and never rinse the biological layer in tap water. The bacteria need a steady flow of water and ammonia to survive. If you must clean the biological layer, rinse it gently in old tank water only.

The chemical stage: activated carbon and other media

Some filters include a third layer of activated carbon or ion-exchange resin — materials that absorb dissolved chemicals like chlorine, medications, and tannins (which turn water brown). Activated carbon is a black granular material with a huge surface area full of tiny pores. Water passes through, and dissolved molecules stick to the carbon instead of staying in the water.

Activated carbon works for two to four weeks, then becomes saturated and stops absorbing anything. You replace it rather than rinse it. Not all tanks need a chemical stage — it is most useful if you are treating fish for disease, if your tap water is heavily chlorinated, or if your tank water is discolored. Many small filters skip this layer entirely and rely on mechanical and biological stages alone.

How water actually moves through the filter

Most aquarium filters use one of two methods to push water: a pump or an air stone. A pump-driven filter (like a hang-on-back or canister filter) has an electric motor that sucks water in through an intake tube, forces it through the filter media, and returns it to the tank. An air-driven filter (like a sponge filter or undergravel filter) uses an air pump to bubble air through a tube, which creates suction that pulls water up through the filter material.

The speed at which water moves through the filter is measured in gallons per hour (GPH) or liters per hour (LPH). A good rule is that the filter should turn over the entire tank volume at least four times per hour — so a 20-gallon tank needs a filter rated for at least 80 GPH. Faster flow is better for mechanical filtration but can stress delicate fish; slower flow gives bacteria more time to work but may not trap all particles.

When to clean and replace filter parts

Different parts of the filter need attention on different schedules. The mechanical layer (foam or floss) clogs fastest and needs rinsing every one to two weeks. The biological layer should be rinsed only if it is visibly clogged, and only in old tank water — aim for every four to eight weeks if needed at all. Activated carbon should be replaced every two to four weeks, or sooner if you are treating the tank with medication.

A common mistake is replacing all the filter media at once. If you do, you lose the entire bacterial colony and the tank will cycle again, spiking ammonia and nitrite. Instead, replace only the mechanical layer regularly, and replace the biological layer only when it is truly clogged. If you must replace the biological layer, save some of the old media and mix it with the new to seed the new material with bacteria.

Signs your filter is not working well

If the water becomes cloudy or smells like ammonia within a day of cleaning, the filter is not processing waste fast enough. This usually means the mechanical layer is so clogged that water cannot flow through properly, or the biological layer is not mature yet. Rinse the mechanical layer and check that water is flowing out of the return tube at a normal rate.

If the intake tube is sucking air or the return flow has stopped, the filter may be clogged or the pump may have failed. Check that the intake is fully submerged and that no debris is blocking the intake tube. If water is flowing but the tank still smells bad, the biological layer may need time to mature, or the filter may be undersized for your tank.

Frequently Asked Questions

How long does it take for a new filter to work?

The mechanical and chemical stages work when ready, but the biological stage takes two to four weeks to build up enough bacteria to handle ammonia safely. During this time, ammonia and nitrite will spike unless you cycle the tank first by running the filter with food or ammonia but no fish. Once the bacteria are established, they stay active as long as the filter runs.

Can I use tap water to rinse my filter?

No — tap water contains chlorine and chloramine that kill beneficial bacteria. Always rinse filter media in old tank water that you have removed during a water change. The bacteria live on the surface of the media, and tap water will wipe them out, forcing the tank to cycle again.

What happens if I turn off the filter overnight?

A few hours without the filter is usually safe, but overnight (8+ hours) can cause ammonia to spike, especially in a heavily stocked tank. The bacteria need a steady flow of water to survive, and waste accumulates quickly without mechanical filtration. If you must turn off the filter, keep it off for as short a time as possible and do a partial water change afterward.

Do I need all three filter stages?

You need mechanical and biological stages — they are essential. The chemical stage (activated carbon) is optional and most useful if you are treating fish with medication, if your tap water is heavily chlorinated, or if the tank water is discolored. Many tanks run fine with just mechanical and biological filtration.

Why does my filter get clogged so fast?

You are likely overfeeding. Uneaten food decays and clogs the mechanical layer quickly. Feed only what your fish can eat in two to three minutes, once or twice a day. Overstocking (too many fish for the tank size) also produces more waste than the filter can handle, so the mechanical layer fills up faster.