Codes

Which building code applies to my house?

There is no single U.S. building code. Every state picks its own edition, and in 21 states the city or county decides. Type a ZIP code to see who sets the rules where you live, which code editions are in force for houses and for commercial buildings, what the big state amendments are, and links to read the code itself.

or pick a state:

How to read the answer

Statewide code means one mandatory code your town cannot change. Statewide minimum means the state sets a floor and your town may add stricter rules. Local adoption or state code, local enforcement means the city or county is the real authority, and a house outside city limits may have no building permit at all.

The edition that governs a job is the one in force on the day the permit application is filed. State amendments change model-code numbers in both directions, so the “what’s different here” list matters as much as the edition. A ZIP code can tell us the state, not whether you are inside city limits; the permit office can.

House or commercial? Which side of the code you are on

The building's use decides the code, not the zoning. Zoning is the city's map of what can go where (setbacks, parking, permitted uses). The building code is about how the building is built for the people inside it. A house on commercially zoned land is still a house under the residential code, and a store in a residential zone (if zoning allows it) is still built to the commercial code.

Residential code (IRC or the state's version) usually covers detached one- and two-family homes and townhouses up to three stories, plus their garages, decks and sheds. Everything else uses the commercial code (IBC): offices, shops, restaurants, warehouses, churches, schools, and apartment or condo buildings with three or more units. Some states draw the line differently (Wisconsin puts three-unit buildings and three or more attached townhouses under its commercial code; Ohio's residential code covers detached one- to three-family homes), and the result above notes it where we know.

Houses (residential code)Commercial and 3+ unit buildings (IBC)
Who designs itOwners and builders can often draw their own plans when the house follows the code's prescriptive tables. An engineer is needed for anything outside them.Most states require plans sealed by a licensed architect or engineer above a size or occupancy threshold, and most commercial projects cross it.
Plan reviewLocal building department, often a short review.Full plan review by the state or a certified local department before a permit is issued; often fire department review too.
StructurePrescriptive tables for footings, walls, beams and framing, with engineering where the tables stop.Engineered design to ASCE 7 loads and the material standards (ACI, AISC, NDS, TMS), with special inspections for many structural items.
Fire and life safetySmoke and CO alarms, egress windows, garage separation; sprinklers only where a state or city requires them.Construction type and height/area limits, fire-rated separations, exits sized for the occupant load, alarms, and sprinklers for many occupancies. A separate fire code applies after opening.
AccessibilityGenerally not required in a private house.Required: the building code's accessibility chapter (ICC A117.1) plus the federal ADA for public spaces; Fair Housing Act design rules for most new apartments.
EnergyResidential energy code (IECC residential or state version).Commercial energy code (IECC commercial or ASHRAE 90.1).
Existing buildingsRepairs and additions follow the residential code for the new work.The existing building code (IEBC or state version). Changing the use, like a house becoming an office or a store becoming apartments, can trigger upgrades to exits, fire protection, accessibility and structure.

Gray areas to ask about: a business run from a house (a home office usually stays residential; a daycare, salon or shop that serves the public may not), apartments over a store, and short-term rentals. Ask your permit office before you buy or build.

Education only. This page summarizes publicly adopted codes as of the date shown on each result; it is not engineering advice for your property and it is not a permit. Codes change several times a year across the country, so confirm with your city or county permit office. If you need an engineer, contact a licensed structural engineer in your state.