Home Improvement Skills & Specialties Electrical

How Does a Light Switch Work?

Types of Light Switches and Replacement Tips

Woman turning off light switch on green wallpapered wall, close-up

Jeffrey Hamilton / Stockbyte / Getty Images

Most rooms in your home will have one or more wall switches, also called light switches, used to control lighting fixtures or electrical outlets. Our recessed fixtures, pendant lights, chandeliers, and wall sconces are usually turned off and on by flipping a wall switch. In rooms without mounted light fixtures, that wall switch may control an electrical outlet where a floor lamp is plugged in. Knowing something about how wall switches work and the different kinds of switches available will be important if you want to make repairs or replacements to the system.

What Is a Wall Switch?

A wall switch is an electrical device installed in an outlet box mounted in the wall, used to control the flow of electricity from the power source to one or more permanent light fixtures or wall outlets. When it "closes" the circuit, the fixture or outlet is energized by flowing current; when "opening" the circuit, current to the light fixture or outlet is interrupted.

How a Light Switch Works

A wall switch is designed with a mechanism that controls the flow of "hot" electrical current through a circuit, allowing you to turn a light fixture or other device on and off by closing (ON) or opening (OFF) the continuous electrical pathway. Unlike other electrical devices, a wall switch is installed so it connects only to hot wires, not the neutral circuit wires.

The exception to this is when a light switch integrates some kind of other features, such as a lighted toggle lever or a timer feature. In this case, the switch may require a neutral wire connection along with the hot wire connections. In addition to the hot wire connections, light switches now require a connection to the circuit's grounding pathway. But in older installations, it's not uncommon to find wall switches that lack the green grounding screw that is now mandated.

Light Switch Wiring Basics

Once you unscrew the switch's plate, you'll find three different colored electrical wires. Each wire is important to keep the voltage and electrical flow stable. Here's where each wire should be attached:

  • White/Neutral: The white neutral wire is attached to the silver screw.
  • Black/Hot: The black hot wire is attached to a brass screw. Note that sometimes the hot wire is red.
  • Green/Ground: The green grounding (or bare copper) wire, is attached to the green screw terminal or to the electrical box.

Parts of a Wall Switch

If you inspect a disconnected wall switch, the following parts will be evident:

  • A metal strap supports the switch body and allows you to attach the switch to an electrical box mounted in the wall.
  • This strap will have an integrated green grounding screw, to which the circuit's grounding wires will be connected.
  • The switch body is a small rectangular hard vinyl plastic unit, to which two or more wire connection terminals will be mounted. The back of the switch body may also feature push-fit wire connection ports, though professional electricians normally do not use these ports in favor of screw terminal connections, which are more secure.
  • If you were to open the switch body, you would find an inner gateway between the wire connection terminals that opens and closes the circuit pathway when the switch lever is flipped from one position to the other.

Switches have different designs for the inner gateway. Older switches are mechanical and wear out as the springs lose their resiliency. A newer type from the 1960s used a vial of mercury and was more durable, but was expensive and phased out due to risks associated with mercury. Modern switches are quieter and don't make the old clicking sound.

Finally, some wall switches now use microcircuitry rather than a physical mechanism to control the flow of electricity. This type of design is most common in dimmers and "smart" switches that offer programmable or automatic features, or wifi connectivity. Smart switches may require a neutral wire connection as well as traditional hot wire and ground wire connections.

Diagram showing the parts of a wall switch

The Spruce / Yurle Villegas

3 Basic Types of Light Switches

There are three types of wall switches that control light fixtures: single-pole (ON/OFF), three-way, and four-way switches. They come in different styles (toggle, rocker, or push-button) and some can even dim the lights. Choose the switch that fits your needs.

Single-Pole Switches

The most commonly found switch is the single-pole switch (single-location switch), which turns lights (or a wall outlet) OFF or ON from just one wall location. This switch is most easily identified by the ON/OFF markings printed on the switch toggle lever—no other type of switch has these markings.

In technical terms, this simple ON/OFF switch is known as a single-pole, single-throw (SPST) switch. "Single-pole" means that only one hot wire can be connected to it. "Single-throw" means that when you flip the level, it connects to only one other outgoing wire—the wire going to the light fixture or switched outlet.

The Single-Pole Switch Mechanism

In single-pole switches, there is a spring-loaded metal gate inside the switch that opens and closes the electrical circuit leading to the light fixture. Toggle to the ON position, the gate snaps closed, completes the circuit, and allows power to flow through the switch to the light fixture. Toggle the lever to the OFF position, the gateway opens up and interrupts the flow of power to the light fixture.

Three-Way Switches

A three-way switch is used when you want to control a light fixture from two wall locations, such as at the top and bottom of a stairway, both ends of a hallway, or from two entry doors in a large room. This switch does not have ON/OFF markings on its lever.

Three-way switches have three screw terminals. One is called "common" and is connected to a hot wire. The other two connect to "traveler" wires that run between the two switches.

The Three-Way Switch Mechanism

