How to Build a Rainwater Collection System That Does Not Overflow

A rain barrel under a downspout is not a rainwater system. It is one component of one, and on its own it overflows in the first serious storm, breeds mosquitoes by midsummer, and fills with the roof grit that the first ten minutes of rain washes off. The difference between that and a system is five parts, and none of them is expensive.
This guide is about building the system. If what you want to know is how much water a roof yields and what that water is safe for, our guide to rainwater harvesting answers that question instead.
Collection, harvesting, catchment: all the same system
One note on vocabulary before the build, because it sends people down four different search results for one subject. A rainwater collection system, a rainwater harvesting system, a rainwater catchment system and a roof water harvesting system are the same thing: a roof, gutters, a diverter, storage and whatever treatment the end use needs. “Catchment” is the term the water industry and most state regulations use, and it strictly means the surface the rain falls on, which for a house is the roof. “Harvesting” is the term in most published guidance. “Collection” is what the retailers call it.
The storage vessel has its own set of names, and those do mean different things: a barrel is 50 to 60 gallons, a tank is anything larger sitting on the ground, and a cistern is a large tank, historically masonry and now usually poly or concrete, often buried. There is a section on choosing between them below.
Before anything else: check whether you may
Rainwater collection is legal in most of the United States, and in a few western states it is regulated, because water law there treats precipitation as already belonging to downstream users. Start here rather than after you have bought a tank.
Colorado is the strictest case and worth knowing in detail, because it is the example most often garbled online. Under Section 37-96.5-103 C.R.S., established by House Bill 16-1005, the rules are specific:
| Colorado rule | Detail |
|---|---|
| Who | Single-family homes, or multi-family with four or fewer units |
| How much | Two barrels, 110 gallons combined |
| Permit | None required at that volume |
| Containers | Must have sealable lids |
| Use | Outdoor only, on the property where it was collected |
| Not permitted | Drinking water or any indoor household use |
The state's Division of Water Resources adds that properties with a residential well, or which could qualify for one, may be allowed to collect more under separate statutes. Other western states have their own rules and some offer rebates rather than restrictions. Check your own state and your municipality before you build, and check your HOA covenant too, which is more often the real obstacle than state law.
How much water the roof actually yields
The arithmetic is simple and the number surprises people. One inch of rain on one square foot of roof produces 0.623 gallons. That is geometry rather than an estimate: a square foot is 144 square inches, an inch of rain on it is 144 cubic inches, and a US gallon is 231 cubic inches.
The formula is therefore: roof footprint in square feet x inches of rain x 0.623 x efficiency.
| Roof footprint | 1 inch of rain | A 2-inch storm | 30 inches a year |
|---|---|---|---|
| 500 sq ft | 265 gal | 530 gal | 7,950 gal |
| 1,000 sq ft | 530 gal | 1,060 gal | 15,900 gal |
| 1,500 sq ft | 795 gal | 1,590 gal | 23,850 gal |
| 2,000 sq ft | 1,060 gal | 2,120 gal | 31,800 gal |
Those figures use an efficiency factor of 0.85, which allows for what the first flush diverts, what evaporates, and what splashes past the gutter. Use the roof's footprint, the area it covers on the ground, not the pitched surface area: a steeper roof catches the same rain as a flat one of the same footprint.
The important conclusion is in the second column. A 1,000 square foot roof in a single two-inch storm produces over a thousand gallons, which is ten times what two standard barrels hold. Your system will overflow on most storms, and the design question is where that overflow goes, not whether it happens.
The five parts of a system
1. The catchment and gutters
Roof material matters for what the water is fit for. Metal and tile are the cleanest; asphalt shingle sheds grit and some compounds; and anything with lead flashing, treated wood shakes or old paint is a reason to keep the water well away from edible planting. Keep gutters clear, and fit a leaf screen, because every leaf that reaches the barrel becomes sediment.
Collecting rainwater from gutters is also where the siting decision gets made, and it is simpler than it looks: find the downspout that serves the largest roof section and put the storage there. Roof area is the whole input to the system, so one downspout on a big plane beats three on small ones.
2. The first-flush diverter
This is the part most home systems leave out and the one that makes the largest difference to water quality. A first-flush diverter is a vertical pipe that fills before water can continue to the tank, capturing the dirtiest initial runoff carrying roof dust, droppings and pollen. It drains slowly through a small weep hole so it is empty and ready for the next storm.
A common sizing convention is roughly 10 gallons of diversion per 1,000 square feet of roof. It costs very little and it is the difference between stored water and stored sludge.
3. Storage, and the overflow
Containers must be opaque, because sunlight grows algae, and sealed, because open water breeds mosquitoes. That sealing requirement is not just good practice; it is written into Colorado's rules, and it is why a repurposed open drum is a poor choice. Which vessel to use is a decision in its own right, and it has its own section below.
Plan the overflow before you buy the tank. Given the numbers above, the outlet will run, and it must be piped somewhere that drains away from the foundation. An overflow discharging against the wall of a house is a worse problem than the one the barrel was solving. Barrels can be linked in series at the top to chain capacity, which is the cheapest way to expand.
Raise the tank. A spigot at the bottom of a barrel standing on the ground gives you almost no head and will not fill a watering can. On a stand of concrete blocks it will, and gravity is the only pump most systems need.
4. Filtration, matched to the use
Filtering for irrigation means keeping debris out of a hose and nothing more: a mesh screen at the inlet and a tap filter do it. Filtering to a standard where water is fit for washing or, where it is legal, for indoor use is an entirely different proposition. It has its own section below, because this is where most of the bad advice on the subject lives.
5. Maintenance, which is the part that fails
| Task | How often |
|---|---|
| Clear gutters and leaf screens | Twice a year, and after storms |
| Check the first-flush weep hole | Monthly in the wet season |
| Inspect seals and lids for insect entry | Monthly |
| Drain and clean the tank | Annually |
| Empty before a hard freeze | Before winter |
Colorado requires barrels to be emptied at least monthly, which is a sensible habit everywhere: stored water that sits for months is water nobody wants to use.
Barrels, tanks and cisterns: choosing the storage
Storage is the binding constraint on the whole system. Supply is not the problem, as the yield table makes plain; what you can hold is. Four classes of vessel cover almost every domestic build.
| Vessel | Nominal capacity | Full weight | Where it fits |
|---|---|---|---|
| Rain barrel | 50 to 60 gal | about 460 lb | One downspout, cheapest entry, overflows on most storms |
| IBC tote | 275 or 330 gal | about 2,300 lb | Most gallons for the money, if you can live with how it looks |
| Above-ground tank | 300 to 2,500 gal | up to 20,000 lb | A whole roof section, needs a prepared base |
| Underground cistern | 1,000 gal and up | — | No freezing, no algae, no eyesore, but excavation and a pump |
Those weights are arithmetic, at 8.34 pounds per gallon, and they are the reason siting comes before buying. A single 55-gallon barrel is approaching a quarter of a ton. Nothing in this table belongs on a wooden deck or a balcony; it needs level, solid, load-bearing ground.
An IBC tote is the value option and the one with a caveat. They are sold second-hand everywhere because industry uses them once, and the question that matters is what was in it. A tote that held food-grade syrup is fine after a wash; one that held a solvent or an agricultural chemical is not, whatever it is scrubbed with. Buy one with a legible label, and if the label is gone, use it for a purpose where it does not matter. They are also translucent white, so they need paint or a cover, or the water will go green.
An underground rainwater harvesting system solves the three real nuisances of above-ground storage at once: it cannot freeze, it stays dark and cool so very little grows in it, and it is invisible. The costs are equally clear. You lose gravity, so a pump becomes mandatory rather than optional, which means the system now depends on electricity in exactly the scenario you may have built it for. You take on excavation, access for maintenance and often a permit. And a buried tank is a structural component: an empty one in saturated ground can lift, and the backfill and burial depth in the manufacturer's instructions are specifications rather than suggestions.
For most households the sequence that actually happens is: one barrel, then a second linked to it, then the realisation that the overflow runs on nearly every storm, then a tank. You can skip to the end of that sequence if you already know where the overflow goes.
Filtration and treatment, and the honest answer on drinking
Treat harvested rainwater as non-potable. It has run across a roof and through a gutter, and it carries whatever was on them, which includes bird and animal droppings. In Colorado, drinking it is specifically not permitted at the barrel volumes the statute allows. Elsewhere it is a question of treatment and testing rather than permission, but the default assumption should be irrigation, not drinking.
What a rainwater treatment system needs is set entirely by what the water is for, and the four tiers are genuinely different pieces of equipment:
| Use | What the water needs |
|---|---|
| Garden, lawn, trees | Leaf screen and first-flush diverter. Nothing more |
| Toilet flushing, car washing | The above, plus a sediment filter at the outlet |
| Washing, laundry | Sediment filtration and disinfection, and plumbing that cannot cross-connect with the mains |
| Drinking | All of the above, filtration fine enough for protozoa and bacteria, a separate step for viruses, and testing |
Two things about that bottom row, because this is where products sold as a rainwater purification system tend to oversell themselves. First, most package systems are a sediment cartridge followed by a UV lamp. UV does inactivate what passes it, but it requires water that is already clear, because turbidity shadows the organisms from the light, and it requires continuous mains power, which makes it the wrong tool in a grid-down scenario. Second, the hollow-fibre filters that most emergency filtration relies on do not remove viruses by pore size, and roof runoff is a source of them. Our guide to emergency water filters sets out what each method removes and what it does not, and the filtration gear page covers the equipment.
The serious risk in a potable retrofit is not the filter. It is cross-connection: plumbing non-potable water into a house in a way that can be back-siphoned into the drinking supply, which is a hazard to the street as well as to you. That is why potable rainwater plumbing is regulated, needs backflow prevention, and belongs with a licensed plumber rather than a weekend build.
None of this makes the water worthless in an emergency, because most household water use is not drinking. Flushing, washing, cleaning and keeping a garden alive are the bulk of it, and rainwater takes those jobs off your stored drinking water, which is the scarce resource. If you do intend to drink it when it matters, treat it exactly as you would any water of uncertain origin: let the sediment settle, filter it, then disinfect it.
Using the water for irrigation
Irrigation is what nearly every domestic system is actually for, and in Colorado it is the only use the statute permits. It is also the use where rainwater has a real advantage over the tap: it carries no chlorine or chloramine, it is soft, and it has none of the sodium that a water softener adds, which matters for anything in a pot.
The part people get wrong is pressure. Gravity gives you 0.433 psi for every foot of height, so a barrel raised four feet on blocks delivers about 1.7 psi at the hose. That is ample for filling a watering can and for a drip line or soaker hose laid downhill of the tank. It is nowhere near the 20 to 30 psi a sprinkler head needs, so a rainwater irrigation system either runs on drip, or it runs on a pump. Drip is the better answer anyway, since it loses less to evaporation and it suits the intermittent supply.
Fit a mesh filter at the tank outlet if you are running drip, of the fineness the emitter manufacturer specifies. Drip emitters are the one component in the whole system that a little grit will stop, and a tank always has some.
Sizing is the same arithmetic as the yield table, run backwards. An inch of water over a square foot is 0.623 gallons, so a bed wanting an inch a week needs about 0.62 gallons per square foot per week:
| Planted area | An inch of water | Over a 10-week dry spell |
|---|---|---|
| 100 sq ft | 62 gal | 620 gal |
| 200 sq ft | 125 gal | 1,250 gal |
| 500 sq ft | 312 gal | 3,120 gal |
Set that against two barrels at 110 gallons and the conclusion is clear: storage covers a week of a small bed, and the reason it still works is that it refills with every rain. A system is a buffer between storms, not a reservoir for a season. If the aim is to carry a garden through a genuine drought, the number to plan against is the right-hand column, and that is tank territory rather than barrel territory.
What it costs, and what drives the cost
We have not price-checked components for this guide and prices vary too much by region and by year for a table of figures to be worth anything. What is stable is the structure, and three decisions set almost the whole cost of a rainwater collection system:
How much you store. Capacity is the single largest line in the budget, and the cheapest gallons are almost always a second barrel linked to the first rather than a larger tank bought later.
Whether it is buried. Excavation, a pump and the access arrangements typically come to more than the tank itself, which is why an above-ground tank of the same volume is a different order of project rather than a cheaper version of the same one.
Whether the water will ever be potable. Filtration, disinfection, backflow prevention, a permit and testing turn a build into an installation. This is the decision that changes the budget by a multiple rather than by a percentage.
Everything else is small. Gutters you already have. A first-flush diverter is among the cheapest parts in the system and the one with the largest effect on whether what you stored is usable, which makes it the best value in the whole build. Get two quotes for anything involving a contractor, and get the legal position settled first, because a permit refused after a tank is delivered is an expensive way to learn the rules.
A realistic first build
Two linked 55-gallon barrels on a block stand, under the downspout that serves the largest roof section, with a leaf screen, a simple first-flush diverter and an overflow piped into a garden bed. That is an afternoon, it is legal almost everywhere including Colorado at exactly 110 gallons, and it will cover routine garden watering through most of the growing season.
Expand by adding barrels in series or by moving to a single larger tank once you know where the overflow goes and how fast the system actually fills. Nearly everyone who builds one underestimates both.
What we could not verify
We do not physically test the products linked on this page; the picks come from manufacturer specifications, retailer data and what buyers report over time.
The 0.623 gallons per square foot per inch figure is geometry and is exact, and the weight and pressure figures are arithmetic from it: 8.34 pounds per gallon, and 0.433 psi per foot of head. The 0.85 efficiency factor is a planning convention rather than a measured value, and real efficiency varies with roof material, pitch, gutter condition and how much of a storm the first flush takes; treat the yield table as an estimate and not a guarantee. The first-flush sizing convention of roughly 10 gallons per 1,000 square feet is likewise a rule of thumb rather than a standard, and so is the one-inch-per-week irrigation figure, which depends on the plant, the soil and the climate.
The capacities in the storage table are the nominal sizes those product classes are sold in, not measurements of specific products, and we have not price-checked anything, which is why there are no costs here. The sprinkler pressure range is a general figure for domestic heads; the requirement for your own is on the head, not in this article.
The Colorado rules are from the state's Division of Water Resources, checked on 3 October 2026. We have not surveyed the other 49 states, and rules, rebates and HOA covenants change. Potable conversion and backflow prevention are governed by local plumbing codes we have not reviewed. Confirm your own jurisdiction before building; nothing here is legal advice.
Recommended gear for this guide
Picks from our Gear Guide that cover what this article talks about. Affiliate links; see our disclosure.
Keep reading

Rainwater Harvesting: How Much You Can Collect, and What It Is Safe For
A single inch of rain on an average roof is hundreds of gallons. Here is the arithmetic, the hardware that makes it usable, and the honest answer on whether you can drink it.

How Much Water Should You Really Store? A Complete Guide
One gallon per person per day is where the advice stops and the arithmetic begins. Here is what three days, two weeks and a month actually look like in containers, floor space and weight.

Emergency Water Filters Compared: Gravity, Squeeze, Straw, Tablets
Four ways to make water drinkable, each good at something different, and the difference between a filter and a purifier that decides whether yours is enough on its own.



