Replacing a lamp socket is a 15-minute job that costs $3 to $8
A lamp socket fails when the switch stops working, the socket won't grip the bulb, or the interior contacts corrode. You can replace it yourself without any special tools — just a screwdriver, a new socket (available at any hardware store for a few dollars), and five minutes. The socket is the threaded brass or plastic part that holds the bulb; it sits inside the lamp body and connects to the cord.
This repair works on any standard table lamp or floor lamp with a cord. Lamps with three-way switches or dimmer sockets follow the same steps but require a matching replacement socket. Chandelier sockets and recessed ceiling fixtures are different and should be handled by an electrician.
Key Takeaways
- Unplug the lamp before you touch any part of it — this is the only safety step that matters.
- The socket sits inside the lamp body and is held in place by a single nut you turn counterclockwise with your fingers or a wrench.
- A replacement socket costs $3 to $8 and comes with a cardboard sleeve and two wires already attached.
- You only need to match the old socket's size (usually medium or candelabra) and switch type (on/off, three-way, or dimmer) when you buy the new one.
- The whole job takes 15 minutes and requires only a screwdriver and possibly a small wrench.
What you need before you start
Gather a replacement socket, a screwdriver (usually flathead), and optionally a small adjustable wrench or pliers. The socket itself comes in two sizes: medium (the standard for most lamps) and candelabra (smaller, for decorative lamps). Check the old socket or bring the lamp to the store to match the size. If the lamp has a three-way switch or dimmer, buy a socket with the same feature — a standard on/off socket will not work.
You do not need a multimeter, wire strippers, or electrical tape. The wires inside the lamp are already the right length, and the new socket comes with everything attached. Unplug the lamp and set it on a flat surface where you have room to work.
Step 1: Remove the harp and shade
The harp is the wire frame that holds the shade. It sits on top of the socket and is held in place by a small clip or nut. Loosen the clip or nut by turning it counterclockwise — it usually comes off by hand. Lift the harp away from the lamp and set the shade aside.
If the harp is stuck, do not force it. Spray a little penetrating oil (like WD-40) around the base where it meets the socket, wait two minutes, and try again. Once the harp is off, you will see the socket body clearly.
Step 2: Unscrew the socket cap
The socket cap is the metal or plastic ring at the very top of the socket. It is threaded and screws onto the socket body. Turn it counterclockwise with your fingers — it should come off easily. If it is stuck, wrap a cloth around it for grip and turn gently. Do not use pliers or a wrench on the cap itself; you will strip the threads.
Once the cap is off, you will see the cardboard insulating sleeve inside. This sleeve protects your hand from the metal parts. Leave it in place for now.
Step 3: Slide out the cardboard sleeve and wires
The cardboard sleeve and the socket body inside it are one unit. Gently pull the entire assembly straight up and out of the lamp. The two wires attached to the socket will come with it. You may need to wiggle it slightly, but it should slide out without resistance.
Once the old socket is out, you will see the inside of the lamp body and the two wires (usually black and white, or both black with a stripe). These wires are already connected to the cord and do not need to be touched. Set the old socket aside.
Step 4: Loosen the terminal screws on the new socket
The new socket comes with two small brass screws on the sides. These are the terminal screws — they hold the wires in place. Before you insert the socket into the lamp, loosen both screws by turning them counterclockwise with a screwdriver. Turn them only until they are loose enough to slide a wire under; do not remove them completely.
The wires from your lamp will slide under these screws. One wire goes under each screw. It does not matter which wire goes under which screw on a standard on/off socket, but on a three-way socket, the wires must go in the correct terminals — check the label on the socket or the instructions that came with it.
Step 5: Insert the new socket and tighten the screws
Slide the new socket straight down into the lamp body, with the two wires tucked under the terminal screws. Push it down until the socket body sits flush with the top of the lamp. The cardboard sleeve should be inside the lamp, and the metal or plastic socket should be at the top.
Tighten both terminal screws clockwise with a screwdriver. Turn them firmly but not so hard that you strip the screw head. The wires should be held securely under the screws with no bare wire showing. Screw the socket cap back on by turning it clockwise until it is snug. Reattach the harp and shade, plug in the lamp, and test it with a bulb.
What to do if the new socket does not work
If the lamp does not turn on after you install the new socket, unplug it and check that both terminal screws are tight and both wires are under them with no gaps. Loosen the screws, reseat the wires, and tighten again. If the lamp still does not work, the problem is likely in the cord or plug, not the socket — test the cord with another lamp or have it checked by an electrician.
If the bulb flickers or the switch feels loose, the terminal screws may not be tight enough. Unplug the lamp, tighten both screws again, and test. A flickering bulb can also mean the bulb itself is loose in the socket — remove the bulb, clean the socket contacts with a dry cloth, and reinsert the bulb firmly.
Frequently Asked Questions
Can I replace a lamp socket while the lamp is plugged in?
No. Always unplug the lamp before you touch the socket or wires. Even though the socket itself carries very little current, unplugging removes all risk of shock or damage to the lamp.
What if the socket is stuck and won't come out?
Spray penetrating oil around the base of the socket where it meets the lamp body, wait a few minutes, and gently wiggle it while pulling upward. If it is still stuck, the socket may be glued in place — carefully pry the edge with a flathead screwdriver, working your way around the socket until it lifts free.
Do the two wires have to go in a specific order?
On a standard on/off socket, no — either wire can go under either screw. On a three-way or dimmer socket, yes — the wires must go in the terminals marked on the socket body. Check the label or instructions that came with the new socket.
Can I use a larger socket in a lamp that had a smaller one?
No. A candelabra socket will not fit in a lamp designed for a medium socket, and forcing it will damage the lamp body. Always match the size of the old socket when you buy the replacement.
What if I stripped the terminal screw?
If the screw spins without tightening, the threads inside the socket are damaged. You will need to replace the entire socket. Buy a new one and follow the steps again.