Electrical

Replace a hardwired smoke detector

Smoke alarms wear out, and NFPA says to replace them 10 years after the manufacture date printed on the back. Hardwired alarms are connected to household wiring, often linked so they all sound together, and have a backup battery. Replacing one is usually a 15-minute job: turn off the breaker, unplug the old alarm from its wiring harness, connect the new one and twist it onto its base. Buying the same brand often lets you reuse the existing harness, while a different brand means connecting a new harness to the wires.

Hands at the top of a step ladder swapping an old hardwired smoke alarm for a new one at the ceiling mounting plate
With the breaker off, the old alarm unplugs and the new one plugs into the harness.
Quick answerCheck the date on the back of the alarm; replace it if it's 10 years or older. Buy a hardwired alarm that matches the brand's connector or comes with a new harness. Turn off the breaker and confirm the alarm's green light is off. Twist the old alarm off its base, unplug the harness, and either plug in the new alarm or connect the new harness wire for wire with wire nuts. Mount it, restore power and test all the alarms.
Worth checking firstLook at all the alarms in the house before you buy. They were usually installed together, so they're often all due at once. Replacing the whole set at the same time keeps them compatible so one alarm sets off the others.
Moderate15–30 min per alarm$20–60 per alarm
Cutaway of a ceiling electrical box with a hardwired smoke alarm twisted off its mounting plate, showing the black, white and red interconnect wires joined to the alarm's plug-in harness, and the date label on the back of the alarm
The mounting plate (1) screws to the ceiling box. House wires (2) join the plug-in harness (3): black to black, white to white, red to red for interconnect. The alarm (4) plugs in and twists onto the plate. Check the date label (5).

How a hardwired smoke alarm is connected

A hardwired smoke alarm runs on household power from a 120-volt circuit, with a battery as backup during outages. In the ceiling or wall there's an electrical box with three wires: black (hot), white (neutral) and, in most homes with more than one alarm, a red or other colored interconnect wire that links the alarms. When one alarm senses smoke, it signals the others through that wire so they all sound. The house wires are joined to a short plug-in harness, and the alarm plugs into that harness, then twists onto a mounting plate screwed to the box.

Harness connectors are specific to each brand and sometimes to a product line, so a new alarm of the same brand often plugs straight into the old harness, while another brand needs its own harness wired in. Alarms of different brands generally can't signal each other over the interconnect wire, which is why replacing them all with one brand matters. Smoke sensors lose sensitivity with age, so the National Fire Protection Association (NFPA) says to replace smoke alarms 10 years from the manufacture date, and many alarms start a distinct end-of-life chirp around then.

When to replace a hardwired alarm

10 years from the manufacture date

The sensor has aged; NFPA says replace it.

End-of-life chirp or warning

Many alarms announce it with a pattern or message.

Fails the test button

No sound with a fresh backup battery and power on.

False alarms that won't stop

Dust, age or a failing sensor.

Yellowed, damaged or painted over

Paint or damage blocks the sensor.

Upgrading to smoke and CO

A combination alarm adds carbon monoxide protection.

What's happening?
You noticeLikely causeStart at
Not sure how old it isCheck the date firstStep 1
Ready to swap itTurn off the powerStep 2
Old alarm still on the ceilingRemove it and the harnessStep 3
New alarm uses the same connectorPlug in, no wiringStep 4
Different brand or no harnessWire in a new harnessStep 5
New alarm installedMount and test them allStep 6
Power off, ladder steady, and keep protectedTurn off the breaker for the alarm circuit and confirm the alarm's green power light goes off before touching wires; the backup battery can still make it chirp, which is fine. Use a stable step ladder and keep your hips between the rails. Don't paint over alarms, and don't leave the house without working alarms overnight: replace them one at a time or keep a battery alarm up meanwhile. If wires are scorched, the box is loose, there's no neutral, or the circuit isn't clear, stop and call an electrician.

Let's fix it

