How to Install Hardwired Smoke Detectors

Installing a Smoke Detector

Lee Wallender 

  • Working Time: 6 hrs
  • Total Time: 6 hrs
  • Yield: 2 detectors in adjacent rooms
  • Skill Level: Advanced
  • Estimated Cost: $50 to 100

Smoke detectors are required by the residential electrical code nearly everywhere, and for good reason: Research demonstrates that smoke detectors save lives and property by alerting occupants to early, smoldering fires. House fires often begin so quietly that occupants have no idea that the home is on fire until it is too late. Smoke may kill occupants long before flames are visible. Smoke detectors remain awake all day and all night, continually sensing even the faintest evidence of smoke and fire.

All smoke detectors require an electrical charge, and they work only when they have a continuous electrical charge. Without an electrical charge, smoke detectors are useless. Studies have shown that about 25 percent of all failed smoke detectors were caused by dead batteries. Smoke detectors come in two styles: battery-only smoke detectors that are powered by replaceable batteries, and hardwired smoke detectors that are powered by household circuits, with internal backup batteries that step in should the power source fail. Hardwired smoke detectors are considered the safer option.

What Is a Hardwired Smoke Detector?

The term "hardwired" refers to any electrical fixture or appliance in which a circuit cable runs directly into an electrical connection box on the device. In other words, a hardwired device does not plug into an electrical outlet.

From the outside, hardwired smoke detectors look much like battery-powered smoke detectors and are located in the same areas within the home. The difference is that hardwired smoke detectors include an electrical cable that runs unseen behind the ceiling or wall directly into the back of the smoke detector. The electrical cable provides power to the smoke detector all the time, except in the event of a power failure. Should the power fail, an on-board battery takes over and continues to power the smoke detector.

Codes and Regulations

Consult your local permitting agency for codes and regulations regarding hardwired smoke detectors. In many communities, hardwired smoke detectors are increasingly being required in new-construction and home remodeling work. Even if code does not require you to install hardwired smoke detectors in your home, you may wish to consider doing so since they are more reliable and thus safer than battery-only smoke detectors.

Electrical Work Overview

DIYers should have a good familiarity with home electrical work and an understanding of electrical circuits before attempting to install their own hardwired smoke detectors. If you don't have this experience and understanding, this is a project best left to a professional electrician.

The electrical code does not require that hardwired smoke detectors be connected to their own dedicated circuit, though there is nothing wrong with installing a new circuit to power the detectors. More often, though, hardwired smoke detectors are installed by splicing into a general lighting circuit or outlet circuit. Either a 15-amp circuit (wired with 14-gauge wire) or a 20-amp circuit (wired with 12-gauge cable) is acceptable for powering hardwired smoke detectors.

Wiring the smoke detectors is fairly straightforward for an experienced DIYer or a professional electrician. First, old-work electrical ceiling boxes are installed at appropriate spots where the smoke detectors will be installed. Then, a 2-wire cable is run from the power source to the first smoke detector. (This power source can be a circuit breaker panel, an existing outlet, a wall switch, or a light fixture that has pass-through wires.) Next, 3-wire cables are installed to link the smoke detectors in sequence. Then, the various wire connections are made and the devices are installed.

All standard precautions should be followed when working with electrical circuits. Power must be shut off and tested for voltage before making any feed wire connections.

What You'll Need

