Most homes have both hard-wired and battery-powered smoke alarms
Hard-wired smoke alarms are connected directly to your home's electrical system, usually running on 120-volt household current. They're common in newer homes and in bedrooms and hallways because building codes often require them in those locations. A hard-wired alarm doesn't need you to replace batteries—the house current powers it continuously.
That said, hard-wired alarms almost always have a backup battery inside them. If the power goes out, that battery keeps the alarm working for several hours. This is a safety requirement: a smoke alarm that stops working during a power outage defeats its purpose.
Battery-powered alarms (the kind you install yourself with just a screwdriver) are still very common, especially in older homes, rental units, and in rooms far from the electrical panel. They run entirely on replaceable batteries and need no wiring.
Key Takeaways
- Hard-wired alarms plug into your home's 120-volt electrical system and run continuously without battery replacement, though they contain a backup battery for power outages.
- Building codes in most places require hard-wired alarms in bedrooms and hallways of new construction, but battery-powered alarms are still legal in many existing homes.
- Hard-wired alarms cost more to install because they need an electrician to run wiring, but they eliminate the need to remember battery changes.
- A hard-wired alarm that chirps every 30 seconds usually means the backup battery is dead and needs replacement, not that the alarm itself has failed.
Where hard-wired alarms are typically installed
Hard-wired alarms are most often found in bedrooms, hallways, and living areas of homes built in the last 20 to 30 years. Building codes vary by state and municipality, but many require hard-wired alarms in these locations as a condition of passing inspection. Kitchens and bathrooms usually get battery-powered alarms instead, because steam and cooking fumes can trigger false alarms more easily, and you want to be able to remove them quickly without cutting wires.
Older homes may have no hard-wired alarms at all. If your home was built before the 1980s, you likely have only battery-powered units, and that's legal in most places—though your local fire code may have changed since the house was built. If you're renting, the landlord is responsible for providing working alarms, but the type (hard-wired or battery) depends on local law and when the building was constructed.
How to tell if an alarm is hard-wired
Look at the alarm itself. A hard-wired alarm usually has a wire running into the back or side of the unit where it meets the ceiling or wall. That wire carries power from your electrical panel. Battery-powered alarms have no wires—just the alarm body mounted on the ceiling or wall.
If you're unsure, look for a small hole or slot on the alarm body. Most hard-wired models have a battery compartment you can access without removing the entire unit from the ceiling. Open it: if there's a 9-volt battery inside, the alarm has a backup battery. If the alarm is chirping every 30 seconds, that backup battery is dead and needs replacement—this is the most common reason a hard-wired alarm makes noise.
You can also turn off the breaker that controls that room and see if the alarm stops working. If it does, it's hard-wired. If it keeps working, it's battery-powered. (This test works best during the day when you can hear it clearly.)
The cost and installation difference
Hard-wired alarms cost $15 to $40 per unit, but installation requires an electrician to run wiring from your electrical panel, which typically costs $150 to $300 per alarm. Battery-powered alarms cost $10 to $25 and take 10 minutes to install yourself with a drill and screws.
If you're building a new home or doing a major renovation, hard-wired alarms are usually required by code and the electrician installs them as part of the job. If you're adding alarms to an existing home, running new wires through finished walls is expensive and disruptive. In that case, battery-powered alarms are the practical choice for most homeowners, and they're legal in most places as long as you maintain them.
Maintenance and battery replacement for hard-wired alarms
The backup battery in a hard-wired alarm typically lasts 3 to 5 years. When it gets low, the alarm will chirp once every 30 to 60 seconds—usually at night, which is annoying but intentional. That chirp means "replace my battery," not "I'm broken." Open the battery compartment (usually by twisting or sliding a cover) and swap in a fresh 9-volt battery.
Test the alarm after you replace the battery by pressing the test button. It should sound loud and clear. If it still chirps after you've put in a new battery, the battery compartment may not be making good contact—try removing and reinserting the battery, or clean the metal contacts with a dry cloth.
Beyond the battery, hard-wired alarms need almost no maintenance. Dust can accumulate on the sensor, so vacuum gently around the unit once a year or use a can of compressed air to blow dust away from the vents. Never paint over an alarm or cover its vents.
Interconnected hard-wired alarms and how they work together
One advantage of hard-wired alarms is that they can be wired together so that if one detects smoke, all of them sound. This is called interconnection. When you trigger the alarm in your bedroom, the alarms in the hallway and living room sound too, giving everyone in the house a loud warning no matter where they are.
Wireless interconnection is also available now: some battery-powered and hard-wired alarms can communicate by radio signal, so they don't need to be physically wired together. These cost more but are easier to install in existing homes because you don't need an electrician to run new wires.
If you have hard-wired alarms that are interconnected and one of them goes off for no reason, check the backup battery in each unit. A low or dead battery in one alarm can sometimes trigger the whole system.
When to replace a hard-wired alarm entirely
Hard-wired alarms typically last 8 to 10 years. After that, the sensor degrades and the alarm becomes less reliable. If your alarm is more than 10 years old, replace it even if it seems to be working. You can usually find the manufacture date printed on the back or inside the battery compartment.
If a hard-wired alarm keeps going off for no reason even after you've replaced the backup battery, the sensor may have failed. Dust, insects, or age can damage the sensor. In that case, you'll need to replace the entire unit. Turn off the breaker for that room, disconnect the wires (or have an electrician do it), and install a new alarm. If you're not comfortable working with electrical wiring, call an electrician—it's a quick job and worth the cost for safety.
Frequently Asked Questions
Do hard-wired smoke alarms work during a power outage?
Yes. Hard-wired alarms have a backup battery that keeps them working for several hours if the power goes out. However, if that backup battery is dead, the alarm won't work during an outage. This is why it's important to replace the backup battery when the alarm chirps.
Can I replace a hard-wired alarm with a battery-powered one?
It depends on your local building code. In many places, if the alarm is required by code to be hard-wired, you must keep it hard-wired. However, you can add battery-powered alarms in other rooms. Check with your local fire marshal or building department if you're unsure.
Why does my hard-wired alarm chirp at night?
The backup battery is low and needs replacement. This is the most common reason. Open the battery compartment, remove the old 9-volt battery, and install a new one. If it still chirps after a new battery, the compartment may need cleaning or the alarm itself may need replacement.
How often should I test a hard-wired smoke alarm?
Press the test button once a month. Hold it for a few seconds until the alarm sounds. If it doesn't sound, the backup battery may be dead, or the alarm may have failed and need replacement.
What's the difference between a hard-wired alarm and a wireless interconnected alarm?
Hard-wired alarms are connected by electrical wires running through your walls and must be installed by an electrician. Wireless alarms communicate by radio signal and are easier to install yourself. Both types can alert the whole house if one detects smoke, but wireless alarms cost more.