Internally, a three-way switch (technically known as a single pole, double-throw (SPDT) switch) has a mechanical configuration shaped like a "V." The point of the V is the terminal where the hot wire coming from your service panel (the line wire) or leading onward to the light fixture (the load wire), is connected. The two traveler wires running between the two switches are connected to traveler screw terminals linked to the open arms on the V.

This essentially means there are two possible pathways by which electricity can flow to the light fixture. When the runner terminals line up internally, the light is ON, but when the switch levers are in different positions, no continuous pathway exists and the light is OFF. This configuration allows either of the wall switches to turn the light fixture ON or OFF at any time.

Four-Way Switches

A four-way switch is used when you want to control a light fixture from three or more locations. A large home with a great room or a spacious open floor plan may find it useful to control a ceiling light from three or more locations.

A four-way switch is always used in conjunction with a pair of three-way switches—one located at the front end of the circuit where power is delivered from the source, and the second at the point where power runs onward to the light fixture. In between the two three-way switches is one or more four-way switches.

The Four-Way Switch Mechanism

Visually, a four-way switch can be identified by four screw terminals on the body of the switch (in addition to the green grounding screw). This means that two hot wires (or potentially hot) wires are connected to it from the power source—which in this case are the traveler wires arriving from the upstream switch in the circuit configuration.

A four-way switch works by toggling the electrical pathway back and forth between the two three-way switches. It can reverse a pathway that is complete to turn the light OFF or reverse a pathway that is broken to turn the light ON. Essentially, it serves to open or close an electrical pathway.

Different Switch Designs

All types of wall switches—single-pole, three-way, and four-way—come in several different types of designs.

  • The classic design is the simple toggle-lever switch, in which the mechanism is operated in a simple up-down fashion.
  • A common variation is the rocker switch, in which the toggle lever has a wide rocker arm that snaps up and down to open and close the circuit.
  • Push-button switches were once common in older homes, but are now rarely used except when a vintage look is desired.
  • Dimmer switches, available for single-pole, three-way, and four-way switches, allow you to vary the amount of current passing through the circuit to allow variable light intensity. These switches use a dial, slider, or touchpad mechanism to control the current passing through them.
  • Lighted switches have an internal diode bulb that glows when the switch is in the ON position. This alerts you when a hidden light fixture is operating, such as a wall switch that controls lights in a basement or garage.
  • Smart switches are available in several types to offer additional functionality, such as motion sensor operation, timer functions, or a voice-activated command system such as Alexa or Echo.
Light switch with two dimmer handles on gray wall

The Spruce / Leticia Almeida

Amazon Smart Devices
amazon.com

Replacement Considerations

To replace a switch with a new switch, timer, or dimmer, ensure that the new switch has the same functionality. Single-pole switches require single-pole dimmers or timers, and three-way switches require three-way dimmers or timers. It's important to note there are currently no four-way dimmers or timers available. You can replace one or both of the three-way switches in a four-way configuration with a dimmer or timer, but the four-way switch must remain a toggle switch.

Tip

Make sure new switches are rated for the circuit's voltage and amperage. Check the embossed printing on the switch body to determine the safe level of current it can handle. Residential wall switches are usually rated for 115/125V and 15 or 20A.


If you attempt replacement yourself, remember that the power is never fully OFF in a switch circuit—unless you turn the power off at the circuit breaker. The wires are still carrying power even if the fixture isn't illuminated. The best practice is to always turn off the circuit breaker, even if you are just replacing a light bulb or two.

The current electrical code now requires that all wall switches be attached to the circuit's grounding wires. This can be an issue if the old switch had no such connection. You will need to figure out a way to link the new switch to the circuit's grounding system, which often means the installation of a grounding pigtail that links the new switch to the circuit's bare copper grounding wire or to the metal wall box.

Warning

When working on switch circuit wiring, turn off the circuit breaker to ensure safety. The power is never fully turned off in a switch circuit, even when the wall switch is off and the light fixture is not illuminated. The wires may still carry power, so turning off the circuit breaker is important to prevent accidental power activation.

The latest generation of "smart" wall switches offer some amazing functions, but installation can be complicated by the requirement of a neutral wire connection. If you lack experience with simple electrical fixture replacements, it is best to call a professional to replace a wall switch.

How Much Does It Cost To Replace a Light Switch?

The cost to replace a light switch is typically between $100 to $200 for a professional and licensed electrician to handle the job. The cost could be higher depending on the complexity of the project or if you want a switch that has a dimmer, timer, or smart functions. If you have previous electrical experience and choose to replace a light switch yourself, the cost to do this type of DIY project would be about the price of the light switch itself.

FAQ
  • What do the terminals on a light switch mean?

    The terminals on a light switch are used to connect the circuit to the switch so that it will function. They act as the conductors of electric current to and from the switch.

  • How do wires run from a light switch?


    In most cases, wires that connect a light switch to a fixture run vertically up the wall towards the ceiling and then from there to the corresponding light. If the switch is located lower on the wall, the wires can either run vertically down from the ceiling or horizontally through the studs from one outlet to the next.

  • Are wires live when a light switch is off?

    Wires remain live even when a light switch is in the off position unless the power is turned off at the breaker box.

The Spruce uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. Average Cost to Install a Light Switch. HomeAdvisor.