You can build a working aquarium filter using a plastic bottle, air pump, and common filter media
A homemade aquarium filter works by pushing water through layers of material that trap waste and grow beneficial bacteria. The simplest design uses an air pump to force air through a tube submerged in the tank; as bubbles rise, they create gentle water flow through filter media stacked inside a container. This method works best for small tanks (10 to 20 gallons) with light bioloads—tanks with few fish and minimal food waste.
A store-bought filter is more reliable for larger tanks or heavily stocked aquariums, but a DIY filter teaches you how filtration works and costs between $15 and $30 in materials. The homemade version produces less water flow than a commercial filter, so it suits small tanks with hardy fish like bettas, goldfish, or tetras, not delicate species or crowded setups.
Key Takeaways
- An air-driven filter needs an air pump, airline tubing, a plastic bottle or container, and three layers of filter media: coarse sponge on the outside, activated carbon in the middle, and fine sponge closest to the water intake.
- The filter works by bubbles rising through the media and pulling water along with them, so placement matters—position the intake tube at the bottom of the tank and the outlet near the surface.
- You must change or rinse the filter media every one to two weeks to prevent waste buildup and keep the filter from becoming a source of pollution instead of a cleaner.
- This design produces less water flow than a commercial filter, so it suits small tanks with hardy fish like bettas, goldfish, or tetras, not delicate species or crowded setups.
Materials and tools you will need
Gather an air pump (any aquarium air pump rated for your tank size—a 10-watt pump works for tanks up to 20 gallons), airline tubing (the plastic tubing that connects the pump to the filter), an air stone or bubble diffuser (optional but helpful for breaking up large bubbles), and a plastic container (a 1-liter or 2-liter soda bottle, a plastic food container, or a small mesh bag all work). You will also need filter media: a coarse sponge (the kind used for washing dishes, cut to fit your container), activated carbon (sold in aquarium stores or pet shops in loose form or pellets), and a fine sponge or filter floss (the white fibrous material sold for aquariums).
For assembly, have scissors or a utility knife, a hot glue gun or waterproof silicone sealant, and a marker. If you are using a soda bottle, you will also need a drill or a soldering iron to make holes. Do not use hot glue on any part that will be submerged—use only waterproof silicone or epoxy putty rated for aquariums.
Step-by-step assembly for a bottle-based filter
Start with a clean 2-liter plastic bottle. Using a drill or soldering iron, make a grid of small holes (about 1/8 inch each) in the bottom third of the bottle—these holes let water enter the filter. Space the holes roughly 1/2 inch apart so water can flow in without the bottle collapsing. If you do not have a drill, a heated nail or soldering iron will melt holes cleanly; work slowly and do this in a well-ventilated area.
Cut your coarse sponge into a piece that fits loosely inside the bottle, about 2 inches thick. This is your first layer and catches large particles. Place it at the bottom, covering the holes you just drilled. Above it, add a 1-inch layer of activated carbon—pour it loosely so water can flow through. On top of the carbon, add a 2-inch layer of fine sponge or filter floss. This top layer is the last barrier before water exits the filter.
At the top of the bottle, drill or cut a hole large enough for your airline tubing to fit snugly. Insert the tubing so it reaches nearly to the bottom of the bottle, just above the coarse sponge. Seal around the tubing with waterproof silicone so air does not escape around the edges. Let the silicone cure for 24 hours before using the filter.
Drill or cut an outlet hole near the top of the bottle, opposite the inlet tube. This is where filtered water exits back into the tank. You can attach a short piece of airline tubing here to direct the flow, or leave it open. If you leave it open, position the bottle so the outlet points toward the center of the tank.
Installation and positioning in your tank
Place the filter bottle in a corner or against the back wall of your tank, submerged but not buried in gravel. The intake holes at the bottom should be at least 1 inch above the substrate so they draw water, not sand or gravel. Connect the airline tubing from the pump to the inlet tube on your filter, then plug in the air pump.
Adjust the pump's air valve (if it has one) so bubbles rise steadily through the filter—you should see a gentle stream, not violent bubbling. Too much air creates noise and splashing; too little means the filter does not move enough water. A good rule is one bubble per second rising through the media. The filter should run 24 hours a day. In the first week, you may notice the water becomes slightly cloudy as the filter media settles and beneficial bacteria begin to colonize the sponges—this is normal and clears within a few days.
Maintenance schedule and media replacement
Check the filter every three to four days by looking at the inlet holes. If they are clogged with algae or debris, the filter is not drawing water properly. Rinse the coarse sponge in a bucket of old tank water (never tap water, which kills beneficial bacteria) by gently squeezing it until the water runs clear. Do this every one to two weeks depending on how much waste your fish produce.
The activated carbon loses its effectiveness after four to six weeks and should be replaced. The fine sponge can be rinsed and reused for two to three months before it tears or becomes too clogged. When you replace media, do it gradually—replace one layer at a time so you do not lose all the beneficial bacteria at once. Keep one piece of old sponge in the filter when you add new media; the bacteria on the old piece will colonize the new material within a week.
If the filter stops producing bubbles or the air pump becomes very quiet, the media is completely clogged. Rinse all three layers thoroughly in old tank water, starting with the top layer and working down. If rinsing does not restore flow, replace the media entirely.
Signs your homemade filter is not working well enough
If the water becomes cloudy or smells foul within a few days of cleaning, the filter is not moving enough water or the tank is overstocked. A working filter should keep water clear and odorless for at least a week between cleanings. If you see algae blooming on the glass or substrate, the filter may be removing waste but not fast enough to prevent algae growth—this usually means you are feeding too much or the tank is too warm.
If fish gasp at the surface or hide constantly, the filter may not be aerating the water enough. Increase the air pump setting or add an additional air stone in the tank away from the filter to boost oxygen. If the filter leaks around the seams, drain the tank partially, remove the filter, and reseal the joints with fresh waterproof silicone. Do not use the filter again until the sealant has cured for 24 hours.
When to upgrade to a commercial filter
A homemade filter works well for learning and for temporary setups, but it has limits. If your tank is larger than 20 gallons, holds more than five fish, or houses species that produce heavy waste (like goldfish or plecos), a commercial canister or hang-on filter will serve you better. Commercial filters move more water per hour, are easier to maintain, and are less likely to fail suddenly.
If you find yourself cleaning the homemade filter more than once a week, or if water quality tests show rising ammonia or nitrite levels, the tank has outgrown the DIY setup. Moving to a commercial filter takes 15 minutes—straightforward remove the homemade filter, rinse the media in old tank water, and install the new filter according to its instructions. You can save the old sponges and carbon to seed the new filter with beneficial bacteria.
Frequently Asked Questions
Can I use a homemade filter in a tank with a betta fish?
Yes, but reduce the air pump flow to the lowest setting. Bettas come from still water and dislike strong currents. A gentle bubble stream that barely moves the water is ideal. Position the filter outlet away from the betta's resting spot so the fish is not pushed around constantly.
What happens if I do not rinse the filter media regularly?
Trapped waste decays and releases ammonia back into the tank, poisoning the fish. A clogged filter becomes a pollution source instead of a cleaner. Rinse the coarse sponge every one to two weeks in old tank water to prevent this.
Can I use regular sponges from the kitchen instead of aquarium sponges?
Yes, as long as they have no soap residue or dyes. Rinse a new kitchen sponge thoroughly in tap water, then soak it in old tank water for 24 hours before use. Avoid sponges with antibacterial coatings or perfume.
How long does it take for the filter to start working?
Water flow begins when ready once you turn on the air pump, but beneficial bacteria take one to two weeks to colonize the media. During this time, do small water changes (25 percent) every three days to keep ammonia and nitrite low while the bacteria population grows.
Do I need an air pump if I already have a heater in the tank?
Yes. A heater does not move water or add oxygen. The air pump is what drives the filter and aerates the tank. Without it, the filter does not work and the water becomes stagnant.