How to Wire Sprinkler Valves Like a Pro

Get your sprinkler system up and running like new

Automatic yard sprinkler installed next to walking path
Photo: Svetlana / Adobe Stock
Automatic yard sprinkler installed next to walking path
Photo: Svetlana / Adobe Stock
SKILL LEVEL
Intermediate
COMPLETION TIME
60 minutes
COST
$50–$100
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
  • Wire stripper
  • Screwdriver
SUPPLIES
  • Sprinkler valves
  • Sprinkler wires
  • Waterproof connectors

You might decide it’s time to learn how to wire sprinkler valves for many different reasons. Maybe certain sprinklers in your yard aren’t working as well as normal, and you suspect some wires have come loose. Or perhaps you’ve installed a new patio in one section of the lawn, and you’d like to shut off the sprinkler zone that was formerly watering that area. No matter the case, here’s how to wire sprinkler valves to optimize your sprinkler system.

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

Prepping to Wire Sprinkler Valves

Before installing a new sprinkler system, there are a few tasks to check off your to-do list:

  • Design the layout: Plan where the sprinkler zones will be so that you know how many sprinkler heads you need before connecting wires for the valves.

  • Call 811: You always need to call the 811 line before digging in your lawn to locate any utility lines.

  • Secure permits: You or a pro will need to contact your local building or zoning department to check whether you need permits before starting the project.

  • Locate the valve box: This is the part of a sprinkler system that holds all of the valves. It is often behind a green lid that sits at ground level, or it could be underground.

  • Shut off the power and timer: Be sure to turn off the power supply to the sprinkler system and shut off the sprinkler timer to avoid shock risks when working with wires.

  1. Unplug the Timer

    Outdoor faucet with water timer
    Photo: BOOCYS / Adobe Stock

    Before you get started, unplug the timer to protect yourself from electrical shocks when working with wiring. For added protection and peace of mind, shut off the power to the sprinkler system from the electrical box and shut off the water supply to the sprinklers while you work.

    If at any point you are worried about electrical shocks or water leaks while you learn how to wire sprinkler valves, don’t hesitate to pass this job along to a pro. Wiring the system incorrectly can damage the sprinkler system, warranting expensive repairs.

  2. Connect Solenoids to Color-Coded Hot Wires

    Each valve has its own solenoid, which uses electricity to determine the water pressure going through each valve. Each solenoid will have two black wires. You likely will see multiple solenoids, especially if you have or are setting up multiple sprinkler zones around your yard.

    One of the two wires on each solenoid will connect to one of the color-coded wires that connect to your timer. The color-coded wires may be called hot wires, dedicated wires, or station wires. For example, for the solenoid on the valve controlling zone one, you may connect one of the solenoid wires to the blue wire. For the second, you may connect the red wire.

    To connect the wires, use the wire stripper to remove part of the cover of the wire, then twist the metallic parts of the solenoid wire and the color-coded wire together. Write down which wire color is attributed to each zone. You’ll need this information when connecting the wires to the timer and later on, if you need to make repairs.

  3. Connect Solenoids to White Common Wire

    Now that you’ve connected one wire from each solenoid to one color-coded wire, you’ll be left with an additional, unused black wire on each solenoid. Strip each of these wire covers to reveal the metallic wire beneath, then do the same to the white wire on the cable that will be connecting to the timer. Twist the remaining black wires of all the solenoids together with the white common wire.

  4. Cover Connections With Waterproof Caps

    Twist a waterproof cap over each section of connected wires. So, you should have a waterproof cap over each pairing of a colorful wire with one of the two solenoid wires and a waterproof cap over where one of each of the two solenoid wires is twisted together with the white common wire.

    Each waterproof cap should twist on tightly over the wires to ensure protection from moisture. If the cap spins continuously without tightening, it means the copper tip on the wire is too long. Clip it shorter until the cap twists on snugly.

  5. Feed Wiring Through the Controller

    On one end of the cable filled with colorful wires, you’ll now have wires connected to the solenoids and covered with waterproof caps. On the other end of the cable, you’ll have the other end of the common wire and the color-coded hot wires. Run the cable up through the hole in the timer or controller box.

  6. Connect Wires to Zones

    Connect each color-coded wire to its corresponding zone. Refer back to the notes you took in step two to ensure you connect the correct color wire to the right zone. Otherwise, you’ll likely program the timer incorrectly, and your watering schedule will be off.

    To connect the wires, push them one by one into the labeled zones on the inside of the timer box and use a small screwdriver to tighten them in from the top. Then, do the same tightening procedure but with the white wire, pushing it into the common wire slot on the timer box.

  7. Reassemble the Controller and Valves

    Installing solenoid sprinkler valves for irrigation system
    Photo: Tomasz Zajda / Adobe Stock

    Place the valves back inside the valve box and replace the lid. Put the controller (or timer box) back on the wall. Double-check that all wiring is capped and secured safely before restoring the water and power and plugging the sprinkler controller back into a power outlet.

  8. Test and Program the System

    Turn the sprinklers on to test that they are working properly. If you notice any discrepancies in the zones, the color-coded wires may have gotten mixed up, and you’ll need to restart. 

    Otherwise, you can program the system to your ideal watering schedule, ensuring each zone follows the best time to water a lawn. Return your tools to the tool shed and enjoy your handy irrigation system as it waters your yard for you.

