How to Install a Sprinkler System for a Lush, Healthy Lawn

The grass is always greener… on a well-watered property

Lawn sprinkler spraying water over grass
Photo: Voyagerix / Adobe Stock
Lawn sprinkler spraying water over grass
Photo: Voyagerix / Adobe Stock

This project can be costly in more ways than one. Hire a pro to get the job done right the first time, avoid potential injury, and eliminate budget-breaking DIY mistakes.

SKILL LEVEL
Challenging
COMPLETION TIME
3 days
COST
$1,500–$2,000
Get quotes from up to 3 pros!
Enter a zip below and get matched to top-rated pros near you.
Geo Icon
What you'll need:
TOOLS
  • Measuring tape
  • Shovel
  • Trencher
  • Pipe cutter
  • Pipe wrench
SUPPLIES
  • Landscape stakes or flags
  • String
  • Pipes
  • Pipe connectors
  • Manifold

Bright green grass, a blooming flower garden, and plump fruits and veggies all require a precise and consistent amount of water. To achieve a healthy lawn and garden, you should learn how to install a sprinkler system. Sprinklers help provide water at consistent intervals so that your plants never go thirsty. Here’s how to install an irrigation system to help your landscape thrive.

  1. Design the Layout

    Map out the layout yourself, or tap a landscaping company for guidance. Use landscape flags or stakes and string to mark the path of the lines. If you’re giving your entire property an update, consider installing sprinklers before landscaping to avoid damaging the new lawn and garden.

    You’ll also want to consider what types of sprinklers you want. Pop-up sprinklers are popular because they sit just underground away from lawnmowers and weed whackers until the timer turns on the system. However, you can enjoy sprinkler benefits, like a healthy lawn and a low-maintenance veggie garden, no matter what type you choose.

  2. Prep the Landscape

    Sprinkler backflow preventer illustrated

    Before you can dig trenches and lay sprinkler lines, there are a few legal obligations. To prep for installing sprinklers, be sure to:

    • Check that your design meets local building codes, including backflow preventer requirements.

    • Apply and obtain appropriate permits for your project.

    • Call 811 to have any utility lines on your property marked.

    • Measure your property’s water source for pounds per square inch (PSI) and gallons per minute (GPM) to determine what sprinkler parts you’ll need.

  3. Dig Trenches

    Installation of sprinkler system
    Photo: Campwillowlake / iStock / Getty Images Plus / Getty Images

    You can use a trencher machine to dig narrow lines along the path of the sprinkler system. Make sure to avoid any areas marked as utility lines, and follow the strings you placed for mapping out the sprinkler system. The trenches should be 8 to 12 inches deep.

  4. Connect to a Water Source

    Shut off the water supply, then locate the main water line for your property. For warmer climates, you can connect your sprinkler pipes to an outdoor spigot for the water supply. For cooler climates, you’ll need to locate the main water line underground.

    Because this process involves cutting into the main water line, you should hire a plumber for this step. In some cities, only licensed pros can legally access and alter the main water line.

  5. Install Sprinkler Valves and Valve Box

    workers installing irrigation control box
    Photo: kalpis / Adobe Stock

    A few feet away from where the sprinklers connect to the water source, dig a hole that’s 18 inches deep and 3 feet wide. Layer up to 2 inches of gravel at the bottom. This is where you’ll place the valve box.

    Following the manufacturer’s instructions, assemble the valve box. It should contain the sprinkler valves that control water flow to each sprinkler zone, a master valve that controls the entire system, and a manifold that carries water to the various valves. 

  6. Wire the Valves

    Sprinkler valve wiring illustrated, including cable connectors, a common wire, and wire zones

    Follow the sprinkler system’s manual for wiring the sprinkler valves and the master valve. If you’re unsure how to handle the wiring, call a sprinkler installation pro or local electrician for assistance.

    Here’s one of many helpful sprinkler maintenance tips: Make sure you jot down what color wires you assign for the sprinkler valves for each watering zone. The common wire is white, but the other wires can be color-coded to your preferences. If you need to inspect or make repairs for specific zones in the future, knowing the wire color coding will make the process easier.

  7. Lay Sprinkler Lines

    Based on the design layout, use pipe cutters to cut the pipes for the trenches. Then, begin laying the pipes in the trenches, connecting them together as you go with connectors and PVC cement. Continue this process until the pipes for all trenches are connected.

  8. Connect Sprinkler Lines to Valves

    Man working with pipes in ground
    Photo: photovs / iStock / Getty Images Plus / Getty Images

    Once you’ve arranged and connected all the sprinkler lines around your yard, you can hook up the lines to the valves. Use elbow pipes to connect the lines around and into the valve box. Make sure the pipes now connect from the main water source to the backflow preventer to the valves and then to the sprinkler lines.

  9. Flush the Sprinkler System

    Before attaching the sprinkler heads, make sure the master valve and sprinkler valves are off, then turn the water supply back on. Now, open the master valve and open each sprinkler valve one at a time to flush the system. Close the valves and shut the water back off before continuing.

  10. Install Sprinkler Heads

    To add sprinkler heads, you’ll need to connect risers to the sprinkler lines using cement and fittings, then screw on each sprinkler head to each riser. 

  11. Wire the Timer to the Sprinklers

    With the lines and sprinkler heads in place, you can wire the sprinklers to the timer, or controller. Follow the manufacturer’s instructions for wiring or hire an electrician.

  12. Program and Test Sprinklers

    Sprinkler watering yard
    Photo: Bill Oxford / E+ / Getty Images

    Now, it’s time to get your sprinklers ready to spray. Turn the water supply back on. Go to the timer, also known as the controller, to program the spray settings for each sprinkler zone. Turn on the sprinkler system and check that each sprinkler is spraying the appropriate area. Adjust any sprinkler heads as needed.

    If a sprinkler zone isn’t working, the valve for that zone may have incorrect wiring or a faulty solenoid. When troubleshooting your sprinkler system, make sure the power and water are turned off before inspecting the wiring. Be sure to hire a sprinkler installation pro if you’re not confident in handling wires. Otherwise, you could be shocked.

    Once you’re satisfied with the water coverage, make sure the timer is set to your programmed settings and let the sprinklers handle irrigating your landscape.

