An old table lamp with a frayed cord, a flickering bulb, or a switch that’s stopped working isn’t ready for the trash — it’s ready for a rewire. Rewiring a table lamp is one of the most accessible electrical DIY projects out there. With about 30 minutes, $15 in parts, and basic tools, you can give a vintage or sentimental lamp another 20 years of life. This guide walks through the entire process: when rewiring is the right call, the tools and parts you need, the four-step rewiring process, and when to step back and call an electrician instead.
When a Lamp Needs Rewiring (Signs to Watch For)
Not every lamp problem requires a full rewire. Sometimes the bulb is dead, sometimes the switch is the only failed component, and sometimes the cord is fine, but the plug has loose prongs. A full rewire is the right call when you see any of these warning signs.
Visible cord damage — fraying, cuts in the insulation, or sections that have hardened and cracked with age — is the most common reason. Brittle insulation is a fire risk and can’t be patched with electrical tape long-term. A lamp that flickers when the cord is moved (without touching the bulb) means the internal conductor is broken intermittently, and that’s only fixable with new wire. Discoloration around the socket or a faint burning smell when the bulb is on means the socket itself has failed and needs to be replaced as part of the rewire.
If the lamp is over 30 years old and has never been rewired, plan to do it preemptively. Cloth-insulated cords from the 1960s and earlier are particularly prone to insulation breakdown and should be replaced regardless of how the lamp looks externally.
Tools and Materials You’ll Need
The full toolkit is small. You’ll need a wire stripper or sharp utility knife, a Phillips and flathead screwdriver, needle-nose pliers, and a small adjustable wrench for the threaded socket cap. Optional but useful: a continuity tester or multimeter to confirm the new socket and switch work before reassembly.
For materials, buy a complete lamp rewiring kit if you can — most hardware stores sell one for $10 to $15 that includes 8 feet of SPT-2 lamp cord (18-gauge, the right size for most table lamps), a new socket with switch, a polarized plug, and a strain relief grommet. If you’re piecing it together, the components are: SPT-2 lamp cord (8 feet is enough for most setups), an Edison-base socket (E26 in the US, E27 elsewhere), a polarized two-prong plug, and a small piece of heat-shrink tubing for cord protection.
Confirm the socket type matches your bulbs and your country. The US uses E26 standard medium-base sockets; the UK and most of Europe use E27. They look nearly identical but aren’t always interchangeable, and a mismatched socket means none of your existing bulbs will fit.
Step 1: Disassemble the Lamp Safely
Unplug the lamp before you start. This sounds obvious, but it’s the single most important step. Confirm the lamp is unplugged at the wall before touching any wires.
Remove the shade, the harp (the metal frame around the bulb that holds the shade), and the bulb. Set them aside in a clean spot. The socket sits on top of a threaded post running down through the lamp body. The socket is held in place by a brass cap — twist this counterclockwise to release it. With the cap off, you’ll see the socket’s interior shell, which lifts off to expose the wiring connections.
Note how the wires are connected before you cut anything. The neutral wire (ribbed insulation, or marked with a stripe) connects to the silver screw; the hot wire (smooth insulation) connects to the brass screw. Take a photo with your phone — when you wire the new socket, you’ll mirror this exact configuration.
Step 2: Remove the Old Wiring and Socket
Loosen both terminal screws and free the wires. Now pull the old cord out from the bottom of the lamp. The cord runs up through a hollow center post in the base — once it’s free at the top, you can pull the entire length out from underneath.
Some lamp bases have a felt or rubber bottom pad that needs to come off first to access where the cord enters. Older lamps may have the cord knotted on the inside as a strain relief; you’ll feel resistance when you pull. Don’t yank — work the knot loose with needle-nose pliers.
If the lamp is genuinely vintage — a piece like a Vintage Victorian Japanese porcelain lamp or an Arts & Crafts era brass piece — work especially carefully around the cord channel. Decades-old lamps sometimes have ceramic bases or hand-turned wood components that crack if forced.
Step 3: Thread and Wire the New Cord
Feed the new SPT-2 cord up through the bottom of the lamp base, through the center post, and out the top where the socket sits. Pull about 6 inches of cord through the top — that’s enough working length to strip and connect the wires.
Use the wire stripper to remove about half an inch of insulation from each conductor at the top end. Twist the exposed copper strands tightly so they don’t fray. Connect the ribbed wire (neutral) to the silver screw on the new socket and the smooth wire (hot) to the brass screw. Wrap the bare wire clockwise around each screw before tightening — the screw’s natural rotation pulls the wire tighter as you snug it down.
On the cord end at the bottom of the lamp, tie an underwriters knot before attaching the plug. This is a simple knot that prevents tension on the cord from pulling the wires off the plug terminals if someone yanks the cord. Look up a one-minute video — it takes 10 seconds once you’ve done it once. Then strip the wire ends, attach to the plug terminals (ribbed wire to the silver/wider terminal, smooth to the brass/narrower terminal), and snap the plug closed.
Step 4: Reassemble, Test, and Insulate
Slide the socket shell back into place over the wiring, snap the brass cap down on top, and tighten by hand. Don’t overtighten — finger-tight is plenty. Replace the harp and shade. Plug the lamp in, install a low-wattage bulb (40W or less to confirm everything works without stressing the new wiring), and test the switch.
If the bulb lights up cleanly and the switch toggles without flicker, the rewire is successful. If nothing happens, unplug immediately and check three things: that the socket terminals are tight, that the plug is wired correctly to the right colored screws, and that the underwriters knot hasn’t pulled the wires free of the terminals.
UK vs. US Plug and Voltage Notes
If you’re rewiring a lamp for use in a different country than it was originally wired for, the plug type, voltage, and bulb base all need to match the destination. Lume Art Gallery ships internationally, and lamps are configured to ship with the correct plug type for the buyer’s country — but if you’re moving an older lamp from one country to another yourself, you’ll need to swap the plug and confirm the bulb base. Standard US lamps run on 120V/60Hz with E26 sockets and Type A or B plugs. UK lamps run on 230V/50Hz with E27 sockets and Type G three-prong plugs. The cord itself is usually fine; only the plug and bulb base typically need to be changed.
When to Call an Electrician Instead
Most table lamp rewires are well within DIY range. But there are situations where bringing in a licensed electrician is the smarter call. If the lamp is hardwired into the wall (some sconces and built-in fixtures are), if the cord runs through a metal channel that’s been crimped shut, or if you discover damaged or melted components inside the base, stop and consult a professional.
If the lamp is a high-value or antique piece — a serious amber and brass artisan lamp, a Tiffany original, a W.A.S. Benson Arts & Crafts piece, or anything you’d hesitate to fix yourself — get an estimate from someone who specializes in vintage lamp restoration before attempting it. The cost of a botched rewire on a $2,000 antique far exceeds the $80 a specialist will charge to do it properly. For sizing reference on lamps you’re considering replacing, see our table lamp height guide or bedside lamp size guide. Browse our current table lamp range for a modern alternative.
Frequently Asked Questions
Is rewiring a table lamp safe to do yourself? Yes, for most basic table lamps — provided you unplug the lamp before starting and follow standard wire-connection practices. Modern lamp rewiring kits include all the parts you need with clear instructions. The only mandatory rule is keeping the lamp unplugged the entire time you’re working on it.
What gauge wire is best for a table lamp? 18-gauge SPT-2 lamp cord is the standard for table lamps using bulbs up to 100 watts. For higher-wattage lamps or floor lamps, a 16-gauge cord is the safer choice. Don’t use a thinner gauge than 18 — it’s a fire risk under load.
How long does rewiring take? About 30 to 45 minutes once you’ve done it once. The first time you rewire a lamp, expect closer to an hour while you figure out the disassembly and the underwriters knot. After that, it’s a quick repair you can do whenever a cord starts looking worn.
Can I keep the original switch when rewiring? Sometimes. If the original switch is the inline cord-mounted style and the contacts test clean with a continuity tester, you can splice it into the new cord. If the switch is built into the socket, replace the entire socket as part of the rewire — socket switches wear out alongside the wiring and aren’t worth saving.