Jump to the main content

Search Home DIY Online

How to Set Up an Automated Garden Irrigation System

Posted by Reviewed by Home DIY Online Editorial Team Most recently reviewed Posted Revised Topic: Outdoors

To set up an automated garden irrigation system, plan watering zones, then connect a backflow preventer, timer, filter and pressure regulator to your spigot, lay drip tubing or soaker lines with emitters at the plants, and set the timer to run in the morning. Most gardens need about 1 inch of water per week from rain and irrigation combined, so adjust the schedule to the weather.

White irrigation pipes with water running from two spouts, a smart controller display and bright flowers by a stone wall

Covered in the guide: How to Build a Deck: Permits, Footings, Framing and Finishing

An automated garden irrigation system waters your plants on a schedule without you standing at the hose. The most efficient version for a home garden is drip irrigation: a timer, filter, pressure regulator and backflow preventer feeding tubing with emitters at the plants. This guide shows how to plan, build and maintain one. If you are also building a deck, patio or paths, plan irrigation lines first and run them under or around hard surfaces, using the layout ideas in our deck building guide.

The water part is simple, but two parts need care: protecting your drinking water from backflow, and powering a controller safely. Both are covered below, with the points where local code or a licensed pro comes in.

What is an automated irrigation system, and what does it include?

It is a water source, a way to open and close it on a schedule, and a way to deliver water to plants. A typical drip setup, in order from the faucet, includes:

  1. Backflow preventer: keeps irrigation water from flowing back into the household supply.
  2. Timer or controller: opens and closes water on a schedule. Iowa State notes that you can automate a drip system with a water timer or a solenoid valve connected to a time clock.
  3. Filter: Iowa State says a 100-mesh filter is a must, because unfiltered water clogs emitters.
  4. Pressure regulator: reduces household pressure to what drip lines can take.
  5. Main line: 1/2-inch or 1-inch tubing or polyethylene pipe from the faucet to the garden, which can be buried or covered with sod.
  6. Header and lateral lines: tubing that runs across and along the beds.
  7. Emitters: devices that drip water at the roots, usually rated 1/2, 1 or 2 gallons per hour.

Which watering method is best: drip, soaker hose or sprinklers?

Drip irrigation is the most efficient for beds, vegetables and shrubs. Iowa State Extension says it can use 30 to 50 percent less water than sprinklers and other traditional methods, delivers water slowly to avoid runoff, and keeps foliage dry, which reduces disease. The drawbacks are that emitters can clog and the system costs more to install. See the comparison table for how drip compares with soaker hoses, sprinklers and hand watering.

Soaker hoses are the easiest way to start. Lay them along rows within a few inches of the plant stems, pin them down, and cover them with mulch. They can wet the spaces between plants, which may encourage weeds. Sprinklers suit lawns, but they wet foliage and water weeds; for lawn watering, see our complete lawn care guide. Hand watering is the least efficient. Iowa State says the flow is often faster than the soil can absorb, so water runs off and the root zone stays dry.

How do you plan the system?

Sketch the garden, divide it into zones, and check your water pressure and flow. Iowa State’s planning steps are the basis here.

Sketch the garden and set zones

Draw your yard, marking beds, paths, slopes, shade and dry spots. Group plants with similar water needs into zones. A small garden might need one zone, using faster emitters on thirsty plants, while a larger landscape may need separate zones for vegetables, shrubs, trees and shade beds. Raised beds work well on their own zone; see raised garden bed construction.

Measure pressure and flow

Use a pressure gauge on the faucet and a bucket test for flow. Time how long it takes to fill a 5-gallon bucket. If it takes 30 seconds, the flow is 10 gallons per minute, or 600 gallons per hour. Iowa State says the maximum usable flow is 75 percent of that, so 450 gallons per hour in this example. Add up the emitter flow in each zone, which should stay below that number. For instance, 40 plants with 1-gallon-per-hour emitters use 40 gallons per hour, well within the limit.

Choose emitter spacing

Space emitters by plant type and soil. Iowa State recommends emitters every 12 inches in vegetable gardens and annual beds, or one per plant for widely spaced plants; one per perennial; two for small shrubs under 5 feet, one on each side; and for trees, about one every 4 feet within the dripline. Sandy soil moves water down, while clay spreads it sideways, so adjust.

Check for utilities and permits

If you will trench for a main line, request marks by calling 811 first. The 811 program says to wait for locators to mark lines and avoid digging within 18 to 24 inches of the marks. For a hose-fed drip kit, you may only need to lift sod. For a permanent in-ground system connected to household plumbing, ask your building department about permits and backflow device requirements.

How do you protect your drinking water from backflow?

