Zoning vs building codes
- Updated
- Written by
- Alexander J. Hale
- Reading time
- 10 min
- Sheet
- 12 of 44
Zoning is the local law that decides what may go on a particular piece of land, including which uses are allowed, how tall and bulky a building may be, its distance from each property line and the parking it must provide. A building code sets the minimum standards for building whatever zoning allows so that the people inside are safe, from the structure and fire protection to exits, accessibility and energy use. Each city or county writes and enforces its own zoning, while building codes usually start from the model International Building Code (IBC) and are enforced by a building department, and a project needs approval under both.
Zoning ordinance vs building code at a glance
| Topic | Zoning ordinance | Building code |
|---|---|---|
| The question it answers | What may go on this lot, and how big | How the building must be built to be safe |
| Who writes it | Each city or county, under powers its state grants | Usually the International Code Council, whose model codes a state or city adopts, often with amendments |
| What it controls | Use, height, setbacks, density or floor area ratio, parking, and in some places design | Structure, fire resistance, exits, accessibility, energy, and plumbing, mechanical and electrical work |
| Who enforces it | A zoning administrator or planning department | The building official and the building department |
| When it is checked | Early in design, at land use or site plan review, and in many cities again with the building permit | Plan review for the building permit, then inspections and the certificate of occupancy |
| How to get an exception | A variance, special use permit or rezoning, usually after a public hearing | A modification or approved alternative from the building official, or a state’s own appeal route |
What zoning controls
A zoning ordinance divides a city or county into zoning districts, drawn on a zoning map, and sets rules for each. The power comes from state enabling laws, many modeled on the Standard State Zoning Enabling Act that the US Department of Commerce published in the 1920s, and each local government writes its own ordinance under them, so the rules below change from place to place. A buyer reads the city’s code and map for the lot during site due diligence.
Use comes first. Each district lists the activities it allows, such as apartments, shops, offices or warehouses, and some uses need a special use permit, also called a conditional use permit, granted case by case after a hearing. Height limits cap a building in feet, stories or both. Setbacks, also called yards, set how far a building must stay from the front, side and rear property lines.
Density limits how much building a lot can hold. Some codes count dwelling units per acre. Others use floor area ratio (FAR), the building’s total floor area divided by the lot’s area. An FAR of 3 on a 20,000-square-foot lot allows 60,000 square feet of floor area, which could be three stories covering the whole lot or six stories covering half of it, if the height limit allows six. What counts as floor area is local too. In its single-dwelling zones, Portland, Oregon, leaves basements that sit at least half below grade out of the count.
Many codes set parking as a minimum number of spaces per apartment or per thousand square feet, and a state can override them. California’s AB 2097, a 2022 law, bars local governments there from imposing parking minimums on most projects within half a mile of a major transit stop, with exceptions that include hotels and event centers.
Many cities add design review in some districts, in which staff or a board judges a building’s appearance and how it meets the street. Portland offers two tracks, a discretionary one judged against design guidelines, sometimes at a hearing before the city’s Design Commission, and an objective one whose clear standards are checked with the building permit, with no public comment.
Houston has no zoning at all. The city says its codes don’t address land use, although its development rules still cover subdivision, parking, setbacks and access, and private deed restrictions recorded for some subdivisions, which the city helps enforce, limit what can be built there.
What building codes control
Most US building codes begin as model codes from the International Code Council (ICC), which says its IBC is in use or adopted in all 50 states and the District of Columbia, and a model code binds no one until a state or city adopts it. The construction process page follows a permit from application to certificate of occupancy. Within the IBC, a building’s occupancy group and construction type set its height and area limits and most of its fire ratings, a sorting the page on occupancy groups and construction types explains.
Section 102.2 of the IBC says the code nullifies no local, state or federal law, and Section 105.4 says issuing a permit doesn’t approve a breach of the code or of any other local ordinance. A building permit issued over a zoning problem leaves the zoning problem in place.
Where zoning and building codes overlap
Height
Both rulebooks cap height, and each measures it its own way. The IBC measures building height from the grade plane, the average finished ground level around the building, to the average height of the highest roof surface. Portland’s rules for its single-dwelling zones usually measure from the lowest ground surface around the walls, and on a flat roof with a parapet, to the top of the parapet. On a sloping lot, the same building comes out taller under that zoning definition than under the code’s, so an architect checks the design against each limit by its own rule.
Setbacks and fire separation distance
A zoning setback says how far from a property line a building may stand. The building code’s fire separation distance is measured at right angles from the face of the wall to the nearest interior lot line, the centerline of a street, or an imaginary line between two buildings on one lot, and it decides how fire-resistant the wall must be and how much of it can be openings. Under Table 705.8 of the 2021 IBC, a wall less than 3 feet from the line can have no openings at all. A wall 3 to 5 feet away can open up to 15 percent of its area if the building is sprinklered or the openings are protected, and at 30 feet or more there’s no limit.
A building that zoning lets sit right on a side lot line therefore gets a wall with no openings, and within 5 feet of the line Table 705.5 rates it by occupancy, at 1 hour for most uses, apartments and offices among them, 2 hours for shops and moderate-hazard factories and storage, and 3 hours for high-hazard uses. A load-bearing wall must also meet its construction type’s rating, and between 5 and 30 feet the construction type changes the required rating too.
Variances, rezoning and other zoning approvals
A project that complies with the zoning exactly as written is by right, and staff approve it against objective standards. Anything more takes a discretionary decision, with names and procedures that vary by state, as this summary of North Carolina’s decision types from the University of North Carolina School of Government shows.
| Path | What it does | Who decides in North Carolina | Hearing and notice |
|---|---|---|---|
| By-right zoning permit | Confirms the project meets the ordinance as written | Usually staff | None required |
| Variance | Lets one property depart from a rule in the ordinance, such as a setback | An assigned board, often the board of adjustment | Evidentiary hearing with sworn testimony, with notice mailed to neighbors and posted on the site |
| Special use permit | Approves a use the district allows only case by case | An assigned board, such as the board of adjustment, planning board or governing board | The same kind of evidentiary hearing |
| Rezoning | Rewrites the rules that apply to the parcel | The governing board, after a planning board recommendation | Legislative hearing, with notice published in the newspaper and also mailed and posted |
New York’s statutes split variances in two, with very different odds. A use variance allows a use the zoning prohibits, and the applicant must show, among other things, that the land can’t earn a reasonable return under any use the district permits, a showing the state’s guide calls deliberately difficult. An area variance relaxes a dimensional rule such as a setback or a height limit, and the board weighs the benefit to the owner against the harm to the neighborhood.
The path also sets the schedule. A study of 352 multifamily projects permitted in Los Angeles from January 2018 to March 2020, summarized by the American Planning Association, found that by-right projects reached their permits 60 days sooner than discretionary ones inside the city’s Transit Oriented Communities program. Outside the program the gap was 248 days, and by-right timing was more predictable in both groups.
Which office enforces zoning and which enforces the building code
A zoning administrator or planning staff issues zoning permits, interprets the ordinance and pursues violations, and in North Carolina an appeal of a staff zoning decision goes to the board of adjustment. The building code belongs to the building official, whom the IBC directs to enforce it through plan review, permits and inspections. In some places one official handles both.
Exceptions work differently on the code side. The IBC lets the building official grant a modification for an individual case where a provision is impractical, provided it keeps to the code’s intent and doesn’t lessen health, accessibility, life and fire safety or structural requirements. The official may also approve alternative materials, designs and methods found at least equivalent to what the code prescribes. The IBC’s board of appeals can rule that the code was misread or doesn’t fully apply, but the model text gives it no power to waive requirements. States can add their own route. Outside New York City, a variance from New York’s Uniform Code is sought from a Regional Board of Review.
Worked example: Walnut Street’s two reviews
1200 Walnut Street, the fictional six-story building the book follows, meets the two rulebooks at different times, and all of its numbers are illustrative. The zoning answers came in predevelopment, while Fernwood Development still had the site under a purchase contract. The building code was worked out in design and tested in plan review, on questions zoning never asks.
| Question | Rulebook | Walnut Street’s answer |
|---|---|---|
| May apartments and shops rise six stories on this site? | Zoning | Yes, both the use and the height, without a rezoning |
| Does the design suit the street? | The city’s design review, with public notice | Required. The notice sign on the fence stays up until the contractor mobilizes |
| Which occupancies and construction types apply? | Building code | R-2 apartments in five wood-frame floors over a Type I-A concrete podium that holds an S-2 garage and M shops, the 5-over-1 shape |
| Do the drawings meet the code? | Building code plan review | One round of comments, on an occupant load and a rated corridor. Rosa Archer, the project architect, answers in about three weeks, and the permit is issued about four months after submission |
Sources
- The International Building Code, International Code Council, accessed November 26, 2026
- 2021 International Building Code, Chapter 1 Scope and Administration, Colorado adoption, UpCodes, accessed November 26, 2026
- 2021 International Building Code, Chapter 2 Definitions, Colorado adoption, UpCodes, accessed November 26, 2026
- 2021 International Building Code, Chapter 7 Fire and Smoke Protection Features, Colorado adoption, UpCodes, accessed November 26, 2026
- Standard State Zoning Enabling Act and Standard City Planning Enabling Act, American Planning Association, accessed November 26, 2026
- Code Outreach Program, Statewide Uniform Code vs. Local Zoning Codes, Issue 2019-06, New York Department of State, accessed November 26, 2026
- Zoning Board of Appeals, James A. Coon Local Government Technical Series, New York Department of State, accessed November 26, 2026
- Types of Development Decisions, Adam Lovelady, UNC School of Government, August 24, 2021, accessed November 26, 2026
- Development Regulations, City of Houston Planning and Development Department, accessed November 26, 2026
- Deed Restrictions, City of Houston Legal Department, accessed November 26, 2026
- Understanding Floor Area Ratio (FAR) in Single Dwelling Zones, City of Portland, Oregon, accessed November 26, 2026
- Measuring Height in R20 through R2.5 zones, City of Portland, Oregon, accessed November 26, 2026
- Helpful links about d-overlay zones, design review and design standards, City of Portland, Oregon, accessed November 26, 2026
- Housing Law Fact Sheet: Minimum Parking Requirements (AB 2097), California Department of Housing and Community Development, accessed November 26, 2026
- Discretionary vs. By-Right Approval: Which Is Faster, Noah Levine, American Planning Association, June 29, 2023, accessed November 26, 2026