Do You Need a Permit to Build a Fence?
In most U.S. cities, yes — at least for a fence over 6 feet tall, any fence in the front yard, a corner lot, or a pool barrier. Permit fees usually run $25–$250, and HOA approval is often a separate step.
Updated November 2026 · U.S. rules vary by city and county
Fence rules are set locally, not nationally. Two houses on the same street can fall under different rules if one sits in a city and the other in unincorporated county land. The table below is a starting point, not a substitute for checking your own zoning code.
When a fence permit is typically required
| Fence situation | Permit usually required? | What to expect |
|---|---|---|
| Side or back yard, 6 ft or under | Often no | Still check height and setback rules |
| Any fence over 6 ft | Usually yes | Plan review and final inspection |
| Front yard fence | Often yes | Lower height limit, usually 3–4 ft |
| Corner lot | Usually yes | Sight-triangle rules near the corner |
| Pool barrier | Yes | Life-safety code plus inspection |
| Retaining wall holding a fence | Often yes | Wall may need its own permit |
| HOA property | Approval separate | Architectural review before building |
Rural and unincorporated areas are sometimes permit-free, but setbacks and utility easements still apply.
Typical fence height limits
- Front yard: commonly 36–48 inches at the property line.
- Side and back yard: commonly 6 feet; 7–8 feet is allowed in some areas with a permit.
- Corner lots: the sight triangle at the street corner may limit fences to 24–36 inches.
- Pool barriers: 48 inches minimum under model codes, with stricter local rules common.
Height is usually measured from the finished grade on the side of the fence facing the neighbor or street. A fence built on a retaining wall or berm can exceed the limit even when the panels are 6 feet tall.
Corner lots and sight triangles
Most codes require a clear triangle at street intersections so drivers can see cross traffic. The triangle typically extends 20–30 feet down each property line from the corner, and fences or hedges inside it are limited to about 24–36 inches. If you are on a corner, assume your fence plan will be reviewed more closely.
HOA approval is separate from the city permit
An HOA can require approval even when the city does not, and it can be stricter: material, color, height, style, and even the side the finished face points toward. Most associations ask for a plot plan, a photo or drawing of the fence, and the contractor's plans. Approval sometimes takes 30 days, so submit before ordering materials.
Pool fence rules are about safety, not aesthetics
Pool barriers follow building and safety codes rather than ordinary fence rules. Typical requirements include:
- At least 48 inches tall, with no footholds or handholds that a child could climb.
- Self-closing and self-latching gates, with the latch high enough to be out of a small child's reach.
- Maximum gaps and mesh openings small enough to prevent passage.
- An inspection before the pool is filled or used.
Some states also require a barrier around above-ground pools or a safety cover plus alarm. Check with the local building department before choosing a fence style.
What the permit process looks like
- Check the code. Search your city's website for the fence ordinance, or call the planning department and give the address, fence height, material, and location on the lot.
- Prepare a plot plan. A simple drawing showing the lot lines, house, fence location, height, and gates is often enough. Some cities require a survey.
- Submit the application. Many cities accept online applications; smaller jurisdictions still require an in-person visit.
- Pay the fee and wait for review. Simple residential fence permits are often approved in a few days to two weeks.
- Call 811 before digging. Utility locates are free and usually required before post holes are dug.
- Schedule the inspection. Many areas inspect after posts are set but before panels go up; others inspect only when finished.
What a fence permit costs
| Item | Typical cost |
|---|---|
| Residential fence permit | $25–$150 |
| Fence permit in a high-cost metro | $150–$400 |
| Pool barrier permit | $50–$250 |
| Plan review or survey | $50–$500 |
| HOA architectural review | $0–$500 |
Permit cost is small compared with the fence itself. A 150-foot wood fence runs $2,300–$4,500 installed, so a $100 permit is roughly 2–4% of the project.
What happens if you skip the permit
- Stop-work order. The city can halt construction mid-project.
- Fines. Some jurisdictions fine per day or per violation until the fence is corrected.
- Removal. An unpermitted fence that violates height or setback rules may have to come down at your expense.
- Sale problems. An open permit or unpermitted structure can delay or kill a home sale.
- Insurance and liability. A fence that violates pool barrier rules can affect coverage and create serious liability.
How to check your local rules in 10 minutes
Search for your city plus "fence permit" or "fence ordinance." Look for height by yard location, corner-lot sight triangles, pool barrier rules, and whether a plot plan is required. If the code is unclear, call the planning department and ask three questions: Does a 6-foot fence at this address need a permit? What is the maximum height in the front yard? And what do I need to submit?
Fence permit FAQ
Do I need a permit to replace an existing fence?
Often yes, even if the new fence is the same height and location. Many cities treat replacement as new construction. Some allow a like-for-like replacement without a permit; ask before ordering materials.
How much does a fence permit cost?
Most residential fence permits cost $25–$150. High-cost metros and pool barrier permits can run $150–$400. Plan review or a required survey can add $50–$500.
Can my neighbor build a fence on the property line?
Usually, but rules on ownership, maintenance, and setbacks vary. A fence exactly on the line is often jointly owned, which creates obligations later. Confirm the survey and check local rules before agreeing.
Do I need a permit for a fence under 6 feet?
Not always, but height is not the only trigger. Front-yard fences, corner lots, pool barriers, and HOA rules can require approval even for a 4-foot fence.
How long does a fence permit take?
Simple residential permits are often approved in a few days to two weeks. Corner lots, pool barriers, and HOA reviews can take longer. Build the review time into your schedule before ordering materials.