A DIY inline CO2 reactor sits in the tubing between your canister filter outlet and your tank, using water flow to dissolve CO2 gas completely before the water enters the aquarium. You can build a reliable one for under $15 using a PVC fitting, a check valve, and a small bubble counter, and it will outperform many commercial reactors costing $40-80 by eliminating CO2 waste and producing no surface bubbles.

This guide covers exactly how inline reactors work, the materials you need, two different DIY designs (PVC fitting and clear tube), how to connect them to your canister filter, and how to dial in the bubble rate for optimal CO2 dissolution.

How an Inline CO2 Reactor Works

A CO2 reactor dissolves carbon dioxide into water inside a sealed chamber before the water reaches your aquarium. This is different from placing a diffuser inside the tank, where CO2 bubbles float to the surface and a portion escapes before dissolving.

The inline design takes advantage of the pressurized water flow from your canister filter. Water enters the reactor chamber, CO2 is injected into that same chamber from your regulator line, and the turbulence and residence time inside the chamber causes the CO2 to dissolve into solution. The fully CO2-saturated water then exits into your tank through the outlet tube with no visible bubbles.

The key physics: CO2 dissolves more completely under pressure and with longer contact time. An inline reactor provides both, since the chamber is under the slight positive pressure of your canister outlet flow and the gas has time to dissolve while the chamber stays filled with water.

Inline reactors are more efficient than in-tank diffusers by a meaningful margin. A high-quality diffuser at 1 bubble per second delivers some CO2 to the water and wastes some to off-gassing. A well-built inline reactor captures nearly 100% of injected CO2.

Materials for a Simple PVC Fitting Reactor

The simplest DIY inline reactor uses off-the-shelf PVC plumbing fittings that cost $5-10 from any hardware store:

Clear PVC adapter or connector: A 1-1/2-inch to 3/4-inch reducer (or similar size) serves as your reaction chamber. The larger bore holds the gas pocket, and the narrowed section forces water to turbulate as it exits.

Barbed hose fittings: Two 5/8-inch barbed fittings (or the size matching your canister outlet tubing, commonly 5/8 or 3/4-inch OD). One for inlet, one for outlet.

CO2 injection port: A small barbed fitting or a rigid tube fitting sized for your CO2 tubing (usually 5/32 or 1/4-inch OD airline tubing from your regulator).

Aquarium-safe silicone sealant: GE Silicone I or similar 100% silicone for sealing fittings.

Check valve: Installed on your CO2 line to prevent water from back-siphoning into your regulator when the CO2 shuts off.

Vinyl tubing: To connect reactor to canister outlets and inlets. Match the inside diameter to your canister filter's tubing size.

Total material cost is typically $10-20 depending on what you have on hand.

The Simple Inline Reactor Build

This build takes about 30-45 minutes plus drying time.

Step 1: Choose Your Chamber Body

Find a short section of 1.5-2 inch diameter PVC or clear acrylic tubing, 3-4 inches long. This is the main chamber. Alternatively, a 1.5-inch PVC coupling fitting itself can serve as the chamber body without additional cutting.

Step 2: Install the Water Fittings

Drill two holes at either end of the chamber for your water inlet and outlet barbs. The inlet goes at the bottom, outlet at the top. This orientation keeps gas naturally trapped at the top of the chamber.

Thread or press-fit the barbed fittings in. Seal around the outside with silicone. Let cure 24 hours.

Step 3: Install the CO2 Injection Port

Drill a small hole in the upper portion of the chamber body for your CO2 injection tube. The injection point should be in the upper half of the chamber, where the gas pocket sits. Seal with silicone around the fitting.

Step 4: Assemble and Position in Line

Connect the reactor between your canister filter's outlet hose and your spray bar or return nozzle. The reactor hangs inline, usually just outside the tank or in the cabinet below. Run the CO2 tubing from your regulator through a check valve into the CO2 injection port.

Step 5: Set Bubble Rate and Monitor

Turn on your CO2 regulator. A reasonable starting bubble rate for most planted tanks is 1-2 bubbles per second. Watch the chamber through the clear walls (or remove the top cap briefly to check) to see if a gas pocket is maintaining in the top of the chamber. You want a stable gas pocket of roughly 1-2 inches, not a full chamber of gas and not zero gas.

If the chamber is completely full of CO2 gas, your bubble rate is too high or your water flow is too low. If there's never any gas present, flow is too high relative to CO2 injection and you may be passing CO2 through too quickly. Adjust either the bubble rate or the canister outlet flow using a ball valve.

For a full comparison of CO2 system options and what pairs best with inline reactors, see our Best CO2 System for Aquarium guide.

The Clear Acrylic Tube Version

If you want to see clearly what's happening inside the reactor, build the chamber from clear acrylic tubing instead of PVC. This version is slightly more expensive (acrylic tube runs $5-15 depending on diameter) but makes monitoring and troubleshooting much easier.

