How deep should a fence post be?

Bury one third of the post's overall length, plus about 6 inches of gravel beneath it — so a 6-foot fence wants a 9-foot post set 36 inches deep. Then check the one number that overrides it: your local frost line depth, which is not published on any national chart and which decides whether your posts stay put or walk out of the ground.

Cross-section diagram of a fence post set in concrete over a gravel base, with the frost line marked and the 36 inch post depth, 6 inch gravel base and 42 inch hole dimensioned

The one-third rule

The standard rule, and the one Quikrete publishes with its post-setting instructions, is to bury one third of the post's overall length and add about 6 inches to the hole for a gravel base.

Set depth = post length ÷ 3   |   Hole depth = set depth + 6 in of gravel

So a post with 6 feet showing above ground is a 9-foot post: 6 feet up, 3 feet down, in a 42-inch hole. The logic is simple leverage. A fence is a sail. Wind pushes on the panel, the post tries to rotate, and the buried third is the counterweight. Make the fence taller without making the buried part deeper and you have lengthened the lever without strengthening the pivot.

That is the rule. The rest of this guide is about the three things that change it.

Depth by fence height

Here is where the theory meets the lumber yard. Posts are sold in even 2-foot lengths — 6, 8, 10 and 12 feet — so the depth you actually end up with is whatever is left after the fence height, not whatever the rule asks for.

Fence height⅓ rule wantsPost it needsPost people buyDepth that gives
3 ft18 in4 ft 6 in6 ft36 in — over
4 ft24 in6 ft6 ft24 in — exact
5 ft30 in7 ft 6 in8 ft36 in — over
6 ft36 in9 ft8 ft24 in — short
8 ft48 in12 ft10 ft24 in — short

Look at the 6-foot row, because that is the most common fence in America. Nobody sells a 9-foot post. Almost everyone builds a 6-foot fence on an 8-foot post, which leaves 24 inches in the ground — a third less than the rule asks for.

Does that matter? In mild climates with stable soil, usually not; there are millions of 6-foot fences standing on 24-inch posts. It starts to matter when you add wind exposure, heavy solid panels, clay soil, or a frost line deeper than 24 inches. If any of those apply, buy 10-foot posts and set them 4 feet down. The extra cost per post is small next to resetting a leaning fence in three years.

Why the published rules disagree

If you search this question you will find confident numbers that contradict each other. They are not all wrong — they are answering slightly different questions.

SourceRuleFor a 6 ft fence
Quikrete⅓ of post length, + 6 in gravel36 in set, 42 in hole
Home Depot post manualFixed depth by fence height30 in
Common build practiceWhatever an 8 ft post leaves24 in

The difference is what each one scales with. Quikrete's rule scales with the post, so it keeps the same proportion whatever you buy. The Home Depot figures scale with the fence, which is easier to follow at the counter but quietly assumes a post length. Common practice scales with what is on the rack.

Treat the one-third rule as the target and the 24-inch reality as the floor. Then check the number that outranks both of them.

The frost line overrides everything

Every rule above is about leverage. The frost line is about something else entirely, and it wins.

When water in the soil freezes it expands, and that expansion pushes upward on anything buried in it. Over a few winters the ground lifts a post a little each freeze and does not put it all the way back each thaw. The post walks out of the ground. No amount of concrete prevents this — a bigger concrete footing in the frost zone just gives the ice more to push on. The only fix is to put the bottom of the hole below the depth that freezes, where the soil never expands.

Home Depot's own installation manual says to fill to 2 inches below the post top or below the frost line, whichever is deeper. That "whichever is deeper" is the whole game.

Why you cannot just look your frost depth up

This is the part almost every article on the subject gets wrong, and it is worth understanding.

The frost line depth is not published as a national dataset. It lives in IRC Table R301.2(1), the climatic and geographic design criteria table — and in the model code that cell is blank. Footnote b instructs each adopting jurisdiction to fill it in:

“The jurisdiction shall fill in this frost line depth column with the minimum depth of footing below finish grade.” — IRC Table R301.2(1), footnote b

