Skip to Content

Is the white wire the line?

Determining which wire is the line wire in electrical wiring can be confusing for homeowners and DIYers. Typically, the black wire is the hot wire, the white wire is the neutral wire, and the bare copper or green wire is the ground wire. However, this isn’t always the case. There are a few ways to identify the line wire:

Check the Circuit Breaker Box

The easiest way to determine which wire is the line or hot wire is to look inside your circuit breaker box. The wire connecting to the breaker or fuse is the line or hot wire. This wire leads out to each electrical outlet and light fixture in the circuit. The neutral wire connects to the neutral bus bar inside the breaker box.

Use a Non-Contact Voltage Tester

You can use a non-contact voltage tester to detect which wire is hot. These tools detect electrical voltage and will light up or beep when touched near a live wire. Turn the power on and touch the tester to each wire. The wire that causes the tester to light up or beep is the hot or line wire.

Connect a Voltmeter

For a more definitive test, use a multimeter or voltmeter. Set it to AC voltage and touch the probes to each wire. The wire showing 120-volts on the meter is the line or hot wire. The other wire should show 0-volts and is the neutral wire.

Look for Markings on the Wires

In some electrical systems, the wires are labeled to identify the hot and neutral wires. The hot may have black tape, paint, or text, while the neutral may have white or gray markings. This isn’t found in all installations, but it can help confirm the identity of the line wire.

Turn on a Light

As a last resort, you can turn on a light and feel each wire leading to the fixture. The hot wire will feel warm while the neutral wire remains cool. Be very careful not to touch the bare wires or shock yourself.


Identifying the line or hot wire is important for electrical safety and making repairs. The easiest method is to check the breaker box and follow the hot wire out to outlets and lights. Non-contact testers and voltmeters provide quick and safe confirmation. In some cases, wire markings distinguish the hot and neutral. As a last check, the hot wire will feel warm when the power is on. Being able to confidently determine the line wire avoids electrical hazards.

Safety Tips for Working with Electrical Wires

Whenever working with electrical wiring, safety should be your top priority. Here are some important safety tips:

  • Turn off power at the breaker box before working on wiring
  • Test wires with a non-contact voltage tester to confirm power is off
  • Wear insulating gloves and use insulated tools
  • Never touch bare wires or wire ends
  • Make sure wires are firmly secured with wire nuts and terminal screws
  • Use caution when working inside the breaker box
  • Plug in and turn on power only after all wires are securely reconnected
  • If uncertain about electrical work, hire a qualified electrician

Electrical Wiring Color Coding

Most residential electrical wiring follows standard color coding:

Wire Color Purpose
Black Hot or line wire
White Neutral wire
Green Ground wire
Red Second hot wire in 240-volt circuit
Blue Third hot wire in 240/208-volt 3-phase power
Orange Fourth hot wire in 240/208-volt 3-phase power
Yellow Fifth hot wire in 240/208-volt 3-phase power
Gray Neutral wire in 240/208-volt 3-phase power

There may be variations or exceptions to this standard color coding, so it’s always best to double-check wire identities before working.

Electrical Outlet Wiring

A basic 120-volt electrical outlet has three wires:

  • Hot – The black hot wire brings power from the breaker to the outlet.
  • Neutral – The white neutral wire returns power back to the breaker panel.
  • Ground – The bare copper ground wire protects from shocks and shorts.

The hot wire connects to a brass screw, the neutral wire to a silver screw, and the ground wire to a green screw on the outlet. Identifying the hot line wire when replacing an electrical outlet is important to avoid wiring it incorrectly.

Light Switch Wiring

Standard light switches have two wires:

  • Line – The black line wire brings power from the breaker to the switch.
  • Load – The black load wire runs power to the light fixture.

The line wire connects to the darker screw, and the load wire to the lighter screw on the switch. The line wire is the hot wire coming from the panel. The load wire leads out to the light. When wiring a switch, you must identify the hot line wire correctly for the switch to work.

Breaker Box and Panel Wiring

Inside the main breaker panel, black hot wires from the service enter and connect to the main breaker. The white neutral service wires connect to the neutral bus bar. From here, black hot wires run to individual circuit breakers, and return through white neutral wires.

When replacing a breaker, identify the hot wire going to that circuit by checking where it is connected. Shut off the main breaker, disconnect the hot wire from the breaker, attach it to the new breaker, then turn the main breaker back on. Be extremely cautious inside any electrical panel.

Appliance Wiring

Appliances have a wiring terminal block with screw connectors. There will be a black line wire, a white neutral wire, and sometimes a green ground wire. The line is the hot wire coming from the wall outlet into the appliance. Use caution when connecting appliances, identifying the hot line wire correctly so the appliance is wired safely.

Electrical System Grounding

Grounding an electrical system is an important safety feature. It provides a safe path for stray electrical current caused by faults or lightning strikes. Grounding prevents this current from shocking users or causing fires.

In homes, the grounding is achieved by connecting the neutral line and ground wires to grounded metal rods driven into the earth. In larger buildings, the steel structure or rebar provides the grounding path. Proper system grounding and ground wire connections are vital for safety.

DIY Electrical Precautions

When working on home electrical projects, safety should always be the top priority. Follow these precautions:

  • Turn off power at the breaker before starting work
  • Test that power is off with a non-contact voltage tester
  • Follow local electrical codes for any wiring
  • Use extreme care if working inside the breaker box
  • Allow only qualified electricians to handle the main service panel
  • Hire an electrician if you lack experience with electrical systems
  • Never take risks with getting shocked or causing fires

When to Call an Electrician

While many basic electrical projects are DIY-friendly, more complex wiring should be left to the professionals. Call a licensed electrician for:

  • Upgrading main service panel or wiring
  • Installing new circuits or room additions
  • Troubleshooting and fixing tricky outlet and wiring problems
  • Installing hardwired appliances and fixtures
  • Handling aluminum wiring and knob-and-tube wiring
  • Rewiring old homes and garages
  • Meeting inspection and code requirements for home projects

An experienced electrician can ensure all electrical work is completed properly and safely.


Identifying the white wire as the neutral and the black wire as the hot line is an important first step in any electrical project. While the white neutral and black hot wires are common, unusual circumstances can arise where wire colors are not as expected. Using the methods described, you can definitively determine which wire is which to avoid shocks or damage. For homeowners’ safety, it’s essential to correctly distinguish the line live wire from neutral or ground wires when working on electrical projects.