Introduction
The most expensive fence is the one you have to tear down. Height limits, setback rules, permits, HOA approvals, and utility easements vary not just by state but by street — and “nobody told me” has never won an appeal. This guide maps the compliance landscape so you check the right boxes before the first post hole.
The Wood Fence Calculator estimates materials; this guide protects the investment. One caveat up front: fence law is intensely local. Everything below describes typical US patterns — your city, county, or HOA is the authority, and the final section tells you exactly what to ask them.
Height Limits
The most common US pattern:
| Location on lot | Typical max height | Metric |
|---|---|---|
| Rear yard | 6 ft | 1.83 m |
| Side yard (behind front setback) | 6 ft | 1.83 m |
| Front yard | 3–4 ft | 0.91–1.22 m |
| Corner-lot street side | 3–4 ft (sight-triangle rules) | 0.91–1.22 m |
Height is usually measured from grade — and on sloped lots, from which grade point matters. Some jurisdictions measure from the high side, others average. A fence that is 6 ft from your uphill grade can read 7 ft from the neighbour’s side and draw a complaint. Ask how height is measured, not just what the limit is.
Permits
- When they’re required: many municipalities require a fence permit for anything over 3–4 ft, near sidewalks or property lines, or in historic districts. Some require permits for all fences, period.
- What they cost: typically $50–$200 — trivial against the project budget, catastrophic to skip.
- What the application needs: usually a site plan showing the fence location relative to property lines and structures, height, and materials. A survey or plot plan is often required.
- Inspections: some jurisdictions inspect post holes before concrete (depth verification) and the finished fence. Know the inspection points before you pour — a post-hole inspection happens with holes open, not after.
Start with your city or county building/planning department’s website — search “[your city] fence permit.” If the website is unclear, call. The five minutes beats the rebuild. Permit timing also affects your project schedule; the pre-install checklist puts it in sequence.
Setbacks and Property Lines
- Fences usually may sit on the property line — but “usually” is doing heavy work. Some jurisdictions require 6–12 in (15–30 cm) setbacks; corner lots often have larger ones.
- Your fence, your maintenance: building exactly on the line can mean needing the neighbour’s permission to stain your side. A 6-in setback keeps the whole fence serviceable from your property.
- Survey before you build if pins are missing or the old fence’s origin is unknown — $300–$600 for a survey vs $3,000+ to move a fence. This is also mistake #11 in the common mistakes guide.
- Adverse possession and boundary agreements: in some states, long-standing fence lines can affect boundary claims. If the old fence isn’t on the surveyed line, talk to a surveyor before “correcting” it.
HOAs and Deed Restrictions
HOAs are often stricter than the city: approved materials (cedar but not pine, or vice versa), approved stain colours, height caps below the municipal limit, and design review before construction. The approval process takes 2–6 weeks — submit early. Note the hierarchy: you must satisfy both the city and the HOA, and the stricter rule wins. A city permit does not override an HOA denial.
Corner Lots, Sight Lines, and Easements
- Corner-lot sight triangles: near intersections, fences (and anything else) above ~3 ft (0.91 m) are often banned within a triangular zone at the corner — typically 25–30 ft (7.6–9.1 m) along each street. This is a safety rule, and it’s enforced.
- Utility easements: that 10-ft strip along the back line may belong to the power or sewer utility. You can usually fence across an easement, but the utility can tear the fence out for access — and won’t pay to rebuild it. Build accordingly (screws, not nails, on easement sections).
- Drainage easements and swales: blocking a drainage path with a fence (or its concrete footings) can create liability for flooding the neighbour. Keep swales clear.
- Call 811 before you dig (US) — free utility marking, required by law in most states. Post holes hit gas and electric lines every year; the call takes days to schedule, so call early. Striking a line is also one of the costliest items in the common mistakes guide — prevention is a phone call.
What to Ask Your Local Authority
Bring this list to the building department or HOA architectural committee:
- Is a permit required for a fence of my height and location? What does the application need?
- What are the height limits for front, side, rear, and corner-lot street sides — and how is height measured on a slope?
- Are there setback requirements from property lines, sidewalks, or streets?
- Are there material or colour restrictions (HOA)?
- Are post-hole or final inspections required, and at what stages?
- Are there sight-triangle or easement restrictions on my lot?
- Does my state or county have boundary-fence cost-sharing rules with neighbours?
Related Guides
- Wood Fence Complete Guide — the flagship estimating overview.
- Pre-Install Fence Checklist — permits and 811 in project sequence.
- Common Fence Estimating Mistakes — the compliance errors that cost the most.
- DIY vs Pro — when local inspection rules tip the decision.
- Estimating Guide — measuring setbacks into the fence line.
Frequently Asked Questions
Do I need a permit for a 6-foot fence?
In many US municipalities, yes — 6 ft is the most common permit threshold trigger. But some jurisdictions exempt fences under 7 ft, and some require permits for any fence. Check locally; the permit is $50–$200.
Can I build a fence on the property line?
Usually yes, but some jurisdictions require setbacks of 6–12 in (15–30 cm), and corner lots often have larger ones. Verify before you dig — and consider a small setback anyway for maintenance access.
What happens if my fence violates the height limit?
Typically a notice of violation with a deadline to correct — meaning cut down or rebuild the fence at your expense. Fines can accrue daily in some jurisdictions. Check first; it’s the cheapest step of the project.
Do I need to call 811 for fence post holes?
Yes. In most US states it’s legally required before any digging, it’s free, and post holes absolutely do strike buried utilities. Call at least a few business days before you dig.
Can my HOA dictate my fence colour?
Often yes — HOAs commonly restrict materials, colours, and styles beyond what the city requires. Get architectural approval in writing before buying materials; the review takes 2–6 weeks.
Get Your Number
Compliance is the cheapest phase of a fence project and the most expensive to skip. Confirm heights, permits, setbacks, and easements with your local authority, mark your utilities with 811, then build your material list in the Wood Fence Calculator with confidence that the fence you estimate is the fence you’re allowed to build.
Disclaimer: Fence regulations vary by city, county, state, and HOA; nothing here is legal advice. Always verify requirements with your local building authority (AHJ) and HOA before building. Calculator results are planning estimates; consult a licensed professional or your local building authority for structural or code-related decisions.
