What Is a Building Code? | BuildPermitGuide Glossary

Building codes are the minimum construction standards that permitted work must meet. Most U.S. jurisdictions base their codes on the International Building Code or International Residential Code.

Updated April 2026 Glossary Term

Building Code: A set of regulations specifying the minimum standards for the design, construction, alteration, and maintenance of buildings, established to protect public health, safety, and welfare, and enforced through the building permit and inspection process.

How Building Codes Work in the U.S.

The U.S. has no single national building code. Instead, the International Code Council (ICC) publishes model codes — including the International Building Code (IBC) for commercial buildings and the International Residential Code (IRC) for one- and two-family dwellings — that states and localities adopt, often with local amendments. Most U.S. jurisdictions have adopted some version of the IBC and IRC, but adoption dates and amendments vary widely.

Key Model Codes

International Residential Code (IRC): Covers residential construction for one- and two-family homes and townhouses up to three stories.

International Building Code (IBC): Covers commercial, multi-family, and other non-residential construction.

National Electrical Code (NEC): Adopted by virtually all jurisdictions for electrical work.

International Plumbing Code (IPC) / Uniform Plumbing Code (UPC): Two competing plumbing codes adopted in different regions.

International Mechanical Code (IMC) / Uniform Mechanical Code (UMC): Similar split for mechanical codes.

Local Amendments

States and cities routinely amend the model codes to reflect local conditions. California's building code is one of the most extensively amended in the country — the California Building Standards Code (Title 24) adds California-specific requirements for energy efficiency, seismic design, fire safety, and more. When working in any jurisdiction, it's important to know not just which model code version was adopted but also what local amendments apply.

How Codes Affect Permits

When you apply for a building permit, your plans are reviewed for compliance with the current adopted building codes. For renovation projects, the code version that applies may be the version in effect when the permit is issued, which could be more stringent than the version that was current when your home was built. This is why renovation permits sometimes trigger code upgrade requirements for smoke detectors, egress, or electrical that weren't in the original construction.

Frequently Asked Questions

Building codes vary by state and sometimes by city. Most states have adopted the IBC and IRC (often a few years behind the current edition), with state-specific amendments. Your building department's website should list the currently adopted codes. You can also call and ask which code edition is currently enforced.
Existing construction that was built to the code in effect at the time of construction is generally considered legally nonconforming — it doesn't have to be brought up to current code unless you're doing permitted work that triggers upgrades. Specific code sections (smoke detectors, GFCI requirements) may apply to existing homes regardless of when they were built.
Building codes set standards for how construction must be done — structural, electrical, plumbing, and fire safety standards. Zoning regulates what can be built where — land use, setbacks, building height and density. Both must be satisfied, and they're enforced by different departments in most cities.
Stay up to date
Get notified when we add new cities or update permit fees.