Rules for a greywater irrigation system come from three layers: the model plumbing code your state has adopted (usually the Uniform Plumbing Code or the International Residential Code), state environmental regulations, and local building and health department requirements that sit on top of both. In most places that allow residential reuse, the smallest systems — a washing machine piped straight to the yard — are exempt from a building permit if they meet a short list of conditions, and anything larger needs a permit, an inspection, and a design that follows specific standards for setbacks, piping, and subsurface delivery. Before you buy equipment or dig, check with your local building department. What’s allowed one county over may be prohibited, or regulated differently, where you live.
Most jurisdictions sort systems into two tiers. Simple systems handle 250 gallons or less per day and serve a single-family home. Complex systems process more and require engineered designs, professional installation, and tighter inspection. Exact thresholds and names vary, but the two-tier structure is the norm.
Which Water You Can Use
Greywater is untreated household wastewater that hasn’t touched toilet waste. Both the UPC and the IRC limit the sources you can collect from to bathtubs, showers, bathroom sinks, clothes washers, and laundry trays. Some jurisdictions also allow air conditioner condensate, rainwater, and swimming pool backwash under the same framework.
Everything else is blackwater and cannot enter the system. Toilets, urinals, and bidets are out. Less obvious: kitchen sink and dishwasher discharge are also prohibited sources under both codes, because food, grease, and oils accelerate bacterial growth and clog irrigation components. Water softener discharge and reverse osmosis reject water are excluded as well.
When You Need a Permit
The simplest setup — running your washing machine’s discharge hose directly to landscape irrigation — is exempt from a building permit in a growing number of jurisdictions. These “laundry-to-landscape” systems use the pump already built into the washing machine, so no extra pumps or tanks are involved. Typical conditions for the exemption:
- The system collects water from the clothes washer and nothing else.
- You haven’t cut into any existing drain pipes to access the water.
- The system serves a one- or two-family dwelling.
- A clearly labeled valve lets you redirect flow back to the sewer.
- All water stays on your property and soaks in; no ponding or runoff.
- The release point is buried under at least two inches of mulch, rock, or soil.
- Water from washing diapers or chemically contaminated garments goes to the sewer, not the yard.
Even without a permit, these systems have to meet minimum setback distances and labeling rules. An operation and maintenance manual stays with the building for the life of the system, and future owners or tenants must be told the system exists.
Anything beyond that threshold — multiple fixture sources, cutting into drain plumbing, larger daily volumes — needs a permit from your local building department.
Design Rules Every System Has to Meet
These standards come from the model plumbing codes. Local versions can tighten them, rarely loosen them.
Setback Distances
Irrigation fields and mulch basins have to sit a minimum distance from structures and water. Under the UPC framework, the standard minimums for subsurface irrigation are:
- Buildings (including porches, carports, and covered walkways): 2 feet
- Property lines: 5 feet
- Water supply wells: 100 feet
- Streams and lakes: 50 feet
- Septic tanks: 5 feet
Local authorities can increase these when site conditions warrant, such as high water tables or steep slopes. For drip irrigation and mulch basin systems, some jurisdictions reduce the building setback to as little as 18 inches.
Purple Pipe and Labels
All greywater distribution pipes have to be purple, either manufactured that color or wrapped with purple identification tape at least three inches wide. Labels reading “CAUTION: NONPOTABLE WATER — DO NOT DRINK” go on at intervals no greater than 25 feet and wherever the pipe passes through a wall, floor, or roof. The color coding is there to prevent cross-connections that could send non-potable water to a drinking faucet.
Diversion Valve
Every system needs a diversion valve, installed somewhere accessible, that sends all flow back to the sewer or septic system when you need it to. You’ll use it in winter when plants are dormant, during maintenance, and when someone in the household is sick. The valve has to clearly show the direction of flow.
Subsurface Delivery Only
Greywater cannot pond on the surface. All irrigation is subsurface, with water delivered through pipes buried at least two inches below finished grade and covered with mulch or soil. The irrigation field has to be sized to absorb the full daily volume without any water surfacing, pooling, or running off the property.
No Storage Beyond 24 Hours
Untreated greywater left sitting for more than 24 hours starts smelling and growing bacteria fast. Most regulatory frameworks either prohibit storage past 24 hours or require the system to automatically discharge stored water to the sewer if it hasn’t been used in that window. Design the system so water moves from source to soil the same day.
Gravity vs. Pumped
If your irrigation area sits below or level with the source, gravity does the work and the system has fewer failure points and no electrical cost. If the irrigation area is uphill, a small sewage pump and pressure lines are allowed, with the trade-off of higher install and maintenance cost.
What You Can and Can’t Irrigate
Greywater can carry E. coli, Salmonella, norovirus, hepatitis A, and Giardia even from clean-looking sources like showers and bathroom sinks. The rule across jurisdictions that address this: no greywater on any crop where the edible part touches the soil or could be splashed by the water. Root vegetables, leafy greens, strawberries, melons, squash, and low-growing crops like bush beans are off-limits.
Fruit trees are the common exception. You can irrigate them with greywater as long as the subsurface delivery keeps water from splashing onto the fruit. A quick test: if you’d have to wash soil off it before eating, don’t water it with greywater.
What You Can and Can’t Wash With
Two ingredients cause the most lasting damage to soil irrigated with greywater: sodium and boron.
Sodium builds up in soil over time, wrecking its structure so it drains poorly when wet and sets like brick when dry. Plants pull it up through their roots, and it eventually burns the leaves. Fruit and nut trees are especially sensitive. Sodium stored in roots and lower trunks gets released when sapwood converts to heartwood after three to four years, moving into the leaves and causing damage that wasn’t visible earlier. Irrigation water above 200 ppm sodium is a high risk for most landscape plants. Damage in citrus and stone-fruit trees has shown up as low as 115 ppm.
Boron is essential in tiny amounts and toxic at slightly higher ones. Over 1 ppm in irrigation water is a severe risk for most plants, showing up as stunted growth and browning leaf margins. Many detergents marketed as eco-friendly still contain boron compounds, so read ingredient lists.
Also avoid chlorine bleach, antibacterial agents, synthetic fragrances, artificial dyes, parabens, and petroleum distillates. Rinse water from paint, hair dye, or greasy rags should be diverted to the sewer rather than run through the system. Formulas change, so check labels every time you buy, even for products you’ve used for years.
Permit Application and Inspection
For anything beyond the laundry-to-landscape exemption, expect to file more documentation than most homeowners do for a plumbing fix.
A complete application typically includes a site map showing existing plumbing, property lines, the proposed irrigation area, underground utilities, and any wells or septic components. Technical schematics have to trace the water path from each collection point through the diversion valve to the final emitters. You’ll also provide an estimate of daily discharge volume, based on occupants and connected fixtures, along with the square footage of the irrigation zone to show the soil can absorb the output.
Many jurisdictions require a soil percolation test before approval. The test measures how fast water drains through your soil and determines whether the ground can handle the planned volume without runoff. Professional percolation testing typically runs $750 to $1,900 depending on site complexity. If grading or trenching will change the soil profile at the irrigation depth, the test has to be done after those alterations.
Applications go through the local building department’s online portal or service counter, with an administrative fee that varies by jurisdiction and system complexity. After plan approval, construction can start, but the system can’t go into operation until a certified building official inspects it. The inspector checks that the diversion valve, purple piping, and subsurface distribution match the approved schematics. Failing inspection can mean an order to stop using the system and potential fines.
What It Costs
Price depends on how sophisticated a system you need:
- Simple diverter setups using valves and gravity: $500 to $2,500
- Branched drain systems feeding multiple zones: $1,000 to $4,000
- Pumped systems for uphill or longer runs: $4,000 to $10,000
- Automated filtration with disinfection and smart controls: $8,000 to $20,000
Those numbers cover equipment and professional labor but not permit fees, soil testing, or site prep like trenching. For a typical single-family home with a mid-range system, the all-in cost including permits and soil testing usually falls between $2,200 and $5,500.
Keeping the System Compliant
Greywater systems need regular attention to stay within the rules you were permitted under. Filters need cleaning on the manufacturer’s schedule. Drip irrigation lines need periodic flushing to clear interior buildup, and flush valves at the downstream end of each line should be checked while the system runs to confirm they work.
At least once a year, usually at the start or end of winter, open the manual flush valves and push clean water through the entire network until it runs clear. Inspect drip lines for leaks and clogged emitters, and re-cover any exposed sections with mulch so the subsurface requirement still holds. Watch plant health and soil condition in the irrigation zone. Leaf burn, stunted growth, or soil that used to drain and no longer does are signs of sodium or boron accumulation, and the fix is usually switching cleaning products or resting the irrigation area while you rotate the diversion valve back to the sewer.