Do You Need a Permit to Build a Fence?
Often not a building permit if the fence is 7 feet or lower, because the model code (IRC Section R105.2) exempts fences up to 7 ft. But Pennsylvania, New Jersey and Ohio set the line at 6 ft, Chicago at 5 ft and Phoenix at 3 ft. Zoning rules on height, front yards and corner lots still apply, and pool fences are always regulated.
What the model code says
The model building code that most states adopt, the International Residential Code (IRC), does not require a building permit for “Fences not over 7 feet (2134 mm) high.” That is 2024 IRC Section R105.2, Building item 2. The same 7-ft line appears in the 2012, 2015, 2018 and 2021 editions.
Two catches matter more than the number:
- The exemption is only from the building code. The opening sentence of R105.2 says an exemption does not authorize work “in violation of the provisions of this code or any other laws or ordinances of this jurisdiction.” Zoning rules on height, front yards, corner lots and setbacks still apply, and many cities run a separate fence or zoning permit.
- Pool fences are different. The commercial code, the 2024 International Building Code (IBC Section 105.2, item 2), exempts “Fences, other than swimming pool barriers, not over 7 feet.” Several states copy that pool exception into their residential rules.
States and cities can change the 7-ft number, and many do. Pennsylvania, New Jersey and Ohio use 6 ft, Chicago uses 5 ft, and Virginia exempts fences of any height. The tables below show who sets what.
When you need a fence permit
Use height first, then location, material and purpose. A fence under your area’s height limit, in a back yard, made of wood, vinyl or chain link, and not around a pool usually needs no building permit. Front-yard fences, masonry walls, pool barriers and fences in historic districts are the usual triggers.
Checked 3 Dec 2026. “Usually” means most places that follow the IRC; your city’s rule wins.
| Your fence | Building permit? | Zoning or fence permit? | Why |
|---|---|---|---|
| Up to 6 ft, back yard, wood/vinyl/chain link | Usually no | Sometimes | Under the IRC 7-ft line and the 6-ft line used in PA, NJ, OH and many cities. |
| Over 6 ft but not over 7 ft | Depends on state/city | Often | Exempt under the IRC; needs a permit in PA, NJ, OH, NYC, Columbus and LA County. |
| Over 7 ft | Usually yes | Usually yes | Outside the IRC exemption; may need a zoning exception. |
| Front yard, any height over about 3–4 ft | Maybe | Often yes | Front-yard limits are 4 ft in Dallas, Denver and Sioux Falls. |
| Masonry or concrete wall | Often yes | Often | Seattle and Philadelphia treat masonry more strictly. |
| Fence around a pool or spa | Yes, usually | Yes | Pool barriers are excluded from fence exemptions in VA, NJ, LA County and the IBC. |
| Historic district or landmark property | Often yes | Yes | Denver requires a permit for all fences there, “regardless of height.” |
| Replacing a few boards or a post | No | No | Ordinary repair; Sioux Falls is a rare exception. |
Railings around a raised deck are guards, not fences, and follow the deck rules; see our deck permit guide.
Building permit vs zoning permit
A building permit checks that a structure is safe. A zoning or fence permit checks where it sits and how tall it is. Your fence can be exempt from the first and still need the second. That is why a 6-ft privacy fence can be “permit-free” under the code but still need city sign-off in a front yard or on a corner lot.
Big cities show how far the numbers spread.
Checked 3 Dec 2026 on each city’s official page or code. Fence height limits for one- and two-family homes.
| City or county | No building permit if the fence is… | Zoning or location limits |
|---|---|---|
| Phoenix, AZ | 3 ft or lower; fences taller than 3 ft need a permit | Separate residential fence and wall review |
| Chicago, IL | Not more than 5 ft and meets zoning (14A-4-402) | Chicago Zoning Ordinance |
| New York City | 6 ft or less, measured from the higher grade (1 RCNY 101-14) | Zoning still applies |
| Los Angeles County (unincorporated) | 6 ft or less, not a pool barrier (work exempt list) | Masonry set back from public ways by the fence height |
| Columbus, OH | 6 ft or less (2026 project list) | Over 6 ft needs plans sealed by an architect or engineer |
| Philadelphia, PA | Non-masonry under 6 ft (StartRight guide) | No zoning permit if under 6 ft at the rear, or under 4 ft and under 50% opaque at the front |
| Dallas, TX | 4 ft in a front yard, 6 ft elsewhere (building FAQ) | City zoning |
| San Diego, CA | Up to 7 ft (permit bulletin) | City zoning |
| Austin, TX | Not over 7 ft, unless in a flood hazard area (work exempt list) | Fencing regulations page |
| Houston, TX | Wood or cyclone fences up to 8 ft, not electrified (exempt list) | Deed restrictions often apply |
| Seattle, WA | Under 8 ft with no concrete or masonry over 6 ft (SDCI) | Land use code |
| Denver, CO | Fence permits issued online (Fences and Walls) | 4 ft in front of the street-facing wall of the house, 6 ft behind it |
| Hillsborough County, FL (unincorporated) | PVC, wood and chain-link fences exempt (exempt list) | Call zoning for every fence |
| Miami-Dade County, FL (unincorporated) | Chain-link (not a pool barrier) exempt but needs a zoning improvement permit; wind-resistant fences need a permit (exemptions) | Zoning improvement permit |
Fence permit rules by state
There is no national fence permit. Each state either adopts a building code with its own fence line or leaves fences to cities. Pennsylvania, New Jersey and Ohio exempt fences up to 6 ft, California and Michigan use 7 ft, and Virginia exempts fences of any height unless they are pool barriers. In Texas, Illinois and Florida, cities and counties decide.
Checked 3 Dec 2026. Each row comes from the official code or statute in the sources list below.
| State | Code in force | Fence exempt from building permit | Notes |
|---|---|---|---|
| California | 2025 California Residential Code (2024 IRC base), effective Jan 1, 2026 | Not over 7 ft | Cities may be stricter; Los Angeles County uses 6 ft. |
| Pennsylvania | Uniform Construction Code (update effective Jan 1, 2026) | No more than 6 ft (34 Pa. Code §403.62(c)) | Philadelphia adds zoning rules for front yards. |
| New Jersey | Uniform Construction Code (2024 I-Codes adopted Aug 17, 2026) | 6 ft or less (N.J.A.C. 5:23-2.14(b)9) | Does not apply to pool barriers. |
| Ohio | 2019 Residential Code of Ohio (2018 IRC base) | Not over 6 ft (RCO 102.10) | Where no certified local building department exists, no state approval is needed (RCO 101.5). |
| Virginia | 2021 Virginia USBC | Any height (USBC 108.2, item 5) | Not if required for pedestrian safety or used as a pool barrier. |
| Michigan | 2015 Michigan Residential Code | Not more than 7 ft (R 408.30505) | The 2021 code update is on hold in court; confirm with your local department. |
| Texas | 2012 IRC as the municipal residential code (LGC §214.212) | 7 ft in the 2012 IRC, inside city limits only | Cities may amend: Dallas 4 ft front / 6 ft elsewhere; Houston 8 ft wood or cyclone. |
| New York | 2025 Residential Code of NYS; NYC has its own code | Local; the state’s optional exemption list (19 NYCRR 1203.3) does not name fences | New York City: 6 ft or less. |
| Florida | Florida Building Code, 8th Edition (2023) | No statewide fence exemption | Counties decide; see Miami-Dade and Hillsborough above. |
| Illinois | No statewide residential code | Local | Chicago: not more than 5 ft. |
Not listed? Your city or county sets the rule — check its building department.
Cost and timeline
Fence permits are among the cheapest permits a homeowner buys. Cities set their own fees, usually as a flat amount for a simple fence. Taller fences, masonry walls and pool barriers cost more because they need plan review or engineering. Expect the zoning review to take longer than the building review.
Real examples from official pages:
- Sioux Falls, South Dakota: “The permit fee is $20.”
- Aberdeen, Washington: a flat $50 fence permit fee; other fees may also apply.
- Columbus, Ohio: no permit at 6 ft or less, but fences over 6 ft need plans sealed by an architect or engineer, which adds design cost.
Once you have a permit, it has a shelf life. Under 2024 IRC Section R105.5, a permit becomes invalid if work does not start within 180 days of issue. See how long permits take and last for more.
Replacing or repairing a fence
Fixing a few pickets, a gate or a post is ordinary repair and needs no permit almost anywhere. Tearing out a fence and putting up a new one is usually judged like a new fence of that height. A few cities require a permit for any fence work, so check before you replace a long run.
- Repair: The model code says ordinary repairs need no application (2024 IRC R105.2.2).
- Same-height replacement: if a new fence of that height would be exempt, the replacement usually is too.
- Taller, moved or different material: treat it as a new fence. Switching wood to masonry can trigger a permit.
- Strict cities: Sioux Falls says “you need a permit to build, move, replace or repair fences.”
Pool fences
A fence that encloses a pool or spa is a safety barrier, not just a fence. It is regulated even where other fences are exempt. Virginia, New Jersey and Los Angeles County exclude pool barriers from their fence exemptions. Plan on a permit and an inspection.
The 2024 International Swimming Pool and Spa Code sets the barrier rules. Rutherford County, Tennessee, which enforces it, says the top of the barrier “shall be a minimum of 48” above grade” on the side facing away from the pool. Gates in pool barriers must also open outward and be self-closing. Your local code may add more, so ask your building department.
What happens if you skip it
If a fence needed a permit and you skipped it, the city can order you to stop, charge an extra fee, fine you, and require you to lower, move or remove the fence. Model code R108.6 lets each city add a fee for work started without a permit. The amount is local, not a fixed “double.”
Some real penalties:
- Seattle: “you may be fined up to $500 per day” (SDCI).
- New Jersey: up to $2,000 per violation for failing to get a required permit (N.J.A.C. 5:23-2.31).
- Ohio: an owner who fails to comply may face a fine of up to $500 (RCO 109.3).
- Los Angeles: an investigation fee of double the permit fee, at least $400 (LAMC 98.0402).
A fence over the zoning height limit is the most common neighbor complaint. See what happens if you build without a permit for the full picture.
How to apply
Check your city’s fence page first: it usually lists the height limits and whether you need a building permit, a zoning permit, both or neither. Then draw a simple site plan, confirm your property line, submit online or at the counter, and build to the approved height and location.
- Find the rule. Search “[your city] fence permit” on the city’s .gov site, or use the permit checker.
- Know your line. Use your plat or survey. Fences built on a neighbor’s land or in a utility easement may have to come out.
- Draw a site plan. Show the fence location, height, material and gates. Denver asks for “proposed fence/wall location and height.”
- Check other approvals. HOA, historic district and pool rules are separate.
- Call your state’s dig-safe line before digging post holes.
- Build and inspect. Most simple fences need no inspection; pool barriers and tall or masonry fences usually do.
Rules vary, so check with your local building department before you build.
Frequently asked questions
How tall can a fence be without a permit?
Under the 2024 International Residential Code, fences up to 7 feet need no building permit. Many places set a lower line: Pennsylvania, New Jersey, Ohio, New York City, Columbus and Los Angeles County use 6 feet, Chicago uses 5 feet, and Phoenix requires a permit for fences over 3 feet. Zoning height limits apply even when no building permit is needed.
Do I need a permit for a 6-foot privacy fence?
In most places that follow the model code, a 6-foot wood or vinyl privacy fence needs no building permit, because it is under 7 feet. It must still meet zoning. Dallas allows only 4 feet in a front yard, Denver 4 feet in front of the house, and Phoenix wants a permit for anything over 3 feet. Check your city's fence page before you order materials.
Do I need a permit to replace an existing fence?
It depends on your city. The model code exempts the fence itself by height, so a same-height replacement is usually treated like a new fence of that height. Some cities are stricter: Sioux Falls, South Dakota, requires a permit to build, move, replace or repair any fence. Fixing a few boards or a post is ordinary repair almost everywhere.
Are front yard fences treated differently?
Yes. Front yards usually have lower zoning limits so drivers can see. Dallas exempts fences up to 4 feet in a front yard and 6 feet elsewhere. Denver allows 4 feet in front of the street-facing wall of the house and 6 feet behind it. Sioux Falls allows 4 feet in front yards, with lower limits near intersections.
Does a pool fence need a permit?
Usually yes. A fence that serves as a pool barrier is regulated even where ordinary fences are exempt. Virginia, New Jersey and Los Angeles County expressly exclude pool barriers from their fence exemptions, and the IBC fence exemption excludes them too. Under the 2024 pool code, the top of the barrier must be at least 48 inches above grade on the outside.
How much does a fence permit cost?
There is no national fee. Cities set their own. Examples from official pages: Sioux Falls, South Dakota, charges $20 and Aberdeen, Washington, charges a flat $50, with other fees possible. Taller or masonry fences can cost more because they need plan review; Columbus, Ohio, requires sealed plans for fences over 6 feet.
Do I need a survey for a fence permit?
Not always, but you need to know where your property line is. Most fence applications ask for a site plan showing the fence location and height, and Denver lists 'proposed fence/wall location and height' among its requirements. If you are unsure where the line is, a survey avoids building on a neighbor's land or in an easement.
My HOA approved my fence. Do I still need the city?
Yes, if your city requires a fence or zoning permit. HOA approval is a private contract matter and does not replace the city's permit, and a city permit does not override HOA rules. You usually need both when both apply. Check the city's height and location rules first, then get the HOA's written approval.
Sources
Official codes, statutes and government pages this guide relies on. Checked December 3, 2026.
- 2024 International Residential Code, Chapter 1 (Section R105.2)
- 2024 International Building Code, Chapter 1 (Section 105.2)
- 2025 California Residential Code, Chapter 1 (Section R105.2)
- 34 Pa. Code § 403.62, Permit requirements and exemptions (Pennsylvania UCC)
- N.J.A.C. 5:23-2.14, Construction permits: when required (New Jersey UCC)
- Ohio Adm. Code 4101:8-1-01, Residential Code of Ohio Sections 101.5 and 102.10
- 13VAC5-63-80, Virginia USBC Section 108.2 (exemptions from permit)
- Mich. Admin. Code R 408.30505, Work exempt from permit (2015 Michigan Residential Code)
- Texas Local Government Code Chapter 214 (Section 214.212, municipal residential code)
- 19 NYCRR Part 1203 (Section 1203.3, optional permit exemptions), NY Department of State
- 1 RCNY 101-14, Work not requiring a permit (NYC Department of Buildings)
- Chicago Building Code 14A-4-402, Work exempt from permit
- Philadelphia L&I, StartRight homeowner guide (June 2026)
- Sioux Falls, SD, Fence permits
- Barrier requirements for residential swimming pools (2024 ISPSC), Rutherford County, TN