Home / Maintenance / Smoke & CO Detectors / How to Replace a Smoke Detector (Hardwired and Battery)

How to Replace a Smoke Detector (Hardwired and Battery)

Quick AnswerFor a hardwired detector, flip the breaker off first, then twist the old unit counterclockwise off its bracket and unplug the wiring harness. Wire the new harness color to color — black to black, white to white, red to red on interconnected systems — twist the new detector on, restore power, and test.
AD · In-Article #1 · After Intro
Check the Breaker, Then Check AgainBreaker labels lie. The label on my panel was wrong, and I tested six switches before finding the one actually feeding the detector. Never trust the label alone — after you flip the breaker, run a non-contact voltage tester over the wires before your fingers go anywhere near them. A tester costs about $10, which is cheap insurance against a 120-volt surprise.

Swapping a smoke detector is one of those jobs that sounds minor and mostly is — six steps, basic tools, no electrician for a like-for-like swap. The wiring is the only part that deserves your full attention, and it's also the part people rush. Work the steps in order and don't skip the voltage check, even if you're sure you found the right breaker. It's the same kill-the-power discipline as replacing a light switch, just on the ceiling.

What You'll Need
  • Replacement detector — hardwired if the old one is hardwired
  • Non-contact voltage tester (about $10)
  • Screwdriver
  • Step ladder
  • Phone, for a photo of the old wiring
  • Permanent marker
Match the Old UnitTake the old detector — or at least its model number — with you when you buy the replacement. Sticking with the same brand often means the new unit fits the existing bracket, and many packages include adapters that plug into the old harness. Either way, you skip the fiddliest part of the job.

How to Replace a Hardwired Smoke Detector

1

Turn off the power and remove the old detector. Find the breaker for the smoke detectors and flip it off. Twist the old unit counterclockwise until it releases from its mounting plate, and let it hang by its wires. Before you touch anything, hold the voltage tester against the wiring and confirm the circuit is dead.

2

Disconnect the old wiring harness. Unplug the plastic connector from the back of the detector. Then unscrew the wire nuts to free the black hot wire, the white neutral, and the red interconnect wire. Leave the bare copper ground wire tucked inside the junction box. Snap a photo of the wiring before you disconnect a thing — wire colors are easy to mix up once everything is loose, and memory is not a filing system.

3

Mount the new bracket. Unscrew the old mounting plate from the junction box and attach the bracket that came with your new detector, using the same screws. Make sure the plate sits flush against the ceiling, with no wobble. The arrow stamped on the bracket shows which direction the detector twists on — check it now, not while you're holding the unit over your head.

4

Wire the new harness. Connect the new harness to the house wires with the wire nuts from the package: black to black, white to white, and red to red if your detectors are interconnected. Tuck the wires neatly back into the box so nothing gets pinched when the detector goes on. Give each wire a gentle tug to confirm its nut is holding tight.

5

Attach the new detector. Plug the harness connector into the back of the new unit until it seats. Line the detector up with the mounting bracket and twist clockwise until it locks. It should sit flush against the ceiling, no gap on any side.

6

Restore power and test. Flip the breaker back on. Press and hold the test button until the alarm blares — actually blares, not a polite chirp. Then walk to the farthest bedroom, close the door, and confirm you can still hear it. If your detectors are interconnected, test every unit in the house, not just the one you replaced. While you're at it, jot the test date on your calendar — monthly tests are the habit that catches dead batteries and failing units between replacements. A working alarm only buys your family time, though — what you do with those minutes is the other half, so it's worth pairing this job with making a home fire escape plan if you don't have one yet.

AD · In-Article #2 · Mid-Content

Battery-Only Models: The Short Version

No wires, no breaker, no tester. Twist the old unit off its bracket, mount the new bracket, twist or snap the new detector on, and test it. Many newer battery models use sealed 10-year batteries, which changes the maintenance math: when one of those reaches its end date, you replace the whole unit rather than swapping a battery. If the sound you are chasing is a spaced chirp rather than a full alarm, decode the pattern first with our guide to a smoke alarm that keeps chirping and beeping — battery, dust, and end-of-life chirps each sound different. If you're converting a hardwired spot to battery-only, think twice — you'd give up both house power and the interconnect, and local code may not allow it where a hardwired unit was installed.

HardwiredBattery-only
Power sourceHouse wiring, with battery backupBattery only — often a sealed 10-year cell
Wiring workYes: harness, color to colorNone
All alarms sound togetherYes, via the red interconnect wireOnly on wireless-interconnected models
Replace the whole unitEvery 10 yearsEvery 10 years

The 10-Year Rule Nobody Follows

Here's the part most people miss: smoke detectors expire. The sensors degrade over time, and they do it silently — the unit looks fine, and the test button still makes it beep, because the test button checks the alarm horn, not the smoke sensor. Check the manufacture date printed on the back of your detector. Anything older than 10 years should be replaced outright, working or not. I replace all of mine at the same time every 10 years for exactly this reason, and I write the install date on the inside cover with a permanent marker so there's no guessing later. A detector swap pairs naturally with the rest of a home safety inspection checklist — same ladder, same afternoon. Since you'll spend that afternoon up and down it, a two-minute pass through this ladder safety checklist first is time well spent.

Frequently Asked Questions

How often should smoke detectors be replaced?

Every 10 years, counted from the manufacture date printed on the back of the unit — not from when you moved in or when you last changed the battery. The sensors wear out even when the alarm still sounds.

How do I know how old my smoke detector is?

Twist it off its bracket and look at the label on the back; the manufacture date is printed there. No date on the label means the unit predates date labeling — treat it as expired and replace it.

Does the test button prove my detector still works?

Only partly. It proves the horn sounds and the circuit responds. It doesn't test the smoke sensor itself, which is the part that degrades with age. Test monthly — a 10-minute monthly home safety checklist makes it a habit — but replace on the 10-year schedule regardless.

What does the red wire do on a hardwired smoke detector?

It's the interconnect. When one detector senses smoke and sounds, the red wire signals every other detector in the house to sound too. Match it red to red when you wire the new harness, or that chain breaks.

Can I replace a hardwired detector with a battery-only one?

Technically it fits, but you'd lose the house-power supply and the interconnect, and building codes in many areas require a hardwired unit to stay hardwired. Like-for-like is the safe, code-friendly swap — save battery-only models for spots that never had wiring.

Related Articles

How-To

How to Replace a Light Switch in 30 Minutes

Jun 15, 2026 · 8 min read
How-To

How to Make a Home Fire Escape Plan

Jul 10, 2026 · 7 min read
Checklists

Home Safety Inspection Checklist

Jun 25, 2026 · 10 min read
Checklists

The 10-Minute Monthly Home Safety Checklist

Jun 10, 2026 · 8 min read
UH
UsefulHow Editorial Team
We test home repairs in real houses and write the guides we wish we'd had. Every guide is reviewed against manufacturer instructions and current building codes.