What Are Building Codes?
Building codes are the minimum rules for safe, healthy construction. They exist to protect people — from fire, collapse, electrical shock, bad sanitation, and more.
The common codes
Most are model codes written by the International Code Council (ICC) and adopted (often with local amendments) by states and cities:
- IBC — International Building Code (commercial).
- IRC — International Residential Code (homes).
- NEC — National Electrical Code.
- IPC / UPC — plumbing codes.
- IMC / UMC — mechanical (HVAC) codes.
Editions matter
Codes update on a cycle (often every 3 years), and different jurisdictions adopt different editions — always build to the edition your jurisdiction has adopted.
Going Deeper (Intermediate)
Building codes are the minimum safety standards for construction — structural, fire, egress, plumbing, electrical, and energy. Most of the U.S. uses the ICC family of model codes (IBC commercial, IRC residential, plus NEC, IPC, IMC, IECC), adopted and amended by states and localities.
Advanced / Pro-Level
Using codes correctly:
- The I-Codes (IBC/IRC/IFC/IPC/IMC/IECC) and the NEC (NFPA 70) are models — you must follow the specific edition adopted locally, plus local amendments (they vary town to town).
- Codes set occupancy classification, construction type, fire ratings, egress, and structural loads, and reference standards (ASTM/ANSI).
- Codes are minimums — you may exceed them.
- Alternative means and methods can be approved by the AHJ when you can show equivalency. Once adopted, code is law.
Practice Challenge
Your last project in City A passed easily; City B rejects the same detail. How is that possible if both "use the IRC"? (Answer: jurisdictions adopt different editions and add local amendments — City B may use a newer edition or have a stricter local amendment; you must always build to the locally adopted edition + amendments, not "the IRC" in general.)
In Practice
Your town adopted the 2018 IRC; the next county over uses the 2021 with local amendments. Build a deck to the wrong edition and it can fail inspection — always confirm the adopted code.
Common Mistakes to Avoid
- Assuming all jurisdictions use the same code edition
- Ignoring local amendments
- Relying on a code you memorized years ago
Takeaway: Building codes are the minimum safety rules — know which model codes (IBC, IRC, NEC, etc.) and which edition your jurisdiction has adopted.
Educational overview — codes, permit rules, and business/licensing requirements vary by jurisdiction and change. Confirm with your local building department, attorney, CPA, and licensing board.