If the lamp in your room stops working, then the best solution is to rewire it. I hope you are thinking about how to rewire a lamp and considering it’s very difficult but there is nothing as it.
Repairing broken household lamps is a simple process. The plug and cord are simple and inexpensive to replace and can be found at any well-stocked hardware or electrical store. It’s just as simple to put in a light socket. Replacement sockets are available in a variety of finishes, so you should be able to find one that matches the color tone of the existing socket.
Lamp cord is also known as Type SPT or zip cord. The #18 size is suitable for the majority of lamp applications. Zip cord comes in a variety of colors, the most common of which are black, brown, white, and transparent. Match the cord color to the lamp stand or the wall where the receptacle is located. The standard length is 6 feet, but you can use as much cord as necessary to connect the lamp to the receptacle.
Figure out the length of the cord (including the cord hidden inside the lamp) and add 1 foot for attachments to the socket and plug as well as slack. In terms of safety and appearance, having an adequate length of the cord is preferable to compensate for a short one with an extension cord.
Steps to How to rewire a lamp:
Follow these steps to know how to rewire a lamp:
1. Turn off the power.
The first step is to remove the plug from the wall socket. You should never work while the lamp is turned on.
2. Remove the Bulb
The next step is to remove the shade, unscrew the bulb, and squeeze the socket shell at the switch to separate the shell and cardboard insulator from the socket cap. If you want to reuse the socket, do not pry it apart with a screwdriver. Pull the socket out of the shell as far as the attached wire will allow. If you don’t have enough wire to work with, pull the cord up from the bottom of the lamp for more slack.
We’ll then work on removing the socket.
3. Remove the Socket
Loosen the terminal screws on the socket and pull the cord wires out from under it. If the lamp is small and the cord runs straight through, slide the old wire out and feed the new wire through from one end to the other. Don’t pull on the old cord if it offers any resistance. Check to see if the lamp can be disassembled to make removal easier. Also, ensure that the cord is tied in a knot to protect it from being pulled out at the base.
4. Disconnect the power cord
Now the time to cut the wire about 12 inches from the lamp’s base, slit the cord’s two conductors apart and strip about an inch of insulation off the ends to remove the tight cord. So, repeat with one end of the new length of the cord.
Twist together bare new and old conductor ends, and fold twists flat along the cord. Wrap the electrical tape tightly around the splice. Pull on the old cord from the top of the fixture and work it through; at the same time, push on the new cord from the bottom.
5. Remove the Insulation
After passing the new cord through the lamp, split the end so that you have about 3 inches of separated conductors. Separate about 3/4 inch of insulation from each conductor’s end with a wire stripper tool, and then twist the strands together. When stripping insulation, take care not to nick the strands.
6. Connect Wires to the Terminal
Each wire’s twisted end should be bent into a clockwise loop, and each loop should be placed under a terminal screw on the socket, with the loop curled clockwise around the screw. The clockwise loop will pull the wire tighter under the screw head as each screw is tightened.
Using diagonal cutters, cut off any excess bare wire. So, all uninsulated wire must be routed through screw heads, with no exposed bare wire or loose strands. Unscrew terminals, remove wires, and reconnect if the bare wire is visible beyond the screw heads.
7. Attach the Insulator
Slip the socket shell over the insulator, then the shell and insulator over the socket.
8. Attach the Plug
Attach a quick-clamp plug to the other end of the cord. Insert the end of the cord into the slot on the side of the plug and press down on the top lever. But metal prongs inside the plug will bite through the insulation of the cord, piercing copper wires to form an electrical connection. So, If you use a screw-type plug, prepare the wire ends as you would when connecting socket screws, and then knot them together. Before tightening the bare end under the screw head, wrap each wire around the prongs of the plug. Knots and loops prevent wires from accidentally touching and make it more difficult to loosen connections by pulling on the cord.
We’ll then finish our project to reassemble the lamp.
9. Reassemble the Lamp
Before plugging in the lamp, tighten the wires under the screw heads and clip off any excess uninsulated conductor.