Shop the Black Friday sale

Black Friday · 30% off

Black Friday · 30% off

Use codewith
Ends in
0d 00h 00m 00s
Ends 27. november 2026 kl. 23.59

How to Rewire a Lamp: A Step-by-Step Guide

Residence Supply |

Learning how to rewire a lamp takes about an hour and a few hand tools. Rewiring a lamp is also one of the simpler electrical repairs, because the lamp is unplugged the whole time. You unplug the lamp, pull out the old cord, feed in a new one and connect two wires to two screws on the socket.

Quick answer: Unplug the lamp and open the socket. Pull the new cord up through the lamp, split the top 2 inches and strip 1/2 inch of insulation from each wire. Tie an underwriter's knot, then connect the ridged wire to the silver screw and the smooth wire to the brass screw.

The job at a glance
Time About an hour
Cost of parts Around $5 for a cord with a plug, or under $15 for a full kit
Tools Screwdriver, wire stripper, needle-nose pliers
Power The lamp stays unplugged until the final test

Signs a Lamp Needs Rewiring

A frayed cord and a faulty switch are the two most common reasons to rewire a lamp. Stop using the lamp and check it if you notice any of these:

  • The cord is frayed, chewed or cracked.
  • The light flickers or dims when the bulb is fine.
  • There's a smell of smoke or burning near the lamp.
  • You feel a slight tingle when you plug it in or unplug it.
  • The socket looks burned.

Old and secondhand lamps deserve a look even when they work. Inside the socket, a cardboard sleeve keeps the metal parts from touching each other, and on an old lamp it's worth checking its condition. If you're not sure what you're looking at, the guide to the parts of a lamp names each piece.

Socket, Cord or Full Rewire: Which Repair You Need

Three parts can fail: the cord, the plug and the socket. Most often the problem is the cord and plug, and the socket is fine. Open the socket before you buy anything. What you find there tells you whether to replace a lamp socket, the cord or both.

What you find Repair
Damaged plug, sound cord and socket Replace the plug
Damaged cord, socket in good shape Replace the cord and plug, and keep the socket
Socket looks burned, or the switch has failed Replace the socket
Old lamp with a worn cord and socket Replace everything with a kit

To replace a lamp socket on its own, leave the cord in the lamp. You disconnect the two wires from the old socket and attach them to the new one, as in steps 2, 3, 7 and 8 below.

Tools and Parts for Rewiring a Lamp

You'll need a screwdriver, a wire stripper, needle-nose pliers and a replacement cord. Electrical tape helps when you pull the new cord through. A multimeter is optional, for testing connections.

What Lamp Cord to Use

Lamp cord is sold as 18/2. The 18 is the wire gauge, and the 2 means there are two wires inside. It comes in two common insulation types, SPT-1 and SPT-2. SPT-2 is thicker and resists abrasion better, but the extra thickness makes it harder to thread through the narrow pipe inside a lamp.

The simplest option is a cord set, which is a length of lamp cord with a plug already molded on. If you'd rather match the old cord exactly, take the lamp to a hardware store and compare.

Lamp Rewiring Kits

A lamp rewiring kit contains a socket, a cord and a plug. Kits sell for less than $15. Buy one when the socket needs replacing too. If the socket is sound, a cord with a plug is all the job needs, at around $5.

How to Rewire a Lamp in 8 Steps

Before you start, make sure the lamp is unplugged. Work in a dry, well-lit space, and use tools with insulated handles. If you have any doubt about the safety of what you're doing, give the job to an electrician.

Step 1: Unplug the Lamp and Take It Apart

Remove the shade, the bulb and the harp. Turn the lamp over. If the base has a felt pad or a cover, pry it off so you can reach the nut that holds the center pipe.

Step 2: Open the Socket

Look for the word "press" stamped on the socket shell. Push there with your thumb or a screwdriver and slide the shell off. Pull off the cardboard sleeve underneath, and keep both.

Step 3: Disconnect the Old Cord

Loosen the two terminal screws and unhook the wires. If you're replacing the socket, unscrew the old socket cap from the top of the pipe as well.

Step 4: Pull the New Cord Through

Cut the plug off the old cord. Attach the top of the new cord to the bottom of the old one, with electrical tape for example, and pull the old cord up and out through the pipe. The new cord follows it. Snip off the old cord and throw it away.

Step 5: Split and Strip the Wires

Split the top 2 inches of the cord into two separate wires. Strip 1/2 inch of insulation from the end of each one. Twist the bare strands together so none stick out. If you cut through some strands while stripping, trim the end and strip it again, because the connection needs all the copper.

Step 6: Tie an Underwriter's Knot

Screw the socket cap onto the pipe, with the cord coming up through it. Then tie an underwriter's knot in the two wires just above the cap. The knot takes the strain if the cord is pulled, so the pull never reaches the screw connections.

  1. Form a loop with the first wire.
  2. Form a loop around it with the second wire.
  3. Pass the end of the second wire through the first wire's loop.
  4. Pull the knot snug against the cap. Both wire ends should have a little slack.

The finished knot looks a bit like a pretzel.

