How Building Codes Work: History, Model Codes and Local Adoption
A building code is a set of minimum requirements for how buildings are designed and built, written into law so that every building meets a baseline of safety. Codes are not design guides and not a measure of quality: they set the floor, not the ceiling. Knowing how they are written and adopted explains why the rule that applies to your project is always the local one, and why two neighboring towns can differ.
What codes are for
Most code requirements trace back to a handful of goals:
- Structural safety: buildings must carry their own weight, people and contents, and the local wind, snow and earthquake loads.
- Fire safety: limiting how fire starts and spreads, separating buildings and dwelling units, and giving firefighters access.
- Means of egress: safe ways out in an emergency, including stairs, exits, doors and emergency escape openings from bedrooms.
- Health and sanitation: plumbing, ventilation, light, moisture control and safe combustion appliances.
- Accessibility for people with disabilities, in the building types the law covers.
- Energy efficiency: insulation, windows, air leakage and equipment.
Many code changes follow disasters and investigations: fires, collapses and storms reveal weaknesses, and later editions respond.
A short history
One of the oldest known building rules appears in the laws of the Babylonian king Hammurabi, from the 18th century BC: if a builder's poorly built house collapsed and killed the owner, the builder could be put to death. That law punished failure after the fact rather than describing how to build.
Prescriptive rules grew from urban fires. After the Great Fire of London in 1666, the Rebuilding Act passed in 1667 required new buildings in the City to have outer walls of brick or stone, regulated wall thicknesses and building heights, and banned overhanging upper stories. Cities in Europe and North America adopted similar fire rules over the following centuries, often after their own fires.
In the US, codes were long written city by city. In the 20th century, organizations of building officials began publishing model codes that cities could adopt instead of writing their own. The Uniform Building Code, first published in 1927 and used mainly in the West, was one; others were used in the Northeast, Midwest and South. In 1994 the three regional groups founded the International Code Council (ICC), which published the first edition of the International Building Code in 2000. The ICC has released new editions on a three-year cycle since then.
The model codes
In the US, the ICC's family of model codes, the I-Codes, is the basis for most state and local building codes. The ones homeowners and designers meet most often:
| Model code | What it covers |
|---|---|
| International Residential Code (IRC) | Detached one- and two-family homes and townhouses not more than three stories above grade plane, with their accessory structures |
| International Building Code (IBC) | Nearly all other buildings: commercial, multifamily, institutional and larger residential |
| International Energy Conservation Code (IECC) | Energy efficiency of the envelope and systems |
| International Existing Building Code (IEBC) | Repairs, alterations, additions and changes of use in existing buildings |
| International Fire, Plumbing, Mechanical and Fuel Gas Codes | Their named systems and hazards |
Electrical work in the US is usually governed by the National Electrical Code (NFPA 70), published by the National Fire Protection Association. Codes also point to referenced standards (for loads, materials, testing and installation), which become part of the requirements.
Model codes are written through a public process: proposals are submitted, debated at hearings and voted on, with building officials playing a central role in the final votes on ICC codes. That process is why each edition differs from the last.
How a model code becomes law
A model code has no legal force until a government adopts it. Each state, county or city:
- Chooses an edition, which may be one or two cycles behind the newest.
- Amends it, adding, deleting or changing provisions to suit local conditions, such as wind, snow, frost depth, earthquakes or wildfire.
- Adopts it by statute or ordinance. Some states adopt a statewide code that local governments must use; in others, cities and counties choose for themselves.
So "the code" for your project means a specific edition, as amended by your state and city. The building department can tell you which edition and amendments apply, and the ICC's website (iccsafe.org) explains the model codes and how they are developed.
How codes are enforced
- Permits are required for most construction, alteration and system work. The application includes drawings and documents showing what will be built (see building permits explained).
- Plan review: the building department checks the drawings against the adopted code and returns comments to fix.
- Inspections at set stages confirm the work matches the approved drawings.
- Certificate of occupancy or final approval allows the building to be used.
The building official interprets the code and decides whether a design complies. Codes generally allow alternative materials, designs and methods if the official accepts that they provide equivalent safety, and there is usually an appeals board for disputes.
Prescriptive and performance paths
Many requirements can be met two ways. A prescriptive path spells out what to do: for example, a table of insulation levels or the size of a beam for a given span. A performance path sets a goal and lets an engineer or architect show by calculation or modeling that the design meets it. Prescriptive paths are simpler; performance paths allow more freedom and usually need a licensed professional.
Existing buildings
A building that met the code when it was built is generally not required to be upgraded to each new edition. Upgrades are typically triggered when you alter, add to or repair it substantially, change its use, or when a condition is judged unsafe. How much of the building must be brought up to current requirements depends on the scope of work and the local rules for existing buildings. This is one reason older buildings can contain features that would not be allowed today.
What codes are not
- Not zoning. Zoning controls land use, building size, height and setbacks; it is a separate approval.
- Not historic district or homeowner association rules, which are separate again.
- Not a guarantee of quality. A code-minimum building is legal, not necessarily durable, efficient or comfortable.
Engineers and architects design to these rules every day; see what architectural engineering is and when plans need a stamp. Readers outside the US should look to their own national or regional codes, which work on different systems.
This article explains how building codes generally work and is not legal or professional advice. Which code applies to a specific project, and whether a design complies, is decided by the local building department on plan review and inspection, working with your licensed architect or engineer.