Use the same barbed fitting and silicone assembly. The main difference is that acrylic requires cutting with a fine-toothed saw (PVC pipe cutter works too), and the end caps need to be acrylic sheet circles cut to fit and bonded with acrylic cement (Weld-On #4 or similar) rather than PVC cement.

The advantage of seeing through the walls is real. You can immediately tell if your gas pocket is too large, too small, or absent, and you can watch CO2 dissolve in real-time by noting the decrease in bubble size.

Connecting to Your Canister Filter

Most inline reactors connect between the canister outlet and the return nozzle or spray bar. Common canister filters in planted tanks include the Eheim Classic 2215, Fluval 307, and Oase BioMaster series, all of which use 5/8-inch or 3/4-inch OD tubing.

To connect: 1. Cut the canister outlet tubing mid-run with scissors 2. Insert the reactor's inlet barb into one cut end and the outlet barb into the other 3. Secure with stainless steel hose clamps or by carefully warming the vinyl tubing to slide over the barbs snugly

Position the reactor so the outlet (top) is slightly higher than the inlet (bottom) for best gas retention. Mount it to the side of the cabinet or aquarium stand with a zip tie or hook.

One practical note: the check valve on the CO2 line protects your regulator but doesn't protect the canister filter from back-pressure issues. If your canister filter is under the tank, the slight head pressure from the water column helps maintain reactor pressure. If the reactor is above the canister, you need to ensure the canister pump has adequate head pressure to maintain flow.

Dialing In CO2 Levels After Installation

The goal is a consistent CO2 concentration in the tank water of 20-30 ppm. You measure this with a drop checker: a hanging device with 4 dKH reference water and bromothymol blue indicator solution that changes color based on ambient CO2 in the tank.

  • Blue: CO2 below 15 ppm (increase bubble rate)
  • Green: CO2 approximately 30 ppm (ideal zone for most planted tanks)
  • Yellow: CO2 above 40 ppm (reduce bubble rate)

With an inline reactor running efficiently, you'll typically reach target CO2 levels with 10-30% fewer bubbles per second than you needed with an in-tank diffuser. The efficiency gain is measurable and means your CO2 cylinder lasts longer.

For more inline reactor options and equipment comparisons, see our Best CO2 Reactor guide.

Troubleshooting Common Problems

Reactor filling with CO2 and no water flow: Check that the canister filter is running and the outlet tubing is properly connected. If the pump is off, CO2 will fill the chamber and potentially back-pressure up the CO2 line.

Bubbles coming out of the reactor outlet into the tank: The gas pocket is too large. Either too much CO2 is injected or flow is too high, sweeping gas through before it dissolves. Reduce bubble rate first. If that doesn't help, slightly reduce the canister outlet flow with a ball valve on the return line.

Low CO2 even with high bubble rate: The check valve may be closed from back-pressure. Test by disconnecting the CO2 line with the pump running and feeling for air movement. Also check for leaks at silicone seals.

Strong CO2 smell from the tank: Typically means CO2 is too high. CO2 above 40-50 ppm can stress fish. Reduce bubble rate and increase surface agitation at night when the CO2 timer should be off anyway.

FAQ

Does a DIY inline CO2 reactor work as well as commercial reactors? Yes, in most cases. Commercial reactors like the Aquario Neo CO2 Reactor or the GreenLeaf Aquariums Turbo CO2 Reactor offer polished construction and easier installation, but the dissolution efficiency is comparable to a well-built DIY version. The DIY advantage is cost. The commercial advantage is reliability and easier setup.

Can I use a DIY inline reactor with a power filter instead of a canister? You can, but it's less straightforward. Power filters (hang-on-back) typically have their return flow exposed to air before it hits the tank, which would cause CO2 to off-gas from the reactor output. You'd need to route the return tubing below the surface. Canister filters are the standard pairing for inline reactors specifically because the tubing run stays sealed.

How big should the reaction chamber be? For tanks up to 40 gallons, a 1.5-inch diameter, 3-4 inch long chamber is sufficient. For tanks from 40-100 gallons, a 2-inch diameter, 4-6 inch chamber handles typical CO2 injection rates. Larger chambers provide more contact time but aren't necessary unless you're running very high CO2 injection rates for a densely planted tank.

Should the CO2 injection point be at the top or bottom of the chamber? Top is better. CO2 naturally rises, so injecting at the top keeps it in the gas pocket zone longer. Injecting at the bottom works but tends to create large bubbles that float upward without full dissolution before they escape through the outlet.

Conclusion

A DIY inline CO2 reactor built from a 1.5-inch PVC fitting and two barbed hose connectors costs around $10-15 in materials and dramatically improves CO2 efficiency compared to an in-tank diffuser. The key to making it work correctly is positioning the reactor with the outlet at the top, injecting CO2 into the upper chamber area, and using a drop checker to verify actual CO2 levels in the tank water. Build it on a Saturday, let the silicone cure overnight, and you'll have it running by Sunday with measurably better CO2 distribution in your planted tank.