Lamps are a stylish way to bring soft light into a room, but it can be frustrating when your lamp switch stops working. Instead of throwing your lamp away, try installing a new socket or cord switch yourself! It’s an easy project that even a beginner can tackle, and you can replace the switch whether it’s located on the lamp itself or on the cord. All you need are a few simple tools and you’ll be out of the dark in no time. In this article, we explain how to replace your socket switch and cord switch, some of the issues you may face while replacing the socket switch, and more.
Replacing a Lamp Switch: Quick Guide
- Figure out the type of socket switch you need.
- Unplug the lamp and remove the shade, bulb, and wire holding the shade.
- Squeeze and pull the socket shell to remove it, then locate the attached wires.
- Remove the wires leading to the socket, then strip ½ inch (1.3 cm) of insulation.
- Wrap the wires around the screws on the new socket shell (hot to brass, neutral to silver)
- Place the new socket shell into the lamp and press down.
- Reattach the light bulb, lamp shade, and plug.
Steps
How to Replace a Socket Switch
-
Determine the type of socket switch you need and purchase one from a hardware store. Your new switch can be whatever type you prefer, regardless of the existing switch. For instance, if your lamp has a pull chain but you want to install a 3-way turn knob, all you have to do is buy a 3-way turn switch and a light bulb with 2 brightness levels . [1] X Research source
- You can even replace a socket switch with a cord switch. Just purchase a new socket assembly without a switch and follow the instructions below for replacing a cord switch .
- You can buy a new socket switch from most hardware stores, and they usually cost around $2-$5 USD.
-
Unplug the lamp before you begin repairs. When working with wires, master electrician Daniel Stoescu says to always turn the power off (in this case, by unplugging the lamp) so you don’t get shocked or electrocuted. Double-check to be sure that the lamp is unplugged before you start to take it apart. Make sure your work area is well-lit so you’re still able to see while you replace your lamp switch.
- Let the bulb and socket cool off before you start working so you don’t burn yourself.
Advertisement -
Remove the shade, the bulb, and the lampshade fitter that holds the shade in place. At this point, the socket at the top of the lamp should be exposed. On most lamps, this is where the switch is located.
-
Squeeze and pull the socket shell to remove it from the lamp. The socket shell is the actual assembly where the switch is located and the light bulb screws in. On most lamps, you can squeeze the socket shell and pull upwards to remove it. [2] X Research source
- If the socket shell is hard to remove, use a screwdriver to pry it loose.
- Be careful not to cut yourself on any sharp edges while you remove the socket shell.
-
Locate the wires attached to the socket shell. There should be 2 wires attached to the switch. 1 is hot and the other is neutral. The hot wire is usually attached to a brass screw, and the neutral wire is usually attached to a silver screw. [3] X Research source
- The neutral wire is usually marked. It may be a different color, or the insulation may be printed, stamped, or have indentations. Note this now so you know which wire is neutral when you hook up your new switch.
- If you can’t identify the neutral wire, look at the plug. The neutral wire is attached to the wider plug blade on a polarized plug. If your plug blades are the same size, you should replace the plug while you’re replacing the socket. [4] X Research source
-
Remove the wires leading to the existing switch. Depending on the type of socket you have, you may need to take a different approach to remove the wires. If they’re are connected with the brass and silver screws, remove them with your hands. If they’re connected to the body itself, remove them with your hands or cut them as close to the switch if they’re tightly secured. [5] X Research source
- Wear protective gear when you’re working with the wires.
-
Cut off the ends of the wire and strip away 1 ⁄ 2 inch (1.3 cm) of insulation. Use wire cutters to make a notch in the insulation around the wires, then clamp down on the insulation with the strippers and carefully pull the insulation away. [6] X Research source
- If you see any strands of wire when you pull away the insulation, it means you cut too deep. Cut off that section and start again.
-
String the 2 wires through your new socket and attach them to the screws. Use your fingers to wrap each wire tightly around the corresponding screw (the neutral wire to the silver screw and the hot wire to the brass screw). Although sockets are slightly different depending on the manufacturer, the wires should thread easily through the socket. [7] X Research source
- Make sure the socket is right-side-up and look for wire channels to help you know where to guide the wire.
- Use pliers to curl the wires if you’re unable to properly move them with your fingers.
-
Place the new socket shell into the lamp and press down. You should hear the new socket shell snap into place. If there is a screw on the stem of the lamp, tighten it by turning it counterclockwise to hold the socket in place. [8] X Research source
-
Replace the light bulb and lampshade and plug in the lamp. If you’ve done everything right, you should be able to use your new switch to turn on your lamp! If the lamp doesn't come on, check the connection in your switch and try again. If this doesn't help, you may need to replace the plug. [9] X Research source
- Once you replace your switch and bulb, regularly clean your socket switch and periodically check it for signs of wear and tear, as dust and debris tend to build up over time.
- Use a bulb with the correct wattage. Check the wattage by consulting your instruction manual or checking the label on the inside of the lamp. When you use the wrong wattage for your lamp, it can lead to overheating.
- When you’re storing bulbs, make sure they’re in a cool, dry place so they don’t accumulate moisture or anything else that can damage the socket switch.
How to Replace a Cord Switch
-
1Make sure the lamp is unplugged. Before you start working on replacing the cord switch, unplug your lamp so it doesn’t have any power. This will prevent you from getting shocked or electrocuted once you start working with the wires.
-
Look for printing on the lamp cord to determine the size switch you need, then buy it. Look for printing that says either SPT-1 or SPT-2. It’s typically located on the cord’s insulation. The printing is small, so you might have to look carefully. Once you’ve determined the size switch you need, head to a hardware store near you or hop online and order a new cord switch. [10] X Research source
- The difference between SPT-1 and SPT-2 involves the thickness of the lamp cord.
- Pick the cord switch that best fits your needs, just make sure it works with the lamp that you currently have.
-
Examine your new switch to see which wires you have to cut. Some switches only require you to connect the hot wire. [11] X Research source If this is the case, there will be a channel along one side of the switch for the neutral wire.
-
Remove the existing cord switch. Licensed electrical contractor Martin Hennum says you may be able to open the casing of the existing switch and remove the wires without cutting them, but if not, use wire cutters to cut as close to the switch as you can.
- Hennum says to avoid cutting the neutral wire. If you have to cut it to remove the old switch, strip the insulation and connect the cut ends of the neutral wire.
- If you like, add a plastic connector to protect the wire at the location where you want your new switch to be.
- If you’re adding a cord switch when there wasn’t one before, use a small knife to carefully split the cord where you want your new switch to go, then cut through the hot wire. If your switch requires you to attach the neutral wire, cut through that too.
-
Strip about 1 ⁄ 2 inch (1.3 cm) of insulation off of the wires. Use your wire cutters to make a notch in the wire insulation, then gently pull to remove it. Only take off as much insulation as you need to attach the wires to the screws in the switch. [12] X Research source
-
Match the hot and neutral wires to the appropriate screws. If you only have one screw, it's for the hot wire. If you have to connect both the hot and neutral wires, the hot wire goes to the brass screw, and the neutral wire goes to the silver screw.
-
Insert the stripped wires into the screw terminals. Use your fingers to wrap the wires around the screws securely, and make sure there is enough insulation on the wires so that no live wires will be exposed when you close the switch. [13] X Research source
- There should be no visible wires showing when the switch is assembled. All you should see is insulated cord.
- If the exposed wires are too long, use the wire cutters to snip off a small portion and reattach the wires to the screws.
-
Close the cover on the switch and snap or screw it shut. Make sure that the cover closes securely and there are no bare wires showing around the switch. [14] X Research source
-
Plug in your lamp and try out your new switch. If you’re confident that the switch feels like it’s securely connected and there are no live wires showing, it’s time to test out your lamp! If you hooked everything up right, you should be able to plug in the lamp and turn it right on.
- If the lamp doesn’t turn on, double-check your wiring and try again.
Expert Q&A
-
QuestionHow do you change the switch in a ceiling fan?Martin Hennum is a Licensed Electrical Contractor and Owner of Peach Electric based in Sacramento, California. With over 10 years of experience, Martin and his team specialize in residential and commercial electrical work. They are knowledgeable about new technologies that help clients with future proofing so they save time and money. Martin is passionate about customer service, bringing the best information to clients, and prioritizing safety across projects.First, take the trim cover off—which is the white cover plate. Then, take the switch out and identify which one has power using a non-contact voltage tester. Finally, put that on the correct terminal point on the new switch, screw it back in and install the trim cover back on.
-
QuestionCan you fix a lamp switch?Drew Hawkins1Community AnswerYou can definitely replace a socket switch if it isn't working anymore. Make sure the lamp is unplugged and remove the shade and bulb. The socket shell is the actual assembly where the switch is located and the light bulb screws in. On most lamps, you can squeeze the socket shell and pull upwards to remove it. If it's hard to remove, use a screwdriver to pry it loose. There should be 2 wires attached to the switch. 1 is hot and the other is neutral. The hot wire is usually attached to a brass screw, and the neutral wire is usually attached to a silver screw. Cut through the wires as close to the switch as possible to ensure you have plenty of wire to work with. Then, cut off the ends of the wire and strip away 1⁄2 inch (1.3 cm) of insulation with a pair of wire cutters. Then, use your fingers to wrap the 2 wires tightly around the screw and then push the new socket into the lamp. You can then replace the light bulb, plug in the lamp, and test it out.
-
QuestionHow do you a lamp cord switch?Drew Hawkins1Community AnswerIt's actually not too difficult. If you're replacing the switch with a new one, you may not need to cut all of the wires. Some switches only require you to connect the hot wire. If this is the case, there will be a channel along one side of the switch for the neutral wire. You may even be able to open the casing of the existing switch and remove the wires without cutting them, but if not, use wire cutters to cut as close to the switch as you can. Try to avoid cutting the neutral wire. If you have to cut it in order to remove the old switch, strip the insulation and connect the cut ends of the neutral wire together. You can also add a plastic connector to protect the wire at the location where you want your new switch to be.
Video
Tips
- Try changing the bulb and plugging the lamp into a different outlet before you take it apart.Thanks
Warnings
- Always use caution when working when electricity. Ensure that everything is unplugged before you work and call professionals for more extensive electrical work. Electricity is dangerous and can be fatal if it isn’t handled correctly.Thanks
Expert Interview

