The minimum number depends on your home's layout, not its size
Most fire codes require at least one smoke detector on every level of your home, plus one inside each bedroom and one outside sleeping areas. A single-story house with two bedrooms typically needs three detectors minimum. A two-story house with three bedrooms needs at least five. The exact number your home requires depends on your local fire code, which varies by state and sometimes by county or city.
The reason for this layout-based approach is straightforward: smoke spreads differently through a home than fire does. A detector in the kitchen won't wake you if the fire starts in a back bedroom. Detectors outside sleeping areas catch fires before they reach you at night, when you're most vulnerable. Detectors inside bedrooms catch fires that start while you're asleep in that room.
If your home has a basement, most codes require a detector there too, especially if you use it for living space or store flammable materials. Attics and crawl spaces are less commonly required, but some jurisdictions do mandate them.
Key Takeaways
- Place one detector on each level of your home, one inside each bedroom, and one outside sleeping areas in hallways.
- A typical three-bedroom, two-story house needs five to seven detectors to meet most local codes.
- Your local fire department or building department can tell you the exact requirement for your address, since codes vary by location.
- Interconnected detectors (wired or wireless) alert you faster than standalone units, though they cost more to install.
- Detector placement matters as much as quantity — putting all detectors in one hallway defeats the purpose.
Where to place detectors in each room type
Bedrooms need a detector inside the room itself, mounted on the ceiling or high on a wall. This catches fires that start in the bedroom while you sleep. The detector should be within 12 feet of the bed so the alarm reaches you clearly.
Hallways outside bedrooms need a detector in the path between the bedroom and the rest of the home. This catches fires in other parts of the house before smoke reaches your bedroom. Mount it on the ceiling or 4 to 12 inches below the ceiling on a wall.
Living rooms, family rooms, and other gathering spaces need a detector if they are on a level without a bedroom. If your living room is on the same level as a bedroom, the bedroom detector may be enough, but adding one in the living room provides extra protection.
Kitchens are tricky. Cooking produces steam and smoke that can trigger false alarms, so many codes allow you to skip a detector directly in the kitchen. Instead, place one in the hallway just outside the kitchen. If you do put one in the kitchen, use a photoelectric detector rather than an ionization type, as it is less sensitive to cooking smoke.
Basements need a detector if you use the space regularly or store anything flammable. Mount it on the ceiling or high on a wall, away from the furnace or water heater, which produce dust that can clog the sensor.
Ionization versus photoelectric detectors
The two main detector types respond to different kinds of smoke. Ionization detectors are sensitive to fast-flaming fires, which produce thin smoke. They work well in living areas and bedrooms. Photoelectric detectors are sensitive to slow-smoldering fires, which produce thick smoke. They work better in kitchens and near bathrooms where steam is common.
Most fire safety experts recommend dual-sensor detectors that use both technologies, since they catch both fire types. These cost more upfront but reduce false alarms and provide broader protection. If you use single-sensor detectors, mix ionization and photoelectric types throughout your home rather than using only one kind.
Battery-powered detectors are cheaper and easier to install than hardwired ones, but they require battery changes twice a year. Hardwired detectors plug into your home's electrical system and have battery backup. Interconnected detectors — whether wired or wireless — alert all units when one detects smoke, so you hear the alarm everywhere in the home at once.
How local codes differ and where to find yours
Fire codes are set by state, but cities and counties often add stricter rules. Some states require detectors in every bedroom and hallway; others allow fewer. Some require interconnected detectors; others allow standalone units. Some mandate detectors in laundry rooms or utility closets; most do not.
The fastest way to learn your local requirement is to call your city or county fire department's non-emergency line and ask what the code requires for a residential home at your address. They can tell you the exact number and placement rules. Your local building department can also provide this information, usually in writing.
If you are renting, your landlord is responsible for installing detectors to meet code, though the tenant is usually responsible for replacing batteries. Check your lease and your local tenant rights, as some states require landlords to provide working detectors as a condition of habitability.
Testing and maintenance to keep detectors working
A detector that does not work is worse than no detector at all, because you may assume you are protected when you are not. Test each detector monthly by pressing the test button for three seconds. The alarm should sound loudly. If it does not, replace the battery if it is battery-powered, or check the circuit breaker if it is hardwired.
Replace batteries in battery-powered detectors twice a year. Many people do this when clocks change for daylight saving time, which makes it straightforward to remember. Hardwired detectors with battery backup need the battery replaced every one to three years, depending on the model.
Replace the entire detector every 10 years. Sensors degrade over time and stop detecting smoke reliably. Write the installation date on the detector with a marker so you know when to replace it. If a detector chirps or beeps at random intervals, the battery is low or the sensor is failing — replace it when ready.
What to do if your home does not meet code
If you own your home and it does not meet the current fire code, you are not required to retrofit it unless you are doing a renovation or selling the home. However, adding detectors is inexpensive compared to the risk. Battery-powered detectors cost $15 to $50 each. Hardwired detectors cost $30 to $100 each, plus installation labor if you hire an electrician.
If you are renting and your landlord has not installed the required detectors, contact your local housing authority or tenant rights organization. Most jurisdictions allow tenants to withhold rent or break the lease if the landlord fails to provide detectors after being asked in writing.
If you are unsure whether your current setup meets code, take a photo of each detector location and bring it to your fire department's non-emergency line. Many departments offer free home safety inspections and can tell you exactly what you need to add.
Frequently Asked Questions
Do I need a detector in the garage?
Most codes do not require a detector in the garage, since garages are not considered living spaces. However, if your garage is attached to your home and you spend time there, adding a detector is reasonable. Avoid placing it directly above a car, since exhaust can trigger false alarms.
Can I use one detector for multiple rooms?
No. A detector in a hallway will not reliably alert you to a fire starting in a bedroom with the door closed, because the door blocks smoke. Each bedroom needs its own detector. A single detector on a level can cover an open floor plan, but closed doors require separate detectors on each side.
What if I have a very large home?
Follow the same rule: one on each level, one in each bedroom, one outside sleeping areas. A large home may need eight to twelve detectors. If your home has multiple hallways or wings, add detectors to each hallway so no area is more than 30 feet from a detector.
Do I need detectors if I have a sprinkler system?
Yes. Sprinklers suppress fire but do not alert you to smoke. You need detectors to wake you and alert you to evacuate. Sprinklers and detectors work together, not as substitutes for each other.
Is a smoke detector required in a rental apartment?
Yes, in all 50 states. Your landlord must install detectors to meet local code. If detectors are missing or not working, contact your landlord in writing and give them a reasonable time to fix it. If they do not, contact your local housing authority or tenant rights organization.