Reading Which Code Book Governs This Job

Why this matters

Most residential work lands under the residential code without anyone thinking about it, and that habit is exactly what fails on the edge cases. Three units under one roof, an apartment over a shop, a garage turned into a rental, a house in a state that writes its own plumbing code: each one can move the job into a different book with different fire separations, different penetration rules and different inspectors. The tech who assumes the residential code firestops a pipe through a rated floor with the wrong method, and the inspector who knows better fails it. Picking the book is the first code decision on any job, and it takes a few minutes if you know which facts decide it.

This card owns choosing the book. The order of authority between codes, standards and local amendments is covered in Building Codes Hierarchy Reference, and is not repeated here.

The facts that decide the book

Four facts settle almost every case. Get them before reading any code section.

  1. How many dwelling units, and how are they arranged? Side by side, each from foundation to roof, or stacked one over another.
  2. What else is in the building? Any non-residential use: a shop, an office open to the public, a daycare, lodging.
  3. How tall is it, counted in stories above grade plane? Grade plane is the reference elevation the codes measure from, roughly the average finished ground level at the exterior walls.
  4. Was it built under the federal manufactured-housing code? Look for the HUD certification label and data plate.

Then check one more fact that overrides all four: which codes the jurisdiction has actually adopted, and with what substitutions.

The IRC's reach, and where it stops

The International Residential Code, as adopted, covers detached one- and two-family dwellings and townhouses not more than three stories above grade plane, each with a separate means of egress, plus their accessory structures (IRC R101.2, 2021 edition). Everything else that is a building falls to the International Building Code, which organizes buildings by occupancy group: apartments and other multi-unit residences are Group R-2, and a shop or office has its own group.

The definitions do the real work, so read them carefully.

  • Two-family dwelling is two units. A duplex is IRC whether the units sit side by side or one over the other, with the units separated by fire-resistance-rated wall or floor assemblies (IRC R302.3 in the 2021 edition, with a reduced rating where the building is sprinklered).
  • Townhouse is three or more attached units, each extending from foundation to roof, with open space on at least two sides (IRC definitions, 2021 edition). Townhouse units get their own separation rules (IRC R302.2).
  • Three or more units stacked, even three small units in what looks like a big house, are not a townhouse and not a two-family dwelling. That building is IBC, typically Group R-2.
SAME THREE UNITS, TWO BUILDINGS, TWO BOOKS

  TOWNHOUSE (IRC)          STACKED (IBC, R-2)
  +------+------+------+   +-------------------+
  |      |      |      |   |      UNIT 3       |
  |  U1  |  U2  |  U3  |   +-------------------+
  |      |      |      |   |      UNIT 2       |
  |      |      |      |   +-------------------+
  |      |      |      |   |      UNIT 1       |
  +------+------+------+   +-------------------+
  each unit: foundation    rated floors between
  to roof, own egress      units; rated shafts
  rated walls between      for vertical runs

The 2021 IRC also pulls in a few things that look like other occupancies: an owner-occupied lodging house with five or fewer guestrooms, and certain live/work units that meet the IBC's live/work conditions. Those exceptions have conditions attached; read them in your adopted edition before relying on one.

Mixed use: the apartment over the shop

A building with any non-residential occupancy plus dwelling units is a mixed-occupancy building under the IBC (Section 508 in recent editions governs how the occupancies relate), unless it fits the live/work exception above. A house where the owner works from a home office is still a house; the test is whether the non-residential space is a separate use, commonly one open to the public or with employees, and the building department makes the call.

The practical consequences for a trade: separations between occupancies may need rated assemblies, penetrations through them need tested firestop systems, and the building may be on a commercial inspection track with commercial plan review even for a small job.

Accessory dwelling units

An ADU (a second, smaller dwelling on the same lot as a house) is where adopted codes and state law diverge most. Three common arrangements:

  • Detached ADU. Usually its own one-family dwelling under the IRC, or an accessory structure converted to one.
  • ADU inside or attached to the house. Under the model IRC, two units in one building is a two-family dwelling, which brings the R302.3 separation. Many jurisdictions have adopted amendments or local rules that relax this for ADUs.
  • State overrides. Some states have legislated ADU requirements directly. California's ADU statutes in the Government Code (renumbered in 2024) limit what a local agency can require, including providing that an ADU need not have fire sprinklers if the primary residence is not required to have them. Oregon and Washington have also legislated on ADUs. Check your state before assuming the model code governs.

On an ADU job, ask the building department how the ADU is classified on the permit. The permit classification, not your read of the floor plan, decides what the inspector will enforce.

Regional and state codes that replace a chapter

