PVC pipe is cheap, easy to cut and glue, and available everywhere. That makes it a natural material for a DIY rainwater harvesting system. With a downpipe diverter, a home-made first-flush device, a storage tank and some fittings, you can capture roof runoff and use it to water the garden. This guide covers the parts, the build, and the limits worth knowing before you start, especially around pressure.
Harvested rainwater in a system like this is for garden use only. It isn’t safe to drink without proper treatment.
How a rainwater harvesting system works
- Catchment: rain falls on a roof.
- Conveyance: gutters and a downpipe carry it down.
- Screening: a leaf screen or gutter guard removes leaves and debris.
- First flush: the first, dirtiest water from each shower is diverted away.
- Storage: cleaner water fills a tank or water butt.
- Overflow: excess water is safely routed away when the tank is full.
- Distribution: water leaves the tank by tap, gravity line or pump to the garden.
How much water can you collect?
The basic rule is that 1 mm of rain on 1 m² of roof gives about 1 litre. In US units, 1 inch of rain on 1,000 sq ft gives roughly 600 gallons. Real yields are lower because of splash, evaporation, the first-flush diversion and overflow when the tank is full.
Worked example: a 40 m² roof section in a 10 mm shower could produce about 400 litres in theory. After losses, expect noticeably less. That’s enough to fill a standard 200-litre water butt twice over, which is why many people link several containers together or use a larger tank.
Parts list for a PVC system
- PVC pipe and fittings, sized to suit your downpipe, typically 50–110 mm in the UK or 2–4 inch in the US
- A downpipe diverter or rain head with a leaf screen
- First-flush parts: a vertical PVC standpipe, a tee, an end cap with a small drip outlet or cleanout, and optionally a floating ball
- A storage tank, water butt or IBC with a lid
- Tank connectors (bulkhead fittings) for the inlet, outlet and overflow
- An overflow pipe leading to a soakaway, a rain garden or a drain
- An outlet tap or ball valve
- PVC primer and solvent cement, plus pipe clips or brackets
- Mesh over all openings to keep out insects
PVC degrades in strong sunlight over time. Use UV-resistant pipe, or paint exposed sections with a suitable exterior paint.
Which roofs are best for rainwater harvesting?
Smooth, hard roofing sheds water cleanly and holds less debris. Metal sheeting, clay or concrete tiles, and slate are commonly used. Rough or mossy roofs collect more organic matter, and some treated or older roofing materials may leach substances you wouldn’t want on food crops. If you’re unsure about your roof, use the water on ornamentals rather than vegetables, or ask a local expert. Shed and greenhouse roofs work well for small systems, especially on allotments. See irrigation systems for allotments.
Building it, step by step
Diverting the downpipe
- Choose a downpipe close to where the tank will stand.
- Cut the downpipe at a height slightly above the tank inlet.
- Fit a diverter or rain head with a screen. A diverter sends water into the tank until it’s full, then lets it continue down the original pipe.
Building a PVC first-flush diverter
A first-flush diverter catches the first slug of water off the roof, which carries most of the dust, pollen and droppings.
- Fit a tee in the pipe between the downpipe and the tank.
- Glue a vertical length of PVC pipe to the bottom leg of the tee. This is the first-flush chamber.
- Cap the bottom of the chamber with a screw-off end cap, drilled with a small hole or fitted with a slow-drip valve so the chamber empties gradually between showers.
- Optional: put a floating ball inside, sized to seal against a reducer at the top of the chamber. When the chamber fills, the ball rises and seals it, and water then flows on to the tank.
- Size the chamber. A common rule of thumb is to divert somewhere around 0.5–2 litres per square metre of roof, depending on how dirty the roof is. Longer or wider pipe holds more.
Unscrew the end cap regularly to clean out the sludge.
Storage, overflow and outlet
- Place the tank on a firm, level base. Water weighs about 1 kg per litre, so a full 1,000-litre tank weighs roughly a tonne.
- Raise it on blocks or a stand if you want gravity flow. Make sure the stand is rated for the weight.
- Fit the overflow near the top and route it well away from house foundations.
- Fit the outlet a few centimetres above the tank floor, so sediment stays behind.
- Keep the lid tight and opaque, to block light (which feeds algae) and to keep mosquitoes and children out.
Distribution to the garden
From the outlet you can:
- Fill watering cans.
- Attach a hose and gravity drip line, using low-pressure drippers and short runs.
- Add a small pump to drive standard drip or a hose. See irrigation system components for what goes after the pump: filter, regulator and tubing.
A filter is important, because tank water carries fine sediment that will block drippers.
Getting enough pressure
Gravity pressure depends only on height. Each metre between the water surface and the outlet gives about 0.1 bar (roughly 0.43 psi per foot). A tank raised 1 m therefore gives only around 0.1 bar, a small fraction of typical mains pressure. That will push water through short, level runs of low-pressure drip or leaky hose, but it won’t run sprinklers or mains-rated drippers properly. For anything more, add a pump. A small submersible or surface pump with a pressure switch is common. Solar pumps suit sites without power.
Is it legal to collect rainwater?
In the UK, collecting rainwater from your own roof for garden use is generally allowed, and water butts are widely encouraged. In the United States, rainwater collection is legal in every state, but some states limit how much you can store or attach conditions, and rules change over time. Check current state and local regulations before building a large system. Anywhere you live, a large tank or a new structure may need planning or building approval.
What does it cost?
The cost varies a lot with tank size. A single water butt with a diverter kit is inexpensive. A large tank, a pump and filtration cost considerably more. The PVC pipework itself is usually a small part of the total. The tank is generally the biggest single expense. Reusing a cleaned, food-grade IBC can cut costs. For context on overall irrigation budgets, see how much a garden irrigation system costs.
Safety and maintenance
- Not for drinking. Treat stored rainwater as non-potable.
- Edible crops: apply water to the soil rather than over leaves you’ll eat raw, and wash produce.
- Mosquitoes: mesh every opening and keep lids sealed.
- Children: use secure, lockable lids on any tank large enough to fall into.
- Cleaning: clear gutters and screens regularly, empty the first-flush chamber, and clean the tank out every year or two.
- Winter: in frost-prone areas, drain exposed pipes and pumps.
If you’re combining rainwater with a mains-fed system, keep the two supplies physically separate. Do you need a backflow preventer for garden irrigation explains why.