What you're actually replacing
A light bulb socket is the threaded or bayonet fixture that holds the bulb itself—not the whole lamp or light fitting. When a socket stops working, the bulb won't screw in properly, won't stay seated, or the light won't turn on even with a working bulb. The socket is a separate part you can remove and swap out without touching the wiring, as long as you follow the safety steps below.
Most household sockets are either Edison screw (the standard threaded kind) or bayonet (push-and-twist). Both types unscrew or unclip from the lamp body in roughly the same way. The socket itself is usually a ceramic or plastic shell with two metal terminals inside that the bulb contacts.
Key Takeaways
- Always unplug the lamp or turn off the wall switch before you touch any part of the socket or wiring.
- Most sockets unscrew counterclockwise from the lamp body; some clip in and require a gentle twist to release.
- The two wires inside the socket connect to the two metal terminals—note which wire goes where before you disconnect them.
- Replacement sockets cost between $3 and $15 and are available at hardware stores and online; match the type (screw or bayonet) and voltage rating to your lamp.
- If the wires are burned, frayed, or the socket won't unscrew, stop and call a licensed electrician rather than forcing it.
Before you start: safety and tools
Unplug the lamp from the wall outlet or turn off the wall switch and confirm the lamp is off. Wait a few minutes if the bulb was recently on—sockets can stay hot. Do not work on a plugged-in lamp under any circumstances, even if you think the switch is off.
Gather a flathead screwdriver, a Phillips screwdriver, needle-nose pliers, and a replacement socket that matches your lamp's type. You do not need a multimeter or special electrical knowledge for this job. If the lamp is very old, valuable, or has decorative wiring you're unsure about, a licensed electrician is the safer choice.
How to remove the old socket
Most lamps have a socket shell that screws onto the lamp body. Look at the seam where the socket meets the lamp—you'll usually see a small slot or a line running around the circumference. Place your flathead screwdriver in the slot (if there is one) or grip the socket shell firmly and turn it counterclockwise. It should unscrew within a few full turns; do not force it if it's stuck, as you may strip the threads or damage the wires inside.
Once the socket is loose, pull it gently away from the lamp body. You'll see two wires—usually one black or brown (the "hot" wire) and one white or gray (the "neutral" wire)—connected to two metal terminals inside the socket. The terminals are often held in place by small screws. Before you disconnect anything, take a photo or make a note of which wire connects to which terminal. This matters for reassembly.
Loosen the terminal screws with a Phillips screwdriver and slide the wire ends out. Set the old socket aside. If the wires are burned, blackened, or the insulation is cracked, do not reuse them—call an electrician to replace the cord.
Installing the new socket
Unpack the new socket and check that it matches the old one: same type (screw or bayonet), same voltage (usually 120V for US household lamps), and the same thread size. The new socket will have two empty terminals with screws.
Insert the wires into the terminals in the same order they came out of the old socket. The black or brown wire goes to the brass or darker terminal (the "hot" side); the white or gray wire goes to the silver or lighter terminal (the "neutral" side). Tighten each terminal screw firmly with a Phillips screwdriver—the wire should not pull free if you tug it gently. Do not over-tighten, as you can crack the ceramic insulation.
Screw the new socket shell back onto the lamp body by turning it clockwise. It should sit flush against the lamp with no gaps. Hand-tighten only; you do not need a wrench. Screw in a working bulb and plug the lamp in. The light should come on when you flip the switch. If it doesn't, unplug the lamp, check that both wires are seated firmly in their terminals, and try again.
When to stop and call a professional
If the socket won't unscrew after gentle, steady pressure, stop. Forcing it can snap the wires inside or crack the lamp body. If the wires are burned, melted, or the insulation is missing, do not touch them—this is a fire hazard and requires a licensed electrician to replace the entire cord.
If you plug in the lamp and the bulb flickers, dims, or the light is very dim even with a new bulb and new socket, the problem may be in the cord or the switch, not the socket. An electrician can diagnose this safely. Never assume a problem is solved if the light still doesn't work after you've installed a new socket and checked the wire connections twice.
Where to buy replacement sockets
Replacement sockets are sold at hardware stores like Home Depot and Lowe's, at lighting specialty shops, and online through Amazon, Wayfair, and eBay. Prices range from $3 to $15 depending on the material and finish. Bring the old socket with you or note its type and size so you can match it exactly. If you're unsure, ask a store associate—they can confirm the fit before you buy.
Common brands include Leviton, GE, and Westinghouse, but any socket rated for 120V household use will work. Some sockets come with a cord already attached (called a "socket and cord assembly"); these are useful if the original cord is damaged, but they cost more and require you to disconnect the old cord from the lamp body.
Frequently Asked Questions
Can I replace a socket on a lamp that's still plugged in?
No. Always unplug the lamp first. Working on a plugged-in lamp, even with the switch off, risks electric shock and can damage the socket or wiring. Unplug, wait a moment, then proceed.
What if the two wires look the same color?
Older lamps sometimes have two wires of the same color. In that case, look for a thin ridge or stripe running along one of the wires—that's the neutral wire and goes to the silver terminal. If both wires are completely identical, take a photo before you disconnect them so you can reconnect them in the same order. The lamp will work either way in most cases, but matching the original connection is safer.
Do I need to turn off the breaker?
No. Unplugging the lamp from the wall outlet is sufficient and is actually safer than relying on a breaker. You can see that the lamp is unplugged, but you cannot see whether a breaker is truly off without a multimeter.
How do I know if the socket is the problem and not the bulb?
Try a bulb you know works in another lamp. If that bulb lights up in the other lamp but not in your lamp, the socket is likely the problem. If the bulb doesn't light in either lamp, the bulb itself is burned out. If the bulb sits loosely or falls out when you try to screw it in, the socket threads are worn and need replacement.
What's the difference between a screw socket and a bayonet socket?
A screw socket (Edison) has threads inside and the bulb screws in clockwise. A bayonet socket has two small pins and the bulb pushes in and twists clockwise to lock. They are not interchangeable. Check your old bulb or socket to see which type you have, then buy the matching replacement.