You can replace a lamp cord in under an hour with basic tools

A frayed, cracked, or damaged lamp cord is a fire hazard and a reason to stop using the lamp when ready. The good news: you do not need an electrician. Most lamp cords unscrew from the socket and base in two places, and a new cord costs between $8 and $20. The job takes a screwdriver, a utility knife, and about 30 minutes if you have never done it before.

The process is the same whether your lamp is brass, ceramic, wood, or fabric. You disconnect the old cord at the socket and the base, feed the new cord through the lamp body, and reconnect it. No soldering, no special knowledge required.

Key Takeaways

  • Unplug the lamp before you touch anything inside it, and do not skip this step even if you are in a hurry.
  • Most lamp cords attach to the socket with a setscrew or a push-fit connector that comes free with gentle pulling or a quarter-turn of a wrench.
  • The cord passes through a hole in the lamp base and connects to a plug or a cord set at the bottom; you will need to feed the new cord through the same path.
  • Buy a replacement cord that matches your lamp's wattage rating (usually printed on the socket or the base) and choose the same length or longer.

What you need before you start

Gather these items: a replacement lamp cord (available at hardware stores, home centers, and online), a screwdriver (usually flathead, sometimes Phillips), a utility knife or wire stripper, and a small flashlight if the lamp base is dark inside. You may also need a small wrench or pliers if the socket connector is a setscrew type.

Check the lamp for a wattage rating, usually stamped or printed on the socket itself or on a label inside the base. Buy a cord rated for that wattage or higher. A 60-watt lamp needs at least a 60-watt cord; a 100-watt lamp needs a 100-watt or higher cord. The cord length should match the original or be longer — never shorter, because you cannot safely stretch a cord.

Disconnect the old cord at the socket

Unplug the lamp from the wall outlet. Wait a few seconds, then unplug it again to be certain. Do not skip this step.

Look at the top of the lamp where the bulb screws in. You will see a metal or plastic socket. The cord enters the socket from below. On the side of the socket, you will see either a small setscrew (a tiny bolt) or a push-fit connector. If it is a setscrew, use a flathead screwdriver to turn it counterclockwise a quarter-turn or half-turn until it loosens. If it is a push-fit connector, gently pull the cord straight down and it will come free. Some connectors require a gentle twist first.

Once the cord is loose, pull it down and out of the socket. You may see two wires inside — one copper or brass, one silver. Both are now disconnected. Set the old cord aside.

Feed the new cord through the lamp body

Take your new cord and locate the end without the plug. If the cord has a plug on both ends, cut one off with a utility knife and strip about half an inch of insulation from each wire inside. You will see two wires: one ribbed or marked with a line, one smooth. The ribbed one is the neutral wire.

Feed the unplugged end of the new cord down through the hole in the lamp base. Push it up through the lamp body until it comes out the top near the socket. You may need to wiggle it or use a flashlight to see where it is going. Take your time — forcing it can damage the cord or the lamp.

Once the cord emerges at the top, pull it up until about six inches of cord is above the socket. This gives you enough length to work with when you reconnect it.

Connect the new cord to the socket

Strip about half an inch of insulation from each wire at the end of the new cord if you have not already. You will see two wires: one ribbed or marked, one smooth.

Look at the socket terminals — the two metal screws or connectors where the wires attach. The brass or copper terminal connects to the smooth wire. The silver terminal connects to the ribbed or marked wire. This matters for safety.

If your socket has screws, loosen them with a screwdriver. Wrap the smooth wire around the brass screw clockwise and tighten. Wrap the ribbed wire around the silver screw clockwise and tighten. Pull gently on each wire to make sure it does not slip.

If your socket has a push-fit connector, insert each wire into its matching slot. The connector will grip the wire. Tug gently to confirm it is seated.

find the cord at the lamp base

Go to the bottom of the lamp where the old cord used to exit. You will see a hole or a cord grip. Feed the plugged end of the new cord through this hole, the same way the old cord went through. Pull it until the cord is snug against the base.

Some lamps have a cord grip — a small plastic or metal clamp that holds the cord in place. If yours does, tighten it gently so the cord cannot pull free. Do not crush the cord.

If the lamp has a threaded base or a screw-on bottom, screw it back on now. Make sure the cord is not pinched between the base and the body.

Test the lamp before regular use

Plug the lamp into a wall outlet. Turn it on. The bulb should light normally. If it does not light, unplug it when ready and check your wire connections at the socket — one may have come loose during assembly.

Look at the cord along its entire length for any damage, kinks, or exposed wire. If you see any, unplug the lamp and do not use it. Inspect the plug itself for cracks or scorch marks. If the plug looks damaged, cut it off and replace the entire cord.

Once the lamp works and looks safe, you can use it normally. The new cord should last as long as the original.

Frequently Asked Questions

What if the cord is stuck inside the lamp and will not come out?

The cord may have caught on a burr or rough edge inside the lamp body. Unplug the lamp, then gently wiggle and rotate the cord while pulling. Do not yank hard — you can tear the wire inside the insulation. If it still will not move, the lamp may need professional repair or replacement.

Can I use a cord that is shorter than the original?

No. A short cord forces you to place the lamp close to the outlet or use an extension cord, which defeats the purpose. Buy a cord the same length as the original or longer. Longer is always safer than shorter.

What if my lamp has a three-prong plug instead of two prongs?

A three-prong plug includes a ground wire for extra safety. Buy a replacement cord with a three-prong plug. The connection process is the same, except you will have three wires instead of two. The green or bare wire is ground and connects to the green screw on the socket.

Do I need to replace the socket too, or just the cord?

Just the cord, unless the socket is cracked, corroded, or does not hold the bulb securely. A socket that works fine can be reused. If you are unsure, test the old socket with a new bulb before you buy a replacement.

Is it safe to use a lamp with a patched or taped cord?

No. Electrical tape is a temporary fix only and can fail, especially if the lamp is moved or the cord is flexed. A damaged cord is a fire risk. Replace it with a new one.