Turn off the power before you touch anything inside the socket

The first step is always to cut power to the light. If the lamp plugs into an outlet, unplug it completely — do not just turn off the switch. If the light is hardwired into your ceiling or wall, turn off the circuit breaker that controls it, then test the light to confirm it is dead. A light that still works after you flip the breaker is on a different circuit.

Wait a few minutes after cutting power before you start work. Even after the power is off, some components inside the socket can hold a charge. Waiting gives that charge time to drain safely.

Key Takeaways

  • Always cut power at the outlet or breaker and test that the light is truly off before opening the socket.
  • Most lamp sockets unscrew from the base or pull straight out of the fixture, and the whole socket assembly is cheaper to replace than to repair.
  • Buy a replacement socket that matches your lamp's voltage and wattage rating, printed on the base or inside the fixture.
  • The three wires inside — hot, neutral, and ground — connect to the new socket in the same order they left the old one.
  • Test the new socket with a bulb before you reassemble the lamp or close up the fixture.

Identify what type of socket you have and what it costs

Lamp sockets come in three main types. A threaded socket screws into the lamp base from underneath and is most common in table lamps. A push-fit socket slides into a hole in the fixture and is held by a clip or friction fit — common in ceiling fixtures and wall sconces. A bayonet socket has a twist-lock mechanism and is less common in North America but still appears in some older lamps.

Replacement sockets cost between $3 and $15 depending on the type and quality. A basic threaded socket for a table lamp runs $3 to $6. A heavier-duty socket rated for higher wattage or a specialty type costs $8 to $15. Buy the socket before you remove the old one so you can match the voltage and wattage rating — usually printed on the base of the old socket or stamped inside the fixture.

Remove the old socket from the lamp or fixture

For a threaded socket in a table lamp, look underneath the base. You will see a small nut holding the socket in place. Use a wrench or pliers to turn that nut counterclockwise until it comes free. The socket will then unscrew by hand. Pull it straight up and out.

For a push-fit socket in a ceiling or wall fixture, look for a small clip or setscrew on the side of the socket. Loosen or remove it, then pull the socket straight down and out of the fixture. Some sockets are held by friction alone — if that is the case, grip the socket firmly and pull straight out with steady pressure.

Once the socket is loose, you will see three wires connected to it: one black (hot), one white (neutral), and one bare copper or green (ground). Before you disconnect them, take a photo or make a note of which wire connects to which terminal on the socket. The terminals are usually marked with letters or colors.

Disconnect the wires and remove the old socket completely

Use a screwdriver to loosen the terminal screws on the old socket. Turn each screw counterclockwise until the wire comes free. Pull the wires out gently — they should come loose without resistance. If a wire is stuck, loosen the screw more rather than yanking.

Once all three wires are free, set the old socket aside. Inspect the ends of the wires. If they are discolored, burned, or the insulation is cracked, trim about half an inch off the end with wire strippers and strip the new bare wire. This removes any corrosion and gives you a clean connection to the new socket.

Connect the wires to the new socket in the same order

The new socket will have three terminals, usually marked H (hot), N (neutral), and G (ground). The black wire always connects to H, the white wire to N, and the bare copper or green wire to G. Loosen each terminal screw on the new socket, insert the wire, and tighten the screw firmly. The wire should not move when you tug it.

If the wire ends are frayed, twist them tightly between your fingers before inserting them into the terminal. A loose or frayed connection will overheat and can damage the socket or create a fire hazard. Tighten each screw until the wire is held securely but do not over-tighten — you can strip the screw or crack the socket.

Install the new socket and test it before closing up

For a threaded socket, insert it into the lamp base from underneath and screw it clockwise by hand until it is snug. Then use a wrench to tighten the nut underneath until the socket is held firmly in place. Do not over-tighten — you can crack the ceramic or plastic body of the socket.

For a push-fit socket, slide it into the fixture and find the clip or setscrew. Make sure the socket sits flush and does not wobble. Plug the lamp in or turn the breaker back on, then screw in a light bulb and test it. If the light comes on, the connection is good. If it does not, turn off the power again and check that each wire is tight in its terminal.

Once you have confirmed the light works, you can reassemble the lamp shade, close up the fixture, or restore power permanently. If the light still does not work after you have checked the connections, the problem may be elsewhere in the lamp — a faulty switch, a broken cord, or a bad breaker — rather than the socket itself.

Frequently Asked Questions

What if I cannot tell which wire is which because the insulation is the same color?

Stop and do not guess. Turn off the power, take a photo of the old socket showing which wire connects to which terminal, and use that photo to connect the new socket. If you cannot see the terminals clearly, use a flashlight. Connecting the wires in the wrong order will cause the light to fail or create a shock hazard.

Can I use a socket rated for a lower wattage than my lamp?

No. A socket rated for 60 watts cannot safely handle a 100-watt bulb. The socket will overheat and the insulation inside will melt. Always match or exceed the wattage rating of the original socket. The rating is printed on the socket itself or on the lamp base.

What if the socket is stuck and will not unscrew?

explore a penetrating oil like WD-40 around the threads and let it soak for 15 minutes. Then try again with a wrench. If it is still stuck, wrap a cloth around the socket to protect it and use a rubber mallet to tap the wrench gently. Do not force it — forcing can crack the socket or strip the threads.

Do I need to replace the cord at the same time as the socket?

Not unless the cord is damaged. If the cord is intact and the insulation is not cracked or burned, you can reuse it. If the cord is frayed, discolored, or damaged, replace it at the same time as the socket to avoid a fire hazard.