DIY vs. Hiring a Pro

Installing a sprinkler system costs $800 for permits, inspection, and planning, plus around $0.20 to $1 per square foot of lawn that you’re irrigating. If you don’t own a trencher for digging sprinkler lines, you’ll need to budget $100 to $150 per day to rent one. In total, you’ll spend an average of $1,500 to $2,000 to install a sprinkler system.

Angi Tip

Backflow testing is not a DIY job. You could face legal consequences if you try to conduct a backflow test on your sprinklers without certification. Call a sprinkler pro to complete this test quickly, safely, and legally.

Kassidy Barber
Content Editor, Angi

Expert installation adds between $100 and $1,600 to the project total, but hiring a sprinkler installer near you is worth the investment. When DIYing, you risk damaging the sprinkler pipes, installing too many or too few sprinkler heads per zone, or even digging into utility lines by mistake.

Any one of these mistakes can lead to an overwatered lawn that attracts pests, a patchy and dried out lawn, or a flooded property. Digging into utility lines can also pose risks of power outages, gas leaks, shocks, fires, and other disasters in addition to costly fines.

Frequently Asked Questions

Sprinkler lines need to be buried 8 to 12 inches deep. The pipes should be at least 4 inches deep and should be completely underground. If you live in a colder climate, consider burying pipes deeper than 8 inches to better protect them from freezing temperatures. Don’t bury the lines too deep because this can make it harder to detect leaks and make sprinkler repairs.

Each sprinkler zone should have five to 10 sprinkler heads. The water source for sprinkler systems has an average of 30 to 50 PSI and 5 to 8 GPM. On the lower end of these ranges, you’ll need fewer sprinkler heads per zone. The number of sprinkler heads per zone you need ultimately depends on the size of the zone, the water pressure, and the flow rate.

Need professional help with your project?
Get quotes from top-rated pros.
The homeowners guide to lawn irrigation services
From average costs to expert advice, get all the answers you need to get your job done.
A boy playing in the backyard with the sprinklers
Mar 7, 2025
Mar 7, 2025
If there’s a sprinkler zone not working in your sprinkler system, the problem might be an electrical issue, a faulty valve, or a leak. Here’s what to know.
An automatic sprinkler watering the lawn
Mar 5, 2025
Mar 5, 2025
A clogged or dirty sprinkler valve can cause your sprinkler head to run even when it shouldn’t. Learn how to clean a sprinkler valve with a few tools.
Woman and child running through sprinkler in yard.
Mar 7, 2025
Mar 7, 2025
Learn how to adjust Rain Bird sprinkler heads, no matter the type. Fine-tuning your sprinklers ensures optimal water usage and reach.
sprinkler watering lawn near house
Mar 6, 2025
Mar 6, 2025
Lawn irrigation system issues can be frustrating, especially if it’s running up your water bills. Here are seven sprinkler problems to troubleshoot.
Professional installing drip irrigation system
Mar 6, 2025
Mar 6, 2025
Need an efficient watering system for your garden? We discuss how to install drip irrigation so your plants will get everything they need.
Woman using smartphone to setup smart sprinklers in the yard
Mar 7, 2025
Mar 7, 2025
How do smart sprinklers work? Like all smart technology, smart irrigation systems use the power of the internet and real-time data to adjust your watering schedule. Learn more.
Share project details to get started.