Smoke Detector Placement Code: Where Alarms Go
By Builtee · November 12, 2026 · 6 min read

Smoke alarms are a small line on the plans, but a missed one can hold up your final inspection. Usually the problem isn't the alarm itself. It's a box that never got roughed in, a basement that got skipped, or a hallway alarm wired on its own instead of tied into the rest.
This guide walks through where smoke alarms and carbon monoxide (CO) alarms go in a new one- or two-family house under the model code most states start from, the International Residential Code (IRC). It also covers what New York adds. Your town's adopted code and your approved plans are the final word, so check them if anything here doesn't match.
The short answer
In a new house, the IRC puts a smoke alarm in three kinds of places:
- In every sleeping room.
- Outside each separate sleeping area, in the immediate area of the bedrooms. That's usually the hallway the bedrooms open onto.
- On every story, including basements and habitable attics. Crawl spaces and attics nobody lives in don't need one.
CO alarms go outside each separate sleeping area too, but only in houses that need them. More on that below.

Smoke alarms, room by room
Here's the layout most building departments will look for on a new house:
| Space | Smoke alarm? | Notes |
|---|---|---|
| Each bedroom | Yes | One in every sleeping room |
| Hallway outside the bedrooms | Yes | In addition to the ones inside the bedrooms |
| Each other story | Yes, at least one | Main floor with no bedrooms still needs one |
| Basement | Yes | Finished or not, it's a story |
| Habitable attic | Yes | A finished attic room counts |
| Crawl space | No | |
| Attic nobody uses | No |
If a house has two bedroom wings, say a primary suite on one side and kids' rooms on the other, each wing is its own sleeping area. Each one gets its own hallway alarm.
Where not to put them
Two placement rules cause most of the moves on site:
- Bathrooms. The IRC keeps smoke alarms at least 3 feet, measured sideways, from the door or opening of a bathroom with a tub or shower. Steam sets them off. The exception: if that rule would keep you from putting an alarm in a spot the code requires, the required spot wins.
- Kitchens. Alarms right next to the range go off every time someone sears a steak, and people pull them off the ceiling. The code sets minimum distances from a permanently installed cooking appliance, and the number depends on the type of alarm and on which code edition your town uses. Check the edition your town has adopted and the alarm's instructions before you set the box.
Wiring: hardwired, battery backup, all connected
New construction isn't the place for stick-up battery alarms. Under the IRC:
- Power comes from the house wiring, with a battery backup for when the power goes out.
- They're interconnected. When one alarm goes off, they all go off. A fire in the basement wakes up the people in the bedrooms.
- Wireless counts if the alarms are listed for it and all of them sound together.
In a two-family house or a townhouse, they're interconnected within each unit. You don't tie one unit's alarms into the neighbor's.
That means the alarm locations need to be settled before the electrician roughs in. Moving a box after drywall costs a lot more than moving a mark on the plan. If you run the rough framing inspection walk-through, add one more look: is there a box in every bedroom, every hallway outside the bedrooms, and every story?
Carbon monoxide alarms: when you need them
The IRC requires CO alarms in a new house when either of these is true:
- The house has a fuel-burning appliance. A gas furnace, boiler, water heater, range, dryer or fireplace counts.
- The house has an attached garage with an opening into the house, like a door from the garage to the mudroom.
An all-electric house with a detached garage may not need one under the model code. New York has its own rule, though (below).
Where CO alarms go
- Outside each separate sleeping area, in the immediate area of the bedrooms. Same idea as the hallway smoke alarm.
- Inside a bedroom if a fuel-burning appliance is in that bedroom or in the bathroom attached to it.
A combination smoke and CO alarm can cover the hallway spot with one box. The IRC allows them if they're listed to both standards (UL 217 for smoke, UL 2034 for CO).

