How to Replace a Light Socket in a Lamp or Ceiling Fixture
Part of: Electrical safety

- Difficulty
- Easy for a lamp, medium for a fixture
- Time
- 15 to 60 minutes
- Tools
- Screwdrivers, wire stripper, non-contact voltage tester, needle nose pliers, replacement socket, electrical tape
- Call a pro if
- the wires are brittle, scorched or aluminum, or the fixture is hardwired and you are unsure
In this guide
- Power off first
When a bulb flickers, a lamp works only if you wiggle the cord or the bulb does not light in a good socket, the socket may be worn out. The fix is easy. You can replace a light socket in a table lamp in about 15 minutes, and a fixture socket in about an hour.
This guide is part of our wider guide to lights, ceiling fans and fixtures.
Signs the socket is bad
The light flickers or works only sometimes. The bulb is loose or will not stay in. The socket is cracked, burned or discolored. The switch inside the socket does not click. You smell burning. A bulb that keeps burning out can also point to a bad socket. See How to remove a stuck or broken light bulb.
Step by step: table lamp
1. Unplug the lamp. This is the safest step. Do not work on a lamp that is plugged in.
2. Remove the bulb and the shade.
3. Remove the socket cover. Most have a brass or plastic shell. Look for the word "press" near the base of the shell, and squeeze and pull it off.
4. Pull the socket out of the shell. Remove the insulating sleeve.
5. Take a photo of the wires.
6. Loosen the two terminal screws and detach the wires.
7. Attach the wires to the new socket. One wire goes to the brass screw and the other to the silver screw. On a lamp cord, the ribbed or marked side of the cord goes to the silver screw. Wrap the wire clockwise around the screw before you tighten it.
8. Make sure no stray strands are visible. Twist them tight.
9. Slide the socket back into the shell, with the insulating sleeve, and snap it into the base.
10. Test the lamp with a bulb of the right wattage. Plug it in and switch it on.
Step by step: ceiling or wall fixture
1. Turn off the breaker and the wall switch. See How to find your electrical panel and label breakers.
2. Test for power at the fixture wires with a non-contact voltage tester before you touch them.
3. Remove the shade or cover and the bulb.
4. Find the socket. It may be held by a screw, a ring or a clip.
5. Disconnect the socket wires from the supply wires. They may be joined by wire nuts or screw terminals. Photograph first.
6. Remove the old socket.
7. Connect the new socket with the black or hot wire to the brass terminal and the white or neutral wire to the silver terminal. Join wires with wire nuts as before.
8. Reinstall the socket, the cover and the bulb.
9. Turn the power back on and test.
If the fixture has complex wiring, or you are not sure which wires are which, stop and call an electrician. See How to replace a light fixture for a full replacement.
Signs that point to each cause
A light that flickers when you touch the cord points to a loose wire in the plug or cord. A bulb that works in another lamp points to a bad socket. A lamp with a loose bulb may have a bent center tab. A burn mark near the socket points to a loose connection or too high a wattage bulb. A switch that does not click points to a bad socket switch. If the cord is damaged, replace the cord as well.
Choose the right socket
Use a socket rated for the bulb type and wattage. Choose a standard medium base for most lamps. Choose a type with a switch or without, to match the old one. For a fixture, use a socket made for that fixture type. Check that the new socket carries a safety mark. Do not put a higher wattage bulb than the lamp's label allows.
A quick fix for a loose bulb
With the lamp unplugged, check the small brass tab at the bottom of the socket. If it is flat, lift it a little with a small screwdriver so it touches the bulb. This often solves flickers. If the tab is burned or corroded, replace the socket.
Prevention
Use the right bulb wattage. Switch to LED bulbs, which run cooler. Do not yank the cord. Replace old cords. Check lamps now and then for cracked parts.
Related guides
- How to Replace a Ceiling Light With a Flush Mount Fixture
- Outdoor Light Fixture Filling With Water: Causes and How to Fix It
- Ceiling Fan Light Not Working: What to Check and How to Fix It
- Replace Photocell Sensor on an Outdoor Light
- How to Install a Ceiling Fan Where a Light Fixture Is
FAQ
Can I replace a lamp socket myself?
Yes. It is a simple job when the lamp is unplugged.
How do I know which wire goes where?
Hot goes to brass and neutral to silver. On a lamp cord, the ribbed wire goes to silver.
Why does my lamp flicker?
A loose bulb, tab, wire or socket can cause it.
Is a plastic socket okay?
Yes, if it is the right type and rating.
More from this topic
- How to Rewire a Lamp in Under an Hour: Learn how to rewire a lamp: unplug it, swap the cord and socket with a few basic tools, and bring an old lamp...
- How to Replace a Light Fixture Safely: Learn how to replace a light fixture safely: turn off power at the breaker, test the wires, connect the new...
- How to Replace a Ceiling Light With a Flush Mount Fixture: Learn how to replace a ceiling light with a flush mount fixture. Turn off power, remove the old fixture, wire...
- Outdoor Light Fixture Filling With Water: Outdoor light fixture filling with water or fogging up? Turn off the power, find the leak at the gasket, cap...
- How to Replace an Outdoor Light Fixture: How to replace an outdoor light fixture: turn off power, test, swap the old fixture and seal against water....
