how to wire a solenoid valve blog header

How to wire a Solenoid Valve to an Irrigation Controller

Having control over your irrigation, whether it’s for commercial or residential use, is an important step for any gardener.

We’ve put together a step-by-step guide showing you how to wire a K-Rain Solenoid Valve and Master Valve to our new WX8 Wi-Fi Irrigation Controller.

Watch our new “Three Minute Thursdays” video guide, or read through the steps below.

What is a Master Valve?

A Master Valve works like a back-up valve. When your controller signals a solenoid to open, it also opens the master valve at the same time. When no valves are operating, the master valve will shut off the water to your irrigation system.  By shutting off the master valve the systems’ pipework is not under pressure.

1. Attaching the Master Valve

Screw your Master Valve to the top end of the manifold making sure you have the valve facing the right direction. K-Rain Solenoid Valves have an arrow to indicate which way the water should flow through.

2. Attaching the Solenoid Valve

Do the same with the Solenoid Valve, in this demonstration we needed 25mm nipple to connect the solenoid to the manifold.

3. Connecting the Active Wire

Once your two valves are secure, separate the two cables on your Master Valve. Choose one wire to be the ‘active’ wire. Open the bottom of the WX8 Controller by removing the bottom panel.

Take your ‘active’ wire and thread it under the terminal marked ‘M’ (you may need to loosen the screw beforehand). On some other brands of controllers this terminal may be label as P or P/S. Hand tighten with a screwdriver to secure the wire.

4. Connecting the Common Wire

Now take the other wire on your Master Valve and connect it to a wire on your Solenoid Valve, secure by twisting the ends together, this is your ‘common’ wire. Then thread both wires under the terminal marked ‘C’. Secure by hand tightening with a screwdriver.

5. Connecting the right Zone

Take the remaining wire on the Solenoid Valve, this cable will determine which station (or zone) you want to designate to you Solenoid. For this video we chose station one. Thread the wire under the terminal marked ‘1’, if you wanted it to be station 2 you would thread the wire under terminal ‘2’, etc. Hand tighten with a screwdriver to secure.

4. Testing the Connection

To test that everything is working correctly, turn on the power to your controller. Turn the dial to Station One and then press START. The solenoids should both start to hum if they are connected correctly.

The WX8 Wi-Fi Irrigation Controller can control up to 8 Solenoid Valves, suitable for large lawns and gardens. Control you watering schedule all from your smartphone with automatic and manual options available.

Comments (12)

  1. A solenoid valve has two wires, which one connects the common end of the Holman controller? Maybe it doesn’t matter?Whichever can connect the C end?

    1. Hi Adam, you can connect either cable to the Common on the terminal block and the other one is used for the Active Station. Which cable you chose to connect from the solenoid does not make a difference. Please let me know if we can help further.

  2. This is an explosive idea; this is most probably the best and most successful thing about how to wire a solenoid valve to an irrigation controller. I love this blog and really happy to come across this exceptionally well written content. Thanks for sharing!!

  3. I have 3 solenoids connected to 3 different stations and for some reason they all come on at the same time. All stations are set for different times. I have checked all wiring to ur fittment guide. They are Holman solenoids also

    1. Hi Luke, thank you for reaching out. Are you using a WX8 Irrigation Controller? Check the wiring between the Irrigation Controller and your solenoid valves, as there may be a fault. If this doesn’t solve the problem, please contact our customer service team on They will be able to walk through some troubleshooting with you, thank you.

  4. Hi, is it possible to run a solenoid just with a 24v power supply and a power point timer? If so what output should my 24v supply be to run the solenoid successfully

    1. Hi Jason,
      there is no need to run a master valve if you use reliable solenoid valves. We do encourage to use a master valve though where possible. The controller and irrigation will run without.

Leave a Reply

Your email address will not be published. Required fields are marked *


Sign in


Cart (0)

Cart is empty No products in the cart.

Holman Industries

Garden | Irrigation | Watering