You can build a functional DIY aquarium reactor for $20-50 in materials, compared to $80-300 or more for a commercial unit. The core design is simple: a sealed chamber, an inlet and outlet fitting, and some way to keep media in contact with water under controlled flow. Whether you need a CO2 reactor, a biopellet reactor, a phosphate reactor, or a media reactor for activated carbon, the DIY approach follows the same basic construction principles.
This guide walks you through the materials, the build process, and the key design differences between reactor types so you can build exactly what your tank needs without buying a commercial unit. I'll also cover where DIY makes sense and where it might be worth skipping in favor of a quality ready-made option.
Understanding What a Reactor Does (And Which Type You Need)
Before building anything, it helps to know exactly what kind of reactor you're building, because the internal design differs by application.
CO2 Reactors
A CO2 reactor dissolves carbon dioxide gas into water for planted tanks. CO2 enters through a bubble counter at the top, water flows in and out, and the CO2 dissolves completely inside rather than bubbling to the surface and off-gassing. The key design requirement is a good seal and a way to retain gas at the top while water passes through.
Biopellet and Media Reactors
These reactors tumble solid media (biopellets, activated carbon, GFO phosphate remover) in a water column. The media needs to move freely, not pack into a dead-solid bed. Design focus is on inlet flow rate and a screen or sponge at the outlet to prevent media from escaping.
Nitrate Reactors
A sealed chamber with very slow flow, designed for anaerobic conditions. Water flow is minimal, measured in liters per hour rather than the moderate flows used in biopellet reactors. Media stays static. The critical design requirement is preventing any oxygen from entering and providing a tight seal.
Knowing which type you're building determines your inlet/outlet placement, flow rate targets, and how you configure the internal space.
Materials You Need
For a basic media reactor, you'll need:
Chamber body: A clear acrylic tube or a pressure-rated PVC pipe section. 2-inch PVC (schedule 40) works for smaller reactors. For higher-capacity builds, 3-inch or 4-inch PVC handles more media volume. Acrylic tubing is more expensive but lets you see inside without disassembling.
End caps: Two PVC end caps to match your pipe diameter. These get drilled for fittings.
Barbed fittings: 3/8-inch or 1/2-inch barbed inlet and outlet fittings. Use barbed fittings for tubing connections.
Bulkhead fittings (optional): For a cleaner build with larger tubing, a 3/4-inch bulkhead in each end cap is more reliable than a barbed fitting glued into a hole.
Media screens: Two pieces of sponge, foam disk, or plastic mesh screen to contain media inside the chamber. You can cut these from a sponge block or buy purpose-made foam discs from an aquarium store.
PVC cement and primer: For permanently bonding end caps to the pipe body. This is the correct adhesive for PVC, not silicone alone.
Silicone sealant (aquarium-safe): For sealing around fittings. Use 100% silicone without antimicrobial additives.
Total cost for this list is typically $20-40 depending on pipe diameter and whether you use standard PVC or acrylic.
Step-by-Step Build: Basic PVC Media Reactor
This design handles biopellets, activated carbon, or GFO media for a saltwater tank.
Step 1: Cut the Pipe
Cut your 2-inch schedule 40 PVC to your desired length. For a media reactor serving a 75-150 gallon tank, 12-18 inches is a reasonable chamber length. For smaller tanks, 8-10 inches works fine. Deburr the cut ends with sandpaper.
Step 2: Drill the End Caps
For the inlet end cap (bottom), drill a hole slightly smaller than your barbed fitting's threads, then thread the fitting in. Apply Teflon tape to the threads and use aquarium-safe silicone around the base. For the outlet end cap (top), do the same. Place your outlet fitting slightly off-center so flow doesn't short-circuit straight from inlet to outlet.
Step 3: Install Media Screens
Cut two foam discs to fit snugly inside the pipe diameter. One goes near the bottom above the inlet fitting, one near the top below the outlet fitting. These hold the media in the middle zone. If you're building for biopellets specifically, use a coarser sponge for the inlet screen (10-20 ppi) so flow can push through, and a finer sponge for the outlet (20-30 ppi) to prevent pellets from escaping.
Step 4: Load Media and Assemble
Add your media to the chamber. For biopellets, fill the chamber about 1/3 to 1/2 full. For activated carbon or GFO, you can fill up to 2/3. Don't overfill: media needs room to tumble or at minimum have water flow around it.
Apply PVC primer and cement to the pipe ends and inside the end caps. Join them firmly and allow to cure for at least 24 hours before adding water.
Step 5: Cure and Test
Fill the assembled reactor with tap water and let it sit for 48-72 hours to rinse any chemical residue from the PVC cement. Flush through, fill again, let it sit another day. Check all joints and fittings for leaks by running water through with a pump.
DIY CO2 Reactor Design Differences
For a CO2 reactor, the design reverses. You want CO2 to enter at the top and water to flow in at the bottom, moving upward through the chamber. This keeps CO2 gas trapped inside longer, increasing dissolution.
Use a clear acrylic tube if possible so you can watch the gas pocket size inside. You want to maintain a small bubble reservoir at the top, maybe 1-2 inches of gas space, not a full tube of CO2. If gas fills the whole chamber, your flow rate is too low or your CO2 injection is too high.
The outlet goes at the top. CO2 that hasn't dissolved gets recirculated back through the chamber. Most effective DIY CO2 reactors include an internal impeller or directional baffle to create turbulence inside, increasing contact time between CO2 and water.
For CO2 system comparisons and equipment that pairs with reactors, see our Best Aquarium Equipment guide.
Connecting Your Reactor to the Sump
Most media reactors pull water from the sump pump output and return water to the sump. The feed line needs a ball valve or needle valve to control flow. For a biopellet reactor, you want enough flow to gently tumble the pellets, roughly 100-300 liters per hour for a typical 2-inch reactor. Too much flow and pellets escape or erode too fast. Too little and they pack solid.
A small controllable powerhead positioned to direct flow into the reactor works. So does a dedicated submersible pump like the Jebao DCP-1500 with flow control, which runs around $30-40 and lets you set flow precisely.
Use clear vinyl tubing so you can see if there are any blockages or if media is escaping from the outlet screen.
Where to Buy Materials
PVC pipe and fittings are available at any hardware store. Barbed hose fittings for aquarium use are at home improvement stores or online (search for "John Guest fittings" or standard 1/2" barbed hose adapters). Aquarium-safe silicone is at your LFS or from brands like GE Silicone I (the original formula, which is fish-safe).
For the media itself: biopellets like Two Little Fishies NP Biopellets or Aquaticlife Bio-Pellets, and GFO media like BRS Bulk Reactor Media, are available online and typically cheaper per gram than boxed LFS options.
Our Top Aquarium Equipment guide has more on media and filtration equipment if you want comparisons before committing to a specific approach.
When to Buy Commercial Instead of DIY
DIY makes the most sense for standard media reactors and CO2 reactors. It makes less sense in a few situations:
Protein skimmers: These require precise hydrodynamics that are very difficult to replicate in a DIY build. Commercial skimmers from Reef Octopus, Bubble Magus, or Skimz are well-optimized and not that expensive in the smaller sizes.
Calcium reactors with dual chambers and effluent recirculation: Technically buildable, but the plumbing complexity and the risk of pH swings from incorrect setup make commercial units a better starting point.
Precision dosing reactors: If you need tight control over media contact time, commercial reactors with engineered internal geometry perform more predictably.
FAQ
Is PVC safe for aquariums? Schedule 40 PVC is aquarium-safe once fully cured. The concern is PVC cement and primer off-gassing during cure. Let the assembled reactor sit and flush with water for 3-5 days before putting it into service with live animals. After that, fully cured PVC is stable, non-leaching, and widely used in aquarium plumbing.
How do I know if my DIY biopellet reactor is working? Test phosphate and nitrate weekly. Most tanks see measurable reduction in 3-6 weeks. You should also see the pellets slowly shrinking over months as bacteria consume them. When pellets are half their original size, add more. If you're seeing a bacterial bloom in the tank, you're overdosing: reduce media volume or flow rate.
Can I use a 2-liter soda bottle as a DIY reactor body? It works in a pinch for a very small CO2 reactor or media test, but plastic bottles are not designed for sustained pressure and may off-gas chemicals over time. PVC pipe is the better material and costs only a few dollars more. I'd use a soda bottle only for temporary testing, not permanent use.
What pump flow rate do I need for a biopellet reactor? For a 2-inch diameter, 12-inch tall reactor with 100-150mL of biopellets, aim for 100-200 liters per hour. Adjust so pellets are gently tumbling but not slamming against the outlet screen. Too much flow erodes pellets too fast and loads your skimmer with fine particles.
Conclusion
A DIY PVC media reactor built from schedule 40 pipe, two end caps, and barbed fittings costs about $20-40 in materials and works as well as commercial units in the same size class. The build takes a few hours plus cure time. For biopellet, activated carbon, and GFO applications, this is a straightforward project with a clear payoff. The key steps to get right are the media screens to contain media, the flow rate calibration, and the full cure before introducing it to a live system. Start with the right diameter pipe for your tank size and you'll have a reliable reactor running in under a week.