A homemade aquarium filter works by moving water through layers of material that trap waste and grow beneficial bacteria
You can build a working aquarium filter from basic materials: an air pump, airline tubing, a container (like a plastic bottle or small box), and filter media such as sponge, activated carbon, and gravel. The filter pulls water through these layers, where solid waste gets trapped and helpful bacteria colonize the surface. A homemade filter costs $15 to $40 depending on what you already own, and takes about 30 minutes to assemble.
Homemade filters work best in smaller tanks (10 to 20 gallons) or as a backup to your main filter. They do not move water as forcefully as commercial filters, so they suit tanks with gentle fish or fry that need low flow. If your tank is larger than 20 gallons or holds fish that produce heavy waste (like goldfish), a commercial filter will do the job more reliably.
Key Takeaways
- A sponge filter powered by an air pump is the simplest homemade design and works well for small tanks and fry tanks.
- Filter media should be layered in order: coarse sponge first (traps solids), then activated carbon (removes odor and discoloration), then fine sponge or floss (final polish).
- The filter needs an air pump running 24/7 to move water through the media, so plan for a small ongoing electricity cost.
- Beneficial bacteria take 3 to 4 weeks to establish on new filter media, so introduce fish gradually or move some media from your existing filter.
The simplest design: sponge filter with an air pump
A sponge filter is the easiest homemade filter to build and maintain. You need an air pump (the kind sold for aquariums, usually $10 to $25), airline tubing, an air stone, and a piece of aquarium sponge. The air pump pushes air through the tubing into the sponge, which creates bubbles that pull water down through the sponge and back into the tank. As water passes through, the sponge traps particles and becomes a home for bacteria.
To assemble it: cut a piece of sponge into a cylinder or block about 4 inches tall and 2 to 3 inches wide. Drill or cut a hole through the center and thread the airline tubing through it. Attach an air stone to the bottom of the tubing inside the sponge (the stone breaks the air into smaller bubbles, which increases water flow). find the sponge to the tank wall or floor with a suction cup or weight so it does not float. Plug in the air pump and adjust the air valve until you see steady bubbles rising through the sponge.
This design is forgiving because sponge is cheap (a sheet costs $3 to $8), straightforward to clean, and lasts 6 to 12 months before it breaks down. You can rinse the sponge in old tank water every week or two to clear trapped waste without killing the bacteria living on it.
Building a multi-layer canister filter
If you want more filtering power, build a canister filter from a plastic container—a 2-liter bottle, a small food storage box, or a clear acrylic tube all work. This design stacks different filter media so water passes through each layer, trapping progressively smaller particles and odors.
Cut or drill an intake hole near the bottom of the container and an outlet hole near the top. Layer the media inside from bottom to top: coarse sponge (1 to 2 inches), then activated carbon (1 inch), then fine sponge or filter floss (1 inch). Use an air pump and airline tubing to create an air lift—attach the tubing to the intake hole so bubbles pull water up from the bottom, through all the layers, and out the top back into the tank. Alternatively, use a small submersible pump (around $15 to $30) to push water through instead of relying on air bubbles.
This design filters more water per hour than a sponge filter alone, but it is also more work to clean. You will need to replace the activated carbon every 4 to 6 weeks because it becomes saturated and stops removing odors. The sponge layers can be rinsed in old tank water and reused for months.
Choosing and layering filter media
Coarse sponge (also called blue or white filter foam) is your first line of defense. It traps solid waste—uneaten food, fish waste, and plant debris—before they break down and foul the water. A 1 to 2 inch layer is usually enough. Coarse sponge lasts longest and is the cheapest media to replace.
Activated carbon removes discoloration, odors, and some chemicals from the water. It works best in the middle of your filter stack, after solids are already trapped. One inch of carbon is sufficient, and it needs replacing every 4 to 6 weeks because it becomes full and stops absorbing. Do not use activated carbon if you are medicating your tank—it will remove the medicine.
Fine sponge or filter floss goes at the top (the last stage before water returns to the tank). It polishes the water by catching tiny particles the coarse sponge missed. This layer gets dirty fastest and needs rinsing most often, but it is inexpensive and lasts several months.
You can also add biological media—small plastic shapes or ceramic rings designed to give bacteria a large surface area to colonize. These are optional in a homemade filter but helpful if you want to maximize the bacteria population. They cost $5 to $15 per handful and last indefinitely.
Powering your filter: air pump versus submersible pump
An air pump is the cheapest and quietest option. It uses an air stone to create bubbles that lift water through your filter media. Air pumps are reliable and use very little electricity (usually 3 to 5 watts), so running one 24/7 costs only a few dollars per year. The downside is that air-driven filters move water slowly, so they suit small tanks and low-bioload fish.
A submersible pump (also called a powerhead) pushes water directly through the filter, moving much more volume per hour. This is better for larger tanks or fish that produce a lot of waste. Submersible pumps cost $15 to $40 and use more electricity (10 to 30 watts depending on size), but they give you control over flow rate with an adjustable valve.
For tanks under 15 gallons, an air pump is usually sufficient. For 15 to 30 gallons, a small submersible pump (500 to 800 gallons per hour) works well. Check your pump's flow rate in gallons per hour (GPH) and aim for your tank volume to pass through the filter at least 3 to 5 times per hour—so a 20-gallon tank needs a pump rated for at least 60 to 100 GPH.
Establishing bacteria and cycling your new filter
New filter media has no beneficial bacteria on it, so your new filter will not remove ammonia and nitrite right away. Bacteria take 3 to 4 weeks to colonize the sponge and carbon. During this time, ammonia and nitrite can spike and harm your fish.
The safest approach is to move some media from your existing filter into the new one. If you have a running tank, take out a piece of sponge or some gravel and put it in your new filter. The bacteria already living on that media will seed the new filter, and cycling happens in days instead of weeks.
If you are starting a new tank, introduce fish slowly and do frequent water changes (25 to 50 percent every few days) to keep ammonia and nitrite low while bacteria establish. Test the water with a kit (ammonia, nitrite, and nitrate) every few days so you know when the cycle is complete. Once ammonia and nitrite stay at zero, your filter is ready to handle a full bioload.
Maintenance and when to replace media
Rinse your filter media every 1 to 2 weeks in old tank water (never tap water, which kills bacteria). Squeeze out trapped waste gently until the water runs mostly clear. This keeps flow moving and prevents the filter from becoming a source of ammonia instead of a remover.
Replace coarse sponge every 6 to 12 months when it starts to break apart or no longer rinses clean. Replace activated carbon every 4 to 6 weeks—it does not need to look dirty to be saturated. Fine sponge and floss last 2 to 4 months before they become too clogged to rinse effectively. Biological media never needs replacing, only rinsing.
If your filter stops moving water or becomes very slow, check for clogs in the intake or outlet tubing. Air pumps can lose power over time—if bubbles slow down, the pump may be failing and needs replacement. Submersible pumps sometimes clog with debris; disassemble and rinse the intake screen.
Frequently Asked Questions
Can I use a homemade filter as my only filter in a large tank?
Not reliably. Homemade filters work best in tanks under 20 gallons or as a second filter alongside a commercial one. Large tanks and heavy-bioload fish (goldfish, plecos, cichlids) need the water movement and filtration capacity of a commercial filter. A homemade filter can supplement a commercial filter to boost biological filtration.
What happens if my air pump stops working?
Water stops flowing through the filter, and waste begins to accumulate. Bacteria on the media will start to die within hours without oxygen. Replace the pump as soon as possible. If you cannot replace it when ready, do a large water change (50 percent) to remove waste, and consider moving the fish to a bucket with an air stone until the pump is fixed.
Can I use regular sponge from the kitchen instead of aquarium sponge?
Kitchen sponges often contain soap or antimicrobial coatings that can harm fish. Use only sponge sold for aquariums or pond filters. Aquarium sponge is inexpensive and may provide safe for fish.
How often should I clean the filter if I have a small tank?
In a 10-gallon tank with a few small fish, rinse the sponge every 1 to 2 weeks. In a 5-gallon tank, you may need to rinse it weekly. Watch for slowing water flow—that is your signal to clean. More frequent water changes (25 to 50 percent weekly) also reduce the load on the filter.
Do I need to turn off the filter during water changes?
No. You can leave the filter running while you remove and replace water. If you are rinsing the filter media itself, turn off the pump first so you do not splash water everywhere. Let the media drain before turning the pump back on.