The IRC contains plumbing, mechanical, fuel gas and electrical chapters, and plenty of jurisdictions do not use them.

  • Plumbing. California's plumbing code is based on the Uniform Plumbing Code, and several other western states, Washington and Oregon among them, base theirs on it too. Where that is so, the IRC plumbing chapters are not the book even for a single-family house.
  • Mechanical. California's mechanical code is based on the Uniform Mechanical Code. Other states use the IMC or the IRC mechanical chapters.
  • Fuel gas. Some states adopt NFPA 54 or their own gas code instead of the IFGC or the IRC fuel gas chapter.
  • Electrical. Most states adopt the NEC directly, and many jurisdictions that adopt the IRC delete its electrical chapters in favor of the NEC.
  • State-written residential codes. Several states publish their own residential code derived from the IRC, with their own numbering. Cite the state's section, not the IRC's.

Manufactured homes

A manufactured home built under the federal Manufactured Home Construction and Safety Standards (24 CFR Part 3280) is governed for its construction by that federal code, which preempts state and local building codes for the home as built. Installation is governed by the federal installation standards or an approved state program (24 CFR Part 3285 and Part 3286). Alterations and repairs after installation are commonly regulated by the state agency that administers the program, and equipment replaced in the home has to be listed or approved for manufactured-home use. See related: Equipment Listed for Manufactured Homes. A modular home, by contrast, is built to the state or local code and is treated like a site-built house.

Worked example: "basically a big house"

A plumbing shop gets a call: replace a water heater, add a bath exhaust fan, and run a new gas line in a building the owner calls "my triplex, basically a big house." Here is the classification and what follows from it.

The facts. Three units. Unit 1 is the ground floor, Units 2 and 3 share the second floor, each with its own entry door off an exterior stair. Two stories above grade plane. No other use. Built on site in the 1950s. The jurisdiction has adopted the IRC and IBC with the IPC and IMC for buildings under the IBC.

The book. Three units with one over another: not a two-family dwelling (that is two units), not a townhouse (the units do not each run foundation to roof). IBC, Group R-2. The plumbing and mechanical work go under the IPC and IMC, not the IRC's plumbing and mechanical chapters.

What that changes on this job.

  • The water heater is in a basement utility room serving all three units. Under the IBC that room may be required to be separated, and the new gas line rises through the floor assembly separating Unit 1 from Units 2 and 3. That floor is a rated assembly between dwelling units, so the penetration has to be sealed with a tested, listed firestop system matched to the pipe material, the pipe size and the floor construction (IBC Section 714 in the 2021 edition), installed per that system's listing. Expanding foam from the truck is not a firestop system.
  • The bath fan duct for Unit 2 runs to an exterior wall through framing that may be part of the rated floor-ceiling assembly. Before cutting, the tech establishes whether the ceiling membrane is part of a rated assembly, because a duct penetration in a rated membrane may need a listed fire damper or a tested system (IBC Section 717 in the 2021 edition).
  • The permit is on the commercial track. Plan review may ask for the firestop system's listing document before rough-in.

Labor, illustrative. The shop had quoted 8 hours as a house job. The firestop system for the gas penetration, the membrane check and the extra plan-review paperwork add about 3 hours, so 11 hours, which is 3 over 8, 37.5 percent more labor. Classifying first is what put those hours in the quote instead of in a dispute.

What changes the answer. If the building had two units, one over the other, it would be an IRC two-family dwelling, and the floor would still be a rated separation under R302.3 with penetrations protected per R302.4. If the jurisdiction's amendments placed small multi-unit buildings under a state residential code, its rules would govern. If the owner had converted the basement to a fourth unit without a permit, the classification question becomes a change-of-use question for the building department, and it should go there before any work starts (see related: Existing Buildings: Repair, Alteration and Change of Use).

How to verify you got this right

  • You can state the unit count and arrangement, the stories above grade plane, any non-residential use and whether the home carries a HUD label, before naming a book.
  • The book you named matches the occupancy on the permit, and you have asked the department when they could plausibly differ.
  • Where the jurisdiction substitutes a regional or state code for a chapter, the citations on your paperwork are from that code.
  • Every penetration of a rated assembly on the job has a named, listed system, not a generic sealant.

Where the classification itself is disputed, or the building has an unpermitted unit, the call belongs to the building official, and a design professional should be involved before work starts.

References

  • International Code Council, International Residential Code (2021 edition), R101.2, R302.2, R302.3, R302.4 and definitions, as adopted
  • International Code Council, International Building Code (2021 edition), Section 508, Section 714, Section 717, as adopted
  • HUD, 24 CFR Parts 3280, 3285 and 3286, manufactured housing construction, installation and installation programs
  • See related: Building Codes Hierarchy Reference; Equipment Listed for Manufactured Homes
  • See related: Existing Buildings: Repair, Alteration and Change of Use; The Edition on the Permit, Not the Newest Edition