Whether a lamp cord is damaged or the switch does not work, there are a few options for wiring your lamp or replacing the socket assembly. You can take it to a lamp store, find someone who specializes in this, or do it yourself. Lamp kits and lamp replacement parts are available at home improvement stores.
Cord size (diameter) may need to be the same size or smaller. Check the size of the holes they are traveling through. Lamp cords mostly supply power to a single light bulb, so the cord does not have to be very big in diameter.
When buying a cord for a lamp, make sure it is labeled as a “lamp cord.”
Things to Consider Before Rewiring a Lamp
Decide whether you want to use 3-
The threaded pipe inside the lamp has a nut at the bottom to fasten the lamp base to the bottom of the lamp body.
The top of the lamp body and socket assembly is attached to the top of the threaded pipe. The cord runs through the center of the pipe.
Rewire a Lamp