ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

Wiring Electrical Switches

Updated on September 16, 2017
wilderness profile image

Dan has been a licensed journey-level electrician for 17 years. He has extensive experience in most areas of the electrical trade.

Types of Switches to be Wired

While there are literally thousands of different styles and types of electrical switches that can be wired for thousands of different purposes, this article is dedicated to the simple single pole, or two way, switch of the type used to turn lights on in your home.

If you are wiring a three way or four way switch, please view the articles about how to wire a three way switch and/or how to wire a four way switch. Other common switches such as some simple automotive switches will behave the same electrically as a house switch although the mechanics of mounting or attaching wires may be different, and this will be explained in the next section of this article.

As a professional electrician I have wired literally thousands of switches of varying types and styles over the years. It is not a difficult task at all, and something any homeowner can easily understand and do themselves with just a little work and understanding.

How Does An Electrical Switch Work?

At it's simplest, a switch is a mechanism to connect and disconnect two wires without physically removing the wires from the mechanism. It will thus require some way to attach the two wires to be connected to the switch, and all switches used in a home must also have a place the attach a ground wire as well. This wire, bare of insulation or colored green, has been required throughout the US for many years and is a very important safety feature.

The switch will have internal parts to make an electrical connection between the two wires and has the ability to either make that connection or, by flipping the switch, remove that connection. This is common to all two way switches whether they be for the home, in your car or the switch under the seat of your riding lawn mower that detects when you are sitting on the seat. A switch might turn on a light in your home, turn on the radio in the car or provide current to run the lawn mower if there is weight on the seat - it can do many, many different things.

In all these cases the device to be turned on (light bulb, radio, etc.) must have two wires to it. One wire is attached permanently (in the case of a car often using the metal body of the car as a "wire") and the other wire goes through the switch. When the switch is turned off it leaves electric current on only one wire and the device won't come on.

Wiring a Light Switch in the Home

Most of the wiring in your home will be of the 120 volt variety; only the range, clothes dryer, hot water tank and a handful of other high energy appliances require 240 volts. The 120 volt circuit consists of a black ("hot") wire, a white ("neutral") wire and a bare or green "ground" wire. The neutral wire is always attached directly to the light or other device, the black wire goes through the switch, and the ground wire goes to both switch and light. The wire is usually contained in a cable, all three wires bundled together in an insulating sheath with the black and white wires having their own insulation as well as the sheath enclosing the entire cable. The cable originates in the panel, or fuse box, where it can be turned off by turning the correct breaker off or removing the proper fuse. Always turn the power off before doing any electrical work and preferably check that it is dead by using a non contact voltage detector or voltmeter.

There are two common methods of physically getting the wire to the light and switch in a home; which wires go to the switch is determined by which method is used. The cable from the panel box will go to either the light or the switch, and a second cable is always required between the switch and the light.

Power to the light first

In this case the cable from the panel box goes to the light box, where the light is, first. The white, neutral wire is then attached to the light at this point. A second cable, again containing a black, white and ground wire goes to the switch. In this case the white wire in the cable to the switch is attached to the black wire coming from the panel box with a wire nut and should be colored black with a magic marker or black tape to indicate that it is not a neutral wire. It is now a "hot" wire. The black wire from the switch is attached to the light. At the switch there will now be a black and a white (colored black) wire plus the ground. All three of these will attach to the switch. It should be noted here that the 2011 National Electric Code was changed to require that each switch box have a white neutral wire in it; this means that if the power goes to the light first the cable to the switch must have a white, black and red wire plus a ground. The white wire is attached to the white wires at the light but is then capped off with a wire nut in the switch box without connecting to the switch. With both black and red wires between the light and the switch there is no need to color any wires and the red wire is used rather than coloring the white wire and using it.

Power to the switch first

In this case the cable from the panel box goes to the switch first, with a second cable going from the switch to the light. There will be two cables (six wires) at the switch. The two white wires are spliced together with a wire nut and are not to be colored; both are still "neutral" wires. The two ground wires must be spliced together with a third short piece of green or bare wire that will go to the switch. The two black wires, one from each cable, go to the switch as well.

Using a Voltage Detector

