Most people buy a privacy fence by height the same way they buy a shirt by size: six feet, because that is what everyone has. Then they sit on the patio and still see straight into the neighbor’s upstairs window, or they pay for eight feet and find out the city only allows six. A fence blocks a line of sight, and whether it works depends on where you sit, where the other person stands, and how far apart you are, not just on how tall the boards are.
This guide answers the height question properly: the standard heights, what your city is likely to allow in each part of the yard, a tape-measure test you can run before you spend anything, and the mistakes that get fences torn down.
Last updated: November 17, 2026
The short answer: how tall are privacy fences
A privacy fence is usually 6 feet tall in the backyard, and 3 to 4 feet tall in a front yard. Six feet blocks the view of a standing neighbor on flat ground, which is why it is the standard. Some cities allow 8 feet behind the house, and pool fences follow a separate rule with a 4-foot minimum.
Height is only one part of the choice: our guide to fences for yards covers how privacy fits with dogs, kids, pools, and slopes.
Contents
- The short answer: how tall are privacy fences
- What “standard height” actually means
- How tall a privacy fence can be, by yard position
- The sightline test: work out the height you actually need
- 6 feet vs 8 feet: what the extra two feet buys you
- Height by material: what each fence type comes in
- Lattice toppers: do they count toward the height?
- Fences on a slope: stepped panels and how height is measured
- Pool fences follow a different height rule
- Three checks before you order lumber
- Mistakes that get a fence torn down
- DIY or hire a pro
- Questions people ask
- Sources
What “standard height” actually means
A privacy fence is a solid fence built to block the view into a yard, usually with boards butted tight or overlapped so there are no gaps to see through. Height is measured from the ground at the fence line to the top of the tallest board, lattice included in most places.
The word “standard” does two jobs at once, and it helps to pull them apart. First, there is the standard product: fence panels and pickets are sold in stock heights, and 6 feet is the one every lumber yard and vinyl supplier carries. Second, there is the standard legal limit: most residential zoning codes cap side and rear yard fences at 6 feet, which is exactly why the stock size and the legal limit line up. You can buy taller, but in most towns you cannot build taller without a permit or a variance.
That is also why 6 feet became the default for privacy. A standing adult’s eyes sit around 5 and a half feet off the ground. A 6-foot fence clears that by a few inches, so it blocks the view between two flat yards. Anything shorter leaves a sightline over the top, and anything taller starts to fight the code, the wind, and the budget, which the sections below walk through one at a time.
How tall a privacy fence can be, by yard position
How tall a privacy fence can be depends first on which yard it stands in. Zoning codes split a lot into a front yard, side yards, and a rear yard, and give each its own limit. The front stays low so drivers can see the street and the neighborhood keeps an open look. The sides and back are where a full-height privacy fence is allowed.
Four real city codes show the pattern clearly. DecorPlume compared the fence rules of Darien in Illinois, SeaTac in Washington, Sebastopol in California, and Tempe in Arizona, and the numbers line up in a way that is easy to remember.
| Yard position | Typical limit | What four real codes say |
|---|---|---|
| Front yard | 3 to 4 ft | Darien 3 ft for landscape fences, Sebastopol 3.5 ft, Tempe and SeaTac 4 ft |
| Side yard | 6 ft | Darien, SeaTac, and Sebastopol cap side yards at 6 ft |
| Rear yard | 6 ft, sometimes 8 ft | Darien, SeaTac, and Sebastopol cap rear yards at 6 ft; Tempe allows 8 ft behind the front setback for single-family homes |
| Rear yard next to a neighbor’s front yard | 4 ft | Darien drops the rear limit to 4 ft where your rear yard borders the front yard of the lot next door |
| Corner lot | Varies, check the sight triangle | Tempe applies clear-vision rules to fences on corners, and SeaTac draws separate fence-height figures for corner lots |
San Antonio follows the same shape: 3 feet for a solid fence in the front yard, 6 feet in side and rear yards, with 8 feet allowed in set cases such as yards with a pool or lots backing onto an alley.
Two things in that table catch people out. The first is the rear yard that borders a neighbor’s front yard, which Darien caps at 4 feet even though it is technically a rear yard. The second is the corner lot, where the second street frontage often counts as a second front yard with the lower limit, plus a sight triangle at the corner where nothing tall is allowed at all. If your house sits on a corner, ask the zoning office where the sight triangle and the second front yard begin before you set a post.
The sightline test: work out the height you actually need
The code tells you the tallest fence you may build. It does not tell you the shortest fence that will actually give you privacy, and those are two different numbers. A 6-foot fence on flat ground blocks a standing neighbor. The same fence fails the moment the ground, or the neighbor, sits higher than you.
Picture a straight line from your eye to the eye of someone standing in the next yard. The fence has to rise above that line where it crosses it. A seated adult’s eyes are around 4 feet up and a standing adult’s are around 5 and a half, which is why 6 feet works between two flat yards. But if the neighbor’s yard sits 2 feet higher than yours, their eyes are effectively at 7 and a half feet, and a 6-foot fence on the property line will not hide a standing person at all. A raised deck or an upstairs window does the same thing from the other side.
The diagram below shows both cases side by side, so you can see the geometry before you measure anything.

