Do You Need a Permit to Build a Fence?

Height limits, property lines, HOA rules, and pool barriers — what your town actually requires before you put up a fence. Updated June 2026.

Updated June 2026 · 6 FAQs

Try the Fence Cost calculator →

Fences trip up more homeowners than decks do — not because the rules are harder, but because there are more sources of rules. You’re juggling a building department, a zoning code, a neighbor, possibly an HOA, and (if there’s a pool involved) a separate safety standard. Here’s how to sort it out before you start digging post holes.

The three questions that decide it

For most yards, whether you need a permit comes down to:

A few towns simply require a permit for any fence regardless of height. There’s no national pattern; the only reliable answer is your own building department.

What a fence permit costs

Budget $30 to $400, depending on the town. The most common pattern is a flat $50–$150 fence permit; some places scale it to project value, and a few tack on a separate fee for zoning review (typical when the fence is in the front yard, on a corner, or above 6 feet). Pool-barrier permits are usually a separate line, often $100–$300 with their own inspection.

It’s a small slice of the build. Our fence cost calculator gives the per-linear-foot range for your material, height, and state — a 150-foot wood fence runs roughly $2,700–$6,750 installed, so the permit is single-digit-percent of the project even at the high end.

The property line is your problem

This is the fence-specific snag, and it’s the one that ends up in court most often: your fence belongs on your land. A few inches over the line and your neighbor can demand you move it — sometimes years later. Two practical steps before you start:

  1. Look at your property survey (the one from when you bought the house). If you can’t find it or it’s old, a new boundary survey runs $400–$1,000 and is the cheapest insurance you’ll ever buy on a fence project.
  2. Talk to the neighbor whose side the fence faces. You don’t legally need their permission to fence your own land, but a five-minute conversation up front prevents the resentment that turns into a property-line dispute later. If you’re going halves on a shared fence, get the cost split in writing.

Setting the fence even 6 inches inside your line, on your side, also keeps maintenance access on your land — which matters more than people realize when a panel needs replacing in fifteen years.

”Good side out” — the rule you didn’t know existed

Most fence styles have a finished side (the smooth side, where the rails and posts are hidden) and a structural side (where the rails show). The widely held convention — and the actual code in many towns, especially for fences over 4 feet — is that the finished side faces outward, toward your neighbor or the street. Some HOAs spell this out too.

It’s not just etiquette. If you flip it and the rule is on the books, the inspector can fail it.

HOA approval is often the bigger gate

If you’re in a homeowners association, the HOA’s rules are usually stricter than the city’s — and they can force you to take a fence down even after the city approved it. HOAs commonly dictate material (no chain link), color (white only, or earth tones), height (often capped below city allowance), and sometimes which property lines can have fence at all.

Get HOA approval in writing before you order materials. A submitted application typically needs your fence plan with material, color, height, and a site sketch showing setbacks. Approval can take anywhere from a week to a couple of months depending on how active the architectural committee is.

Pool fences are a different animal

If you have an in-ground pool, the barrier around it isn’t a “would be nice” — it’s federal model code (the ISPSC), and your state has almost certainly adopted some version of it. The standard rules:

These aren’t pickable. Skipping them or building a non-conforming barrier can void your homeowners insurance if something happens, and that’s before any code-enforcement fine. Permit and inspect it.

What the inspection actually looks like

A fence permit usually buys you one inspection — the final, where the inspector checks height, setback from the property line and right-of-way, post anchoring, and (if it’s a pool barrier) all the gate-and-gap stuff. Some places want a footing inspection first if posts are set in concrete deeper than a couple of feet. Far less involved than a deck, but still real — schedule it before the contractor leaves.

How to figure out your own rules in 15 minutes

Search “[your city or county] fence permit” and look for the building department’s page. Then call them with five facts ready:

  1. Material (wood, vinyl, chain link, aluminum)
  2. Height at the tallest point
  3. Where it runs — front yard, back yard, corner lot, near a pool
  4. Whether it’s shared with a neighbor or entirely on your land
  5. Whether the property has a pool, creek, or sits in a special district

They’ll tell you whether a permit is needed, what the fee is, what drawings they want to see, and whether the front-yard or pool rules apply. If a contractor is building it, confirm in writing that they pull the permit and schedule the inspection — same as you would for a deck.

Once you know what you can build, price it with the fence cost calculator (or a material-specific one: privacy fence, vinyl, chain link) and add the permit and survey to your budget. The build is the cheap part of doing a fence right.

Frequently asked questions

How much does a fence permit cost?

Most residential fence permits run $30–$400. Many towns charge a flat $50–$150; a few scale to project value, and some add a separate zoning review for fences in the front yard or on corner lots. Pool barriers usually get their own permit and inspection.

What height of fence requires a permit?

The common trigger is 6 feet. Most jurisdictions permit residential fences up to about 4 feet in the front yard and 6 feet in the back without much fuss; over 6 feet almost always needs a permit, sometimes plus a variance. A few towns require a permit for any fence regardless of height — the only way to know is to call.

Do I need a permit to replace an existing fence?

Often no, if you're putting in the same height and material on the same line. But the moment you change height, material, or the run, most towns treat it as a new fence and want a permit. Tearing out and rebuilding in place is the gray area where many homeowners assume they're fine and end up cited.

Whose side does the "good side" face?

The convention — and the rule in many towns — is the finished side faces your neighbor. It's about being a decent neighbor, but plenty of municipalities have written it into code, especially for fences over 4 feet. Worth checking before you order panels.

Do pool fences have separate rules?

Yes, and they're strict. Most U.S. jurisdictions require a barrier at least 4 feet tall around any in-ground pool, with self-closing, self-latching gates and no gaps that a small child can climb. This is usually permitted and inspected separately from a yard fence — and skipping it can void homeowners insurance.

Does my HOA matter more than the city for fences?

For fences, often yes. HOA rules are typically stricter than municipal code — limiting material, color, height, and sometimes which sides of the lot can be fenced at all. The HOA can force you to take it down even after the city approves. If you're in one, get HOA approval before you order materials.

Heads up: this guide is general information, not legal, engineering, or financial advice — building codes and permit rules are set locally and change, so confirm the specifics with your own building department or a licensed pro before you commit. Cost figures are planning ranges, not quotes; see our methodology.

Price it with our calculators