Click thumbnail to view full-size
Using a voltage detector shows that this wire is still "hot"!  This cable has the outer sheath cut back and the paper inside folded back to reveal the 3 wires inside.  There will typically be just a small amount of sheathing visible in the box and no paper
Using a voltage detector shows that this wire is still "hot"!
Using a voltage detector shows that this wire is still "hot"! | Source
This cable has the outer sheath cut back and the paper inside folded back to reveal the 3 wires inside.  There will typically be just a small amount of sheathing visible in the box and no paper
This cable has the outer sheath cut back and the paper inside folded back to reveal the 3 wires inside. There will typically be just a small amount of sheathing visible in the box and no paper | Source

Attaching the Wires to the Switch

There are two general methods of physically attaching the wires to the switch. Most 15 amp switches (to be used only on a 15 amp circuit with a 15 amp fuse or breaker) will have both screws on the side and small holes on the back. Wires may be stripped of insulation for about ½ inch and bent into a half circle, put under the screw head and the screw tightened or the insulation stripped to the proper length (there is a strip gauge on the back of the switch) and pushed into the holes where a spring will hold them. As an electrician I won't use the holes as the springs inside that hold the wire eventually weaken and make a poor connection (resulting in not only a light that won't work but a definite electrical fire hazard as well). The screws used for these two wires are typically the larger two, are a brass color and are located on the side of the switch.

A third screw, typically located near or on one end, is intended for the ground wire and is often colored green. It is normally obvious that this screw is connected to the metal framework of the switch instead of going through the plastic side. Every switch must have a ground wire attached; the only exception is for older homes that do not have ground wires in the switch box.

With the wires attached, fold the wires back into the box and push the switch in as well. Two screws hold the switch to the box; tighten firmly but not so tightly that the screw strips out the plastic of the box and won't hold any more. Attach the cover plate with a single screw in the center.

Click thumbnail to view full-size
A typical 15 amp home electrical switch.  The dark green screw on the right hand end is for the ground; other wires attach to the other side.A more expensive, 20 amp switch.  The ground screw is at the top left, the two other wires attach to the brass colored screws on the right.The short groove on the left of the switch body is the "strip gauge", showing how far to remove insulation.The insulation has been removed from this wire the proper amount.Pushing the wire into the spring loaded hole.  The slot next to the hole is for removing the wire; insert a small screwdriver into the slot and the spring will release.The ground wire has been looped clockwise around the ground screw, ready to tighten.
A typical 15 amp home electrical switch.  The dark green screw on the right hand end is for the ground; other wires attach to the other side.
A typical 15 amp home electrical switch. The dark green screw on the right hand end is for the ground; other wires attach to the other side. | Source
A more expensive, 20 amp switch.  The ground screw is at the top left, the two other wires attach to the brass colored screws on the right.
A more expensive, 20 amp switch. The ground screw is at the top left, the two other wires attach to the brass colored screws on the right. | Source
The short groove on the left of the switch body is the "strip gauge", showing how far to remove insulation.
The short groove on the left of the switch body is the "strip gauge", showing how far to remove insulation. | Source
The insulation has been removed from this wire the proper amount.
The insulation has been removed from this wire the proper amount. | Source
Pushing the wire into the spring loaded hole.  The slot next to the hole is for removing the wire; insert a small screwdriver into the slot and the spring will release.
Pushing the wire into the spring loaded hole. The slot next to the hole is for removing the wire; insert a small screwdriver into the slot and the spring will release. | Source
The ground wire has been looped clockwise around the ground screw, ready to tighten.
The ground wire has been looped clockwise around the ground screw, ready to tighten. | Source

Wiring Other Types of Electrical Switches

As mentioned, there are literally thousands of different types of electrical switches, from giants 6 feet tall to micro switches not meant to ever be touched by human hands. One switch might have 20 or more positions with 20 different results. Or it might operate 10 different devices, each with it's own circuit, all at the same time. Just a very few possibilities are shown in the photos below, with a brief explanation. Switches can be momentary contact, turning on (or off) only while held in position or maintained contact, remaining in the same position until manually switched on or off. Or it might be timed - turn it on and it remains on for 10 minutes and turns off (a bathroom heat lamp perhaps).

The actuating force might be a human hand, a moving box on a conveyor line, a gust of wind or even a light beam. It might be a pressure switch, turning on a well pump or air compressor when pressure falls and turning it off when the pressure is high enough.