So the authoritative number for your address is whatever your city or county wrote into their copy of that table. Here are real adopted values, to show the spread:

JurisdictionAdopted frost line depth
Spring Hill, Tennessee12 in
Wicomico County, Maryland18 in
Topeka, Kansas36 in
Harrison, New York42 in
Durham, New Hampshire48 in

Four times the depth between Tennessee and New Hampshire. And a few states skip the blank entirely — Minnesota's amended table points to a separate state rule that sorts counties into two frost protection zones instead of giving one number.

This is why the "frost depth by state" charts you find online disagree with each other. They are unofficial estimates compiled from various sources, not the adopted figures, and the conflicts are not subtle: the same state turns up as 42 inches on one chart and 100 inches on another, or 24 to 36 inches on one and 30 to 42 on the next.

Call your building department and ask for two numbers: the adopted frost line depth, and any minimum post-hole depth. It is a two-minute phone call, it is free, and it decides your post length, your hole depth and your whole concrete order. Every other number on this page is a rule of thumb; that one is the answer.

Do you need a permit?

Usually not — and that catches people out, because they read "no permit" as "no requirement".

The IRC exempts fences not over 7 feet high from building permits, and IBC-based local codes carry the same item. The threshold used to be 6 feet; the ICC raised it to 7 in 2012 for a very practical reason — fence boards are precut to 6 feet and get held a few inches off the ground, so the typical wood fence already measured over 6 feet and technically needed a permit nobody was pulling.

So for a standard 6-foot fence there is usually no permit, no plan review and no inspector measuring your holes. What that means is simply that nobody is going to catch it for you. The frost line still does what the frost line does. The exemption is from paperwork, not from physics.

Two things the exemption does not cover, which do get enforced: zoning and setback rules about how tall a fence may be and how close to the property line it may sit, and critical-area restrictions near wetlands, streams and slopes. Some places also measure fence height from the lowest adjacent grade, which can push a fence on sloping ground over the 7-foot line. Worth a call for those too.

Gate, corner and end posts

Line posts carry the panel between them. These three carry much more, and they are the ones that fail first.

  • Gate posts take the entire weight of the gate hanging off one side, plus the shock of it being slammed, plus whoever swings on it. Go one size up — a 6×6 where the line posts are 4×4 — and about 6 inches deeper.
  • Corner posts are pulled in two directions at once by the runs meeting there, and nothing on the far side balances them. Same treatment: bigger, deeper.
  • End posts are pulled one way with nothing opposing. Deeper is cheap insurance.

Because these holes are both wider and deeper, they need noticeably more concrete than the line posts — often double. Work them out as a separate batch in the fence post concrete calculator rather than averaging them in, or you will be short exactly where you cannot afford to be.

How soil changes the answer

The one-third rule assumes ordinary, reasonably firm soil. Two kinds of ground change what you need.

Clay holds water, and water is what freezes and expands, so clay heaves harder than sand at the same frost depth. It also shrinks and swells with moisture alone, cracking open gaps around the post in a dry summer. Clay wants depth and it wants a gravel base under the post so water can drain away instead of sitting against the end grain.

Loose sand does not grip. The post does not heave, it just leans, because there is nothing holding the concrete footing in place laterally. Sand wants a wider hole more than a deeper one — more footing surface for the soil to push back against.

If you are not sure which you have, dig one hole first and look at what comes out. It costs you twenty minutes and it tells you more than any chart.

Common mistakes

  • Setting to the rule of thumb and ignoring the frost line. A 24-inch post in a 42-inch frost zone will walk out. This is the single most common reason fences lean.
  • Buying the post before checking the depth. Post length is the one decision you cannot undo at the hole. Get the frost depth first, then buy.
  • More concrete instead of more depth. A wider footing in the frost zone gives the ice a bigger surface to lift. Depth is what helps; width is for leverage, not frost.
  • Concrete poured straight onto soil. It forms a bowl that holds water against the bottom of a wood post, which is where rot starts. Four to six inches of gravel drains it.
  • Treating gate posts like line posts. They carry several times the load and are the first thing to sag.
  • Reading "no permit needed" as "no rules". The exemption is from paperwork. Setbacks, height limits and the frost line all still apply.

