When a lamp stops working, the bulb is usually the first suspect. But if a fresh bulb still flickers, shorts out, or refuses to light, the problem may be the socket itself. Learning how to replace a broken lamp socket is a practical repair that can save a favorite fixture from the trash and restore safe, reliable lighting in a matter of minutes.

This guide walks through the signs of a failing socket, the tools and safety steps you need, and the wiring details that make a replacement job clean and secure. Whether you are fixing a table lamp, floor lamp, or a hardwired fixture, the same core principles apply: cut the power, identify the socket type, and reconnect the wires exactly as they were designed.

Recognizing a Broken Lamp Socket and Choosing a Replacement
A lamp socket is more than a simple holder for the bulb. It contains metal contacts, a threaded shell, and often a switch or pull chain, all of which can wear out from heat, arcing, or years of use. When the socket fails, the lamp may become intermittent, buzz, smell hot, or stop conducting electricity altogether.

Before you buy a replacement, confirm the problem is truly the socket and not the bulb, cord, plug, or wall outlet. Swap in a known-working bulb and test the lamp in a different outlet. If the bulb works elsewhere but not in the lamp, and the cord looks intact, the socket is the likely culprit.
Common Reasons a Lamp Socket Fails

Heat is the number one enemy of a lamp socket. Incandescent bulbs and high-wattage halogens can bake the internal contacts over time, causing the metal to lose tension. Once the contact no longer presses firmly against the bulb base, electricity begins to arc, which creates flickering, crackling, and black scorch marks.
Mechanical wear also takes a toll. Pull chains snap, turn knobs become loose, and the threaded shell can corrode or deform. In older lamps, brittle insulation on the wires inside the socket may crumble as soon as you remove the shell, which means the repair should include trimming back damaged wire or replacing the cord.
How to Tell If the Socket Is Broken

Visual clues are often enough to condemn a socket. Look for a burned smell, melted plastic, charred wire ends, or a bulb base that is difficult to screw in or remove. You may also notice the lamp only works when the bulb is wiggled, or the switch feels gritty and fails to click positively.
A multimeter can confirm the diagnosis if you are comfortable using one. With the lamp unplugged, check continuity through the socket contacts while operating the switch. If the meter fails to beep in the on position, or if the reading jumps erratically, replace the socket rather than trying to bend or clean the internal parts.
Replacing the Socket Safely and Correctly

The replacement process is straightforward, but electricity demands respect. Always unplug a cord-and-plug lamp before touching the socket. For a hardwired fixture, turn off the circuit breaker and use a non-contact voltage tester to verify that power is off at the fixture before removing any wire nuts.
Choose a replacement socket that matches the original in size, switching style, and mounting method. Common base sizes include standard E26/E27 for most household bulbs and candelabra E12 for smaller lamps. You also need to match the shell type, such as keyless, pull-chain, push-through, or three-way, and confirm the socket fits the lamp's outer shell or harp assembly.










Tools, Materials, and Safety Prep
Gather a replacement socket, wire strippers, a small flathead screwdriver, a Phillips screwdriver, and possibly a new lamp cord if the existing one is stiff or cracked. A multimeter or voltage tester is helpful for verifying power is off and checking continuity after the repair. Work on a clean, well-lit table so tiny screws and wire ends do not disappear.
If the lamp has a felt bottom, peel it back carefully to access the base nut or cord. Take a photo of the wiring before you disconnect anything, especially if the socket has multiple terminals or a switch. This simple step prevents confusion when matching the hot, neutral, and ground connections later.
Wiring the New Socket Correctly
Lamp cord usually has two insulated conductors: one smooth and one ribbed. The ribbed wire is the neutral conductor, and it connects to the silver-colored screw or terminal. The smooth wire is the hot conductor, and it connects to the brass-colored screw. If the cord includes a green ground wire, secure it to the lamp's metal frame or grounding screw.
Strip only enough insulation to wrap the wire neatly around the terminal, then tighten the screw without crushing the copper strands. Keep stray wire strands from bridging between terminals, because a short circuit can overheat the socket. If the socket has a switch, follow the manufacturer's diagram, which often shows the hot wire feeding the switch first and then continuing to the brass contact.
Testing and Reassembly
Before reassembling the lamp, give the wires a gentle tug to confirm they are secure. Check that no bare copper is exposed outside the terminal area and that the socket shell slides into the lamp body without pinching the cord. Reinstall the outer shell, switch knob, or pull chain according to the reverse of disassembly.
Install a bulb and plug the lamp into a switched outlet or power strip that you can control easily. Turn it on briefly while watching and smelling for trouble. If the lamp lights steadily, feels cool, and the switch operates smoothly, the repair is complete. If it flickers or trips a breaker, unplug it immediately and recheck the wiring and socket contact.
With the new socket installed, your lamp should feel solid again instead of like a flickering gamble every time you reach for the switch. Keep a spare socket on hand for older fixtures, and inspect cords and plugs whenever you change a bulb. A little preventive attention now can keep your favorite lamp glowing safely for years to come.