A bedside lamp is one of the most used lights in a home. You switch it on and off every night, often half asleep, so it is no surprise that the socket inside eventually wears out. The switch stops clicking, the bulb flickers, the light cuts out when you touch the cord, or the lamp simply refuses to turn on even with a brand new bulb.
Before you throw the lamp away, there is good news. Replacing a lamp socket is one of the simplest electrical repairs in the house. A new socket is inexpensive, the job takes about 15 to 30 minutes, and you only need a few basic tools. This guide covers everything: how to confirm the socket is the problem, how to choose the right replacement, a step-by-step walkthrough, and the safety checks that matter most.
Quick Answer: How Do You Replace a Bedside Lamp Socket?
Unplug the lamp and remove the bulb and shade. Squeeze or pry open the socket shell at the marked “PRESS” spot, slide off the shell and insulating sleeve, loosen the two terminal screws and detach the wires. Unscrew the old socket from the lamp, thread the cord through the new socket cap, strip the wire ends, attach them to the new socket (smooth wire to the brass screw, ribbed wire to the silver screw), tie an underwriter’s knot, snap the shell and sleeve back on, and test.
Is the Socket Really the Problem? Check These First
Many lamp problems look like a bad socket but are not. Spend two minutes ruling out the easy causes before you buy parts.
- Try a new bulb. A burnt-out or loose bulb is the most common cause of a lamp that will not light.
- Test the outlet. Plug in a phone charger or another lamp. If it does not work, check the breaker or a tripped outlet before blaming the lamp.
- Inspect the plug and cord. Look for cracked insulation, bent plug prongs or a cord that feels hot.
- Check the center tab. With the lamp unplugged and the bulb removed, look inside the socket. The small metal tab at the bottom can flatten over time. Gently lifting it a little with a small screwdriver sometimes brings the lamp back to life.
Signs You Should Replace the Socket
- The switch is loose, stuck or no longer clicks properly
- The lamp flickers when you move the cord or bump the table
- The lamp works only when you hold the bulb or wiggle it
- You see brown, black or melted marks on the socket or bulb base
- You notice a burning or hot-plastic smell
- The socket is cracked, loose on the lamp pipe or rusted inside
- The bulb will not stay tight in the socket
Safety note: If you see scorch marks, melted plastic or smell burning, stop using the lamp immediately. Unplug it and replace the socket and, if the cord looks heat-damaged, the cord as well.
Choose the Right Replacement Socket
Not every socket fits every lamp. Matching the new one to the old one makes the repair simple.
- Base size: Most bedside lamps use a medium base socket that takes a standard household bulb. Smaller candelabra sockets are common on decorative lamps. Check the bulb base before you shop.
- Switch type: Sockets come with a turn knob, push-through switch, pull chain, three-way switch or no switch at all. Pick the same kind you already have, or choose a different one if you want to change how the lamp operates.
- Wattage rating: The new socket should be rated for at least the wattage of the bulb you plan to use. Look for the rating stamped on the socket or printed on the package.
- Safety certification: Choose a socket carrying a recognized safety mark for your region, such as UL, ETL or CE.
- Material and finish: Brass finishes suit traditional lamps, while plastic or nickel sockets suit modern ones. The finish rarely matters once the shade is on.
- Cap type: Some sockets come with a threaded cap, others with a lamp-pipe fitting or a slip-on fitting. Check that the cap suits your lamp’s threaded center pipe.
The easiest way to get a perfect match is to take the old socket, or a clear photo of it, when you shop.
Cost and Time
| Item | Typical Detail |
|---|---|
| Difficulty | Beginner friendly |
| Time needed | 15 to 30 minutes |
| Replacement socket | A few dollars |
| Replacement cord (optional) | A few dollars more |
| Tools | Basic screwdrivers and a wire stripper |
Tools and Materials You Will Need
- A new lamp socket that matches your lamp
- Flathead and Phillips screwdrivers
- A wire stripper or sharp utility knife
- Needle-nose pliers
- A non-contact voltage tester (optional but a good safety habit)
- Electrical tape
- A replacement lamp cord, if the existing cord is worn, brittle or damaged
- A phone or camera for photos of the original wiring
- A suitable bulb for testing
Step-by-Step: How to Replace a Bedside Lamp Socket
Step 1: Unplug the Lamp Completely
This is the most important step in the entire job. Turning the lamp off at the switch is not enough, because a switch can fail while still leaving the circuit live. Pull the plug out of the wall outlet and keep it where you can see it. Remove the shade and the bulb, and if the bulb was recently on, wait several minutes for it to cool.
Step 2: Take a Photo Before You Touch Anything
Set the lamp on a clean, well-lit table. Take a few clear pictures of the socket and the lamp base from different sides. Once you open the socket, you will take another photo of the wiring. Photos make reassembly much easier, especially if you get interrupted halfway through.
Step 3: Remove the Socket Shell and Insulating Sleeve
Look at the outer metal shell for the word “PRESS” stamped near the bottom. Squeeze the shell at that spot, or use a flathead screwdriver to gently pry it up, and pull it away from the base cap. Slide the cardboard or fiber insulating sleeve out from inside the shell. Set both aside. You should now see the socket body with two terminal screws and the wires attached.
Step 4: Take Note of the Wiring, Then Disconnect the Old Socket
Take a photo of how the wires connect. In most lamps, one wire runs to a brass-colored screw and the other to a silver-colored screw. Loosen both screws with a screwdriver and unwind the wires. Do not cut the wires yet. If the socket has a set screw at the cap, loosen it so the socket can come off the lamp’s threaded pipe.
Pull the cord slightly to give yourself room to work.
Step 5: Inspect the Cord
Before you attach the new socket, look closely at the cord. Look for cracked or brittle insulation, exposed copper, scorch marks, loose strands or a kinked section. If the damage is limited to the last inch or two near the socket, trim it off and prepare fresh wire ends. If the damage is farther along, or if the cord feels stiff and brittle all over, replace the whole cord at the same time. A new socket on a bad cord only repairs half the problem.
Step 6: Prepare the Wire Ends
Cut off any damaged or discolored wire ends with a clean, straight cut. Gently split the two wires apart for about two inches. Use a wire stripper to remove about three quarters of an inch of insulation from each wire, taking care not to cut any copper strands. Twist the exposed strands of each wire tightly in a clockwise direction so none are left sticking out.
Look at the cord to identify the two wires. One side is usually smooth, and the other has ribs or a printed line along it. In regions that use colored insulation, the live and neutral wires are marked by color instead, so follow the markings that apply where you live.
Step 7: Thread the Cord Through the New Socket Cap
Slide the new socket cap onto the cord before connecting the wires. This is a very common mistake. If you connect the wires first, you will have to undo the connection to fit the cap. Pass the cord through the cap with the threaded opening facing the lamp’s pipe.
Step 8: Tie an Underwriter’s Knot
Separate the two wires, tie them into a simple knot together just below the stripped ends, and then pull the knot snug into the cap. The knot acts as strain relief, so a tug on the cord pulls against the cap rather than against the terminal screws. Many sockets are designed with space for this, so check that the cap still closes easily.
Step 9: Connect the Wires to the Terminal Screws
Wrap the wire connected to the ribbed or marked side around the silver screw, and the smooth wire around the brass screw. Hook each strand clockwise around its screw so that tightening the screw pulls the wire in rather than pushing it out. Tighten firmly. Tug each wire gently to confirm it is secure, and make sure no loose strands are touching the other terminal.
This polarity matters. When the wires are connected correctly, the threaded metal part of the socket that touches the bulb base is the neutral side, which lowers the risk of shock when changing bulbs.
Step 10: Reassemble the Socket
Slide the cardboard insulating sleeve back over the socket body, then press the outer shell down over the sleeve until it clicks into the cap. The shell should be fully seated. Tighten the set screw on the cap so the socket sits securely on the lamp pipe. Check that nothing wobbles and that no bare wire is visible.
Step 11: Test the Lamp
Put the base back upright, screw in a bulb that matches the socket’s wattage rating, and plug the lamp in. Turn it on and watch for steady light, a smooth switch action and no buzzing or sparking. Leave the lamp on for about 15 minutes and check that the socket is only warm and never hot. If you notice a burning smell, a flicker or any sparking, unplug it immediately and recheck your connections.
Troubleshooting After the Repair
| Problem | Likely Cause | What to Do |
|---|---|---|
| Lamp does not light | Loose wire or flat center tab | Unplug and recheck the screws and tab |
| Lamp flickers | Loose connection or bulb | Tighten the screws and reseat the bulb |
| Breaker trips | Wires touching or crossed | Unplug and inspect the connections |
| Socket gets hot | Bulb wattage too high | Use a lower-wattage or LED bulb |
| Shell will not snap on | Sleeve missing or misaligned | Reseat the sleeve and push the shell down evenly |
Common Mistakes to Avoid
- Working on a plugged-in lamp: Always unplug the lamp first and do not rely on the switch.
- Forgetting the cap: Slide it onto the cord before you attach the wires.
- Swapping the wires: Keep the ribbed wire on the silver screw and the smooth wire on the brass screw.
- Leaving out the insulating sleeve: It is a safety barrier between the live parts and the metal shell.
- Using a bulb with too much wattage: Overheating damages the socket and the shade.
- Reusing a damaged cord: New socket, old brittle cord, same hazard.
- Leaving stray copper strands: Even one loose strand can cause a short.
Safety Tips for Any Lamp Repair
- Keep the lamp unplugged until the last step.
- Work on a dry, uncluttered table and never repair a lamp with wet hands.
- Use LED bulbs, which produce much less heat and are gentler on sockets and shades.
- Never exceed the maximum wattage printed on the lamp or socket.
- Do not run cords under rugs, and avoid pinching them behind the bed or nightstand.
- Check plugs and cords every year for cracking, stiffness or discoloration.
When to Call an Electrician or Replace the Lamp
This repair is suitable for most people, but some situations call for a professional or a new lamp.
- The lamp is an antique, imported or has unusual wiring that you cannot match with a standard socket.
- You see burn marks inside the lamp base or on the plug, not only on the socket.
- The breaker trips repeatedly even after a careful repair.
- The lamp has built-in electronics such as touch controls, USB ports or a dimmer module.
- You are not confident working with the wiring.
A cheap lamp with a damaged cord and a fused plug may also cost less to replace than to repair. When in doubt, do not use it.
Frequently Asked Questions
Can I replace a lamp socket without rewiring the whole lamp?
Yes. In most cases you only replace the socket and reconnect the existing cord, as long as the cord is in good condition.
How do I know which wire goes to which screw?
The ribbed or marked wire goes to the silver screw, and the smooth wire goes to the brass screw. This keeps the threaded part of the socket neutral, which is safer when changing bulbs.
Is it safe to replace a lamp socket myself?
For a standard plug-in lamp, it is a safe beginner project when you unplug the lamp completely, follow the wiring carefully and test the lamp at the end.
What bulb should I use after replacing the socket?
Use a bulb of the correct base size and a wattage at or below the rating on the socket and lamp. LED bulbs are an excellent choice because they run cool.
Why does my lamp work only when I wiggle the cord?
A loose terminal connection or damaged cord inside the lamp is the usual cause. Do not keep using the lamp. Unplug it and inspect the cord and the socket wiring.
Can I replace a socket with a different switch type?
Yes, as long as the base size and wattage match. Switching from a turn knob to a pull chain, for example, is a common upgrade.
Do I need to replace the cord too?
Only if it is cracked, brittle, scorched or too short after trimming. A healthy cord can be reused.
Final Thoughts
Replacing a bedside lamp socket is a satisfying repair that brings a favorite lamp back to life for the cost of a small part. Unplug the lamp, take a photo before you disconnect anything, connect the wires to the correct screws, tie the underwriter’s knot, reassemble every layer and test carefully. Take your time, and if anything looks damaged or unfamiliar, stop and ask a professional. A careful repair keeps your bedside light glowing safely for years.