Install the backflow preventer your local code requires between the water supply and the irrigation system. Backflow is the unintended reversal of water flow through a cross-connection, which can bring contamination into drinking water, according to EPA’s cross-connection fact sheet. It occurs when pressure in the public system drops below that in the connected irrigation lines.

  • What device: hose-end drip kits typically use a hose-bib vacuum breaker or similar device, but a permanent in-ground system may need a different assembly. The fact sheet says programs vary by state and municipality, so call your water utility or building department.
  • Do not add chemicals (fertilizer injectors or pesticides) to a system without the protection your jurisdiction requires and the product label allows.

If you are tying into permanent plumbing, hire a licensed plumber or irrigation contractor where the code requires it.

How to set up a drip irrigation system step by step

Step 1: Gather parts and flush the supply

Buy a kit or assemble parts to match your design. Run water through the faucet and hose to flush debris before connecting anything.

Step 2: Connect the head assembly at the faucet

Attach, in this order: backflow preventer, timer or controller, filter, then pressure regulator or gate valve and gauge, then the main line. Iowa State describes a 100-mesh filter and a gate valve or regulating disc to hold about 10 psi. Many kits combine the regulator and filter. If you want to keep the faucet usable for a hose, use a Y-valve.

Step 3: Lay the main line

Run it from the head assembly to the garden. Keep it on the surface or bury it, and bring it in from the side that makes mowing and walking easy. Lift sod and replace it over buried tubing.

Step 4: Lay the header and laterals

A typical vegetable garden has a header across the garden width, with laterals running along each row, each ending in a cap. Place lines on the soil or under mulch, and route them so digging, weeding and harvesting will not cut or crush them. Flush the main, header and laterals before you add emitters, as Iowa State advises.

Step 5: Add emitters

Punch holes in the lateral and connect emitters or supply tubes according to your plan. Match flow rates to plant needs: use higher-flow emitters on thirsty plants. Containers can use their own zone with emitters sized to each pot.

Step 6: Test the system

Turn it on and check every fitting for leaks, every emitter for flow, and the gauge for about 10 psi. Fix leaks before you cover lines with mulch. Dig a hole after a run to see how deep the water went.

Step 7: Set the schedule

Start with a long first soak, then short, regular runs. Iowa State says to initially soak the garden to a depth of 10 to 12 inches, then run the system every 1 to 2 days for a few hours to replace lost water, and to use a hole to learn how long it takes to wet 12 inches. Run it early in the morning so it does not interfere with household water use. Vegetables need about 1 inch of water a week from rain and irrigation together, so a rain gauge can tell you when to skip a run.

How do you power the timer or controller?

Use the power method the product allows, and keep electricity away from water. A simple battery-powered hose-end timer needs no wiring. A controller that operates electric valves usually needs a plug-in transformer or low-voltage wiring and often mounts in a garage or weather-protected enclosure. Outdoor outlets generally must be weather-resistant, ground-fault-protected receptacles under the National Electrical Code as adopted locally, and new circuits are a job for a licensed electrician. Our guide to outdoor electrical installation covers outdoor outlets, covers and GFCI protection. Follow the controller maker’s instructions, and turn off power before working on wiring.

Should you use a smart irrigation controller?

A smart controller can cut waste, but only if it is set up correctly. EPA WaterSense says homes with automatic irrigation systems can use about 50 percent more water than those without, and that properly installed and programmed WaterSense labeled controllers can significantly reduce waste. Weather-based controllers use local weather data to decide when and how much to water. For a small drip system, a rain delay or a rain gauge may be all you need. Check that the controller supports your valve voltage and the number of zones.

How do you maintain and winterize the system?

Inspect monthly during the season, and drain it before freezing weather. EPA WaterSense recommends inspecting an irrigation system monthly to prevent leaks, broken or clogged heads and other problems.

  • Monthly: check for leaks, wet spots, wilting plants and clogged emitters. Clean the filter.
  • If an emitter clogs: clean the filter, remove the cap on the end of the lateral and flush at full pressure, per Iowa State.
  • Before winter: drain the system. Iowa State advises disconnecting the system from the water source, storing timers, pressure valves, regulating disks and backflow preventers indoors, removing end caps and lifting lines to drain, and checking low spots that could trap water. If you use an air compressor, stay in the maker’s range, often 20 to 30 psi, since higher pressure damages emitters.
  • Each spring: flush lines, reinstall components and test before planting.

If the garden is staying too wet, or water collects after runs, check your grading; see yard drainage solutions. A mulch layer of several inches also reduces how much you need to water.

How much does it cost?

