How to Replace a Light Fixture or Light Socket (Ceiling and Wall)

Reader-supported: we may earn a commission when you buy through our links, at no extra cost to you. As an Amazon Associate I earn from qualifying purchases. Learn more
The short answer: turn off the breaker and confirm the wires are dead with a non-contact voltage tester. Take down the old fixture, install the new mounting strap, connect the bare or green ground to the strap's green screw and the fixture ground, white to white, and black to black (on a porcelain socket, black goes to the brass screw and white to the silver screw). Fold the wires into the box, mount the fixture, install bulbs no bigger than the fixture's rating, and turn the power back on.
| At a glance | |
|---|---|
| Difficulty | Easy to moderate |
| Time | 30 minutes to 1.5 hours |
| Call an electrician for | No ground and no box, aluminum or brittle cloth wiring, scorched wires, adding a new switch or light |

Tools you need
- Non-contact voltage tester
- Wire stripper
- Screwdrivers or an 11-in-1 driver
- Stepladder
Materials
- New fixture (with its mounting strap) or a replacement porcelain lamp holder
- Wire connectors
- Bulbs within the fixture's maximum wattage
Klein Tools Non-Contact Voltage Tester Pen (NCVT1PR)
A pocket voltage tester that beeps and flashes near live AC voltage. Test before you touch.
Check price on AmazonCheck price at Home DepotCheck price at Lowe'sKlein Tools 11055EP Wire Cutter and Stripper, Made in USA, Stranded and Solid Wire Cutter, Cuts Copper
The Klein 11055 wire stripper and cutter for solid and stranded copper.
Check price on AmazonCheck price at Home DepotCheck price at Lowe'sKlein Tools 11-in-1 Screwdriver/Nut Driver (32500)
One handle that covers Phillips, slotted, square and Torx screws plus three nut-driver sizes.
Check price on AmazonCheck price at Home DepotCheck price at Lowe'sStep-by-step instructions: replace a light fixture
- Turn off the breaker and test the wires in the box. Take a photo of how the old fixture is wired.
- Remove the old fixture. Take off the globe and bulbs, unscrew the canopy, support the fixture and untwist the connectors.
- Check the wires. The insulation should be flexible and the copper bright. If wires are brittle, scorched or too short, stop and call an electrician. Many new fixtures say to use supply wires rated for 90 degrees C; older houses may have wire with a lower rating, which is a question for an electrician.
- Install the new mounting strap to the box with the screws provided. Make sure the box is solidly attached.
- Connect the ground. Attach the house's bare or green ground and the fixture's ground to the green screw on the strap, or join them with a connector and a short pigtail to the screw.
- Connect neutral and hot. White to white, black to black. On fixtures with two identical wires, the one with ribbing, a stripe or text on it is usually neutral; check the instructions.
- Fold the wires into the box, grounds first, then mount the fixture to the strap.
- Install bulbs no higher than the rated wattage (an LED bulb's actual wattage counts, not its "equivalent").
- Restore power and test.
Step-by-step instructions: replace a porcelain light socket
Bare-bulb porcelain sockets in basements, garages and closets crack and wear out. A new keyless or pull-chain lamp holder screws to the same box.
- Turn off the breaker and test the socket's screws and wires.
- Remove the socket. Unscrew it from the box and loosen the two terminal screws.
- Connect the new socket: black (hot) to the brass screw, white (neutral) to the silver screw. Wrap each wire clockwise around its screw and tighten.
- Ground: many porcelain holders have no ground terminal. If the box is metal, connect the house ground to the box with a green ground screw.
- Mount, add a bulb within the socket's rating and test. In closets, use a fixture and location that meet code clearances from stored items, and consider a covered LED fixture instead of a bare bulb.
Leviton Porcelain Keyless Ceiling Lampholder, 3-3/4", 9874, White
Check price on AmazonA Leviton porcelain keyless lampholder for basements, closets and attics.
Pros
- Porcelain body
- Simple to wire
Cons
- Bare bulb; use where that is acceptable
- Size
- 3-3/4 in.
- Model
- 9874
When to call an electrician
- There is no electrical box, or the box is loose and you cannot secure it
- The wiring is aluminum, knob-and-tube, cloth-covered and brittle, or scorched
- You want to add a new switch, dimmer location or fixture where there is none
- Breakers trip, lights flicker after the swap, or a fixture runs hot
Lighting guides from other sources
Related guides: replace an outlet, replace a ceiling fan, electrical tools for homeowners and how to choose a ladder.
Frequently asked questions
Do I need an electrician to replace a light fixture?
In most places, a homeowner can replace a fixture in their own home, and it is one of the simplest electrical jobs. Some cities require a permit or licensed electrician for any electrical work, so check locally. Adding new circuits or switches is a job for an electrician.
What if there is no ground wire?
In a metal box that is grounded through metal conduit or armored cable, ground the fixture to the box. If there is no ground at all, an electrician can tell you your options.
Which wire is hot on a light fixture?
Black (or red) is usually hot, white is neutral, and bare copper or green is ground. Always test, because older wiring is not always color-coded correctly.






