When wiring a table lamp, always replace the cord and the socket for safety. Because you should never work on a lamp plugged into a wall socket, the chance of being shocked when wiring a lamp is low. Prior electrical knowledge is not necessary when wiring a table lamp, and there is no mystery in this task. If you should incorrectly wire the lamp, it will simply fail to light. Once you have accomplished wiring a table lamp for the first time, you will be able to wire virtually any other lamp.
Untwist the finial from the shade rest and remove the lamp shade. Remove the light bulb. Squeeze the harp sides toward the lamp socket and lift the harp from the saddle. The saddle attaches to the lamp under the socket.
Take the socket apart by pulling the outer shell from the socket cap, exposing the cardboard insulator sleeve and the interior socket. Slip the insulator sleeve from the socket, exposing the socket terminals.
Loosen the two terminal screws, releasing the lamp wires from beneath them. Pull the interior socket from the socket cap and untwist the socket cap from the lamp base. Lay the lamp on its side and peel the felt from the bottom of the base, exposing the lamp wiring. Grasp the lamp cord from the exterior of the lamp base and pull the cord, removing it from the lamp.
Thread a new lamp cord set through the hole in the base of the lamp and up through the lamp body, extending it out from the top of the lamp. Thread the cord through the replacement socket cap and screw the socket cap onto the lamp body.
Slice apart 5 cm (2 inches) of the membrane connecting the two wires of the lamp cord. Tie a knot in the cord below the sliced wires.
Twist the smooth wire from the lamp cord around the silver screw on the replacement interior lamp socket and twist the ribbed wire around the brass screw on the socket then tighten both screws. Cover the interior socket with the cardboard insulator sleeve. Slide the outer socket shell over the sleeve, pushing it into the socket base. Replace the lamp harp, light bulb, lamp shade, felt and finial.
Work on a surface large enough to accommodate the lamp lying on its side. A lamp cord set consists of a length of partially stripped lamp cord with the plug already installed.