When Is a Building Permit Required?

Last checked against official sources: · How we check

Short answer

Under the model code, you need a permit to build, enlarge, alter, repair, move or demolish a building, or to install, alter or replace electrical, gas, mechanical or plumbing systems. Only a short list is exempt: finish work like painting and flooring, small detached sheds and low decks, fences up to 7 ft and minor repairs. Your state and city often change that list, so check locally.

Rules vary by city and county. This guide explains the model code and the state rules we could verify. Your local building department has the final say — call or check its website before you start.

When is a building permit required?

Under the model code, almost any construction, alteration or repair needs a permit, as does installing or replacing electrical, gas, mechanical or plumbing systems. The exceptions are a short, specific list. If your project isn’t on that list, assume you need a permit until your building department says otherwise.

Most state and local residential codes are based on the International Residential Code (IRC). Section R105.1 of the 2024 IRC sets the general rule. Any owner who intends “to construct, enlarge, alter, repair, move, demolish or change the occupancy of a building or structure, or to erect, install, enlarge, alter, repair, remove, convert or replace any electrical, gas, mechanical or plumbing system, the installation of which is regulated by this code,” must “first make application to the building official and obtain the required permit.”

That wording is broad on purpose. “Repair” and “replace” are in it. So a like-for-like swap of a water heater or furnace is covered unless your local code says otherwise.

Then Section R105.2 lists the work that is exempt. Everything else needs a permit. That’s why this page starts with the exempt list, word for word.

The full exempt list (2024 IRC Section R105.2)

The model code exempts ten kinds of building work, plus a handful of minor electrical, gas, mechanical and plumbing items. Most of the building items have size limits. Exempt work must still follow the code and other local laws. Your state or city may use a shorter or longer list.

Section R105.2 opens with a warning: “Exemption from permit requirements of this code shall not be deemed to grant authorization for any work to be done in any manner in violation of the provisions of this code or any other laws or ordinances of this jurisdiction.” In other words, no permit does not mean no rules.

The text below is quoted exactly from the 2024 IRC, Section R105.2. “Permits shall not be required for the following”:

Building

  1. “Other than storm shelters, one-story detached accessory structures, provided that the floor area does not exceed 200 square feet (18.58 m2).”
  2. “Fences not over 7 feet (2134 mm) high.”
  3. “Retaining walls that are not over 4 feet (1219 mm) in height measured from the bottom of the footing to the top of the wall, unless supporting a surcharge.”
  4. “Water tanks supported directly upon grade if the capacity does not exceed 5,000 gallons (18 927 L) and the ratio of height to diameter or width does not exceed 2 to 1.”
  5. “Sidewalks and driveways.”
  6. “Painting, papering, tiling, carpeting, cabinets, counter tops and similar finish work.”
  7. “Prefabricated swimming pools that are less than 24 inches (610 mm) deep.”
  8. “Swings and other playground equipment.”
  9. “Window awnings supported by an exterior wall that do not project more than 54 inches (1372 mm) from the exterior wall and do not require additional support.”
  10. “Decks not exceeding 200 square feet (18.58 m2) in area, that are not more than 30 inches (762 mm) above grade at any point, are not attached to a dwelling or townhouse and do not serve the exit door required by Section R318.4.”

Item 10 points to Section R318.4, the required exit door. In the 2018 and 2021 IRC the same rule is Section R311.4; the 2024 edition renumbered it.

Electrical

  1. “Listed cord-and-plug connected temporary decorative lighting.”
  2. “Reinstallation of attachment plug receptacles but not the outlets therefor.”
  3. “Replacement of branch circuit overcurrent devices of the required capacity in the same location.”
  4. “Electrical wiring, devices, appliances, apparatus or equipment operating at less than 25 volts and not capable of supplying more than 50 watts of energy.”
  5. “Minor repair work, including the replacement of lamps or the connection of approved portable electrical equipment to approved permanently installed receptacles.”

Gas

  1. “Portable heating, cooking or clothes drying appliances.”
  2. “Replacement of any minor part that does not alter approval of equipment or make such equipment unsafe.”
  3. “Portable-fuel-cell appliances that are not connected to a fixed piping system and are not interconnected to a power grid.”

Mechanical

  1. “Portable heating appliances.”
  2. “Portable ventilation appliances.”
  3. “Portable cooling units.”
  4. “Steam, hot- or chilled-water piping within any heating or cooling equipment regulated by this code.”
  5. “Replacement of any minor part that does not alter approval of equipment or make such equipment unsafe.”
  6. “Portable evaporative coolers.”
  7. “Self-contained refrigeration systems containing 10 pounds (4.54 kg) or less of refrigerant or that are actuated by motors of 1 horsepower (746 W) or less.”
  8. “Portable-fuel-cell appliances that are not connected to a fixed piping system and are not interconnected to a power grid.”

