Generally no: the International Residential Code (IRC) is written for detached one- and two-family dwellings and townhouses of limited height and area, so a commercial building would ordinarily fall under the International Building Code (IBC) or a locally adopted commercial code instead—unless a specific adopted local rule or a narrow IRC provision brings a particular use, structure, or building element within the residential code's scope. The short answer therefore turns on three things the query does not supply: the building's occupancy and size, the structure type (including whether a dwelling unit is involved), and the edition and local amendments of the code the authority having jurisdiction (AHJ) actually enforces.
What the IRC Is Actually For
The IRC is a model code published by the International Code Council (ICC). Its stated scope, in general terms, covers the construction, alteration, movement, enlargement, replacement, repair, equipment, use and occupancy, location, maintenance, removal, and demolition of detached one- and two-family dwellings and townhouses not more than three stories above grade plane in height, with a separate means of egress, and their accessory structures. That scope sentence matters more than any single chapter, because it defines who may use the code at all. A building that does not fit the description is not "using the IRC" in any defensible compliance sense; it is being regulated by something else.
The IBC, by contrast, is organized around occupancy classifications—assembly, business, educational, factory, high-hazard, institutional, mercantile, residential, storage, and utility—and applies to essentially all buildings and structures except those expressly within the IRC's scope. Commercial buildings are typically "business" (Group B), "mercantile" (Group M), "assembly" (Group A), "storage" (Group S), or "factory" (Group F) occupancies under the IBC. The two codes overlap only at the boundary, and the boundary is drawn by scope and by the local adoption ordinance, not by what a designer finds convenient.
A common source of confusion is that the IRC does contain non-dwelling provisions—chapters addressing, for example, electrical, mechanical, plumbing, fuel gas, and energy—and that many jurisdictions adopt the International Residential Code with the International Building Code in a single package. That packaging does not make the IRC a commercial code. It means the jurisdiction has adopted both, each governing its own scope.
Where the Boundary Gets Blurry
Mixed-use buildings with dwellings
A very frequent real-world case is a building with a dwelling unit above or behind a small commercial space—an apartment over a shop, a live/work unit, a caretaker's unit. Here the answer is not "the whole building is IRC" or "the whole building is IBC." The usual approach under the IBC is to classify the building by occupancy, treat the dwelling portion as Group R (residential), and apply the IBC's provisions for separated or nonseparated occupancies, fire-resistance, and means of egress. In some jurisdictions and configurations, the IRC may govern the dwelling unit itself while the IBC governs the commercial portion, but this depends entirely on the local adoption language and the AHJ's interpretation. There is no universal national rule that a small commercial tenant automatically pulls a building out of the IRC, nor one that a single apartment keeps a commercial building inside it.
Accessory structures and home occupations
The IRC's accessory-structure provisions cover things like private garages, carports, sheds, and certain retaining walls associated with a dwelling. A detached garage or workshop on a residential lot is ordinary IRC territory. A "home occupation"—a small business run from a dwelling—is generally still a dwelling under the IRC, subject to zoning limits, because the structure remains a one- or two-family dwelling. But once the structure is purpose-built for commercial occupancy, or the use changes the occupancy classification, the analysis shifts to the IBC. A retail store, a restaurant, a medical office, or a warehouse is not made residential by being small.
Townhouses and the "three-story" limit
Townhouses are expressly within the IRC's scope only when they meet the code's definition (single-family dwelling units separated by fire-resistance-rated walls, each with a separate means of egress) and the height limit of not more than three stories above grade plane. A four-story townhouse, or a townhouse-style building with a commercial ground floor, generally moves to the IBC. This is a scope question, not a preference.
Repairs, alterations, and change of use
Even in a building originally built under the IRC, a change of use to a commercial occupancy usually triggers a re-evaluation under the applicable building code and the local "change of occupancy" provisions. The IRC itself contains provisions for existing buildings and for alterations, but those provisions presuppose the building is within the IRC's scope in the first place. A designer cannot keep a building on the IRC after converting it to a commercial use simply because it was originally residential.
The Part That Is Genuinely Local
The IRC is a model code; it has no legal force until a jurisdiction adopts it, and adoption is where much of the real answer lives. Jurisdictions differ in:
Which edition is adopted. The ICC issues new editions on a roughly three-year cycle, and a jurisdiction may enforce an older edition for years. The edition determines which scope language and which provisions apply. Which chapters are adopted. Some jurisdictions adopt the IRC with amendments, deletions, or local insertions. A local amendment can expand or contract what the IRC covers, including special provisions for small commercial buildings in certain contexts. Whether a "residential" code is permitted for certain small commercial occupancies. A minority of jurisdictions have, through local ordinance or state code, allowed limited commercial or mixed uses to be designed under residential provisions in narrow circumstances. These are exceptions, and they must be verified locally rather than assumed. Who interprets scope. The AHJ—typically the local building official—makes the scope determination for a given project. A code consultant's opinion does not override the building official.
Because the query gives no jurisdiction, edition, occupancy, size, or construction type, the only reliable general statement is the one at the top: commercial buildings are ordinarily IBC territory, and the IRC applies to the residential scope it defines plus whatever local adoption adds.
Why People Ask This Question
The question usually arises from practical motives rather than curiosity. The IRC is often perceived as simpler, shorter, and less costly to comply with than the IBC, especially for small projects. A small office, a shop, or a mixed-use building might seem to fit residential provisions comfortably. There is also a real tradition of small commercial buildings being built to residential-like standards in rural or low-regulation areas, and some jurisdictions have historically been lenient. But leniency in enforcement is not the same as code authorization, and a project that relies on it can face problems at resale, refinancing, insurance underwriting, or later inspection.
A second motive is confusion between the IRC and the IECC (International Energy Conservation Code) or between the IRC and the various international codes as a family. The ICC publishes a family of codes—IBC, IRC, IFC (fire), IPC (plumbing), IMC (mechanical), IECC (energy), and others—and jurisdictions often adopt several. Adopting the IRC does not mean the IBC does not apply; it means both may apply to different structures.
A third motive is the "tiny commercial building" case: a small stand-alone structure used for retail or services. Size alone does not determine scope. The IRC's scope is defined by dwelling type and height, not by square footage. A 400-square-foot retail kiosk is still a commercial occupancy and is not within the IRC's dwelling-based scope, though it may be regulated under the IBC or under local provisions for minor structures.
What a Designer or Owner Should Actually Do
The practical sequence is straightforward, even if the answer is local:
1: Identify the occupancy classification the building will have under the adopted code. This is usually a Group B, M, A, S, or F under the IBC, or Group R if residential. 2: Confirm the adopted code and edition with the AHJ. Ask specifically whether the IRC, the IBC, or both are adopted, and whether any local amendments affect small commercial or mixed-use buildings. 3: Check the scope language of the adopted IRC edition against the building's height, dwelling type, and use. If the building is not a detached one- or two-family dwelling or a qualifying townhouse within the height limit, the IRC's scope does not reach it. 4: For mixed-use buildings, ask the AHJ how the dwelling portion is to be regulated—under the IBC's Group R provisions, under the IRC, or under a local hybrid approach. 5: For existing buildings changing to commercial use, confirm the change-of-occupancy requirements under the adopted code before assuming the original residential approvals carry over.
The IRC is not a "lite" version of the IBC that can be substituted at will. It is a distinct code with a defined scope. Where a project falls outside that scope, the IBC or the locally adopted commercial code governs, and the IRC's provisions are not a lawful substitute merely because they are shorter or less demanding.
A Note on the "Commercial Building" Ambiguity
"Commercial building" is not a term of art in the model codes. The IBC uses occupancy groups, and "commercial" is a colloquial umbrella covering several of them. A building could be commercial in the everyday sense—a bank branch, a dental office, a small warehouse—while falling into different IBC occupancy groups with different requirements. The question "can a commercial building use the IRC?" therefore cannot be answered by the label "commercial" alone. The controlling facts are the occupancy group, the building height and area, the construction type, and whether any dwelling units are present. Those facts determine which code applies, and the local adoption determines which edition of that code is enforced.
For ordinary projects, the safe default is: residential scope goes to the IRC; commercial and mixed-use scope goes to the IBC, with the AHJ resolving the edges. Anyone planning a specific project should confirm the adopted code, edition, and local amendments with the building department before design, because the general principle above is stable but the local application is not.