The International Residential Code is the foundation of residential building regulation across most of the US. Here’s what it covers, how it’s adopted, and which sections matter most for common residential projects.
The IRC 2021 is a model building code published by the ICC that covers one- and two-family homes and townhouses up to three stories. It is adopted by most US states — often with local amendments — as the basis for residential building permits. It covers structure, mechanical, electrical, plumbing, energy efficiency, and life safety.
The International Residential Code (IRC) is a model code — meaning it’s a template written by the International Code Council (ICC) that states and municipalities adopt, usually with local amendments. The IRC itself has no legal force until a jurisdiction adopts it.
Most US states have adopted some version of the IRC as their residential building code, but adoption is rarely simultaneous with publication. As of 2026, many jurisdictions are still enforcing IRC 2018 or earlier. Some states have adopted IRC 2021 with significant local amendments that change specific requirements.
The IRC applies to detached one- and two-family dwellings and townhouses up to three stories. Larger multifamily buildings, commercial buildings, and most mixed-use structures fall under the International Building Code (IBC) instead.
The IRC is organized into parts and chapters. The parts most relevant to typical residential projects:
| IRC Section | What It Covers |
|---|---|
| R301–R323 | Building planning — loads, design criteria, flood, fire separation |
| R401–R404 | Foundations — footings, concrete, masonry, wood |
| R501–R507 | Floors — framing, spans, decks |
| R601–R623 | Wall construction — framing, sheathing, exterior finish |
| R801–R807 | Roof-ceiling construction — rafters, trusses, attic access |
| R302–R315 | Fire safety, smoke alarms, CO detectors, egress |
| R310 | Emergency escape and rescue openings (egress windows) |
| R311–R312 | Means of egress — stairs, handrails, guardrails |
| R305 | Ceiling heights |
| R507 | Exterior decks |
| N1101–N1108 | Energy efficiency (same as IECC Chapter 4) |
Build Code Calculator covers the most commonly checked IRC sections for residential projects:
When a jurisdiction adopts the IRC, they typically publish a local amendment document that lists changes to the base code. Common local amendments include:
This is why the answer to “does my project meet code?” always requires a call to your local building department. The IRC is the starting point, not the finish line.
Most residential work that involves structural changes, new rooms, egress modifications, or mechanical/electrical/plumbing work requires a building permit. The permit process typically involves:
Work done without a required permit is unpermitted. This can create problems at resale, complicate insurance claims, and require costly remediation if discovered by a building department.
The 2021 edition made several notable changes from IRC 2018:
For most common residential projects — egress, stairs, ceiling height, deck spans — the practical requirements between 2018 and 2021 are very similar. The changes primarily affect fire separation, energy code, and accessory structure provisions.
What is the IRC 2021?
The International Residential Code 2021 — a model building code published by the ICC covering one- and two-family homes and townhouses up to three stories. Adopted by most US states as the basis for residential building codes.
Is the IRC 2021 the current version?
The 2024 IRC has been published but most jurisdictions are still on 2021 or 2018. Verify which edition your local AHJ has adopted before starting a project.
Which states have adopted the IRC 2021?
Adoption varies by state and changes over time. Always verify with your local building department — many jurisdictions adopt codes on a delayed cycle with local amendments.
What does the IRC cover?
All aspects of residential construction: structure, foundations, framing, roofs, mechanical, electrical, plumbing, energy efficiency, fire safety, egress, stairs, and guardrails.
What is the difference between the IRC and the IBC?
The IRC covers one- and two-family homes and townhouses up to three stories. The IBC covers larger and more complex buildings. A single-family home uses the IRC; a four-unit apartment uses the IBC.
Egress Window Requirements (R310) — Stair Code Requirements (R311) — Handrail & Guardrail Requirements (R312) — Deck Building Permit Requirements — Ceiling Height Requirements (R305)