Thanks for reading our article! If you’d like to learn more about electrical maintenance, check out our in-depth interview with Martin Hennum .
References
- ↑ https://www.familyhandyman.com/electrical/electrical-repair/how-to-repair-a-table-lamp/view-all/
- ↑ https://www.familyhandyman.com/electrical/electrical-repair/how-to-repair-a-table-lamp/view-all/
- ↑ http://www.dummies.com/home-garden/home-improvement/electrical-wiring/how-to-repair-a-faulty-lamp/
- ↑ https://www.nytimes.com/1992/08/27/garden/home-improvement.html
- ↑ https://youtu.be/JZ8VThRKx1Q?si=oT_soHcqRPp4Mvpg&t=196
- ↑ https://www.familyhandyman.com/electrical/electrical-repair/how-to-repair-a-table-lamp/view-all/
- ↑ https://youtu.be/JZ8VThRKx1Q?si=xqpVNO55_GQVFX74&t=263
- ↑ https://youtu.be/JZ8VThRKx1Q?si=AzehWK5wozy-Lbqf&t=351
- ↑ https://youtu.be/JZ8VThRKx1Q?si=eRh0ve19HbFekhA8&t=381
- ↑ https://www.familyhandyman.com/electrical/wiring-switches/how-to-install-an-in-line-cord-switch/view-all/
- ↑ https://www.familyhandyman.com/project/how-to-install-an-in-line-cord-switch/
- ↑ https://www.essentialhomeandgarden.com/replace-lamp-cord-switch/
- ↑ https://www.essentialhomeandgarden.com/replace-lamp-cord-switch/
- ↑ https://www.familyhandyman.com/electrical/wiring-switches/how-to-install-an-in-line-cord-switch/view-all/
About This Article
To replace your lamp switch, unplug the lamp and remove the light bulb and lamp shade. Squeeze the socket shell to remove it from the lamp base, then cut the wires attached to the old switch. Carefully strip about 1/2 an inch of insulation off of the wires, then reconnect the wires to the new switch. Place the new socket shell into the lamp and snap it into place. Plug in your lamp and you're done! If you want to know how to replace a cord switch, keep reading!