Plumbing

  1. “The stopping of leaks in drains, water, soil, waste or vent pipe; provided, however, that if any concealed trap, drainpipe, water, soil, waste or vent pipe becomes defective and it becomes necessary to remove and replace the same with new material, such work shall be considered as new work and a permit shall be obtained and inspection made as provided in this code.”
  2. “The clearing of stoppages or the repairing of leaks in pipes, valves or fixtures, and the removal and reinstallation of water closets, provided such repairs do not involve or require the replacement or rearrangement of valves, pipes or fixtures.”

Emergency work and ordinary repairs

Two more rules sit right after the list:

  • Emergencies (R105.2.1). “Where equipment replacements and repairs must be performed in an emergency situation, the permit application shall be submitted within the next working business day to the building official.” You may act first, but you still apply.
  • Ordinary repairs (R105.2.2). No application is needed “for ordinary repairs to structures, replacement of lamps or the connection of approved portable electrical equipment to approved permanently installed receptacles.” But ordinary repairs do not include “the cutting away of any wall, partition or portion thereof, the removal or cutting of any structural beam or loadbearing support, or the removal or change of any required means of egress,” or the “addition to, alteration of, replacement or relocation of any water supply, sewer, drainage, drain leader, gas, soil, waste, vent or similar piping, electric wiring or mechanical or other work affecting public health or general safety.”

What usually needs a permit

Anything structural, anything that adds or changes wiring, plumbing, gas or HVAC, anything that adds floor area, and most outdoor structures above the exempt sizes. Replacing equipment, not just repairing it, usually needs a permit too. That covers most remodels and many “simple” swaps.

Reading R105.1 and R105.2 together, these jobs need a permit under the model code:

  • Structure: additions, new or enlarged openings, removing or cutting a load-bearing wall or beam, and changing stairs or exits.
  • Bigger outdoor projects: sheds and other detached structures over 200 sq ft, attached decks, decks over 200 sq ft or more than 30 inches above grade, fences over 7 ft, retaining walls over 4 ft or holding back a surcharge, and in-ground pools.
  • Electrical: new circuits, outlets, sub-panels, panel upgrades and rewiring. Only the five electrical items above are exempt.
  • Plumbing and gas: new or moved pipes and fixtures, new gas lines, and replacing defective concealed piping, which the code calls “new work.”
  • Equipment replacement: water heaters, furnaces, boilers and central air. The mechanical exemptions cover only portable units, minor parts and small self-contained systems.
  • Roofing: reroofing is not on the exempt list, so the model code requires a permit for it, though several states and cities exempt it.
  • Demolition and change of use: tearing down a structure, or turning a garage or basement into living space.

Why your local rules may differ

The IRC is a model. It has no force until a state or city adopts it, and almost all of them change it. They pick an edition, amend the exempt list, and add zoning and flood rules on top. Your HOA, if you have one, adds its own layer. The rule that counts is the one at your address.

Which code your state adopted

States adopt different editions at different times, and some leave codes to cities and counties.

  • California uses the 2025 California Residential Code, based on the 2024 IRC.
  • Texas adopts “the International Residential Code, as it existed on May 1, 2012” as the residential code for cities (Local Government Code Section 214.212). It applies inside cities, which may amend it.
  • Georgia treats its residential code as mandatory statewide, but “the local government can choose which of the mandatory codes it wishes to locally enforce,” according to the state’s Department of Community Affairs.

State amendments to the exempt list

Checked 3 Dec 2026. Each row links to the official code or statute.

State How it differs from the model code Source
California Detached accessory structures exempt only up to 120 sq ft, not 200 2025 CRC R105.2
New York Exemptions are optional for each local program; sheds and playhouses up to 144 sq ft may be exempted 19 NYCRR 1203.3
Virginia Sheds and playhouses up to 256 sq ft; fences of any height (except pool barriers and some safety fences); unlimited roof covering or siding replacement on houses outside areas with design wind speeds over 100 mph USBC 108.2
Pennsylvania Carports, detached private garages, greenhouses and sheds under 1,000 sq ft beside a one-family home are outside the state code, unless a local ordinance says otherwise 34 Pa. Code 403.1
North Carolina No permit for most work costing $40,000 or less on a single-family home, unless it involves load-bearing structure, a change in plumbing design, adding or replacing heating, air-conditioning or electrical wiring, or adding roofing G.S. 160D-1110
Florida Single-family owners can ask in writing to skip a building permit for work valued under $7,500, except in flood hazard areas and for electrical, plumbing, structural, mechanical or gas work F.S. 553.79

