Do You Need a Permit to Build a Fence? State-by-State Guide (2026)
Fence permit requirements vary wildly by location. Here's exactly when you need one, when you don't, and what happens if you skip it.

Whether you need a permit to build a fence depends on where you live, how tall the fence is, and where on your property it goes. In most jurisdictions, fences under 6 feet in the backyard don't require a permit, but front yard fences, fences over 6 feet, and fences near property lines often do.
Quick Answer: Fences 6 feet or under in the backyard typically don't need a permit in most cities. Fences over 6 feet, fences in the front yard, and fences in historic districts or HOA communities almost always require approval. Always check with your local building department — rules vary by city, not just by state.
We've compiled permit requirements across hundreds of jurisdictions. Here's what you need to know before you start digging post holes.
The General Rule (With Important Exceptions)
Most cities follow a similar pattern:
But here's the catch: These are generalizations. Individual cities set their own rules. A fence that's fine in Houston might require a permit in Dallas, even though they're both in Texas.

States With Notable Fence Rules
States with stricter requirements
States with fewer restrictions
Common Fence Permit Costs
When a permit IS required, here's what to expect:
Permit costs are a tiny fraction of the total fence cost. The average fence installation runs $1,500-$8,000 depending on material and length, making a $50-$150 permit negligible.

What Happens If You Build Without a Permit
Skipping a required permit might seem like an easy shortcut, but the consequences can be expensive:
Before You Build: The Pre-Fence Checklist
1. Know your property lines
This is the #1 source of fence disputes. If you build on your neighbor's property — even by 6 inches — they can legally demand removal. Get a property survey ($300-$800) if there's any uncertainty about your property lines. It's cheaper than tearing down and rebuilding a fence.2. Check your HOA rules
HOA restrictions are often stricter than city codes. Common HOA fence rules include:Always check HOA rules before checking city permits. Your city may allow an 8-foot fence, but your HOA may limit you to 4 feet.
3. Call 811 before you dig
This is legally required in all 50 states. Call 811 (or submit online at call811.com) at least 2-3 business days before digging. Utility companies will mark underground gas, electric, water, and cable lines for free. Hitting a gas line can be deadly, and you're liable for repair costs if you damage a utility line.4. Talk to your neighbors
It's not legally required in most places, but telling your neighbors about your fence plans prevents disputes. Many jurisdictions also require that the "good side" (finished side) faces outward toward the neighbor.Some neighbors may even agree to split the cost of a shared fence — saving you both money.

How to Get a Fence Permit (When You Need One)
Frequently Asked Questions
Can I build a fence right on the property line?
In most jurisdictions, yes, but the fence must be entirely on your property. Even a few inches of encroachment onto a neighbor's property can create legal problems. When in doubt, set your fence 2-4 inches inside your property line.How high can I build a fence without a permit?
The most common threshold is 6 feet for backyard fences and 3-4 feet for front yard fences. However, some cities allow 8-foot backyard fences without permits, while others require permits for anything over 4 feet. Check your state's permit requirements.Does replacing an existing fence need a permit?
Usually not, if you're replacing the fence in the same location with the same height. But if you're changing the height, material, or location, check with your building department.Who is responsible for a shared fence?
Laws vary by state. In California, neighbors are generally required to share the cost of maintaining a boundary fence equally (CA Civil Code 841). In most other states, it depends on who built the fence and local ordinances.Do I need a permit for a chain link fence?
The same height rules apply regardless of material. A 6-foot chain link fence in the backyard typically doesn't need a permit, just like a wood fence of the same height.---
*Not sure if your specific project needs a permit? Try our Do I Need a Permit? quiz or ask our AI assistant for guidance specific to your location. Use our fence cost calculator to estimate your project cost.*