Lesson 0.2 · 2021 IRC and IBC · 25 min
How the IRC and IBC are organized, and which one applies
Decide whether the IRC or the IBC governs a building, find any topic from the two codes' chapter maps, decode section numbers, and apply the rules on conflicts and appendices.
After this lesson you can
- Apply IRC Section R101.2 and IBC Section 101.2 to decide whether a building may be built under the IRC or must follow the IBC, counting stories above grade plane.
- Name the IRC chapter, or the IBC chapter, that covers a job-site topic from the chapter lists.
- Decode a reference such as R311.7.5.1, P2904 or 1011.5.2 into code, chapter and section.
- Apply Sections R102.1, R102.4 and R102.5 (IBC 102.1, 102.4 and 101.2.1) to decide which of two requirements governs and whether an appendix applies.
- Apply Section R102.7.1 to an addition or alteration to an existing house.
Why the structure matters on an open-book exam
An open-book question is a race to the right page. If you know the IRC keeps stairs in Chapter 3 and the IBC keeps them in Chapter 10, you open the book in the right place. If you don't, you leaf through hundreds of pages.
Many builder exams test both codes, so the first question to ask is which book. This lesson gives you the rule that decides it, then the map of each book.
IRC or IBC: which code covers the building
The IBC covers every building and structure (IBC 101.2). Its exception lets certain residential buildings follow either the IBC or the IRC instead. The IRC's own scope, Section R101.2, describes the same buildings. A building qualifies for the IRC only if it passes every test below.
| Test | What to check | Defined in |
|---|---|---|
| Building type | A detached dwelling with one or two dwelling units, or a townhouse: three or more attached townhouse units, each a single-family unit running from foundation to roof with a yard or public way on at least two sides | R202 Dwelling; Townhouse; Townhouse unit |
| Height | Three stories above grade plane or fewer | R202 Story above grade plane; Grade plane |
| Egress | A separate means of egress (our reading: each unit has its own way out, not a shared exit; IBC 101.2 uses the same words, so the reading is the same in both books) | R101.2 |
| Accessory structures | A structure incidental to the dwelling, on the same lot, also three stories above grade plane or fewer | R202 Accessory structure |
Count stories the code's way. A story above grade plane has its finished floor entirely above grade plane. A story also counts when the finished floor above it sits more than 6 feet above grade plane, or is higher than 12 feet above finished ground at any point (R202). A story that fails all of those is a basement and doesn't count toward the three.
Grade plane is the average finished ground level along the exterior walls; R202 adds a rule for ground that slopes away from the building.
Lookup path
Decide whether the IRC applies
- IRC Chapter 1 Scope and Administration
- R101 Scope and General Requirements
- R101.2 Scope, then its exception
- Chapter 2 Definitions for Dwelling, Townhouse unit and Story above grade plane
Special uses the IRC lets in with sprinklers
R101.2 also has an exception. It brings five uses into the IRC, but only where the building has an automatic sprinkler system meeting Section P2904:
- live/work units in townhouses that meet IBC Section 508.5;
- lodging houses the owner lives in, with up to five guestrooms;
- three kinds of care facility (custodial care, medical care, or other care) for five or fewer persons in a dwelling unit or single-family dwelling.
Worked example
Four projects, one scope test
Given
- A: a duplex, two stories above grade plane over a basement, each unit with its own entrance and stair.
- B: a row of six townhouse units, four stories above grade plane.
- C: an eight-unit apartment building, two stories, all units off one shared corridor and stair.
- D: an owner who lives in her house wants to rent four guestrooms as lodging.
Steps
- A: two dwelling units in one detached building, separate egress, two stories above grade plane. It passes every test, so the IRC may be used. (IRC 2021 Section R101.2)
- B: townhouse units, but four stories above grade plane fails the height test. It goes to the IBC. (IBC 2021 Section 101.2)
- C: eight units is more than a dwelling (one or two units), and units off a shared corridor don't run from foundation to roof, so they aren't townhouse units. It goes to the IBC. (IRC 2021 Section R202, Townhouse Unit)
- D: an owner-occupied lodging house with five or fewer guestrooms. The IRC may be used only if the house gets an automatic sprinkler system meeting P2904. (IRC 2021 Section R101.2)
Answer: A may be built under the IRC. B and C go to the IBC. D may stay under the IRC with a P2904 sprinkler system.
The IRC map
The IRC has 44 chapters in nine parts. Builder exams draw mostly on Part III, Chapters 3 to 10: that is where planning, foundations, framing, coverings and roofs live.
| Part | Chapters | Section prefix | What's in it |
|---|---|---|---|
| I Administrative | 1 | R | Scope, permits, inspections, certificate of occupancy |
| II Definitions | 2 | R | Defined terms |
| III Building Planning and Construction | 3 to 10 | R | 3 planning, 4 foundations, 5 floors, 6 walls, 7 wall covering, 8 roof-ceiling framing, 9 roof assemblies, 10 chimneys and fireplaces |
| IV Energy Conservation | 11 | N | Energy efficiency |
| V Mechanical | 12 to 23 | M | HVAC, exhaust, ducts, boilers, hydronics |
| VI Fuel Gas | 24 | G | Gas piping and appliances |
| VII Plumbing | 25 to 33 | P | Fixtures, water, drainage, vents, traps |
| VIII Electrical | 34 to 43 | E | Services, circuits, wiring, devices |
| IX Referenced Standards | 44 | none | Every standard the code cites |
Chapter 3 is the busiest on most residential exams. Its sections run from R301 Design Criteria through R302 fire-resistant construction, R308 glazing, R310 emergency escape, R311 means of egress and R312 guards to R317 decay protection and beyond.
After Chapter 44 come the appendices. In the 2021 IRC they carry two-letter names, from Appendix AA (gas pipe sizing) to Appendix AX. Examples a builder meets: AF Radon Control Methods, AH Patio Covers, AJ Existing Buildings and Structures, AQ Tiny Houses. An appendix applies only where the adopting ordinance specifically references it (R102.5).
Find it in your book · target 1 min
A homeowner asks what the IRC requires for a gas range's connection. Using only the IRC contents, which part and chapter would you open, and what letter do its sections start with?
The IBC map
The IBC has 35 chapters (Chapter 34 is reserved) and Appendices A to O. Section numbers carry no letter: Section 1011 is in Chapter 10, and Section 2304 is in Chapter 23.
| Group | Chapters |
|---|---|
| Administration and definitions | 1 Scope and Administration, 2 Definitions |
| What the building is and how big it can be | 3 Occupancy, 4 Special requirements by occupancy, 5 Heights and areas, 6 Types of construction |
| Fire and life safety | 7 Fire and smoke protection, 8 Interior finishes, 9 Fire protection systems, 10 Means of egress, 11 Accessibility |
| Interior and envelope | 12 Interior environment, 13 Energy, 14 Exterior walls, 15 Roof assemblies and rooftop structures |
| Structure | 16 Structural design, 17 Special inspections and tests, 18 Soils and foundations |
| Materials | 19 Concrete, 20 Aluminum, 21 Masonry, 22 Steel, 23 Wood, 24 Glass and glazing, 25 Gypsum and plaster, 26 Plastic |
| Building services | 27 Electrical, 28 Mechanical, 29 Plumbing, 30 Elevators |
| Special cases and the jobsite | 31 Special construction, 32 Encroachments into the public right-of-way, 33 Safeguards during construction |
| Standards | 35 Referenced standards |
Many IBC answers depend on two facts you settle first: the occupancy group (A, B, E, F, H, I, M, R, S or U; Section 302.1) and the construction type (Chapter 6). A rule in Chapter 10 often reads differently for Group R-3 than for Group A. Read the occupancy in the stem before you open the book.
Reading a section or table number
Every number tells you where it lives. Read it from left to right: the code (a letter prefix means the IRC), the chapter, the section, then each level of subsection.
| Reference | Code and chapter | What the parts mean |
|---|---|---|
| R311.7.5.1 | IRC, Chapter 3 | R311 Means of Egress → R311.7 Stairways → R311.7.5 Stair treads and risers → R311.7.5.1 Risers |
| Table R602.3(1) | IRC, Chapter 6 | The first table called for by R602.3 (wall framing); (2) would be the second |
| P2904 | IRC, Chapter 29 | Plumbing prefix P; Chapter 29 Water Supply and Distribution; Section P2904 Dwelling Unit Fire Sprinkler Systems |
| N1101.6 | IRC, Chapter 11 | Energy prefix N; the energy chapter's own definitions |
| 1011.5.2 | IBC, Chapter 10 | 1011 Stairways → 1011.5 Stair treads and risers → 1011.5.2 Riser height and tread depth |
Which rule wins, and other Chapter 1 rules exams ask
Section R102 (IBC Section 102) settles conflicts and tells you how far a referenced document reaches. The two codes word these rules almost the same way.
| Situation | Rule | IRC / IBC |
|---|---|---|
| A general requirement and a specific one conflict | The specific requirement applies | R102.1 / 102.1 |
| Different sections set different requirements for the same case | The most restrictive governs | R102.1 / 102.1 |
| A referenced code or standard | Part of the code, but only as far as the reference reaches | R102.4 / 102.4 |
| The code and a referenced standard conflict | The code applies | R102.4.1 / 102.4.1 |
| Enforcing a code rule would violate an appliance or equipment listing | The listing conditions and manufacturer's instructions apply | R102.4 exception |
| An appendix | Applies only where the adopting ordinance specifically references it (IRC) or where it is specifically adopted (IBC) | R102.5 / 101.2.1 |
| Local, state or federal law | The code doesn't cancel it | R102.2 / 102.2 |
For work on existing houses, R102.7.1 adds four points:
- New work meets the rules for new construction, but the existing house need not be brought up to the code unless the code says so. Smoke alarms (R314.2.2) are a common case where it does.
- The work may not leave the house less compliant than it was.
- The house plus its additions must stay within the IRC height limits.
- If an alteration changes the use to one outside the IRC's scope, the International Existing Building Code applies.
Worked example
A bedroom addition and a patio cover
Given
- A one-story 1985 house has an old basement stair with risers taller than today's limit, and smoke alarms only in the hall.
- The owner adds a bedroom wing under a permit, and a patio cover. The jurisdiction's adopting ordinance does not reference Appendix AH Patio Covers.
- Assume no section other than those named below reaches the existing stair.
Steps
- The bedroom wing is new work, so it meets the IRC rules for new construction. (IRC 2021 Section R102.7.1)
- R102.7.1 doesn't make the existing stair comply, and (by our assumption) nothing else does, so it may stay. The addition may not make it, or anything else, less compliant than it was. (IRC 2021 Section R102.7.1)
- The smoke alarm section does say otherwise: an addition that needs a permit means the whole dwelling unit gets smoke alarms located as for a new dwelling. Exterior-surface work (roofing, siding, windows or doors, a porch or deck) and plumbing or mechanical work are excepted; a bedroom wing is not. (IRC 2021 Section R314.2.2)
- The patio cover appendix is not referenced in the adopting ordinance, so its provisions don't apply. The cover is built to the main body of the code. (IRC 2021 Section R102.5)
Answer: Build the wing to current rules, bring the smoke alarms in the whole house up to new-dwelling locations, leave the existing stair alone, and don't rely on Appendix AH for the patio cover.
Drill set: book open
Use the contents and Chapter 1 of each book. Some of these need a section the lesson only named.
Find it in your book · target 2 min
A client asks whether a radon vent pipe is required in a new house. Which part of the IRC holds radon control methods, and when does it apply?
Find it in your book · target 2 min
IBC open. Which section in Chapter 1 says the International Energy Conservation Code governs a building's energy efficiency?
Find it in your book · target 1 min
A crew is building an office. The foreman asks where the IBC covers protecting pedestrians next to the site during construction. Which chapter?
Find it in your book · target 2 min
Find the IRC section that tells you what to do when a building of otherwise conventional construction has a structural element beyond the code's limits.
Key takeaways
- Townhouses and detached one- and two-family dwellings up to three stories above grade plane, each with a separate means of egress, may use the IRC, as may their accessory structures. The R101.2 exception adds a few special uses only with a P2904 sprinkler system; everything else follows the IBC. (IRC 2021 Section R101.2)
- A basement counts as a story above grade plane only if the floor above it sits more than 6 feet above grade plane, or is higher than 12 feet above finished ground at any point. (IRC 2021 Section R202, Story Above Grade Plane)
- IRC building rules are in Chapters 3 to 10 with an R prefix; trade chapters use N, M, G, P and E. IBC numbers carry no letter, and the first digits are the chapter. (IRC 2021 Chapter 3)
- Specific beats general, and between sections the most restrictive governs; between the code and a referenced standard, the code applies. (IRC 2021 Section R102.4.1)
- Appendices apply only where adopted. Existing houses need not be upgraded by new work unless the code says so, but may not be made less compliant. (IRC 2021 Section R102.7.1)
Check yourself
Check 1
A builder plans a detached building with two dwelling units, one above the other. It is three stories above grade plane, and each unit has its own stair and exterior door. Which code may it be built under?
Check 2
An owner who lives in her single-family house wants to rent out six guestrooms as lodging. May the house stay under the IRC?
Check 3
A townhouse unit has three floors over a basement. The finished floor above the basement is 4 feet above grade plane and no more than 9 feet above finished ground at any point. Each unit has a separate means of egress. How many stories above grade plane does it have, and may it follow the IRC?
Check 4
On a commercial exam, a question asks about nailing wood structural panel sheathing on a two-story office. Using the IBC contents, which chapter do you open?
Check 5
On a house job, an IRC section and a standard it references give different requirements for the same item. No appliance or equipment listing is involved. Which governs?
Check 6
You are adding a permitted family room to a 1970s house. The existing bedrooms have no smoke alarms, and your work doesn't touch them. Which statement is correct?
Check 7
A plan reviewer cites IRC Appendix AQ Tiny Houses on your job. When does an IRC appendix apply?
Checked against the 2021 IRC and IBC text on 2026-11-25.