Step 7: Connect the Wires to the Socket

Bend each bare end into a hook. Hook the ridged wire around the silver screw and the smooth wire around the brass screw. Wrap each one clockwise, so that tightening the screw pulls the wire in. Tighten both screws.

Step 8: Reassemble and Test

Slide the cardboard sleeve and the shell back over the socket until the shell snaps into the cap. Tighten the nut on the center pipe, refit the base cover and replace the felt if you removed it. Fit the harp and screw in a bulb you know works. Plug the lamp in and switch it on.

How to Wire a Lamp Socket: Which Wire Goes Where

To know how to wire a lamp socket, you first have to tell the two wires apart. Lamp cord has two of them, and you can tell them apart by touch. One has ridges along its insulation and the other is smooth.

Wire Feels Socket screw Plug prong
Neutral Ridged Silver Wide
Hot Smooth Brass Narrow
Lamp Wiring DiagramWhich wire goes to which screw on the socket, and which prong on the plug.SocketKNOTPlugSilver screwNeutral wire connects hereRidged wireNeutralWide prongNeutralBrass screwHot wire connects hereSmooth wireHotNarrow prongHotUnderwriter's knotSits inside the socket capresidencesupply.com
How the two wires of a lamp cord connect at the socket and the plug.

Getting the two reversed is a common mistake, and the lamp will still light. The danger is in the socket itself. When a socket is wired correctly, its metal threads are never live. When the wires are swapped, the threads can give you a shock whether the switch is on or off. Check the wires against the table before you close the socket.

Wiring a Replacement Plug

A cord set already has a plug, so most rewiring jobs skip this. If you're fitting a new plug to a flat cord, use a clamp-style plug and insert the cord so the ridged wire connects to the wider prong.

A round cord takes a plug with screw terminals. Split the bottom 1 1/4 inches of the cord and strip 3/4 inch from each wire. Tie an underwriter's knot inside the plug, then connect each wire to its screw.

Lamp wiring diagram showing the ridged neutral wire from the silver screw to the wide plug prong, and the smooth hot wire from the brass screw to the narrow prong, with an underwriter's knot inside the socket cap.

If the Lamp Still Doesn't Work

Unplug the lamp again before you touch anything. Then work through these checks in order.

  1. Try a different bulb, and make sure it's screwed in fully.
  2. Open the socket and check that both wires are tight under their screws.
  3. Look for corrosion on the metal parts. Clean light corrosion with a wire brush and electrical contact cleaner, and replace parts that are badly corroded.
  4. Test the switch for continuity with a multimeter. If it fails, replace the socket.

If the bulb lights but flickers, the cause may be the bulb or the outlet and not your wiring. The guide to flickering LED lights covers those.

Floor Lamps, Two-Socket Lamps and Three-Way Sockets

A floor lamp with one socket is rewired the same way as a table lamp.

Lamps with more than one socket are a different job. Each socket has its own pair of wires, and they join inside the lamp body. On a floor lamp with three arms and a center socket, 13 wires can meet at one junction. Photograph every connection before you undo it, or take the lamp to a repair shop.

A three-way socket gives three light levels from one bulb. You can recognize one by the extra off-center contact inside it. Replace it with another three-way socket, not a standard one.

When to Call a Professional or Replace the Lamp

Hand the job to a lamp repair shop or an electrician if the lamp has several sockets, if it's a valuable antique, or if you aren't comfortable working with electrical parts. Repair shops are a good choice for antiques because they do restoration work as well as wiring. Call a professional too if the lamp still fails after the checks above.

Sometimes the lamp isn't worth the repair. A cracked body or a base that no longer stands straight won't be fixed by a new cord. In that case, a new table lamp or floor lamp is the safer choice.

FAQ

Questions, Answered.

How long does it take to rewire a lamp?

About an hour for a lamp with one socket. That covers removing the shade, harp and base cover, opening the socket, pulling the old cord out and the new one in, and putting the lamp back together. The wiring itself is brief, because there are only two wires and two screws. Lamps with more than one socket take longer, since each socket has its own pair of wires and they join inside the lamp body. A lamp with three arms can have 13 wires at one junction, which is a job many people give to a repair shop.

Can you rewire a lamp without replacing the socket?

Yes. If the socket isn't burned and the switch still works, you can keep it and replace only the cord and plug. Open the socket, loosen the two terminal screws, pull out the old cord and connect the new one to the same screws: ridged wire to silver, smooth wire to brass. Keep the cardboard sleeve and put it back when you close the socket. If the socket looks burned or the switch has failed, replace the socket as well. A kit that includes a socket, cord and plug costs less than $15.

Is it safe to rewire a lamp yourself?

Yes, as long as the lamp stays unplugged the whole time you work on it. Two details matter most for safety: the knot and the wire order. The underwriter's knot stops a tug on the cord from pulling the wires off their screws. Connecting the ridged wire to the silver screw and the smooth wire to the brass screw keeps the metal threads of the socket from becoming live. If you have any doubt at either point, an electrician or a lamp repair shop can do the work.

Still have questions? Our team is here to help.

Contact Support