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

Infographic summarizing a light fixture replacement: time, difficulty and the wiring rule, beside a drawing of a ceiling light fixture

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
DifficultyEasy to moderate
Time30 minutes to 1.5 hours
Call an electrician forNo ground and no box, aluminum or brittle cloth wiring, scorched wires, adding a new switch or light
Wiring diagram: house black wire to fixture black, house white to fixture white, bare copper ground to the green screw on the mounting strap and to the fixture ground; porcelain socket with black on the brass screw and white on the silver screw
Black is hot, white is neutral, bare or green is ground. On a socket, the brass screw takes the hot wire and the silver screw the neutral.

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
Every home
Klein Tools

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's
Junk drawer upgrade
Klein Tools

Klein 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's

Step-by-step instructions: replace a light fixture

  1. Turn off the breaker and test the wires in the box. Take a photo of how the old fixture is wired.
  2. Remove the old fixture. Take off the globe and bulbs, unscrew the canopy, support the fixture and untwist the connectors.
  3. 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.
  4. Install the new mounting strap to the box with the screws provided. Make sure the box is solidly attached.
  5. 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.
  6. 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.
  7. Fold the wires into the box, grounds first, then mount the fixture to the strap.
  8. Install bulbs no higher than the rated wattage (an LED bulb's actual wattage counts, not its "equivalent").
  9. 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.

  1. Turn off the breaker and test the socket's screws and wires.
  2. Remove the socket. Unscrew it from the box and loosen the two terminal screws.
  3. 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.
  4. 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.
  5. 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.
Basic fixture
Leviton

Leviton Porcelain Keyless Ceiling Lampholder, 3-3/4", 9874, White

Check price on Amazon

A 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
Prices change often. Check each retailer for today's price.
Check price on AmazonCheck price at Home DepotCheck price at Lowe's

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.

Buy the tool that fits the job you actually do, not the biggest number on the box.

How we choose

Matched to the job

We recommend tools by the work you will do with them, from hanging a shelf to framing a shed, not by spec-sheet bragging.

Researched, not sponsored

Picks come from manufacturer specs and manuals, safety guidance and owner reviews. No brand pays for placement.

Honest about the money

Some links earn us a small commission at no cost to you. It never changes what we recommend. Our disclosure