The basic rule: one per bedroom, plus hallways and the kitchen

Most fire codes require at least one smoke detector on every level of your home, plus one inside or just outside each bedroom. The exact number depends on your home's layout and your state or local fire code—there is no single federal rule that applies everywhere. A typical single-story house with three bedrooms usually needs four to five detectors. A two-story house with the same bedroom count typically needs six to eight.

The reason for this pattern is straightforward: bedrooms are where people sleep, and a working detector in or near a bedroom gives you the best chance of waking up to an alarm. Hallways and living areas are the next priority because fire often spreads through these spaces first. Kitchens need detectors too, though many people use heat detectors there instead of smoke detectors, since cooking can trigger false alarms.

Key Takeaways

  • Place one smoke detector inside or just outside each bedroom door, and one on every level of your home.
  • Hallways, living rooms, and basements should each have a detector if they are separated from other monitored areas by a closed door.
  • Kitchens benefit from heat detectors rather than smoke detectors to avoid false alarms from cooking.
  • Your local fire marshal's office or building department can tell you the exact requirement for your address, since codes vary by state and municipality.

Where to place detectors on each level

Start with the bedroom rule: if a bedroom door closes, you need a detector inside that room or in the hallway when ready outside it. This matters because a closed door slows smoke from reaching a detector in a distant hallway. If you have a master bedroom suite with its own hallway, put a detector in that hallway. If you have a long hallway serving multiple bedrooms, one detector at the far end usually covers the whole hallway, but check your local code.

On each level, place a detector in the main living area—living room, family room, or den. If your level has a basement stairwell, put a detector at the top of those stairs. If your basement is finished and used as living space, treat it like another level: one detector in the main area, one near any bedroom down there. Unfinished basements need at least one detector near the stairs.

Avoid placing detectors in corners, near ceiling fans, or in dead-air spaces where smoke does not circulate well. Mount them on the ceiling or on a wall 4 to 12 inches below the ceiling. Smoke rises, so detectors work best where rising smoke will reach them quickly.

Kitchens and bathrooms: heat detectors instead

Kitchens are the most common source of false alarms because cooking steam and smoke from normal food preparation trigger standard smoke detectors. Many fire codes allow a heat detector in the kitchen instead—these respond to temperature spikes, not smoke, so they ignore cooking fumes but still catch real fires. If your code requires a detector in the kitchen, ask your fire marshal whether a heat detector meets the requirement.

Bathrooms rarely need detectors because moisture from showers can trigger false alarms. If your code requires one, a heat detector is usually the better choice there too. Never put a standard smoke detector directly above a shower or bathtub.

Interconnected detectors and wireless systems

Many newer homes use interconnected detectors—wired or wireless units that trigger all alarms in the house when any one detects smoke. This is a major safety advantage because a fire in one part of the house wakes people everywhere, not just near that detector. Some fire codes now require interconnected detectors in new construction, though older homes are usually grandfathered in under the old rules.

Wireless interconnected detectors use radio signals to communicate, so you do not need to run wiring through walls. Hardwired detectors are connected to your home's electrical system and have battery backup. Both types work well; the choice often comes down to whether you are building new or retrofitting an existing home. If you are adding detectors to an older house, wireless units are usually easier to install yourself.

What your local fire code actually says

Fire codes are written and enforced by your state and local government, not by a national body. The National Fire Protection Association publishes a model code called NFPA 72, which most states use as a starting point, but each state modifies it. Some require detectors in every room; others require them only in bedrooms and hallways. Some require interconnection; others do not.

The fastest way to know what your home needs is to call your local fire marshal's office or building department and ask for the smoke detector requirement for your address. They can tell you the exact number and placement rules that explore to your house. If you are buying a home, the home inspector's report usually notes whether the current detectors meet code, though that is not a legal information.

Detectors in rental properties and apartments

Landlords are required by law in all 50 states to provide working smoke detectors, but the number and placement rules vary. In most states, landlords must install one detector per bedroom plus one in common areas like hallways and living rooms. Tenants are usually responsible for testing them monthly and reporting any that do not work. If a detector is missing or broken, contact your landlord in writing and give them a reasonable time to fix it—usually 24 to 48 hours.

If your landlord does not respond, some states allow you to have the detector installed and deduct the cost from rent, or to contact the local housing authority. Keep a copy of your written request and any photos showing missing or non-working detectors, in case you need proof later.

Testing and maintenance to keep detectors working

Having the right number of detectors means nothing if they do not work. Test each detector once a month by pressing the test button for three seconds—the alarm should sound loudly. If it does not, replace the batteries (usually 9-volt) and test again. If it still does not work, replace the entire unit.

Replace batteries twice a year—many people do this when clocks change for daylight saving time, which makes it straightforward to remember. Replace the entire detector every 10 years, even if it still works, because the sensors degrade over time. Write the installation date on the back of each detector with a marker so you know when to replace it.

Frequently Asked Questions

Do I need a detector in every room?

No. You need one in or near each bedroom, one on every level, and one in hallways that separate sleeping areas from the rest of the house. Living rooms, dining rooms, and other common areas should have one, but you do not need a detector in every single room. Closets, pantries, and utility rooms do not need detectors.

Can I use one detector for a whole floor?

Not if that floor has multiple bedrooms or a long hallway. A single detector at the far end of a hallway may not wake someone in a bedroom with a closed door. If bedrooms are separated by closed doors, each needs its own detector or one in the hallway when ready outside. Check your local code for the exact rule.

What if I rent and my landlord will not install detectors?

Contact your local housing authority or tenant rights organization—landlords are legally required to provide working detectors in all 50 states. Document your request in writing and keep a copy. If your landlord does not respond within the time required by your state (usually 24 to 48 hours), you may be able to have them installed and deduct the cost from rent, or file a complaint with the housing authority.

Are hardwired detectors better than battery-powered ones?

Hardwired detectors with battery backup are slightly more reliable because they do not depend on you remembering to change batteries. Battery-powered detectors are easier to install in older homes and work just as well if you test them monthly and replace batteries twice a year. Either type meets code in most places.

Do I need detectors in the attic or crawl space?

Attics and crawl spaces do not usually require detectors unless they are finished and used as living space. An unfinished attic or crawl space does not need one. If you use your attic as a bedroom or office, treat it like any other bedroom and install a detector there.