Run the test yourself with a tape measure and a helper before you order anything. Stand where you sit most, on the patio or at the back door, and have your helper stand where the neighbor would stand, at the property line and on their deck or upstairs landing if that is the view that bothers you. Hold a tape or a long board upright at the fence line and find the height where it cuts the line between your eyes and theirs. That number is the fence height you actually need, and it is often a foot lower, or higher, than the number you would have guessed.
Distance matters too. A screen close to where you sit blocks more of the view with less height, because it covers a wider angle. A 7-foot trellis panel beside the patio can do more than a hundred feet of 6-foot fence on the property line, and it costs a fraction as much. If only one window or one deck overlooks your yard, screen that one view rather than fencing the whole line taller.
6 feet vs 8 feet: what the extra two feet buys you
Six feet is the default for good reason: it fits most side and rear yard limits, it sits under the building permit exemption in the model code, and it uses stock 6-foot pickets on 8- or 10-foot posts. Eight feet helps in exactly three situations: the neighbor’s ground sits higher than yours, a raised deck or second-story window looks down into your yard, or the fence backs onto a busy road and you want the extra screening and a little noise reduction. Outside those three, the extra height mostly buys wind load and cost.
| 6-foot privacy fence | 8-foot privacy fence | |
|---|---|---|
| Privacy on flat ground | Blocks a standing neighbor | Blocks a standing neighbor, with room to spare |
| Privacy from a raised deck or upstairs window | Usually not enough | Often enough, if the code allows it |
| Legal limit in most towns | Fits the side and rear yard cap | Needs a city that allows 8 ft, and usually a permit |
| Posts | 8- to 10-foot posts, about 2 to 3 feet in the ground | About 12-foot posts, about 4 feet in the ground |
| Wind load | Moderate, standard construction | Much higher, needs reinforced posts |
| Cost | The baseline | Roughly 25 to 35 percent more, per HomeAdvisor’s figures |
| Look from the street | Reads as a normal backyard fence | Reads as a wall, and neighbors notice |
Going taller adds work beyond two more feet of boards. The model International Residential Code exempts only fences not over 7 feet from a building permit, so an 8-foot fence usually needs one, and some cities set the trigger lower: Tempe requires a permit for any wall over 6 feet. The posts get longer and deeper, because the rule of thumb is to bury about one-third of the post, so an 8-foot fence wants a 12-foot post with 4 feet in the ground. And a solid 8-foot fence catches far more wind than a 6-foot one, so the posts need reinforcing, either aluminum inserts or concrete backfill, to at least 22 inches above grade, according to the vinyl fence maker Weatherables.
On cost, HomeAdvisor puts the jump at 25 to 35 percent over a standard-height fence, and our guide to what a privacy fence costs per foot breaks down the per-foot prices by material so you can check fence cost by height before you commit to the taller build. If the code allows 8 feet, build it only on the stretch that faces the problem view, and keep the rest at 6 feet.
Joe Everest, a fence builder who goes by The Fence Expert, walks through the same 6-foot against 8-foot choice in the video below, including the local rules that decide which one you are allowed to build.
Height by material: what each fence type comes in
Not every material comes in every height, and the stock sizes shape the decision as much as the code does. Wood is the most flexible: pickets come in 4, 5, 6, and 8-foot lengths, and a site-built wood fence can be cut to any height in between, including a 7-foot fence where the code allows it. Vinyl panels are factory-made, so you are usually choosing between 4, 5, 6, and 8-foot panels, with 6 feet by far the most common. Composite fencing is sold in similar panel heights to vinyl, and metal fences, aluminum or steel, are rarely built as solid privacy fences at all, so their heights run shorter and more open.