DIY vs. Hiring a Sprinkler Repair Pro

The total cost to wire sprinkler valves the DIY way depends on how much wiring and waterproof connectors you need. Wiring costs about $50 to $100, and the connectors cost about $5 to $30. But your sprinkler system likely already contains these items, so you may not need to buy anything. 

Just note that handling wiring and plumbing by making sprinkler repairs can be expensive and dangerous if you make any mistakes. Working with electrical wires poses a shock risk, and improper connections could damage the electrical control board of your sprinkler system, causing it to malfunction.

Hiring a sprinkler installation pro near you is the safest option to make sure your sprinklers are operating as they should. Sprinkler installation costs about $1,670 to $3,550, while sprinkler repairs cost about $130 to $410.

Frequently Asked Questions

Typically, the white wire is the common wire on a sprinkler valve. This makes it easier to identify, and many local electrical codes require the common wire to be white. However, in some places, any wire can be the common wire. If you ever need to call in a pro for repairs, the industry standard is for the white wire to be the common wire. So, if you decide to switch it up, relay that information to the sprinkler specialist before they start working.

Sprinkler valves typically have 16 AWG or 18 AWG wires. AWG, or American Wire Gauge, is the standard measurement for wire gauge sizing in the U.S. The gauge is the thickness of the wire, with higher AWG numbers indicating thinner wires. You can find the gauge measurement in your sprinkler system’s user manual or on the sprinkler manufacturer’s website.

The color code for the common sprinkler wire is white, and then you can assign the remaining color codes to the rest of the wires for different sprinkler zones. For example, you could use red for the first zone, then blue for the second, and so on.

Color-coding helps you keep track of which wires go to specific zones so that you or a pro can address any issues or repairs quickly. Check your local electrical code for any requirements regarding sprinkler wire colors.

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.
Automatic garden lawn sprinkler
Mar 21, 2025
Mar 21, 2025
Looking to learn how to clean your sprinkler heads for a strong, healthy lawn? Look no further—here are five simple steps to achieve this easy DIY project.
Automatic sprinkler system
Mar 13, 2025
Mar 13, 2025
Putting your sprinkler system to bed for winter will help avoid damage from freezing temperatures. Use this guide to winterize your sprinkler system.
Close-up of a drip irrigation system
Mar 13, 2025
Mar 13, 2025
Learning how to convert your sprinkler to drip irrigation saves you money on water use and reduces weed growth. Follow this guide to learn how to do it.
 luxury  house with lush lawn
Mar 13, 2025
Mar 13, 2025
How long to water your grass depends on the type of grass, the season, where you live, and more. Learn when to stop watering grass with this guide.
Woman and child running through sprinkler in yard.
Mar 24, 2025
Mar 24, 2025
Learn how to adjust Rain Bird sprinkler heads, no matter the type. Fine-tuning your sprinklers ensures optimal water usage and reach.
Multiple stream sprinkler head
Mar 13, 2025
Mar 13, 2025
Looking for pointers on how to design a sprinkler system? Use this guide to navigate the process and create the DIY sprinkler system of your dreams.
Share project details to get started.