Building Codes in Force

International Residential Code

One book for building a house, from footings to wiring.

International Code Council (ICC)45 jurisdictions14 parts explained15 quick answers

What it covers

The IRC covers detached one- and two-family homes and townhouses up to three stories above grade, each with its own exit. Anything bigger falls under the IBC.

It is written so most houses can be built from tables without an engineer: span tables for joists and rafters, wall-bracing tables, and footing sizes by soil type. It bundles energy, mechanical, fuel gas, plumbing and electrical chapters, so a builder can work from one book. Many states adopt it but swap the plumbing or electrical chapters for their own codes.

Read the official text

Opens the publisher's or government's own copy in a new tab.

2024ReadFreeICC Digital Codes
2021ReadFreeICC Digital Codes
2018 / 2015ReadFreeICC Digital Codes (I-Codes library)

How it is organized

Section numbers carry a letter for each part: R for building, N for energy, M for mechanical, G for fuel gas, P for plumbing and E for electrical.
  1. Ch. 1–2Administration and definitionsPermits, inspections and defined terms.Open 2021 ↗
  2. Ch. 3Building planningThe heart of the code: local design criteria, fire separation from property lines and garages, light and ventilation, ceiling heights, safety glass, bedroom escape windows, stairs, guards, smoke and CO alarms, and sprinklers.Open 2021 ↗
  3. Ch. 4FoundationsFootings, foundation walls, waterproofing, drainage and crawl spaces.Open 2021 ↗
  4. Ch. 5FloorsFloor framing and span tables, concrete slabs, and decks.Open 2021 ↗
  5. Ch. 6Wall constructionWood and cold-formed steel framing, wall bracing against wind and earthquakes, masonry and insulated concrete forms.Open 2021 ↗
  6. Ch. 7Wall coveringDrywall, siding, stucco, water-resistive barriers and flashing around windows and doors.Open 2021 ↗
  7. Ch. 8–9Roof framing and roof coveringsRafters, trusses, attic ventilation, shingles and other roof coverings, and reroofing.Open 2021 ↗
  8. Ch. 10Chimneys and fireplacesMasonry and factory-built fireplaces and chimneys.Open 2021 ↗
  9. Ch. 11Energy efficiencyInsulation levels, window performance, air sealing and duct sealing. This chapter repeats the residential part of the same-year IECC.Open 2021 ↗
  10. Ch. 12–23MechanicalFurnaces, heat pumps, bath and kitchen exhaust, dryer vents, ductwork, combustion air, boilers, water heaters and solar thermal systems.Open 2021 ↗
  11. Ch. 24Fuel gasGas piping sizes and materials, appliance connections and venting. Drawn from the IFGC.Open 2021 ↗
  12. Ch. 25–33PlumbingFixtures, water heaters, water supply, drains, vents, traps and storm drainage.Open 2021 ↗
  13. Ch. 34–43ElectricalServices, branch circuits, wiring methods, GFCI and AFCI protection, receptacles, lighting and pools. Drawn from the NEC.Open 2021 ↗
  14. Ch. 44 & appendicesReferenced standards and optionsAppendices (for example tiny houses or straw-bale construction) apply only where adopted.Open 2021 ↗

Common answers

Where to look in the official text.

Snow load, wind speed, frost depth and other local design valuesTable R301.2(1), filled in by your local jurisdiction
Fire separation between the house and an attached garageSection R302.6
How close to the property line before walls need fire ratingSection R302.1
Where safety glass is requiredSection R308
Bedroom emergency escape window sizeSection R310
Stair rise, run, width and headroomSection R311.7
Guard height and window fall protectionSection R312
Smoke alarmsSection R314
Carbon monoxide alarmsSection R315
Deck framing, ledgers and joist spansSection R507
Wall bracingSection R602.10
Attic ventilationSection R806
Insulation R-values by climate zoneTable N1102.1.3
Clothes dryer exhaustSection M1502
GFCI and AFCI protectionSection E3902

Section numbers refer to the 2021 edition; most are the same in 2018 and 2024.

How editions differ

  • 2024Energy chapter updated to match the 2024 IECC; many structural tables refreshed.
  • 2021Energy chapter tightened to match the 2021 IECC, the largest residential efficiency step in a decade.
  • 2018 / 2015Still common (for example Tennessee and Minnesota on 2018; Michigan, Kentucky and North Carolina on 2015). Energy requirements are noticeably less stringent.

Where it is in force

Locations on this site that use this code, by edition.

This guide is an original plain-language summary, not the code itself. Section numbers can shift between editions and local amendments, so always confirm against the official text adopted where you build.