Not listed? Your city or county sets the rule. Check its building department.

City amendments

Cities often go further than their state, in either direction.

Checked 3 Dec 2026. Each row links to the city’s official page or code.

City Examples of local limits Source
Chicago, IL Sheds up to 150 sq ft and 15 ft tall, no plumbing; fences up to 5 ft that meet zoning; in-kind replacement of windows, siding, water heaters, furnaces and AC on many homes needs no permit Code 14A-4-402
Seattle, WA Minor repairs or alterations of $6,000 or less in any 6 months; sheds under 120 sq ft of roof area; fences under 8 ft Seattle SDCI
Phoenix, AZ Permit for fences taller than 3 ft and detached structures over 200 sq ft; water heater swap needs no permit only if a licensed contractor does it Phoenix
Austin, TX Sheds up to 200 sq ft and 15 ft tall with no plumbing; fences up to 7 ft; but a permit may still be needed on a floodplain lot Austin
San Diego, CA Like-for-like repairs under $1,000 exempt; sheds over 120 sq ft need a permit; water heater replacement needs one San Diego

Zoning, flood zones and HOAs

A building permit checks that work is safe. Other rules check where it goes and what it looks like, and they apply even to permit-exempt work:

  • Zoning sets setbacks from property lines, height limits, lot coverage and front-yard rules. Chicago’s fence exemption, for example, applies only to fences that “conform to the Chicago Zoning Ordinance.”
  • Flood zones can cancel an exemption. Austin’s exempt list leaves out sheds, fences, decks and retaining walls located in a flood hazard area, and Florida’s $7,500 exemption doesn’t apply in flood hazard areas.
  • HOAs have private rules under your deed and community documents. They are separate from the city’s permit. You may need both, and one doesn’t replace the other.

Project by project: does it usually need a permit?

Most remodels with wiring or plumbing need a permit. Most finish work does not. Outdoor structures depend on size, height and whether they attach to the house. Use the table to find your project, then open its page for the full rules, state differences and sources.

Based on the 2024 IRC. “Usually” means under the model code and in most cities we checked. Your local rule decides.

Project Usually need a permit? Why
Water heater Usually yes Replacing plumbing or gas equipment isn’t exempt, even like-for-like
Window replacement Depends Same-opening swaps are exempt in some states and cities; new or bigger openings need a permit
Roof replacement Usually yes Reroofing isn’t on the exempt list; some states and cities exempt it
Deck Usually yes Exempt only if 200 sq ft or less, 30 in or lower, detached and not serving the exit door
Shed Depends Exempt up to 200 sq ft in the IRC, but 120 or 150 sq ft in many places
Bathroom remodel Depends Tile, cabinets and countertops are exempt; moving plumbing or adding wiring isn’t
Basement finishing Usually yes New walls, wiring, plumbing or a bedroom all need permits
Fence Usually no (building permit) Exempt up to 7 ft in the IRC; many cities use 6 ft or lower, and zoning still applies
Carport Usually yes Only detached structures up to 200 sq ft are exempt; attached carports never are
Kitchen remodel Depends Cabinets and countertops are exempt; new circuits, gas lines or moved plumbing aren’t
Electrical work Usually yes Only five minor electrical items are exempt
Pergola or gazebo Depends A detached one up to 200 sq ft fits the accessory-structure exemption; attached ones don’t. Seattle exempts open arbors up to 120 sq ft
HVAC Usually yes Only portable units, minor parts and small self-contained systems are exempt
Garage Usually yes Almost all garages are over 200 sq ft; attached garages are additions. Pennsylvania’s state code excludes detached garages under 1,000 sq ft
Patio Usually no (ground level) Ground-level paving isn’t named on the list, but “sidewalks and driveways” are exempt; a roof over the patio is a structure
Pool Usually yes Only prefabricated pools under 24 in deep are exempt
Driveway Usually no (building permit) “Sidewalks and driveways” are exempt; ask your city about work at the curb or street
Painting, flooring, cabinets, countertops No Finish work, item 6
Retaining wall up to 4 ft, no surcharge No Item 3; taller walls need a permit
Swing set or playground equipment No Item 8
Addition or removing a load-bearing wall Yes Structural work is never exempt

Not sure where your project fits? Check your project or browse all projects.

How to check with your building department

