The short answer
Your new house was built to the edition of the International Residential Code (IRC) that your city or county had adopted on the day the permit was issued, as modified by that jurisdiction's local amendments. The certificate of occupancy states the code edition under which the permit was issued, and the city's adoption ordinance states the amendments. Two houses finished the same month in neighboring cities can follow different editions with different rules.
How the code reaches a house
The International Code Council publishes the IRC every three years: 2015, 2018, 2021, 2024. It is a model code with no legal force until a state or local government adopts it. In Texas, cities adopt a residential code by ordinance; outside cities, a separate statute sets a baseline for some counties (see new construction outside city limits). A city may adopt a new edition promptly, years late, or skip one.
When a city adopts an edition, it usually amends it. Amendments delete requirements the city does not want, tighten others, renumber sections, or add rules of local concern such as termite protection affidavits or form board surveys. North Texas cities often coordinate amendments through regional councils of government, but each city adopts on its own schedule.
Why the edition matters to a buyer
Editions differ in ways that affect real houses. Three examples from this site:
- Plumbing tests. The 2015 IRC reduced the drain-line water test from a 10-foot head to 5 feet, and the 2021 edition raised it back to 10 feet. See under-slab plumbing.
- Air tightness. The 2012, 2015 and 2018 energy codes capped tested leakage at 5 ACH50 in the warmest climate zones and 3 ACH50 elsewhere; the 2021 edition added a 5.0 ACH50 ceiling under every compliance path. See energy code testing.
- Ventilation. The 2021 IRC broadened the requirement for whole-house mechanical ventilation in tight houses. See HVAC rough-in.
None of these makes an older-edition house defective. Code compliance is judged against the edition that applied when the permit was issued. But the edition explains why one new house has a tested energy certificate and mechanical ventilation and another does not.
Section numbers move
Because each edition reorganizes some chapters, the same rule can carry different numbers. The brick weep hole requirement, for instance, has been numbered R703.7.6 in older editions and R703.8.6 in newer ones; the inspection list in Section R109 has also been renumbered in some local adoptions. When a document cites a section, check which edition it means.
How to find what applied to your house
Start with the certificate of occupancy, which under Section R110.3 states the code edition under which the permit was issued. Then find the city's code adoption ordinance, usually published in its code of ordinances, for the amendments. The permit itself and the approved plans may also note the edition. The International Code Council publishes free read-only access to its model codes, which lets you read the unamended text of the edition that applied.
Common misunderstandings
The most common is assuming "code" means the newest edition. The second is reading a national article about a code requirement and assuming it applied in your city. The third is treating a code requirement as the standard of good practice. Many industry bodies recommend more than the code: the Brick Industry Association, for example, prefers weep holes every 24 inches against the code maximum of 33, as described at brick veneer.
Where the rules come from
The International Code Council explains the 2021 change to drain testing, and its 2021 significant changes to R303 show the ventilation change. Read the model codes at the ICC's public access library.