Updated Nov 18, 2026· 7 min read

Key takeaways

  • A normally-closed, 2-way solenoid valve sized to match the existing pipe diameter and voltage supply suits most automatic shut-off needs, such as stopping…

A normally-closed, 2-way solenoid valve sized to match the existing pipe diameter and voltage supply suits most automatic shut-off needs, such as stopping water or gas flow when power is cut or a leak sensor triggers, while buyers protecting against water damage should prioritize a valve explicitly rated for continuous water service with a brass or stainless body, and anyone working with gas lines should use only a valve specifically listed and rated for gas, installed per local code and the manufacturer’s instructions.

A shut-off solenoid valve uses an electromagnetic coil to open or close a valve automatically in response to an electrical signal, commonly used to stop water flow in a leak-detection system, shut off a gas line as a safety measure, or control flow in irrigation and industrial fluid systems. This guide covers the key specs that determine whether a given valve fits a specific application, since using the wrong type or rating is a common and potentially hazardous mistake.

Normally Closed vs. Normally Open

This is the single most important spec to check before buying. A normally-closed (NC) valve stays shut with no power and opens only when energized, which is the standard choice for most shut-off and safety applications, since a power outage or a tripped leak sensor cutting power will leave the valve safely closed. A normally-open (NO) valve does the opposite: it stays open with no power and closes only when energized, which suits different, less common control applications where the system should default to flowing rather than shut off. Buyers installing an automatic shut-off system, especially for leak detection, should confirm they are selecting a normally-closed valve, since a normally-open valve would fail in the wrong state during a power loss.

2-Way vs. 3-Way Valves

A 2-way valve has one inlet and one outlet, simply stopping or allowing flow through a single path, which covers the large majority of basic shut-off applications. A 3-way valve has three ports and is used to redirect flow between two paths or combine two inputs into one outlet, which suits more specialized control applications rather than a simple on/off shut-off. Most residential or straightforward automatic shut-off needs call for a 2-way, normally-closed valve.

Body Material and Media Compatibility

The valve body material needs to be compatible with whatever is flowing through it. Brass bodies are common and well-suited for water and some other fluids but are not appropriate for all gas or chemical applications. Stainless steel bodies offer broader chemical resistance and durability, often at a higher price. Plastic (such as PVC or similar polymer) bodies are used in some lower-pressure water and irrigation applications but are generally not suitable for gas or high-temperature service. Gas shut-off valves specifically need to be listed and rated for gas service by the maker; a valve not explicitly rated for gas should never be substituted, since the seal materials and certification requirements for gas differ from those for water.

Voltage and Power Requirements

Solenoid valves are available in various voltage ratings, commonly 12V DC, 24V DC or AC, and 120V AC among others, and the valve’s coil voltage must match the control system or power supply it will connect to. Many automatic leak-detection and smart home shut-off systems use low-voltage (12V or 24V) valves because they integrate with the controller’s own low-voltage output, while some standalone or industrial applications use line-voltage valves. Buyers should check the exact voltage and current draw required by the valve against what their control system or transformer can supply, since an undersized power supply may fail to fully open or hold the valve.

Pipe Size and Connection Type

Solenoid valves are sized to standard pipe diameters (commonly measured in inches, such as half-inch, three-quarter-inch, or one-inch) and connect via threaded NPT fittings, compression fittings, or sometimes push-to-connect fittings depending on the model. The valve’s port size and thread type must match the existing pipe or be adapted with the correct fittings; buyers should measure their existing pipe and confirm thread compatibility (and thread sealant appropriate for the media, such as gas-rated thread sealant for gas lines) before installation.

Pressure Rating and Flow Capacity

Every solenoid valve has a maximum operating pressure rating and a flow coefficient (often listed as Cv) indicating how much flow it allows at a given pressure drop. The valve’s pressure rating must exceed the system’s actual operating pressure with some margin, and the flow capacity should be adequate for the application’s needs; an undersized valve can create excessive pressure drop and restrict flow more than intended. For water and gas shut-off applications in a home, matching the valve size to the existing pipe size is usually sufficient, but industrial or higher-flow applications benefit from checking the Cv rating specifically.

At a Glance: Solenoid Valve Options Compared