| Material | Stock heights | Height notes |
|---|---|---|
| Wood | 4, 5, 6, 8 ft pickets | Most flexible, can be cut to any height; board-on-board overlaps stop gaps opening as wood shrinks |
| Vinyl | 4, 5, 6, 8 ft panels | Factory panels, so height changes mean a different panel, not a cut; taller panels need reinforced posts |
| Composite | 5, 6, 8 ft panels | Similar to vinyl, heavier per panel, so post spacing and footings matter more at 8 ft |
| Aluminum or steel | 4, 5, 6 ft, usually open | Built for looks and boundaries, not privacy; a solid 8-foot metal privacy fence is rare and heavy |
| Chain link | 4, 5, 6 ft | Not a privacy fence on its own; privacy slats add screening but no real height |
Wood has one more height habit worth knowing. A wood fence shrinks as it dries, and solid boards butted tight can open gaps within a season, which quietly lowers the effective privacy even though the height never changes. Board-on-board construction overlaps the boards so the fence stays solid, and it is worth the small premium if privacy is the whole point. How long a wood fence lasts depends on the species, the finish, and the ground it stands in, so the height decision and the lifespan decision go together. For how solid, board-on-board, shadowbox, and horizontal slat styles screen at the same height, compare the different types of privacy fences.
Lattice toppers: do they count toward the height?
A lattice or trellis band on top of a solid fence is the classic way to add a foot or two without building a taller solid wall. It blocks less light and air than solid boards, so some codes give it a separate allowance, but most codes count it toward the total height, and the allowance is small and comes with conditions.
Sebastopol allows 2 feet of lattice on side and rear fences no more than 6 feet tall, for 8 feet overall. SeaTac allows a trellis or lattice panel no more than 12 inches tall above the fence limit, as long as at least 10 inches of open space remains above the top of the fence, with an overall cap of 8 feet in side and rear yards. Tempe allows 2 more feet in the front setback for architectural features such as archways and pergolas, with a use permit.
If your code says nothing about lattice, treat the top of the lattice as the top of the fence. The mistake that costs people money is adding the topper after inspection, when the fence already passed at 6 feet and the lattice pushes it over the cap. Decide the total height first, lattice included, and get it approved as one number.
Fences on a slope: stepped panels and how height is measured
A fence on a slope is measured section by section, because a stepped panel is taller at its low end than at its high end. Most builders step the panels: each section stays level, and each step down drops the panel to follow the grade. The alternative is racking, where the panel follows the slope, which works for gentle grades and open styles but looks wrong on a solid privacy fence.
The measuring rule is where people get caught, because every code measures from a different patch of ground. SeaTac measures from the lower of existing or finished grade at the property line, and lets a 6-foot fence be averaged across stepped segments, as long as no part of the fence rises more than 8 feet above finished grade. Tempe measures from the highest adjacent finished ground, paving, or sidewalk within 20 feet. One city measures from the low side and the other from the high side, and the same fence can be legal in one and a violation in the other.
Three slope rules to check before you build:
- Which grade counts. Find the exact words in your code: lower grade, higher grade, or the ground within a set distance. Measure at the fence line, at each post, on the side the code names.
- The hard maximum. Even where averaging is allowed, there is usually a cap no section may pass, such as SeaTac’s 8 feet at any point.
- Fences on retaining walls. SeaTac caps a raised wall and the fence on it at 9 and a half feet combined in side and rear yards, and 6 feet in front. Above that, the fence has to be open material you can see through.
Darien adds a practical warning that is easy to miss: the ground under the fence may not be changed without the zoning officer’s approval. Building up soil to level a fence line can count as regrading, so ask first.
Pool fences follow a different height rule
A fence around a pool is a safety barrier first and a privacy fence second, and it follows a different set of numbers. The US Consumer Product Safety Commission’s Safety Barrier Guidelines for Residential Pools say a pool barrier should be at least 4 feet high, measured from the ground on the outside of the fence to the top of the barrier, and that 5 feet or higher is preferable. Some states go further: California requires 5 feet under its Swimming Pool Safety Act, and Arizona requires 5 feet where children under six live.
Height alone does not make a pool fence safe. The same guidelines cap the gap under the fence at 4 inches above a solid surface and 2 inches above grass or gravel, limit openings so a 4-inch sphere cannot pass through, and require self-closing, self-latching gates that open away from the pool. A 6-foot privacy fence around a pool can still fail inspection if the gate swings the wrong way or the latch sits where a small child can reach it. Check the pool barrier rules separately from the privacy fence rules, and remember the guidelines themselves say they are not a mandatory federal standard: your state and city code is the rule that counts, and no barrier replaces adult supervision.
Three checks before you order lumber
The limit for your own address is set by three separate rulebooks, and you have to clear all three. A fence that passes one can still fail another.
Zoning code. This sets the height by yard, the lattice allowance, and the slope rules. Search your city or county code for “fence” and find the zoning district on your property record. Call or email the building department with your address and planned height: a short written answer is worth more than any typical number in an article, this one included.
Building permit. The model International Residential Code exempts fences not over 7 feet from a building permit, but your city may set a lower trigger, such as Tempe’s 6 feet, or permit every fence, as Darien does. And no permit does not mean no zoning review. They are separate approvals, and a fence can be permit-exempt and still violate the zoning height limit.
HOA covenants. These are often stricter than the city on height, material, and which side faces out. Get written approval before you order lumber, and keep it with the permit paperwork.
One more check worth five minutes: whether home insurance covers fences, and what your policy says about a fence that has to come down or be rebuilt after storm damage. It will not change the height you build, but it changes what a mistake costs you.
Before anyone digs, contact your state’s 811 center so underground utilities get marked. The call is free, state law requires the notice, and a post hole through a gas or electric line turns a weekend project into an emergency.
Mistakes that get a fence torn down
- Using a national “6 feet” rule. Darien drops to 4 feet next to a neighbor’s front yard, Tempe allows 8 feet. The number that matters is the one in your city’s code.
- Adding lattice after inspection. A topper can push the fence over its cap, and the fix is removing it or rebuilding the run.
- Measuring from your own raised bed or patio when the code measures from the lower grade at the property line.
- Letting stepped panels run tall at the low end past a hard maximum like SeaTac’s 8 feet.
- Assuming no building permit means no zoning review. They are separate approvals, and the zoning violation is the one that usually gets the complaint.
- Buying 8-foot posts for an 8-foot fence. Plan on about 12 feet of post, with roughly 4 feet in the ground, and ask whether your city requires engineered footings.
- Building on the wrong side of the line. A survey costs less than moving a fence. Confirm the property line first, tell the neighbor before work starts, and offer the finished side if your town does not already require it.
DIY or hire a pro
Height changes the DIY math. A 6-foot fence on flat ground is a comfortable weekend job for two people with a post-hole digger, a level, and a string line. An 8-foot fence is a different build: 12-foot posts, holes 4 feet deep, heavier panels, and concrete footings that have to be right, because a tall solid fence that leans is a fence that comes down in the first storm.
Hire a pro when the fence is 8 feet, the ground slopes hard, the line runs near a retaining wall, or the permit drawing needs a survey. A good installer knows the local height rules and the inspection sequence, and that knowledge is part of what you are paying for. Either way, plan the upkeep from the start: our guide on how to clean a fence covers the routine that keeps a tall fence standing straight, and the fence cost guide by material is the place to compare the full installed price before you choose between wood, vinyl, and composite.
Questions people ask
A standard privacy fence is 6 feet tall. That height matches the side and rear yard limit in many zoning codes, such as Darien in Illinois, SeaTac in Washington, and Sebastopol in California, and it stays under the 7-foot building permit exemption in the model International Residential Code. Front-yard fences are usually limited to 3 to 4 feet.
Only where your code allows it. Tempe, Arizona, permits 8 feet behind the front setback for single-family homes but requires a building permit for any wall over 6 feet. Many other cities cap rear fences at 6 feet. Check your zoning code, permit rules, and HOA covenants before you buy 12-foot posts.
A 4-foot fence holds most small dogs, but larger and more active breeds need 6 feet, and a determined jumper can clear that. Rio Grande Fence notes that white-tailed deer can jump up to 8 feet, so in deer country an 8-foot fence is the height that actually keeps them out. For dogs, height is only half the job: the fence also needs to sit tight to the ground so they cannot dig under it.
Usually yes, unless your code says otherwise. Sebastopol, California, allows 2 feet of lattice on a fence no more than 6 feet tall, and SeaTac, Washington, allows a 12-inch trellis or lattice panel with an 8-foot overall cap in side and rear yards. If your code is silent, measure to the top of the lattice.
Each code sets its own measuring rule, so read it first. SeaTac measures from the lower of existing or finished grade and lets a 6-foot fence be averaged across stepped segments, with no point over 8 feet. Tempe measures from the highest adjacent ground within 20 feet. Measure each section at both ends, and check the hard maximum.
The Consumer Product Safety Commission’s guidelines put the top of a pool barrier at least 48 inches above grade, measured on the side facing away from the pool, and say 5 feet or higher is preferable. Some states require 5 feet. Height alone is not enough: the same guidelines limit the gap under the fence to 4 inches and require self-closing, self-latching gates.
Bury about one-third of the post, and at least 2 feet, going below your frost line where the ground freezes. For a 6-foot fence that means 8- to 10-foot posts. For an 8-foot fence, plan on 12-foot posts with about 4 feet in the ground, and ask whether your city requires engineered footings.
Sources
- International Code Council, 2021 International Residential Code, Section R105.2, Work exempt from permit (2021).
- US Consumer Product Safety Commission, Safety Barrier Guidelines for Residential Pools (Publication 362).
- DecorPlume, How Tall Is a Privacy Fence? 6 ft vs 8 ft and Height Limits (2026).
- QuickBuildCost, Privacy Fence Cost and How Tall It Needs to Be (2026).
- Rio Grande Fence Company, How to Choose the Right Fence: What Fence Height Is Right for Me?
- Joe Everest (Ozark Fence), Is a 6 Foot Fence Enough? How Tall Can I Make My Fence?, YouTube.