0 of 6 done
  1. Check the date and buy compatible alarmsTwist the alarm counterclockwise off its base and look at the label on the back for the manufacture date. If it's 10 years old or older, or the label is missing, replace it. Note the brand and model, and look at the plug where the harness connects. For the easiest swap, buy hardwired alarms from the same brand with a compatible connector; the package or the maker's website lists which old models it matches. If you're switching brands, make sure every new alarm comes with its own harness. Consider smoke and carbon monoxide combination alarms, especially near bedrooms. Buy enough to replace all the linked alarms.
    Back of a smoke alarm showing its manufacture date label and plug connector, next to a new alarm box
  2. Turn off the powerFind the breaker for the smoke alarm circuit in your electrical panel and switch it off. It's often labeled smoke detectors, hall, or bedrooms, or shared with a lighting circuit. Then check the alarm: its green power light should be off. The alarm may still chirp from its backup battery, which is normal. If you can't tell which breaker it is, turn off the main breaker, but then everything in the house is off. You only need to flip a breaker, not open the panel. Bring a flashlight and a stable step ladder.
    Hand switching off the breaker labeled smoke detectors, with the smoke alarm's green power light off on the ceiling
  3. Remove the old alarm and harnessTwist the old alarm counterclockwise to release it from the mounting plate, and let it hang by the harness. Squeeze the tab on the connector and pull it straight out of the back of the alarm. Before touching any wires, hold a non-contact voltage tester to the wires in the box to confirm they're dead; a dark green light alone doesn't prove it. Look at the harness wires in the box: there are usually black, white and red wires joined to the house wires with wire nuts. If your new alarm uses the same connector, leave the harness in place and skip to Step 4. If not, unscrew the wire nuts, separate the harness from the house wires, and remove the old mounting plate.
    Something went wrong?
    • The alarm won't twist off Look for a small locking tab or pin on the edge, and press it in or remove it as the label shows. Paint can also glue it on; score around the edge carefully with a utility knife.
    Old smoke alarm twisted off its mounting plate and hanging by its harness while the connector tab is squeezed to unplug it
  4. Plug in a same-brand alarmIf the new alarm's connector fits the existing harness, this is the simple path. Check that the harness wire nuts are tight and no copper shows below them. If the new alarm came with its own mounting plate and the old one doesn't fit, swap the plate: unscrew the old one and screw the new plate to the box, feeding the harness through. Plug the harness firmly into the back of the new alarm until it clicks. Pull the backup battery tab or install the battery if the alarm uses one. Then go to Step 6.
    Existing harness connector clicking into the back of a new same-brand smoke alarm
  5. Wire in a new harnessFor a different brand, screw the new alarm's mounting plate to the box, feeding the house wires through. Connect the new harness to the house wires with the wire nuts provided: black to black (hot), white to white (neutral), and the harness's interconnect wire, usually red or orange, to the house's red interconnect wire. Twist each wire nut on clockwise until snug, and tug each wire to make sure it holds. If there's no red house wire, cap the harness interconnect wire alone with a wire nut. Fold the wires neatly into the box and plug the harness into the alarm.
    Something went wrong?
    • House wire colors don't match Stop if you see more wires than black, white, red and bare ground, or the colors are unclear. Have an electrician confirm the wiring before connecting.
    • A wire pulls out of the wire nut Remove the nut, line the wire ends up evenly, and twist it back on until no bare copper shows below it.
    New smoke alarm harness connected to the house wires with wire nuts: black to black, white to white and red to red
  6. Mount it and test every alarmLine the alarm up with the mounting plate and twist it clockwise until it locks. Turn the breaker back on. The green power light should come on. Press and hold the test button until the alarm sounds; all interconnected alarms in the house should sound too, which confirms the red wire is connected. Some models take a short time to start up after power returns, so check the manual. Write the installation date on the alarm with a marker. Test every alarm monthly, and replace the batteries as the manual says if they aren't sealed.
    Something went wrong?
    • Only this alarm sounds The interconnect wire may not be connected, or the brands are different. Turn the breaker off and check the red wire nut, and make sure all alarms are compatible.
    Finger pressing the test button on a newly installed smoke alarm with its green light on, while a second alarm down the hall also sounds

Watch it done

How to replace old hard wired smoke detectors - easy DIYBy Platoon Garage on YouTube. Their method may vary a little from ours.
Watch on YouTube
How you'll know it's fixed
  • The green power light is on
  • The test button sounds this alarm and every linked alarm
  • No chirping after the first few minutes
  • The install date is written on each alarm

Linked alarms don't sound together? Check the red wire or call an electrician.

If it comes back

If a new alarm chirps, it's usually the backup battery, a battery tab that wasn't pulled, or an alarm that wasn't fully twisted onto its plate. See the guide for a chirping smoke alarm.

If it goes off while cooking or showering, it may be too close to the kitchen or bathroom. See the guide for a smoke alarm going off for no reason for placement tips.

If your home has fuel-burning appliances or an attached garage, make sure you also have working carbon monoxide alarms. See the guide for a beeping carbon monoxide alarm.

Replace them as a setAlarms installed together reach 10 years together. Replacing them all at once, with one brand, keeps the interconnect working and saves future ladder trips.
Renting?Your landlord is usually responsible for replacing hardwired alarms. Test yours monthly and report any that are old, chirping or don't sound.
Call an electrician ifWires are scorched or crumbly, the box is loose, colors don't match black, white and red, there's no power with the breaker on, or you want to add new hardwired alarms where there's no wiring. Stop if anything doesn't match what you expected.Fix it yourself or call? Compare the cost →

What a pro typically charges (a rough estimate; prices vary by area): An electrician typically charges about $100–$250 to replace hardwired alarms, plus the alarms, and more to add new wiring.

Find an electrician near you

Something else going on?

Hardwired smoke detector questions

How do you replace a hardwired smoke detector?

Turn off the breaker, twist the old alarm off, unplug its harness, then plug in a compatible new alarm or wire in its harness black to black, white to white and red to red. Mount it, restore power and test.

Can I replace a hardwired smoke detector with a different brand?

Yes, using the new brand's harness wired to the house wires. Replace all linked alarms with the same brand so they can signal each other.

How often should hardwired smoke detectors be replaced?

NFPA says to replace smoke alarms 10 years from the manufacture date on the back.

Do I need an electrician to replace a smoke detector?

Not usually, if you're swapping alarm for alarm and the wiring is in good shape. Call one for damaged wiring or new locations.

What is the red wire on a smoke detector?

It's the interconnect wire that links the alarms so they all sound together.

Reader reports

Did this fix work for you?

Tell the next person how it went. Your numbers are added to the totals anonymously; tips are read by our team before they appear.

How did it go?
Reader Q&A

Questions from readers

No questions on this guide yet. If you're stuck, ask below. Useful questions and answers get added here for the next person.

Ask a question

We read every question before anything is published, and we never show names or emails. Please leave out personal details. PrivacyAccessibility

About the authors

GrabTheHammer Team

  • No sponsored picks
  • Safety first
  • Tells you when to call a pro

We're a small team of writers and editors who check every guide against manufacturer instructions and common code requirements. Our goal is to help you understand the problem, tackle what you safely can and know when to call a pro.

Checked against: NFPA smoke alarm guidance and smoke alarm manufacturer installation instructions.

How we write and review →
A helpful next stepCarbon monoxide alarm beeping? What it meansCheck your CO alarms while you're up there.