Hardwired smoke detectors need backup batteries even though they're plugged into your home's electrical system

A hardwired smoke detector is connected directly to a 120-volt circuit in your home, which powers the alarm itself. But the battery is not redundant—it's a safety requirement. If your power goes out, a fire can still start and spread in the dark. The battery keeps the detector working when the electrical system fails, whether from a storm, an accident, or a fire that damages the wiring itself.

Building codes in all 50 states require hardwired detectors to have battery backup. The battery is usually a 9-volt or AA cell, depending on the model. It sits in a compartment on the detector and activates automatically when power is lost. You don't switch between power sources—the detector uses electricity from the wall when it's available and switches to the battery without any action from you.

The battery itself lasts about one year under normal conditions. Some detectors will chirp or beep once every 30 to 60 seconds when the battery is low, alerting you to replace it. This chirping is intentional and means the detector is working correctly—it's telling you the backup system is failing, not that the whole unit has failed.

Key Takeaways

  • Hardwired detectors use electricity from your home's circuit, but the battery provides power if that circuit fails during a fire or outage.
  • Battery backup is required by building code and is not optional, even though the detector is plugged in.
  • Backup batteries last about one year and should be replaced annually, or whenever the detector chirps to signal low battery.
  • A hardwired detector with a dead battery will still detect smoke on electrical power, but you lose protection during an outage.
  • Test your detector monthly by pressing the test button, and replace batteries at the same time each year—many people do it when clocks change.

How the battery and electrical power work together

When power is flowing to the detector from your home's circuit, the detector runs on that electricity. The battery sits idle in the background, fully charged and ready. You won't see any sign that the battery is there unless you open the detector's cover.

The moment the power cuts out—whether because of a tripped breaker, a storm, or a fire that damages the wiring—the detector automatically switches to battery power. This happens when ready and without any delay. The detector continues to sense smoke and sound the alarm exactly as it would on electrical power. From your perspective, the alarm works the same way; you would not know the power had failed unless you checked the lights in your home.

Once power is restored, the detector switches back to electrical power and the battery begins recharging. Most hardwired detectors have a built-in charging circuit that slowly charges the battery while the unit is plugged in. This is why the battery lasts about a year even though it's being recharged—the charging circuit is designed to extend battery life, not to keep it at full charge all the time.

When and how to replace the battery

Check your detector's manual to find out what type of battery it uses. Most hardwired detectors use a 9-volt battery, though some use AA or AAA cells. The battery compartment is usually on the back or side of the detector and opens with a straightforward push or twist.

Replace the battery once a year, even if the detector has not chirped. Many people replace batteries when they change their clocks for daylight saving time in spring and fall—this creates a regular schedule that is straightforward to remember. If your detector chirps to signal low battery, replace it right away rather than waiting for your scheduled replacement date.

When you install a new battery, make sure the positive and negative terminals are oriented correctly. The detector will not work if the battery is installed backward, and some models will not fit the battery at all if you try to force it the wrong way. After you insert the battery, press the test button on the detector to confirm it is working. The alarm should sound loudly for a few seconds.

What happens if the battery dies

If the battery is dead and the power is on, the detector will still work. It will sense smoke and sound the alarm using electricity from your home's circuit. You have not lost protection—you have only lost the backup system.

The real danger comes if the power fails while the battery is dead. In that scenario, the detector cannot work at all. If a fire starts during a power outage and the battery is dead, the detector will not alert you. This is why building codes require the battery and why manufacturers design detectors to chirp when the battery is low—the chirping is meant to catch your attention before you end up in that situation.

If you hear the low-battery chirp, replace the battery within a few days. Do not ignore it or remove the battery to stop the noise. The chirping is a safety signal, and removing the battery defeats the entire purpose of having backup power.

Testing your hardwired detector

Press the test button on your detector once a month to make sure it is working. The button is usually labeled "Test" and is located on the face of the detector. Hold it down for three to five seconds. The alarm should sound loudly—a loud, steady beeping or wailing sound. If it does not, the detector may have a dead battery, a tripped breaker, or an internal failure.

If the alarm does not sound during the test, first check that the breaker for that circuit has not tripped. Look at your electrical panel and flip the breaker off and back on. Then test the detector again. If it still does not sound, replace the battery. If the alarm still does not work after a new battery, the detector itself may have failed and should be replaced.

Testing is important because detectors can fail silently. A detector with a dead battery will not chirp if it is an older model or if the chirping circuit has failed. The only way to know for certain that the backup system is working is to test it.

Interconnected hardwired detectors and battery backup

Many homes have interconnected hardwired detectors, meaning all the detectors in the house are wired together so that when one alarm sounds, they all sound. This is a valuable safety feature because it alerts you to a fire no matter where in the home you are.

Each interconnected detector still has its own battery. If one detector's battery dies, that detector loses backup power, but the others continue to work normally. However, if the power fails and multiple detectors have dead batteries, you could lose protection in several rooms at once. This is another reason to replace batteries on schedule rather than waiting for the chirp.

When you test an interconnected system, all the detectors should sound when you press the test button on one of them. If some detectors do not sound, check their batteries and the wiring connections. A loose wire or a dead battery in one detector can sometimes prevent the whole system from working correctly.

Hardwired detectors versus battery-only detectors

A battery-only detector runs entirely on batteries and has no electrical connection to your home. It is cheaper to install because it does not require an electrician, but you must remember to replace the batteries twice a year or more often. A hardwired detector costs more to install but requires battery replacement only once a year because the electrical power does most of the work.

Some homes have both types. A hardwired detector in the hallway or kitchen might be paired with a battery-only detector in a bedroom or closet where running new wiring would be difficult. Both types need batteries, and both types should be tested monthly. The advantage of hardwired detectors is that the battery is a backup system, not the primary power source, so you are less likely to forget about it.

Frequently Asked Questions

Can I remove the battery from a hardwired smoke detector?

You can remove it, but you should not leave it out. Without the battery, the detector has no backup power and will not work during a power outage. If you remove the battery to stop the low-battery chirp, you are creating a safety gap. Replace the battery instead.

How do I know if the battery is charging?

You cannot see the charging happening. The detector has a built-in charging circuit that works automatically when the detector is plugged in. The only sign of a problem is if the detector chirps constantly even after you install a new battery, which suggests the charging circuit may have failed.

What if my hardwired detector keeps chirping even with a new battery?

First, make sure the battery is installed correctly with the positive and negative terminals in the right direction. If it is, the chirping may mean the charging circuit has failed or the detector itself is defective. Try replacing the entire detector. If the problem persists across multiple detectors, contact an electrician to check the circuit.

Do I need to replace batteries in hardwired detectors if I have a backup generator?

A backup generator helps, but it does not replace the battery in the detector. Generators take time to start and may not kick in when ready during a power failure. The detector's battery provides when ready backup power in the first seconds of an outage, before the generator has time to engage. Keep replacing the batteries on schedule.

Can I use a rechargeable battery in a hardwired smoke detector?

Check your detector's manual before using a rechargeable battery. Some detectors are designed to work with them, but many are not. Rechargeable batteries often have a lower voltage than alkaline batteries and may not trigger the alarm reliably. Stick with the battery type recommended by the manufacturer.