Valve Type Best For Key Stated Specs Limits
NC 2-way brass valve, water-rated Automatic water shut-off, leak detection systems Normally closed, brass body, matched pipe size and voltage Not suitable for gas without a gas-specific rating
NC 2-way gas-listed valve Gas line automatic shut-off Normally closed, gas-service listed and certified, correct thread sealant required Installation should follow local code and often requires a qualified installer
Low-voltage (12V/24V) valve Smart home or sensor-triggered shut-off systems Matches common leak-detector/controller output voltage Power supply capacity must match valve’s draw
Stainless or chemical-resistant valve Non-water fluids or harsher environments Broader media compatibility, higher pressure tolerance Higher price tier than standard brass valves

Pick This Valve If…

If You… Choose…
Want a fail-safe shut-off on power loss A normally-closed valve
Are shutting off water in a leak-detection setup A brass, water-rated NC 2-way valve matched to your controller’s voltage
Are shutting off a gas line A valve specifically listed and certified for gas service, installed per code
Need to redirect flow rather than simply stop it A 3-way valve suited to that control function
Are working with chemicals or non-water fluids A stainless or chemical-resistant body rated for that media

Fit and Compatibility Notes

Always confirm pipe thread type (commonly NPT in North America) and size against the valve’s stated connections, and use thread sealant appropriate for the media being carried, since water- and gas-rated sealants are not always interchangeable. Confirm the valve’s voltage and wiring type matches the control system exactly, including whether it needs AC or DC power, since connecting the wrong type can damage the coil or prevent proper operation. For any gas application, only use valves explicitly listed for gas service and follow the manufacturer’s installation instructions and local plumbing or gas code exactly; when in doubt, a licensed plumber or gas fitter should handle installation.

Alternatives Worth Considering

  • Motorized ball valves: For some automatic shut-off applications, a motorized ball valve offers a different actuation mechanism than a solenoid coil and can be a more durable choice for frequent cycling in certain water shut-off systems.
  • Manual shut-off valves with smart add-on actuators: Retrofitting an existing manual ball valve with a separate smart actuator can add automatic shut-off capability without replacing the valve itself, which may suit some retrofit situations.
  • Dedicated whole-home leak-detection shut-off systems: Pre-packaged systems that bundle a shut-off valve with leak sensors and a controller simplify installation compared to sourcing a standalone solenoid valve and wiring it to a separate detection system.

Frequently Asked Questions

What’s the difference between normally closed and normally open valves, and which is safer for shut-off?

A normally-closed valve stays shut without power and only opens when energized, which means a power outage leaves it safely closed, making it the standard choice for shut-off and safety applications. A normally-open valve defaults to open without power, which is not typically desired for a safety shut-off function.

Can I use a water-rated solenoid valve for a gas line?

No; gas applications require a valve specifically listed and certified for gas service, since the seal materials, certification testing, and safety standards for gas differ from those for water. Using a non-gas-rated valve on a gas line is a safety hazard and should be avoided.

Do I need a professional to install a shut-off solenoid valve?

Water shut-off valves for leak-detection or irrigation systems are sometimes installed by confident DIYers, but gas shut-off valve installation should be performed by a licensed plumber or gas fitter and should follow local code exactly. When in doubt about either type, a licensed professional is the safer choice.

What happens if the valve’s voltage doesn’t match my controller?

A mismatched voltage can prevent the valve from opening or closing fully, cause it to operate unreliably, or potentially damage the coil over time. Confirming the exact voltage and current requirements against the controller or power supply before purchase avoids this problem.

How do I know what pipe size solenoid valve I need?

Measure the diameter of the existing pipe where the valve will be installed and match that to the valve’s stated port size, using appropriate fittings or adapters if an exact match isn’t available. Thread type should also be confirmed, since mismatched threads can leak or fail to seal properly.

Can a solenoid valve be used with well water or non-municipal water systems?

Solenoid valves rated for general water service can typically handle well water, but buyers with well water that has higher sediment or mineral content should check whether the specific valve’s maker notes any filtration recommendations, since sediment can affect valve operation over time. Regular maintenance and periodic testing help ensure reliable operation regardless of water source.

B
Beautifulbydesign Editorial Team
We compare specs, materials and verified owner reviews before a product earns a spot. Rankings are never paid.
Affiliate disclosure. As an Amazon Associate we earn from qualifying purchases at no extra cost to you. Prices accurate as of the date shown.