Old table lamps are worth saving. The brass, ceramic and glass bodies made decades ago are usually better than anything at a similar price today, and the only part that genuinely wears out is the wiring. A cracked cord, a scorched socket or a switch that needs jiggling are all repairable in under an hour with a few dollars of parts. Rewiring a table lamp is one of the safest electrical projects a beginner can take on, because the whole job happens with the lamp unplugged and on your workbench. This guide walks through the parts, the polarity rule that matters most, and each step from teardown to the final test in 2026.

When a Lamp Is Worth Rewiring
Rewire when the body is sound and the fault is electrical: brittle or cracked cord insulation, exposed copper, a plug that gets warm, a socket that no longer grips the bulb, flickering when you nudge the cord, or a switch that only works in one position. Any cloth-covered cord from the mid-century era should be replaced on sight, because the rubber underneath the fabric hardens and crumbles even if the outside looks fine.
Stop and reconsider if the lamp body itself is cracked metal, if a ceramic base is broken through, or if there is charring inside the socket cup that suggests a past overheating event. Also stop if the lamp is a collectible where original wiring adds value; in that case a professional restoration is the better call.
Tools and Parts You Will Need
- Replacement lamp cord, typically 18-gauge SPT-1 or SPT-2 zip cord, 6 to 8 feet long, with a moulded polarized plug already attached.
- A new socket rated for the lamp, usually a medium base E26 with an interior switch, plus its shell and insulating sleeve.
- Wire strippers and a small pair of needle-nose pliers.
- A flat and a Phillips screwdriver, small sizes.
- Electrical tape and optionally a UL-listed underwriters knot reference for the socket cap.
- A continuity tester or multimeter for the final check before plugging in.
- A soft cloth and painter’s tape to protect the base finish while you work.
Match the new socket to the bulbs you plan to run. If you are moving to LED, note that a dimmer socket only works with dimmable bulbs, and the guide to the best light bulbs for lamps covers which types behave well in enclosed shades and older fixtures.
Step-by-Step: Rewiring the Lamp
- Unplug the lamp and remove the shade, harp and bulb. Squeeze the harp legs inward to pop them out of the saddle. Set every removed part in a tray so nothing rolls away. Photograph the assembly from two angles before you disturb anything.
- Open the socket shell. Most shells are marked PRESS near the base. Press firmly at that point with your thumb while pulling the shell upward off the cap. The cardboard insulating sleeve comes with it. If it is stuck, rock it gently rather than prying with a screwdriver, which dents the brass.
- Free the old socket interior. Lift the socket body out to expose the two terminal screws. Loosen both screws and unhook the old wires. If the wires are soldered or wrapped tight, cut them free rather than fighting the old copper.
- Remove the socket cap and pull the old cord out. The cap is usually held by a small set screw on its side. Loosen it and unthread the cap from the lamp pipe. Tie the new cord to the old cord end with a small taped joint, then pull the old cord down and out of the base so the new one follows the same path. This trick saves a lot of blind fishing through a curved lamp pipe.
- Inspect the pipe and add a bushing. Run a fingertip around the top of the threaded pipe. Any burr will chew through the new cord’s insulation over time. Fit a plastic or rubber bushing, or wrap the lip with electrical tape, before the cord passes over it.
- Thread the new cord and fit the cap. Feed the plug end through the base exit hole and the free end up through the pipe. Screw the socket cap onto the pipe and tighten its set screw so the cap cannot spin.
- Tie an underwriters knot. Split the two conductors about 3 inches, then tie a simple figure-eight style knot so each conductor loops through the other. Seat the knot inside the cap. This knot takes any tug on the cord instead of letting the strain reach the terminal screws, and it is the single most skipped step in amateur lamp repairs.
- Strip and identify the conductors. Strip about three quarters of an inch of insulation from each wire and twist the strands tight. Now look closely at the cord: one conductor is marked, either by ribbing on the insulation, a printed stripe, or a silver rather than copper wire colour. That marked conductor is the neutral.
- Wire the polarity correctly. Connect the marked neutral conductor to the silver terminal screw, which feeds the threaded shell of the socket. Connect the smooth unmarked conductor to the brass or gold terminal screw, which feeds the small centre contact at the bottom of the socket. This orientation keeps the exposed screw shell at neutral so a finger touching it while changing a bulb is far safer. Getting this backwards is the most common and most dangerous rewiring mistake.
- Hook and tighten each wire clockwise. Bend each stripped end into a hook, place it around the screw so tightening pulls the loop closed, and snug the screw down. No stray strands may stick out. Trim any whisker of copper you can see.
- Reassemble the socket. Slide the cardboard insulator into the shell, press the shell down over the socket interior until it clicks into the cap, then gently pull the cord from below to take up slack without unseating the knot.
- Test before you plug in. With a multimeter set to continuity, check between the two plug prongs with the switch off; you should read open. Switch on and you should still read open with no bulb fitted. Then check between the wide neutral prong and the socket shell; that should read continuous. Any unexpected continuity between the prongs means a short, so open it back up.
- Fit the bulb, harp and shade, then power up. Plug in, switch on, and let the lamp run for ten minutes while you check that the socket area stays cool to the touch and the switch feels crisp.

