Wire Your Well Pump Safely by Following the Electrical Code

Wiring a well pump means running electrical cable from your home's breaker panel to the pump motor, installing a disconnect switch, and connecting the wires to the pump terminals. The job requires basic electrical knowledge, the right gauge wire, a properly sized breaker, and strict adherence to the National Electrical Code (NEC). If you have never worked inside a breaker panel or are unsure about any step, hire a licensed electrician — mistakes here can cause electrocution, fire, or pump damage.

This guide covers the wiring process for a typical 240-volt submersible or jet pump. Single-phase motors (the most common residential type) have different wiring than three-phase industrial pumps. Before you start, turn off power to the breaker you will be working from, test that it is truly off with a voltage tester, and have a licensed electrician inspect your work before you power the pump.

Key Takeaways

  • Wire gauge and breaker size must match your pump's amperage rating — a 1.5 horsepower pump typically needs 12-gauge wire and a 20-amp breaker, while a 3 horsepower pump needs 8-gauge wire and a 40-amp breaker.
  • Run the cable from the breaker panel to the pump location through conduit, bury it at least 18 inches deep if it crosses a yard, and keep it away from water pipes and gas lines.
  • Install a disconnect switch within sight of the pump so the power can be shut off without going back to the breaker panel.
  • Connect the wires to the pump motor terminals in the correct order — black to L1, red to L2, and green or bare copper to ground — and find all connections with wire nuts or terminal blocks rated for outdoor use.
  • Have a licensed electrician inspect the installation and test it with a multimeter before you turn on the breaker.

Check Your Pump's Amperage and Choose the Right Wire Gauge

The first step is to find your pump motor's full-load amperage (FLA), which is printed on the nameplate attached to the motor housing. This number tells you how much current the pump draws when running at full power. Do not guess or use horsepower alone — a 1.5 horsepower pump might draw 8 amps, while another might draw 12 amps depending on the motor design.

Once you have the FLA, use it to select wire gauge and breaker size. The National Electrical Code requires that the wire be sized to carry 125 percent of the motor's full-load amperage. For example, a pump with an 8-amp FLA needs wire rated for at least 10 amps (8 × 1.25 = 10). In practice, this means: 8 to 10 amps requires 12-gauge wire and a 15-amp breaker; 11 to 15 amps requires 10-gauge wire and a 20-amp breaker; 16 to 20 amps requires 8-gauge wire and a 30-amp breaker; 21 to 30 amps requires 6-gauge wire and a 40-amp breaker. Use underground-rated cable (labeled UF-B or USE) if the wire will be buried, or THWN individual conductors inside conduit if it will run above ground.

Run the Cable from the Breaker Panel to the Pump

Measure the distance from your breaker panel to the pump location and add 10 percent for slack at connections. Buy the cable in one continuous run — do not splice it underground. If the cable crosses a yard or garden, it must be buried at least 18 inches deep in most jurisdictions (check your local code, as some areas require 24 inches). If it runs along the outside of the house, use conduit to protect it from damage and UV light.

At the breaker panel end, drill a hole through the panel enclosure or use a knockout hole if one is available. Feed the cable through a cable gland (a waterproof fitting that seals the hole) and into the panel. At the pump end, the cable enters a junction box mounted on or near the pump motor. The junction box protects the wire connections from water and dirt. If the pump is submersible and sits in a well, the cable typically runs up the well casing and connects to a junction box at ground level or on the pump house wall.

Install a Disconnect Switch Near the Pump

The National Electrical Code requires a disconnect switch within sight of the pump motor so that power can be shut off without running back to the breaker panel. This switch must be rated for outdoor use, mounted in a weatherproof enclosure, and labeled clearly. A 240-volt, 30-amp or 40-amp safety switch (depending on your breaker size) is standard for residential pumps.

Mount the disconnect switch on a post or wall within 50 feet of the pump and in a location where you can see the pump from the switch. Run the cable from the breaker panel to the disconnect switch, then from the disconnect switch to the pump. This way, you can turn off the pump at the switch without opening the breaker panel. The switch must be grounded — connect the green or bare copper wire from the cable to the ground lug on the switch enclosure.

Connect the Wires to the Pump Motor Terminals

