Fence Height: Privacy, Code & Material Guide
Quick answer: most US codes allow a 6-ft fence in the back yard and 4 ft in the front without a permit. A 6-ft fence gives good privacy. Here's what height to pick and why.
- Height & privacy
- Code limits
- Pool fences
- Height by material
- Worked example
- Common mistakes
Height & privacy
A 6-foot fence gives solid privacy at street and neighbor level. Below that — 4 ft — you're mostly marking a boundary, not blocking sightlines. On a sloped yard you may need 6–8 ft to get the same effective height, but anything over 6 ft usually needs a permit and a setback.
Code limits
Most US municipalities cap fences at 6 ft in the back yard and 4 ft in the front without a permit. Rules vary by city, and HOAs are often stricter. Before you buy posts, check your local building department and HOA rules — a fence you have to tear down is the most expensive kind.
Pool fences
Pool codes require a fence at least 4 ft (some areas 5 ft) with self-closing, self-latching gates and no climbable gaps. Pool fencing is the most regulated category — verify your local code before planning, because a decorative fence that doesn't meet pool rules won't pass inspection.
Height by material
| Material | Typical heights | Note |
|---|---|---|
| Wood privacy | 6 ft | Solid panels, max privacy |
| Vinyl | 4–6 ft | Low-maintenance, price jumps with height |
| Chain link | 4–6 ft | Security/containment, not privacy |
| Picket | 3–4 ft | Decorative, front yards |
Taller material costs more per linear foot — vinyl especially. Choose the minimum height that meets your need to control cost.
Worked example
A 50-ft back-yard privacy run at 6 ft:
- Posts ≈ every 8 ft → 7 posts (50 ÷ 8 + 1)
- Rails ≈ 2 per 8-ft section → ~13 rails
- Pickets ≈ 3 per linear ft (at 5-in width with gap) → ~150 pickets
The fence calculator counts posts, rails, pickets, and cost from your exact run and height.
Common mistakes
- Building before checking code. Height limits vary by city and HOA.
- Pool fence that's too low. Most pools need 4–5 ft minimum.
- Paying for more height than you need. Taller costs more per foot.
- Ignoring setback rules. Some fences need a setback from the property line.
FAQ
Most US municipalities allow a 6-foot fence in the back yard and 4 feet in the front yard without a permit. Rules vary by city and HOA, so check local code before building.
A 6-foot fence provides good privacy from neighbors and street level. For more privacy on a sloped yard, 6–8 feet works, but anything over 6 feet usually needs a permit.
Most pool codes require a fence at least 4 feet (some areas 5 feet) tall, with self-closing, self-latching gates and no climbable gaps. Check your local code — pool fences are strictly regulated.
An 8-foot fence is allowed in some back yards but usually requires a permit and often a setback. Many HOAs cap heights at 6 feet. Check both your city code and HOA rules first.