How to change a lamp socket - a step-by-step guide
Table of Contents
Does your favorite lamp no longer turn on or flicker intermittently? There is no need to replace it entirely - it is often enough to change the faulty electrical socket to bring it back to life. We guide you step-by-step to replace your old socket safely, from cutting off the power to the final test.
Discover how to identify each wire, choose a suitable new socket, avoid common mistakes, and preserve your decorative cable. Our tips will allow you to work on your electrical installation with confidence, without the risk of damaging your light fixture.
Securing and replacing the socket step-by-step
Safety first: handling a live installation can be dangerous. We will see how to properly cut the power, remove the faulty socket, and prepare for replacement without damaging your light fixture.
Each component will be clearly explained so that you can easily change the socket without losing screws or reversing the connections.

Preparing the lamp and cutting the power
Start by cutting the electricity at the main circuit breaker - do not rely solely on the switch. Check for the absence of current with a voltage tester screwdriver or a multimeter for added safety.
Once the installation is secured, remove the bulb (be careful if it is hot) then remove the lampshade to access the socket. This vintage pendant lamp equipped with an E27 socket shows an example of a mounting that is simple to disassemble.
Place the lampshade flat, take a photo of the existing wiring, and correctly identify the phase (center contact) and the neutral (threaded ring). For an old cable, mark the wires with colored adhesive tape.
Disassembling the socket without damaging it
Gently unscrew the fixing ring (counter-clockwise) - a small flat-head screwdriver can help release the safety catch. These careful manipulations protect the threading and ensure your safety.
Loosen the terminal screws, store all small parts in a container, and then remove the wires without forcing the cable. If the socket is damaged by heat, cut the cable cleanly to prepare for the installation of the new socket.
Carefully inspect the sheath: any trace of burning or suspicious odor requires the complete replacement of the cable. If in doubt or if there is a ground wire, call a professional.
Identifying phase and neutral before reassembly
Check the polarity: blue wire = neutral, brown/red/black wire = phase. For a solid-colored cable, use a tester and then clearly mark the phase.
Cut the damaged parts and cleanly strip 6-10 mm of wire with a suitable wire stripper. Lightly twist the strands to prevent any protrusion - this prevents short circuits when tightening the terminals of the new socket.
Methodically reassemble each element, screw the ring back on, reconnect the wires, replace the lampshade, and then restore power to test. By following these steps, changing the socket becomes a simple and secure operation!
How to change a socket and choose the light bulb
When you need to replace an old socket, take the time to properly prepare the electrical wires before installing the new socket. This meticulous connection ensures the longevity of your light fixture and trouble-free electrical supply. Here are the key steps to choosing the right base, making the connections, and checking your installation according to the NF C 15-100 standard rules.

Properly connecting L and N
Start by passing the textile cable through the opening of the bottom ring before any electrical manipulation. Next, insert each stripped wire into its respective terminal: the phase wire (L) connects to the center contact of the base, while the neutral (N) goes to the side terminal.
- Correct insertion: push the wire until the insulating sheath touches the terminal, without leaving any bare copper exposed.
- Effective tightening: use a suitable screwdriver to tighten the terminal screws well, then gently pull on the wire to check its fixation.
- Practical connectors: 2-pole Wago connectors are perfect for ensuring optimal contact, even with multi-strand cables.
- Reinforced safety: do not forget the cable gland to prevent mechanical tension from being applied directly to fragile connections.
After making the connections, put the plate, the insulating sleeve, and the finishing ring back in the correct order. Screw or clip until it clicks, then gently pull on the cable to check the solidity of the assembly. If your installation includes a ground wire, connect it to the terminal provided on the metal structure of the fixture.
Choosing the right socket and power
Opt for a CE or NF certified socket, perfectly adapted to the base type of your bulb. E27 sockets are suitable for classic pendants, E14 for bedside lamps, B22 or B15 for old fixtures, and GU10 for recessed spotlights. Compliance with the NF C 15-100 standard is essential for a safe electrical installation.
The material of the socket influences its heat resistance: porcelain remains the best choice for high temperatures, bakelite offers a good price-quality ratio, while thermoplastic can yellow over time. For fabric-shaded lamps, favor an LED bulb of maximum 6W that heats up little and preserves the textile.
| Base type | Diameter | Typical usage | Recommended LED power |
| E27 (standard screw) | 27 mm | Pendants, floor lamps | 6 - 10 W |
| E14 (small screw) | 14 mm | Bedside lamps, wall sconces | 4 - 6 W |
| B22 (bayonet) | 22 mm | Old light fixtures | 6 - 8 W |
| GU10 (spot) | 10 mm | Recessed, tracks | 3 - 5 W |
Testing after changing the socket
After putting the lampshade back, reset the circuit breaker and screw in a low-power LED bulb. Turn on the switch: a stable light indicates that the connections are well tightened, while a flickering light means you need to check the connections (after cutting the power).
Let the lamp run for about ten minutes, keeping your hand near the socket to detect any unusual overheating. Be attentive to suspicious odors, electrical crackling, or poorly fixed wires: in this case, turn it off immediately and check each connection. Discover this pendant lamp with E27 socket to see a professional example of how to change a socket correctly.
Practical cases for changing the socket
Light fixtures each have specific technical characteristics that influence how to proceed with the socket replacement. This section covers various concrete scenarios, from a simple change on a bedside lamp to transforming a bayonet socket into an E27 screw model. You will also find safety and maintenance tips to ensure the longevity of your lighting installations.
Bedside lamp, floor lamp, and ceiling lamp
When replacing a socket on a bedside lamp or a floor lamp, always start by unplugging the device - do not rely solely on the circuit breaker. Then proceed methodically with disassembly, noting the order of the parts to facilitate reassembly. The cable gland located at the base must firmly hold the electrical cable to avoid any tension on the connections.
- Bedside lamp: after unplugging, gently remove the lampshade, unscrew the fixing ring, then reconnect the phase and neutral wires to the new socket.
- Floor lamp: during disassembly, keep the fixture straight and thoroughly inspect the condition of the electrical cable.
- Ceiling light or pendant: cut the power at the circuit breaker, stand on a stable step ladder, and access the electrical terminal block by opening the mounting canopy.
For our handcrafted creations in Strasbourg, we systematically install a robust metal cable gland in the canopy. This precaution prevents the weight of the fabric lampshade from pulling on the electrical wires, thus preventing the risk of electrical arcs and premature cable wear.
Switching from bayonet to screw
It is entirely possible to convert a B22 bayonet socket into an E27 screw model, provided that the available space and the fixing system allow it. Carefully measure the lampshade opening: an E27 socket requires about 30 mm in diameter compared to 24 mm for a bayonet. A slight adjustment with a file may sometimes be necessary.
During electrical connection, clearly identify the wire connected to the center contact before disassembly to reconnect it correctly to the L terminal of the new socket. Remember to check that your bulbs exist in an E27 version to maintain the desired lighting ambiance. This change often opens up a wider choice of bulbs while modernizing your fixture safely.
Troubleshooting and quick maintenance
To remove a broken bulb base stuck in the socket, first cut the power. Then push a cork stopper into the base and turn gently in the opposite direction to release it - as if you were unscrewing an intact bulb.
Regular maintenance is recommended: twice a year, after turning off the circuit breaker, disassemble the socket to clean the inside and retighten the connection screws. Immediately replace any part showing signs of wear or overheating. Discover our artisanal pendant lamp equipped with a new E27 socket and a quality cable for a durable and secure installation.