Do I Need a Permit to Build a Fence?

When a fence permit is required, what it costs, how long approval takes, and the setback and height rules that trip people up — plus what happens if you skip it.

Published July 20, 2026

Most homeowners find out they needed a fence permit after the fence is up — usually from a neighbor’s complaint or a code enforcement notice. The rules vary by city, but the pattern behind them is remarkably consistent, and ten minutes of checking before you dig can save you from tearing out a finished fence.

Here’s how to tell whether your project needs a permit, what it’ll cost, and the rules that catch people out.

The short answer

Most fences over 6 feet tall need a permit. Most fences under 6 feet in a back yard don’t. That’s the rough rule across the majority of US jurisdictions — but “most” is doing a lot of work in that sentence, and the exceptions are where people get burned.

You very likely do need a permit if any of these apply:

  • The fence is over 6 feet tall (in many cities the trigger is 7 feet, in some it’s as low as 4)
  • It’s in your front yard — front-yard fences face tighter rules and lower height limits almost everywhere
  • The fence is masonry, brick, or concrete, or needs a footing (these are often treated as structures regardless of height)
  • You’re enclosing a pool — pool barrier permits are nearly universal and the rules are strict
  • Your property is in a historic district, on a corner lot, or near a road intersection
  • The fence sits on or near an easement — utility, drainage, or access

You probably don’t need one for a standard 4–6 ft wood, vinyl, or chain link fence in a back yard on a normal interior lot — but you may still be bound by height, setback, and HOA rules even without a permit.

Permit or not, these rules still apply

This is the part people miss. “No permit required” does not mean “no rules.” Even an exempt fence has to comply with local zoning, and enforcement usually arrives via a neighbor.

Height limits. Typical limits are 6 feet in back and side yards, 3–4 feet in front yards. Corner lots often have extra restrictions because of sight lines for drivers.

Setbacks and property lines. Some cities require the fence to sit a few inches inside your line; others allow it right on the boundary. Either way, get your property line right — a survey or at minimum the plat map. Building a fence 8 inches onto a neighbor’s land is one of the most expensive mistakes in this whole category, because the fix is removal.

The “good side” rule. Many jurisdictions and most HOAs require the finished side — the side without visible rails and posts — to face outward toward the street or your neighbor.

Sight triangles. Near driveways and intersections, there’s usually a triangular zone where nothing over ~3 feet is allowed.

HOA rules are separate. An HOA can restrict material, color, height, and style far beyond what the city requires, and HOA approval is not a permit. If you have an HOA, you likely need both.

What a fence permit costs

Permit fees are modest compared to the fence itself. Expect:

ItemTypical cost
Fence permit fee$25–$150 (some cities $200+)
Fee based on project valueSometimes ~1% of fence cost
Property survey (if needed)$300–$800
Plan review (larger projects)$50–$200

Turnaround is usually a few days to two weeks for a residential fence. Many cities now take fence permits online and approve simple ones same-week.

Add the permit to your budget alongside materials and labor — the Fence Cost Calculator will give you the material and per-foot side of the number to slot it into.

How to check your local rules in 10 minutes

  1. Search “[your city] fence permit” — go to the .gov result, not a contractor blog. Most building departments have a one-page fence handout with the exact height and setback numbers.
  2. Call the building or planning department. This is faster than reading the code. Ask three questions: Do I need a permit for a [height] [material] fence in my back yard? What’s the height limit? What’s the setback from the property line?
  3. Check your HOA’s covenants (CC&Rs) if you have one, and submit for architectural approval if required.
  4. Call 811 before you dig — free, required in every state, and unrelated to permits. They mark buried utility lines. Hitting a gas or fiber line with a post-hole digger is a far worse day than any permit issue.

Step 4 is not optional. It’s the one item on this page that’s about safety rather than paperwork.

What happens if you skip the permit

The consequences scale with how much your fence bothers someone:

  • Stop-work order mid-build, until you apply
  • Fines — often $100–$500, sometimes daily until resolved
  • Retroactive permit at a penalty rate, typically double the normal fee
  • Forced removal or modification if the fence violates height or setback rules
  • Problems at resale. Unpermitted work shows up in inspections and disclosures, and can hold up a sale or get negotiated off your price
  • Insurance friction if the fence is involved in a claim

Realistically, a 5 ft back-yard fence that nobody complains about usually goes unnoticed forever. But that’s a bet on your neighbors’ goodwill for as long as you own the house — and the person who eventually complains might be the buyer’s inspector.

If your contractor is handling it

A licensed fence contractor normally pulls the permit as part of the job. Two things worth confirming in writing:

  • Who pulls the permit, and whether the fee is in your quote or billed separately
  • That they’ll verify property lines and setbacks before digging

The permit is issued against your property. If it’s wrong, it’s your problem to fix, not theirs.

Plan the build before you apply

Permit applications usually ask for a site plan, the fence height, material, and its location relative to your property lines — so knowing your layout and material list first makes the application straightforward.

Work out your posts, rails, pickets, and panels with the Fence Material Calculator, then price the job with the Fence Cost Calculator. With those numbers and a rough sketch of your lot, most fence permit applications take about fifteen minutes.

General guidance only — fence rules are set locally and vary widely. Always confirm requirements with your city or county building department before you build.