Where smoke detectors are required by code

Building codes require smoke detectors in bedrooms, hallways outside bedrooms, and on every level of your home — including the basement. The exact rules vary by state and local jurisdiction, but the pattern is consistent: detectors must be positioned to catch smoke from fires that start in or spread to sleeping areas, since most fire deaths happen at night when people cannot see the danger.

Many states also require detectors in kitchens, though some allow heat detectors there instead because cooking produces false alarms. A few jurisdictions mandate them in living rooms and other main gathering spaces. Check your local fire code or call your city or county building department to learn what applies to your address — requirements differ between single-family homes, apartments, and rental properties.

Key Takeaways

  • Bedrooms and hallways outside bedrooms are required in every state; detectors must be inside sleeping rooms and in the hallway that serves them.
  • Every level of your home needs at least one detector, including basements and finished attics, because smoke rises and spreads through stairwells.
  • Kitchens often require detectors, but heat detectors or photoelectric models reduce false alarms from cooking smoke.
  • Your local fire code sets the specific rules for your area; requirements differ by state and sometimes by city.
  • Detectors should be mounted on ceilings or high on walls, away from corners and air vents that can block smoke.

Bedrooms and sleeping areas

A detector must be inside each bedroom — not just in the hallway outside. This placement gives sleeping people the earliest warning if a fire starts in their room or spreads from elsewhere. If a bedroom door is normally closed, the detector inside that room is your only reliable alert, because smoke may not reach the hallway quickly enough.

For children's rooms, guest rooms, and any other sleeping space, follow the same rule: one detector per room. If you have a master bedroom with an attached bathroom or walk-in closet, one detector in the main bedroom covers that space. Detectors in hallways serve as a backup and catch fires that start in common areas before they reach bedrooms.

Hallways and stairwells

Install at least one detector in the hallway that serves the bedrooms on each floor. This detector catches smoke from fires in living areas, kitchens, or other rooms before it reaches sleeping spaces. In a long hallway that serves multiple bedrooms, one detector is usually sufficient if it is positioned centrally.

Stairwells need detectors because smoke rises and spreads quickly through vertical spaces. If your home has a basement stairway, install a detector at the top of those stairs. For a two-story home, place a detector in the upstairs hallway and another at the bottom of the main staircase on the first floor.

Kitchens and cooking areas

Many codes require a detector in the kitchen, but standard ionization detectors trigger false alarms from cooking smoke. If your code requires one, use a photoelectric detector or a heat detector instead — these are less sensitive to cooking fumes and will still alert you to a real fire. Some jurisdictions allow you to skip the kitchen detector if you have one in an adjacent hallway, so check your local rules.

If you install a kitchen detector, keep it at least 10 feet away from cooking appliances to reduce nuisance alarms. Never disable a detector because it goes off during cooking; instead, replace it with a model designed for kitchens or open a window to clear the smoke faster.

Basements and attics

Basements need at least one detector, even if they are unfinished. Fires that start in a basement furnace, water heater, or electrical panel can spread upward through walls and stairwells before you notice them. A detector in the basement catches these fires early.

Finished attics and bonus rooms that are used for sleeping or living also require detectors. An unfinished attic used only for storage may not require one by code, but installing one is still a good idea if the attic is accessible and contains flammable materials like insulation or old furniture.

Living rooms and other spaces

Some states and cities require detectors in living rooms, family rooms, or other main gathering spaces. Others do not. Since these rooms are usually occupied during waking hours, the risk is lower than in bedrooms, but a detector there still provides an early warning if a fire starts in that room.

If your code does not require a living room detector, you can still install one. The cost is low, and the extra coverage means you catch a fire faster. Avoid placing detectors in bathrooms or near windows, where steam or drafts can interfere with their operation.

Placement and spacing rules

Mount detectors on the ceiling or high on the wall — at least 4 inches from the corner where the wall meets the ceiling. Smoke rises, so ceiling placement is most effective. If you must mount on a wall, place the detector 4 to 12 inches below the ceiling.

Space detectors no more than 30 feet apart on the same level. In a long hallway or large room, you may need more than one detector to meet this spacing rule. Keep detectors away from air vents, ceiling fans, and windows, which can push smoke away from the sensor and delay detection.

Frequently Asked Questions

Do I need a detector in every room?

No. Building codes require detectors in bedrooms, hallways outside bedrooms, and on every level. Kitchens, living rooms, and other spaces depend on your local code. The goal is to catch smoke from fires that start in or spread to sleeping areas and main escape routes.

Can I use one detector for multiple bedrooms?

No. Each bedroom needs its own detector inside the room. A hallway detector is a backup, not a replacement. If bedroom doors are closed at night, a hallway detector may not alert you in time.

What type of detector should I use in the kitchen?

Use a photoelectric or heat detector in the kitchen instead of a standard ionization model. These are less likely to alarm from cooking smoke but will still detect a real fire. Keep the detector at least 10 feet from the stove.

Do I need detectors in closets or bathrooms?

Closets do not require detectors by code, but a bedroom detector inside the room will catch smoke from a closet fire. Bathrooms do not need detectors because steam interferes with operation. A hallway detector outside the bathroom is sufficient.

How often should I check that my detectors are in the right places?

Test your detectors monthly and replace batteries twice a year — many people do this when clocks change. If you move furniture or renovate, check that detectors are still unobstructed and in the correct rooms. Detectors lose sensitivity over time and should be replaced every 10 years.