HomeDen
Repair

How to install a smoke detector

By Ray CastilloUpdated December 5, 20264 min read
How to install a smoke detector

The short answer

Learning how to install a smoke detector is a simple job for most homeowners. For a battery unit, screw the base to the ceiling and snap in the detector. For a hardwired unit, turn off the power at the breaker, connect the matching wires, and test the alarm before you finish.

We may earn a commission when you buy through links on this page, at no cost to you. Learn more

What you need

  • Step ladder
  • Drill with a small bit
  • Screwdriver
  • Pencil
  • Non-contact voltage tester (for hardwired units)
  • Wire stripper (for hardwired units)

Step by step

  1. 1

    Choose the mounting spot on the ceiling at least four inches from the nearest wall.

  2. 2

    If the unit is hardwired, turn off the power at the breaker and verify it is off with a voltage tester.

  3. 3

    Hold the mounting base against the ceiling and mark the screw holes with a pencil.

  4. 4

    Drill pilot holes at the marks and insert wall anchors if the ceiling is drywall without a box.

  5. 5

    Screw the base firmly to the ceiling or junction box.

  6. 6

    For a hardwired unit, connect black to black, white to white, and red or yellow to the interconnect wire, and secure each with a wire nut.

  7. 7

    Install the backup battery in the unit.

  8. 8

    Align the detector with the base and twist it clockwise until it locks.

  9. 9

    For a hardwired unit, restore power at the breaker.

  10. 10

    Press and hold the test button until the alarm sounds.

  11. 11

    Repeat the test monthly and replace the battery twice a year, when clocks change.

Battery versus hardwired detectors

Most homes use two kinds. Battery-powered detectors need no wiring, so they are the safest and cheapest place for a beginner to start. Hardwired detectors connect to your home's electrical system and usually link together so all units alarm at once. Many hardwired units also have a battery backup so they keep working during a power outage.

Check what you have before you buy. A hardwired detector will not work in a spot with no junction box, and a battery unit cannot replace a hardwired one without losing the interconnect feature that lets every alarm sound together. Look inside the old unit or its base. If you see wires coming out of the ceiling box, you have a hardwired system.

Where to mount it

Place at least one detector on every level of the home and inside each bedroom, plus outside sleeping areas. Mount on the ceiling, at least four inches from any wall. On a wall, keep it between four and twelve inches below the ceiling. Avoid corners, ceiling fans, and air vents, since moving air can slow detection or cause false alarms.

Steep ceilings are an exception. On a pitched or vaulted ceiling, mount the detector within three feet of the peak, measured vertically, because smoke rises to the highest point first. Do not install a detector in a garage, attic, or near a bathroom door; dust, fumes, and steam trigger false alarms there.

Before you touch wiring

For a hardwired unit, turn off the power at the breaker before you open anything. Use a circuit breaker finder if the breaker panel is not labeled. Confirm the power is off with a non-contact voltage tester before you touch a wire. Hardwired units may share a circuit with a light switch or other fixture, so test nearby items if you are unsure which breaker controls the line.

If the junction box is cracked, scorched, or full of melted wire insulation, stop and call a licensed electrician. Those are signs of a past fault that a new detector will not fix.

Connect the wires

Hardwired detectors have three wires. Black is hot, white is neutral, and red or yellow is the interconnect wire that makes all units sound together. Match each wire color to color, twist on wire nuts, and tuck the connections neatly into the base before you attach the unit. Give each wire nut a gentle tug to confirm the connection holds. Electrical Safety Foundation International has guidance on home electrical basics if you want a second reference.

After installation

Press the test button until the alarm sounds. On an interconnected system, hold the test button long enough to confirm the other units in the house sound too. If the unit chirps later, it is usually the battery or an aging unit; see smoke detector chirping for troubleshooting.

Replace any detector older than ten years, even if it still tests fine, because the sensing element wears out. Check the manufacture date stamped on the back. While you are at it, check whether you also need a carbon monoxide detector. Our guide on where to put carbon monoxide detectors covers placement, and the best carbon monoxide detectors page lists good units.

When to call a pro

Call a licensed electrician if you have no existing wiring for a hardwired unit, if the junction box looks damaged or scorched, or if the circuit breaker keeps tripping after installation. Running a new circuit or fishing wire through finished walls requires a permit in many areas, so it is not a beginner task.

Electricians commonly charge between fifty and one hundred fifty dollars per hour; see electrician cost per hour for detail. Swapping one hardwired detector where wiring already exists usually costs one hundred to three hundred dollars in labor. Adding a new circuit for detectors can run several hundred dollars more depending on the distance from the panel and how much wall the wire has to cross.

Our picks

1
First Alert hardwired smoke detector with battery backup
Interconnects with existing hardwired units and keeps working during a power outage.
Check price
2
Kidde battery powered smoke detector
A simple screw-on install with no wiring, good for adding coverage to a bedroom or hallway.
Check price
3
Non-contact voltage tester
Confirms the power is off before you touch any hardwired connection.
Check price

Questions people ask

Can I install a hardwired smoke detector myself?+

Yes, if an existing junction box and wiring are already in place and you turn off the power at the breaker first. Running new wiring or adding a circuit requires a licensed electrician and often a permit.

Do I need a smoke detector in every bedroom?+

Yes. Codes call for a detector inside each bedroom, outside each sleeping area, and on every level of the home including the basement.

How far should a smoke detector be from the wall?+

On the ceiling, keep it at least four inches from any wall. On a wall, mount it between four and twelve inches below the ceiling.

Why does my new smoke detector chirp?+

Most chirps come from a battery tab left in, a loose battery, or a drawer not fully closed. Open it, seat the battery firmly, and press the test button. If chirping continues, see our guide on smoke detector chirping.

How long do smoke detectors last?+

Replace any smoke detector ten years old or older, even if it still tests fine. The sensing element wears out. Check the manufacture date printed on the back of the unit.

Sources

General information for US homes. Shut off power, gas or water before you work on them, and call a licensed pro for gas lines, electrical panels and structural work.

Keep reading