Conclusion

Bury one third of the post length plus 6 inches of gravel, in a hole three times the post width. Then check your jurisdiction's adopted frost line depth and go below it, whichever is deeper. For a 6-foot fence that usually means buying 10-foot posts rather than 8-foot ones, which is the single decision that separates a fence that stands straight from one you reset in three years.

Once you know the depth and the hole width, the fence post concrete calculator turns them into bags per post and a total for the whole run — it subtracts the post from the hole and deducts the gravel base, so the number is the number. If you are pouring a slab or footing on the same project, the concrete calculator works in cubic yards, and the gravel calculator will size the drainage stone.

Frequently asked questions

How deep should a 6-foot fence post be?

Thirty-six inches by the one-third rule, which needs a 9-foot post. Since posts are sold in even lengths, most 6-foot fences use an 8-foot post set 24 inches, which is a third shallower than the rule asks. That is fine in mild climates and stable soil, but if your frost line is deeper than 24 inches, or the fence is solid-panel and exposed to wind, buy 10-foot posts and set them 4 feet down.

How deep should a 4-foot fence post be?

Twenty-four inches, in a hole about 30 inches deep once you allow 6 inches for gravel. A standard 6-foot post gives exactly that, which is why 4-foot fences are the one height where the rule of thumb and the lumber yard agree.

What happens if a fence post is not deep enough?

Two things, depending on why. Too shallow for the leverage and the post leans away from the wind over a season or two. Too shallow for the frost line and the ground lifts it a little each winter until the post stands proud of its neighbours and the rails pull apart. The second one cannot be fixed by adding concrete; the post has to come out and go deeper.

How do I find my local frost line depth?

Call your city or county building department and ask for the adopted frost line depth. It is written into their copy of IRC Table R301.2(1), where the model code leaves the cell blank for each jurisdiction to fill in. The frost depth charts you find online are unofficial estimates and they contradict each other, sometimes by more than a foot.

Do I need a permit to build a fence?

For a fence up to 7 feet high, usually not — the IRC exempts them from building permits. That exemption covers the permit only. Zoning rules on fence height and setback from the property line still apply, as do restrictions near wetlands and slopes, and some jurisdictions measure height from the lowest adjacent grade, which can put a fence on a slope over the limit.

Should gate posts be set deeper than line posts?

Yes, about 6 inches deeper and usually one size larger — a 6×6 where the line posts are 4×4. A gate post carries the whole weight of the gate on one side plus the shock of it closing, and it is the first post on any fence to start sagging.

Does the hole width matter as much as the depth?

They do different jobs. Depth handles frost and most of the leverage; width gives the footing surface area for the soil to push back against, which matters most in loose or sandy ground. The standard is three times the post width — 10 to 12 inches for a 4×4, 16 to 18 for a 6×6.

Do I need gravel at the bottom of the hole?

For wood posts, yes, 4 to 6 inches of compacted gravel. Concrete poured onto bare soil makes a bowl that traps water against the end grain of the post, and that is where rot begins. Gravel lets it drain. It also saves about a quarter of a bag of concrete per post.

Helpful resources

These are the primary sources for the figures above. Where two of them differ — the 36-inch and 30-inch depths for a 6-foot fence — both are cited so you can see where each number comes from.

Written by Shaikh Abdul Wasey

Shaikh Abdul Wasey founded YardFigure and builds every calculator on it. He isn't a contractor — he's a developer who got tired of guessing material quantities at the supplier counter. Every formula here is checked against published guidance from the Concrete Masonry & Hardscapes Association, ASTM specifications, and university extension services, and every calculator shows its full working so you can verify the number yourself. How YardFigure is built.

Keep planning

Related

Calculator

Fence post concrete calculator

Turn your hole depth into bags per post, and a total for the run.

Open calculator →
Concrete

How thick should a concrete slab be?

The same logic for slabs: load sets the depth, not the size.

Read guide →
Base

Gravel under a concrete slab

Why drainage stone goes under anything you set in concrete.

Read guide →