It depends on garden size, whether you use a kit, and whether you hire the work, and we could not find a reliable national price from a primary source, so we do not quote one. Iowa State notes that drip systems cost more to install than other watering methods, but they can save time and water over the season. Compare kit contents, including a filter, regulator and backflow preventer, and add the cost of a timer. Soaker hoses are the lowest-cost way to start. For features beyond watering, such as ponds and fountains, see DIY water features.

Watering methods for a garden compared
MethodWater useSetup effortBest forWatch for
Drip tubing with emittersLowest: 30 to 50 percent less than sprinklers (Iowa State)Moderate: filter, regulator, tubing, emittersVegetable beds, shrubs, containersEmitters clog without a filter; higher install cost
Soaker hoseLowEasy: lay along rows, cover with mulchRows and perennial beds, starting outCan wet spaces between plants and encourage weeds
SprinklersHigher: about 3 gallons per minute at typical pressure (Iowa State)Easy to moderateLawns, large open bedsWet foliage raises disease risk; waters weeds too
Hand wateringVaries; often wastefulNoneSpot watering, new plantingsWater runs off before soaking in; shallow roots

Use drip or soaker lines for beds and vegetables, put them on a timer, and keep sprinklers for lawns.

Questions we get

How does an automated garden irrigation system work?

A timer or controller opens a valve on a schedule, and water flows through a filter and pressure regulator into tubing that delivers it slowly to the plants. In a simple setup, a battery timer screws onto the outdoor faucet. Larger systems use a controller wired to electric valves for each zone. A backflow preventer on the supply line keeps irrigation water from flowing back into your drinking water.

Do I need a backflow preventer for drip irrigation?

Usually yes. A cross-connection between irrigation and your drinking-water supply can let contaminated water flow backward when the main pressure drops. EPA's fact sheet notes that cross-connection and backflow rules vary by state and municipality. Many drip kits include a hose-bib vacuum breaker, but permanent in-ground systems often need a specific approved device. Ask your water utility or building department which one your area requires.

How much water pressure does drip irrigation need?

Far less than a household tap provides. Iowa State Extension says most homes supply 25 to 35 psi and most drip systems operate at about 10 psi, so you need a pressure regulator, gate valve or regulating disc, and a gauge to check it. Too much pressure blows tubing apart and pops off emitters. Many kits include a regulator matched to the emitters; check its rating before you buy.

How long and how often should I run drip irrigation?

Run it long enough to wet the root zone, then repeat as needed. Iowa State says to soak a garden to 10 to 12 inches at first, then run it for a few hours every 1 to 2 days to replace lost water, and to dig a hole to check how deep the water reached. A rain gauge helps, since vegetables need about 1 inch per week from rain and irrigation combined.

What time of day should I water the garden?

Water in the morning. Iowa State says morning or early-afternoon watering lets foliage dry quickly and keeps plants hydrated through the hottest part of the day, and it suggests running drip systems early so they do not compete with household water use. Drip lines apply water to the soil, so timing matters less for leaf disease than with sprinklers, but morning is still the best default.

How do I keep drip emitters from clogging?

Install a filter, flush the lines before connecting emitters, and clean the filter regularly. Iowa State Extension says a 100-mesh filter is a must, and that if clogs occur you should clean the filter, remove the cap on the end of a lateral line and flush the system at full pressure. Check plants for wilting, since clogs often go unnoticed until plants stress.

How do I winterize a drip irrigation system?

Drain it before freezing weather. Iowa State advises disconnecting the system from the water source, removing and storing pressure valves, timers, regulating disks and backflow preventers indoors, taking off end caps and lifting lines to drain them. An air compressor can clear lines; many makers specify 20 to 30 psi, and above 30 psi can damage emitters. Check low spots so water cannot trap and freeze.

Do I need a permit or a licensed pro for a sprinkler system?

Often yes for permanent in-ground systems tied into household plumbing, and not for a hose-end drip kit. Rules on permits, backflow devices and testing vary by municipality, and some require a licensed plumber or irrigation contractor to install and test the backflow assembly. Wiring a controller or adding an outdoor outlet involves electrical code, so hire a licensed electrician for new circuits. Call your building department first.

Where we got this

  1. Iowa State University Extension: Using drip irrigation in the garden (yardandgarden.extension.iastate.edu)
  2. Iowa State University Extension: Watering the home vegetable garden (yardandgarden.extension.iastate.edu)
  3. U.S. EPA WaterSense: Your Yard Can Be Greener (permanent.access.gpo.gov)
  4. U.S. EPA Distribution System Toolbox: Cross-Connection Control and Backflow Prevention (fact sheet) (methuen.gov)
  5. 811 Before You Dig: Information for homeowners (811beforeyoudig.com)

Keep reading

Return to top