Equipment / Tools

  • Six-foot step ladder
  • Tape measure
  • Pencil
  • Stud finder
  • Drywall saw
  • Cordless drill
  • Fish tape
  • Cable ripper
  • Wire stripper
  • Voltage tester


  • Hardwired smoke detectors
  • Old-work electrical boxes
  • UL-approved wire connectors
  • 2-wire NM cable
  • 3-wire NM cable


  1. Mark Locations for the Smoke Detector Boxes

    Find the best locations for the smoke detectors. Ceilings are generally the best place for smoke detectors since smoke rises. If installing the detector on a wall, install it within 12 inches of the ceiling. The manufacturer's instructions, as well as your local building code, will have recommendations for where the alarms should be installed.

    First, use a stud finder to locate the ceiling joists or wall studs. Hold the electrical box backward and use the perimeter of its face as a template to draw a cutout around the perimeter. With old-work boxes, be sure to locate the boxes between joists or studs, not over them.

  2. Make Cutouts

    With the drywall saw, cut openings in the drywall to hold the electrical boxes for the smoke detectors. You may need to drill a pilot hole to establish a starting point for the saw.

  3. Run NM Cable to the First Box

    From the power source, run 2-wire cable (with ground) to the first box location. The power source can be any one of several locations:

    • An existing wall outlet
    • A wall switch
    • A ceiling light fixture with a pass-through circuit cable that is not controlled by a switch
    • The circuit breaker panel

    Fishing cable through walls is often the most difficult part of the installation. It can take some ingenuity to figure out the best route for the cables to run. Some professional electricians prefer to fish cables up into attic spaces, along ceiling joists, then down into the smoke detector boxes. This method may require more cable, but it can be much easier to fish the cables in this way.

    As you route the cables, leave a good amount of excess cable extending through the hole in the drywall. You will cut it down to the proper length during installation of the boxes.

  4. Run Cables to Other Boxes

    From the first smoke detector box location, run 3-wire cable (with ground) to each subsequent smoke detector. The extra wire in these cables allows the smoke detectors to "talk" to one another, so that all detectors will sound the alarm when any of them detect smoke or fire.

    Again, leave plenty of excess cable extending through the holes in the drywall.

  5. Insert Cables into Electrical Boxes

    At each box location, first, cut away excess cable so that about 8 inches of wire will extend into each electrical box. Then, strip away outer sheathing from the cables using a cable ripper, and insert them into the electrical boxes so that 1/4 to 1/2 inch of cable insulation extends past the clamps and into the box.

    How the cables are clamped into the boxes will vary, depending on the type of box you are using. With some metal boxes, you may need to install a cable clamp in knockout openings on the box, while others have internal clamps that hold the cables.

  6. Mount the Boxes

    With cables secured in each box, install each old-work box into the opening in the drywall. Tighten the screws in the box, which will draw the retaining tabs up tight against the back of the drywall, securing it in place.

  7. Install Mounting Plates

    At each smoke detector location, feed the circuit wires through the detector's mounting plate, then align the screw holes on the mounting plate with the holes in the electrical box, and use the included screws to secure the plate to the box.

  8. Connect the Smoke Detectors

    In the first box, using wire nuts or other UL-approved wire connectors to connect the wire leads on the smoke detector:

    • Join the black circuit wire(s) to the black wire lead on the smoke detector.
    • Connect the white circuit wire(s) with the white wire lead on the smoke detector.
    • Connect all bare copper ground wires together. If you are using a metal box also attach a bare copper or green insulated pigtail wire to the box.
    • Connect the red circuit wire(s) to the interconnect (traveler) wire from the smoke detector, usually marked as yellow.

    Carefully tuck the wires through the mounting plate, then secure the smoke detector to the mounting plate, following the manufacturer's directions. For most detectors, you will need to slide notches on the detector into slots on the base, then twist.


    Connection methods for smoke detectors vary from model to model, so make sure to follow manufacturer's directions. On some models, the wire connections are made to a mounting plate that has a plug-in socket, into which the smoke detector is plugged. On other models, the wire connections are made directly to the smoke detector.

  9. Install the Backup Smoke Detector Battery

    Insert the battery into the smoke detector, aligning positive and negative terminals in the correct configuration. Replace the cover.

  10. Connect to the Power Source

    The trickiest part of the installation is connecting the feed cable that brings power to the first smoke detector to its power source. This is where some DIYers may choose to have a professional electrician make the hookup.

    If you are feeding the smoke detectors off an existing outlet or light fixture circuit, this connection is made by turning off the circuit and testing for power, then opening an outlet, light switch, or ceiling fixture box and pigtailing into the circuit wires to join the smoke detector cable to the circuit. It's important, though, that you splice into circuit wires that are not controlled by a wall switch. This means that if you are splicing in at a light fixture box, it must be a box where there are pass-through wires that are not controlled by a wall switch. If splicing in at a wall switch, you must connect to the black feed wire that feeds the switch, not the outgoing wire that brings power to the light fixture.

    If you are installing a new circuit, the feed connection involves installing a new AFCI-protected circuit breaker to feed the smoke detectors.

  11. Test the Smoke Detectors

    Turn on the power to the circuit, then test the smoke detectors by pushing the test button on each detector, one at a time. If they are operating correctly, all alarms should sound when each test button is pressed.

When to Call a Professional

Hardwiring smoke detectors is an advanced electrical project that has a direct impact on your safety. If you feel at all uncomfortable about your ability to install these devices, call a licensed electrician for assistance.