At the pump motor, you will find a junction box with three or four terminals: L1 (black), L2 (red), and ground (green or bare copper). Some motors also have a neutral terminal, but residential single-phase pumps do not use it. Strip about 3/4 inch of insulation from each wire end using a wire stripper. Do not use your teeth or a knife — you will damage the wire or cut yourself.

Connect the black wire to the L1 terminal, the red wire to the L2 terminal, and the green or bare copper wire to the ground terminal. Use wire nuts rated for outdoor use or terminal blocks designed for the wire gauge you are using. Twist the wire nut clockwise until it is snug — you should not be able to pull the wires apart by hand. Wrap the connection with electrical tape to keep moisture out. If the motor has a capacitor (a cylindrical component near the terminals), do not touch it — it can hold a charge even when power is off and can cause serious injury.

Ground the System Properly

Grounding protects you from electrocution if a wire touches the metal pump housing. The green or bare copper wire in your cable is the ground wire. At the breaker panel, connect it to the ground bus bar (a metal strip with many screw holes). At the pump end, connect it to the ground terminal on the motor and also to a ground rod driven into the earth near the pump.

A ground rod is a copper or galvanized steel rod, usually 8 feet long, driven straight down into the soil. Use a sledgehammer or a power driver to pound it into the ground until only a few inches stick up. Clamp a wire to the top of the rod using a ground clamp rated for the wire gauge, then run that wire to the pump motor ground terminal. This second ground path ensures that if the main ground wire fails, electricity will still have a safe path to earth instead of through your body.

Test the Installation Before Powering On

Before you close the breaker panel and turn on the pump, have a licensed electrician inspect the entire installation. They will check that the wire gauge matches the breaker size, that all connections are tight, that the disconnect switch is properly grounded, and that the ground rod is installed correctly. They will also use a multimeter to test that voltage is present at the pump terminals and that the ground is solid.

Once the electrician approves the work, turn on the breaker slowly and listen for any buzzing, humming, or crackling sounds. The pump should start smoothly and run quietly. If you hear unusual noises, smell burning plastic or rubber, or see sparks, turn off the breaker when ready and call the electrician back. Do not assume the problem will go away — it will only get worse and may cause a fire.

Common Mistakes to Avoid

The most common error is using wire that is too small for the amperage. A 20-amp pump on 14-gauge wire will overheat the wire and melt the insulation, creating a fire hazard. Always size the wire to 125 percent of the motor's full-load amperage, not to the breaker size.

Another mistake is burying the cable without conduit and without burying it deep enough. Shallow cable can be cut by a shovel or damaged by frost heave. Cable in conduit is protected and can be replaced if it fails. A third error is forgetting to install a disconnect switch, which makes it impossible to safely service the pump without going to the breaker panel.

Finally, many homeowners connect the wires to the wrong terminals or forget to ground the system. If L1 and L2 are reversed, the pump will run backward (if it is a jet pump with a check valve, it will not pump at all). If the ground wire is missing or loose, you risk electrocution if the motor housing becomes live.

Frequently Asked Questions

Can I use regular indoor electrical wire for a well pump?

No. Indoor wire (THHN or NM) is not rated for the moisture and UV exposure that outdoor wiring faces. Use underground-rated cable (UF-B or USE) if the wire is buried, or THWN conductors inside rigid conduit if it runs above ground. Both are designed to resist water damage and sunlight.

What size breaker do I need for a 2 horsepower pump?

It depends on the motor's full-load amperage, which is printed on the nameplate. A typical 2 horsepower single-phase motor draws 12 to 14 amps, so it would need a 20-amp breaker and 10-gauge wire. Always check the nameplate — do not estimate based on horsepower alone.

Do I need a disconnect switch if I have a breaker in the panel?

Yes. The breaker protects the wire from overheating, but the disconnect switch lets you shut off the pump without going back to the breaker panel. This is required by code and makes it safer to service the pump. Mount it within sight of the pump.

What happens if I wire L1 and L2 backwards?

The pump will run in reverse. If it is a submersible pump, it will pump water downward instead of upward and will not deliver water to your house. If it is a jet pump, the check valve may prevent any flow. Reverse the wires and the pump will run correctly.

How deep should I bury the cable?

At least 18 inches in most areas, though some jurisdictions require 24 inches. Check your local electrical code before you dig. The cable must be in conduit or be rated for direct burial (UF-B or USE). Shallow burial risks damage from shovels, frost heave, and rodents.