Safety Rules That Are Not Optional
- The lamp stays unplugged for the entire repair. There is never a reason to work on a live lamp.
- Use the underwriters knot. Without it, one hard yank on the cord transfers force straight to the terminal screws and can pull a live conductor loose inside the shell.
- Respect the socket wattage rating. Standard sockets are commonly rated to 660 watts but the lamp’s own label may say 60 watts because of heat inside the shade. Follow the lower number, or switch to LED where the same brightness draws a fraction of the power.
- Never reuse a cracked cord section by taping over it. Replace the whole run.
- Keep the polarized plug. Do not file down a wide prong to fit an old outlet. Replace the outlet instead.
- Ground metal lamps that came with three-prong cords. If the original cord had a ground wire attached to the metal base, the replacement must too.
Troubleshooting After the Repair
If the lamp does nothing, check the bulb in another fixture first, then confirm the outlet works. Next, look at whether a terminal screw is loose or a stray strand is bridging the two terminals inside the shell. If the lamp flickers when you move the cord, the strain relief knot is missing or a connection is not tight. If the bulb glows dimly or buzzes, you likely have an LED in a socket with an old dimmer or a non-dimmable bulb on a dimming switch.
A socket that runs hot points to an oversized bulb or a poor connection. A switch that clicks but does not always make contact means the socket interior is worn and should simply be replaced, since interiors cost only a few dollars. If your outlet trips a GFCI when the lamp is switched on, stop and re-check polarity and for a pinched conductor at the pipe.
Common Mistakes to Avoid
Beginners most often reverse polarity because they cannot see a difference between the two conductors and simply pick one. Feel for the ribs and look for the printed stripe under good light; the difference is always there on a proper lamp cord. The second frequent error is skipping the bushing at the top of the pipe, which leaves a sharp metal edge slowly cutting the new cord. The third is over-stripping, leaving bare copper visible outside the terminal screw where it can arc to the shell.
People also buy the wrong cord gauge, using thin speaker-style wire because it looks similar. Use proper SPT lamp cord rated for the job. Finally, do not force a shell back on without the cardboard insulator; that sleeve is the only thing between a live terminal and the metal you touch.

Frequently Asked Questions
How long does rewiring a table lamp take?
A first attempt takes about 45 to 60 minutes. Once you have done two or three, the job settles at around 20 minutes. Fishing the cord through a curved base is the slowest part, which is why tying the new cord to the old one before pulling saves time.
Does it matter which wire goes to which screw?
Yes, and it is the most important detail in the whole repair. The marked or ribbed neutral goes to the silver screw feeding the shell; the smooth conductor goes to the brass screw feeding the centre contact. Reversed, the bulb still lights but the screw shell sits energized.
Can I add a dimmer while rewiring?
You can fit a socket with a built-in three-way or full-range dimmer, but the bulb must be compatible. Pair a dimming socket only with a bulb explicitly labelled dimmable, otherwise you get buzzing and flicker.
Is it cheaper to rewire or replace the lamp?
Parts usually total less than the cost of a comparable new lamp, so rewiring a solid vintage piece is good value. If the base is damaged or you wanted a different look anyway, browsing the best table lamps for living rooms or the best bedside table lamps makes more sense than restoring a lamp you do not love.
What length of cord should I use?
Six feet suits most side tables; eight feet helps when the outlet sits behind furniture. Longer is not better, because excess cord coils and becomes a snag hazard.
Final Thoughts
Rewiring a table lamp comes down to three things done properly: a cord that cannot chafe on the pipe, an underwriters knot that absorbs every tug, and terminals wired to the correct polarity. Everything else is disassembly and patience. Work unplugged, test with a meter before the lamp ever sees an outlet, and you will bring a well-built old fixture back into daily service safely. If the project leaves you wanting a second lamp to match, the roundup of the best lamps is a sensible next stop.