In every case, though, incoming current is either turned on or off and this means that there is a line wire (a wire with constant power on it) and a load wire (a wire that is switched on and off) to be attached. The vast majority of switches don't care whether the line or the load wire goes to which terminal, although a few do. A lighted switch placed inside a home that lights up when the garage light is turned on for instance, would stay lit all the time if the line wire was put to the wrong terminal. Some switches light up when turned off in order to see them in the dark, and wire placement will matter here, too.

In such cases, try to follow the directions with the switch, particularly if the switch needs a white neutral wire to operate it's internal light. That neutral wire must go to the proper terminal! If the line and load wires are inadvertently reversed, though, no damage is done; if an internal light doesn't work as expected simply reverse the wires and try again.

Different Types of Electrical Switches

Click thumbnail to view full-size
A 20 amp switch, found in some homes.  Note that there are no holes in the back to push wire into; they must be connected to the screw terminalsA small toggle switch, commonly found in automotive uses.  The two nuts are used to mount it through sheet metal.This toggle switch has 4 positions, including off; the line wire can be connected to any of 3 loads, one at a time or none in the off position.  Wires must be soldered into place.This specialty switch is operated by something moving the long 6" rod at the top.  It operates either of two loads, thus has 2 load wire terminals and a line terminal.A circuit breaker.  A switch that will turn off either manually or automatically if the current passing through it exceeds a set limit (50 amps in this case).  This one controls two different circuits at the same time.A four way switch, used in conjunction with 2 three way switches to control lighting from multiple locations.  There are four terminals to attach wires to, although none of them get a line wire.
A 20 amp switch, found in some homes.  Note that there are no holes in the back to push wire into; they must be connected to the screw terminals
A 20 amp switch, found in some homes. Note that there are no holes in the back to push wire into; they must be connected to the screw terminals | Source
A small toggle switch, commonly found in automotive uses.  The two nuts are used to mount it through sheet metal.
A small toggle switch, commonly found in automotive uses. The two nuts are used to mount it through sheet metal. | Source
This toggle switch has 4 positions, including off; the line wire can be connected to any of 3 loads, one at a time or none in the off position.  Wires must be soldered into place.
This toggle switch has 4 positions, including off; the line wire can be connected to any of 3 loads, one at a time or none in the off position. Wires must be soldered into place. | Source
This specialty switch is operated by something moving the long 6" rod at the top.  It operates either of two loads, thus has 2 load wire terminals and a line terminal.
This specialty switch is operated by something moving the long 6" rod at the top. It operates either of two loads, thus has 2 load wire terminals and a line terminal. | Source
A circuit breaker.  A switch that will turn off either manually or automatically if the current passing through it exceeds a set limit (50 amps in this case).  This one controls two different circuits at the same time.
A circuit breaker. A switch that will turn off either manually or automatically if the current passing through it exceeds a set limit (50 amps in this case). This one controls two different circuits at the same time. | Source
A four way switch, used in conjunction with 2 three way switches to control lighting from multiple locations.  There are four terminals to attach wires to, although none of them get a line wire.
A four way switch, used in conjunction with 2 three way switches to control lighting from multiple locations. There are four terminals to attach wires to, although none of them get a line wire. | Source

© 2012 Dan Harmon

working

This website uses cookies

As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://corp.maven.io/privacy-policy

Show Details
Necessary
HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
LoginThis is necessary to sign in to the HubPages Service.
Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
AkismetThis is used to detect comment spam. (Privacy Policy)
HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
Features
Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
MavenThis supports the Maven widget and search functionality. (Privacy Policy)
Marketing
Google AdSenseThis is an ad network. (Privacy Policy)
Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
Index ExchangeThis is an ad network. (Privacy Policy)
SovrnThis is an ad network. (Privacy Policy)
Facebook AdsThis is an ad network. (Privacy Policy)
Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
AppNexusThis is an ad network. (Privacy Policy)
OpenxThis is an ad network. (Privacy Policy)
Rubicon ProjectThis is an ad network. (Privacy Policy)
TripleLiftThis is an ad network. (Privacy Policy)
Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
Statistics
Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)
ClickscoThis is a data management platform studying reader behavior (Privacy Policy)