What New York adds
New York builds on the IRC with its own residential code, and two rules matter for builders here.
Amanda's Law. Since February 22, 2010, New York has required CO alarms in one- and two-family homes, no matter when the house was built or sold. The law is named for Amanda Hansen, a teenager who died of carbon monoxide poisoning at a sleepover. Houses built after January 1, 2008 need CO alarms wired into the building. Older houses can use battery alarms.
Heat detectors in new attached garages. New York's residential code requires a heat detector in a new garage that's attached to the house or built into it. It has to be connected to an alarm in the house. A heat detector responds to heat, not smoke, so it suits a garage. If you're building a new house with an attached garage, plan a box for the heat detector on the garage ceiling and tie it into the system.
Some towns publish their own alarm handouts. Briarcliff Manor's, for example, lists the heat detector rule. A quick look at your building department's website can save you a correction notice.
A rough-in checklist for alarms
Before the electrician starts, walk the plan and mark:
- A smoke alarm in every bedroom.
- A smoke alarm in each hallway or area outside the bedrooms. Count the separate sleeping areas.
- At least one smoke alarm on every story, basement included.
- A CO alarm outside each sleeping area, if there's any fuel-burning appliance or an attached garage with a door into the house. In New York, plan on CO alarms either way.
- A CO alarm inside any bedroom that has a fuel-burning appliance in it or in its bathroom.
- A heat detector in a new attached garage (New York).
- No box within 3 feet of a bathroom door with a tub or shower, and no box crowding the range.
- Interconnection planned, wired or listed wireless.
Then put "alarm boxes checked" on the schedule as its own step before insulation, so it doesn't get lost. If you keep your job schedule in Builtee, that's one line on the free schedule, and the client sees it get checked off. It also helps to know where it falls in the whole build.
Common questions
Do I need a smoke alarm in the living room? Not by name. But every story needs at least one alarm, so on a main floor with no bedrooms, it usually ends up in the living area.
Can I use a combination smoke and CO alarm? Yes. The IRC lets a listed combination alarm stand in for either one, as long as it sits where both kinds are required.
Does a finished basement change anything? A basement needs a smoke alarm either way. If you're adding a bedroom down there, it needs its own alarm, and the basement hallway may count as a sleeping area too.
Who decides if my layout passes? Your building department. The IRC is the starting point, but states and towns amend it, so read the code your town has adopted and your approved plans.
Sources
- ICC, IRC Section R314 (smoke alarms) code change file: https://www.iccsafe.org/wp-content/uploads/bcac/IRC-R314.pdf
- ICC, IRC Section R315 (carbon monoxide alarms) code change file: https://www.iccsafe.org/wp-content/uploads/bcac/IRC-R315.pdf
- ICC-NTA, New York Smoke Alarms and Heat Detectors in Residential Structures (2022): https://www.icc-nta.org/code-update/new-york-smoke-alarms-and-heat-detectors-in-residential-structures
- Jaspector, Where are smoke alarms required in a house (IRC 2021): https://www.jaspector.com/codes/irc-2021/ch03-building-planning/smoke-alarm-required-locations/
- Jaspector, Carbon monoxide alarm required (IRC 2021): https://www.jaspector.com/codes/irc-2021/ch03-building-planning/carbon-monoxide-alarm-required/
- City of Boise, IRC smoke alarm handout (2022): https://www.cityofboise.org/media/14976/441_irc-handout-smoke-alarm_may-2022.pdf
- Muscatine County, Smoke alarms for dwellings: https://www.muscatinecountyiowa.gov/files/county_development/smoke_alarms_for_dwellings_14603.pdf
- Anne Arundel County, Smoke detector requirements: https://www.aacounty.org/sites/default/files/2023-08/SmokeDetectRequire.pdf
- Anne Arundel County, Carbon monoxide alarms: https://www.aacounty.org/sites/default/files/2023-08/CARBON%20MONOXIDE%20ALARMS.pdf
- Harford County, Carbon monoxide alarm requirements: https://harfordcountymd.gov/DocumentCenter/View/15840/Carbon-Monoxide-Alarm-Requirements
- Village of Briarcliff Manor, NY, smoke and heat detector handout: https://briarcliffmanor.gov/DocumentCenter/View/117
- NY State Department of Health, Amanda's Law: https://Health.NY.Gov/environmental/emergency/weather/docs/co_amandas_law.pdf
- NY Senate, New law honors teen who died of carbon monoxide (2010): https://nysenate.gov/newsroom/press-releases/2010/suzi-oppenheimer/new-law-honors-teen-who-died-carbon-monoxide
- NY Senate, Senator Flanagan reminding homeowners about new carbon monoxide law (2010): https://www.nysenate.gov/newsroom/press-releases/2010/john-j-flanagan/senator-flanagan-reminding-homeowners-about-new-carbon
- Town of Cortlandt, Amanda's Law: CO alarm requirements go into effect February 22, 2010: https://www.townofcortlandtny.gov/cn/webpage.cfm?tpid=17479
- The Oswegonian, New code to help reduce carbon monoxide worries (2010): https://www.oswegonian.com/2010/04/09/new-code-to-help-reduce-carbon-monoxide-worries/
- Casa Grande, AZ, Smoke and CO handout (combination alarm listing): https://casagrandeaz.gov/DocumentCenter/View/4194/Smoke-and-CO

