A clear, healthy pond comes down to one thing: moving the entire water volume through good filter media often enough to keep it that way. You can spend $200 to $600 on a sealed pressurized canister, or you can build a filter that does the same job from a food-grade barrel or a plastic storage tote for a fraction of the cost. A DIY pond filter is not a compromise. With the right media and a correctly sized pump, a home-built barrel filter will out-perform most bargain store-bought units because you control the volume of media and the flow rate. This guide walks through both a barrel build and a tote build, how to size the pump and plumbing, how to stack mechanical and biological media in the right order, and how to keep it running clean through the season.
Part of our Ponds & Water Gardens guide →
In this guide
Key Takeaways
- A DIY filter needs both mechanical media (traps debris) and biological media (grows bacteria that convert ammonia), staged in that order.
- Turn over the entire pond volume at least once per hour — size your pump in GPH to match pond gallons, then add 25% for head and fittings.
- A 30- to 55-gallon barrel suits ponds up to about 2,000 gallons; a 20-gallon tote suits ponds up to ~500 gallons.
- Use the largest plumbing you can — 1.5″ to 2″ bulkheads and pipe — to preserve flow and reduce pump strain.
- Rinse mechanical media weekly in summer; never tap-rinse biological media — swish it in pond water to protect the bacteria colony.
How a Pond Filter Actually Works
Every effective pond filter does two jobs in sequence. First, mechanical filtration physically strains out the solids: leaves, fish waste, uneaten food, string algae fragments and the fine suspended particles that make water look like weak tea. Second, biological filtration hosts colonies of nitrifying bacteria — Nitrosomonas and Nitrobacter — that live on the surface of the media and convert toxic ammonia from fish waste into nitrite, then into far less harmful nitrate. Plants and water changes mop up the nitrate from there.
Order matters. Water must hit the mechanical stage first so the heavy solids drop out before they clog the biological media. If you reverse the stack, your bio-media packs with sludge in a week and the bacteria suffocate. The whole reason a barrel works so well is that it gives you the vertical space to layer these stages with plenty of media in each, so contact time stays high and water leaves the filter clear.
A filter only cycles biologically once bacteria establish, which takes four to six weeks in warm water. During that window ammonia and nitrite spike — test weekly and feed fish lightly. Cold water below 50°F slows the colony to a crawl, which is why filters seem to “wake up” each spring.
Sizing the Filter and the Pump
Before you buy anything, work out your pond volume. For a roughly rectangular pond: length × width × average depth (all in feet) × 7.5 = gallons. A pond 8 ft × 5 ft × 2 ft holds about 600 gallons. Irregular shapes — estimate the average and round up.
Pump flow rate (GPH)
The baseline rule for a pond with goldfish or koi is to circulate the entire volume at least once every hour. So a 600-gallon pond needs a pump rated at 600 gallons per hour (GPH) — at the actual height it has to lift the water, not the box rating. Pumps lose flow as they push uphill; this loss is called head. A pump rated 800 GPH at zero head may deliver only 550 GPH once it lifts water 4 feet up into a barrel and through 15 feet of pipe and a few elbows.
Practical method: measure the vertical lift from pump to the filter’s water inlet, add roughly 1 foot of head for every 10 feet of horizontal pipe and another foot for every two elbows or fittings. Then read the pump’s flow-vs-head curve (printed on the box or spec sheet) at that total head. Buy the pump that still hits your target GPH at that point. When in doubt, oversize by 20–25% — you can throttle a too-strong pump with a valve, but you can’t speed up a weak one.
If the pond holds koi, push toward 1.5× to 2× turnover per hour — koi are heavy waste producers and demand more biological capacity and circulation. A goldfish or plant-only pond is comfortable at 1× per hour. For a quieter electric bill, a modern energy-efficient asynchronous pump moving 600–1,500 GPH draws far less than an old magnetic-drive unit at the same flow.
Container size
Match the filter body to the pond. A 20-gallon storage tote handles ponds up to about 500 gallons. A 30- to 55-gallon food-grade barrel covers ponds from 500 up to roughly 2,000 gallons. The bigger the body, the more media it holds, the longer the contact time, and the less often you clean it. There’s no penalty for going one size up except cost and footprint.
Materials and Tools
Materials
- One food-grade 30–55 gal barrel or a 17–27 gal heavy-duty plastic tote with a tight lid
- Submersible pond pump sized to your turnover (see above), with a debris pre-filter cage
- Two 1.5″ or 2″ bulkhead fittings (one inlet near top, one outlet near bottom) plus matching gaskets
- Flexible PVC or kink-free pond hose to fit the bulkheads, plus hose clamps and a few barbed elbows
- Mechanical media: coarse and medium filter foam pads, or a roll of polyester filter matting (Japanese matting / “Matala”-style)
- Biological media: bio-balls, ceramic rings, lava rock, or plastic K1-style moving-bed media — high surface area is the point
- A plastic egg-crate / louvered light diffuser panel or a perforated plastic tray to act as a support shelf
- A short length of 2″ perforated pipe or a slotted basket for the inlet spray bar (optional but improves distribution)
- PVC primer and cement if you use rigid PVC; PTFE thread tape for threaded fittings
Tools
- Drill with a hole saw sized to your bulkheads (commonly 2.5″–3″ for 1.5″–2″ fittings — check the fitting spec)
- Hacksaw or PVC cutter, tape measure, marker
- Adjustable wrench or large channel-lock pliers for tightening bulkheads
- Utility knife for cutting foam to fit
Step-by-Step: The Barrel Build
Step 1 — Position and mark the ports
Place the barrel where it will live — ideally slightly above pond water level and hidden behind plants or a rock wall, but close to the pond edge. Mark the inlet hole near the top (about 4 inches below the rim) and the outlet hole near the bottom (about 3 inches up from the base so sludge can settle below it). Water flows in at the top, works down through the media, and exits clean at the bottom — gravity does half the work.
Step 2 — Cut and fit the bulkheads
Drill both holes with the hole saw, going slow to avoid cracking the plastic. Deburr the edges. Insert each bulkhead from inside the barrel with its gasket seated against the inside wall, then hand-tighten the lock ring from outside and snug it with a wrench. Don’t overtighten — you’ll crack the flange. A correctly seated gasket needs only firm pressure to seal.
Step 3 — Build the inlet distribution
On the inside of the inlet, attach a short perforated pipe or a slotted basket so incoming water sprays across the whole top of the media instead of drilling a channel straight down through one spot. Even distribution is what keeps your mechanical media working across its full area.
Step 4 — Install the support shelf
Cut the egg-crate panel to sit a few inches above the outlet, supported on plastic blocks or PVC stubs. This shelf holds the biological media up off the floor so settled sludge collects in the dead space below and can be drained without disturbing the bacteria. It also keeps the outlet from clogging.
Step 5 — Stack the media (order is everything)
Load from the bottom up: on the support shelf, place your biological media (bio-balls, ceramic rings, or lava rock) — this is the deepest layer because contact time with bacteria matters most. Above it, lay medium-density foam, then coarse foam or matting on top. Counter-intuitively the coarsest mechanical layer goes on top where dirty water hits first; it catches the big debris so the finer layers below polish the water. Leave a few inches of headroom under the lid.
Step 6 — Plumb the pump and return
Run hose from the submersible pump (sitting in the pond) up to the barrel inlet, secured with clamps. Run a second hose from the bottom outlet back to the pond — a waterfall, stream return, or a simple submerged pipe all work. Keep every run as short and straight as possible and use the largest diameter your bulkheads allow; each elbow and every foot of narrow hose steals flow.
Step 7 — Prime, test, and tune
Power on the pump. Water should fill the barrel, percolate down through the media, and return clear within a minute. Check every fitting for leaks and re-snug as needed. Watch the water level inside the barrel: if it overflows the top, your outlet or media is restricting flow — loosen the media pack or upsize the outlet. If the barrel barely fills, your pump is undersized for the head. Once stable, leave it running 24/7. The filter never sleeps; turning it off lets bacteria die within hours.
The Tote Build (Small Ponds)
For a small pond or a container water garden under 500 gallons, a storage tote follows the same logic in a flatter, more hideable box. Because a tote is wide and shallow, plumb the inlet at one end and the outlet at the opposite end so water travels the full horizontal length through the media rather than short-circuiting. Stack a coarse foam pad at the inlet, then a block of bio-media (lava rock in a mesh bag works great), then a fine polishing pad before the outlet. A tote build is a weekend afternoon and runs on a modest 300–800 GPH pump. The trade-off is less media volume, so expect to rinse it more often.
Maintenance Schedule
The single biggest mistake new pond keepers make is over-cleaning the biological media and wiping out the bacteria colony. Treat the two stages completely differently.
- Weekly in summer: lift out and rinse the top mechanical foam/matting. Tap or hose water is fine here — these layers hold no useful bacteria, just gunk. Squeeze until the water runs nearly clear.
- Monthly: open the bottom drain (add a valve to the outlet line if you want this easy) and flush the settled sludge from the dead space below the shelf.
- Every 2–3 months, or only when flow drops: rinse the biological media — but only by swishing it in a bucket of pond water, never chlorinated tap water. Chlorine kills the bacteria you spent six weeks growing.
- Fall: stretch netting over the pond to keep leaves out; clean the filter thoroughly before winter.
- Winter (freezing climates): shut down and drain the filter to prevent cracked plastic; run only an aerator or de-icer. Restart and re-cycle in spring.
If you keep fish, a basic test kit for ammonia, nitrite and nitrate is the best $20 you’ll spend — it tells you whether the biology is keeping up long before the fish show stress.
Troubleshooting Green or Cloudy Water
A mechanical-plus-biological filter clears debris and ammonia, but it does not stop single-celled algae — the kind that turns water pea-green. That’s a nutrient and light problem. Pair this filter with a UV clarifier plumbed inline after the filter, add more aquatic plants to starve the algae of nutrients, and stop overfeeding fish. If water is cloudy white rather than green, the bio-filter is still cycling — be patient, it usually clears once bacteria catch up. Brown, tea-colored water is usually tannins from leaves or debris; more mechanical media and leaf netting fix it.
For a planted approach to the same nutrient problem, a bog filter that uses gravel and plants works beautifully alongside a barrel filter — the barrel handles solids and ammonia while the bog strips out the nitrate that feeds algae. You’ll also find related builds and gear on the Water Gardens & Ponds hub, and if you’re adding a return waterfall, our guide to building a dry stream bed shows techniques that adapt well to a wet stream return.
Frequently Asked Questions
What size pump do I need for a DIY pond filter?
Match the pump’s real-world flow to your pond volume so the whole pond turns over at least once per hour — a 600-gallon pond needs about 600 GPH at the actual head height, not the box rating. For koi, aim for 1.5× to 2× turnover. Always read the pump’s flow-vs-head curve at your real lift and pipe length, then oversize by 20–25%.
Can a barrel filter really replace a store-bought pressurized filter?
Yes. A barrel or tote filter does the same mechanical-plus-biological job, and because you control the media volume it often holds more media than a comparably priced canister, so it cleans better and clogs slower. The main thing a pressurized canister offers that a gravity barrel doesn’t is the ability to sit below water level and push uphill through a sealed body.
How often should I clean the filter?
Rinse the mechanical foam weekly in summer with tap water, flush the bottom sludge monthly, and only rinse the biological media every two to three months — and only in pond water, never chlorinated tap water, or you kill the bacteria. Clean the bio-media only when flow noticeably drops, not on a fixed schedule.
Why is my pond still green after building the filter?
Standard filters remove debris and ammonia but not the free-floating algae that turns water green — that’s caused by excess nutrients and light. Add a UV clarifier after the filter, increase aquatic plant cover, and cut back on fish feeding. A bog filter alongside the barrel strips the nitrate that fuels the algae.
Do I need to run the filter all winter?
In freezing climates, no — drain and shut the filter down to prevent cracked plastic, and run only an aerator or de-icer to keep a hole in the ice for gas exchange. The bacteria go dormant below about 50°F anyway. Restart and let the filter re-cycle for four to six weeks each spring.