Find out who issues permits at your address, then look for the exempt-work list on their website. If your project isn’t clearly exempt, call or email with a short description and ask. Get the answer in writing if you can. It takes minutes and can save you after-the-fact fees.

  1. Find the right office. Inside a city, the city usually issues permits. Outside city limits, it’s often the county. Search for “[your city] building permit” and make sure the site ends in .gov or is the official city or county site.
  2. Look for the exempt list. Most departments post one, often called “work exempt from permit” or “do I need a permit.” Compare it with the model list above; the local version is the one that applies.
  3. Check zoning separately. Setbacks, height limits and flood zones are often handled by a planning or zoning office.
  4. Describe the job and ask. Give the size, height, location on the lot and any wiring, plumbing or gas. Ask which permits you need and whether drawings are required.
  5. Keep the answer. An email saying no permit is needed is useful if a buyer or inspector asks later.

If you do need a permit, see how much permits cost, how long they take and whether you can pull your own. If the work is already done, read how to get a retroactive permit and what happens if you build without a permit.

Frequently asked questions

When is a building permit required?

Under the 2024 International Residential Code (Section R105.1), you need a permit to construct, enlarge, alter, repair, move, demolish or change the use of a building, and to install, alter, remove or replace electrical, gas, mechanical or plumbing systems. Only work on the exempt list in Section R105.2 is excused. Your state or city may add to or shrink that list.

What can a homeowner do without a permit?

Under the model code: painting, papering, tiling, carpeting, cabinets and countertops; a one-story detached shed up to 200 sq ft; a fence up to 7 ft; a low, detached deck up to 200 sq ft; sidewalks and driveways; playground equipment; and minor repairs such as fixing leaks or replacing a breaker of the same size in the same spot. Many cities use smaller limits.

Do I need a permit to replace something like-for-like?

Often yes. The model code requires a permit to replace electrical, gas, mechanical or plumbing systems, so a new water heater or furnace usually needs one even in the same spot. Some places exempt in-kind swaps: Chicago exempts in-kind windows, siding, water heaters and furnaces on many homes, and North Carolina exempts most work under $40,000 that doesn't touch structure or systems.

Do small repairs need a permit?

Ordinary repairs usually don't. Under 2024 IRC Section R105.2.2, no application is needed for ordinary repairs, but that excludes cutting away walls, cutting structural supports, changing exits, and adding, replacing or moving piping, wiring or mechanical work. Seattle exempts minor repairs costing $6,000 or less in any 6-month period. San Diego exempts like-for-like repairs under $1,000.

If a project is exempt, can I build it any way I want?

No. The 2024 IRC says an exemption 'shall not be deemed to grant authorization for any work to be done in any manner in violation of the provisions of this code or any other laws or ordinances.' The work still has to meet the building code, zoning setbacks and height limits, and any flood-zone rules. Austin, for example, says a permit may still be needed in a floodplain.

What about emergency repairs, like a burst pipe or dead furnace?

You can do the work first in a real emergency, but you still owe the paperwork. Under 2024 IRC Section R105.2.1, when equipment replacements and repairs must be done in an emergency, 'the permit application shall be submitted within the next working business day to the building official.' Your city may have its own emergency rule.

Does HOA approval replace a building permit?

No. A homeowners association's approval is a private matter under your community's rules. It does not replace a city or county permit, and a city permit does not override your HOA's rules. When both apply, you need both. Check the building department's rules first, then get the HOA's approval in writing.

My state has no statewide building code. Do I still need a permit?

Probably, if your city or county has adopted one. In Texas, the residential code applies inside cities, and cities may amend it. In Georgia, the residential code is mandatory statewide, but each local government chooses which codes it enforces. Call your city first, then your county, to find out who issues permits at your address.

Sources

Official codes, statutes and government pages this guide relies on. Checked December 3, 2026.

  1. 2024 International Residential Code, Chapter 1 (Sections R105.1, R105.2, R105.2.1, R105.2.2)
  2. 2024 International Building Code, Chapter 1 (Section 105.2)
  3. 2025 California Residential Code, Chapter 1 (Section R105.2)
  4. New York Department of State, 19 NYCRR Part 1203 (Section 1203.3)
  5. 13VAC5-63-80, Virginia Uniform Statewide Building Code Section 108.2 (exemptions)
  6. 34 Pa. Code Section 403.1, Pennsylvania Uniform Construction Code scope and exclusions
  7. North Carolina General Statutes Section 160D-1110, building permits
  8. Florida Statutes Section 553.79 (2026), permits
  9. Texas Local Government Code Chapter 214 (Section 214.212, residential building code)
  10. Georgia DCA: Mandatory and permissive state codes
  11. Chicago Construction Codes, Section 14A-4-402 (work exempt from permit)
  12. Seattle SDCI: Do you need a permit?
  13. City of Phoenix: Residential projects, general information
  14. City of Austin: Work exempt from building permits
  15. City of San Diego: When is a permit required?