Standard Fence Height (and Local Height Limits)
Part of Decks, Fences & Roofing
Quick answer
The standard backyard fence is 6 ft tall, and front-yard fences are usually 3–4 ft. Most municipalities cap front fences at 4 ft and rear/side fences at 6 ft (sometimes 8 ft with a permit). Always confirm your local zoning code, HOA rules, and property-line setback before building.
There's a 'standard' height for each location, but the binding number is whatever your local zoning ordinance and HOA allow. Front yards are kept low for visibility and curb appeal; back and side yards are taller for privacy. Corner lots often have stricter limits near the street for sightlines.
Typical heights by location
| Location | Typical height | Common code cap |
|---|---|---|
| Front yard | 3–4 ft | 4 ft |
| Back yard (privacy) | 6 ft | 6 ft (8 ft w/ permit) |
| Side yard | 6 ft | 6 ft |
| Garden / deer fence | 3–4 ft (8 ft deer) | varies |
| Pool fence (safety) | min 4 ft | 48 in minimum |
| Chain link (residential) | 4–6 ft | varies |
Before you build
- Check the zoning ordinance for your city or county — height limits differ by yard and lot type.
- Property line setback: many codes require the fence a few inches inside your line; a survey settles disputes.
- HOA rules can be stricter than code on height, material and color.
- Pool fences must meet a safety minimum (usually 48 in) with self-closing, self-latching gates.
- Call 811 to locate utilities before digging post holes.
Once you've settled on a height, the fence calculator sets the right post length and burial depth (taller fences need deeper posts and more rails).
FAQs
How tall can a backyard fence be?
Six feet is the common standard and the typical code maximum for residential rear and side yards. Some cities allow up to 8 ft with a permit. Front-yard fences are usually limited to 3–4 ft.
How high should a garden fence be?
A basic garden fence is 3–4 ft to keep out rabbits and define beds. To stop deer you need about 8 ft, since deer can clear shorter fences.
Can I build a fence right on the property line?
Often you must set it a few inches inside your line, and rules vary by jurisdiction. Get a survey to confirm the boundary, and talk to your neighbor about a shared 'good-neighbor' fence to avoid disputes.