A fence is only as strong as the posts holding it up, and nothing else determines whether your fence stands straight for 20 years or leans within two seasons. Wood fence poles, the vertical posts anchored in the ground, carry the entire load of the panels, gates, and wind, which is why choosing the right wood, size, and setting method matters more than any other decision in the project. Get the posts right and everything else falls into place; get them wrong and even the best pickets sag and rot. Here’s how to choose and set them properly.
Part of our Decks & Outdoor guide — explore the full guide →
- Why Posts Are the Weak Point
- Best Wood Types for Fence Posts
- Choosing the Right Post Size
- How Deep and How Far Apart
- Setting Posts in Concrete
- The Gravel-Only Alternative
- Protecting Posts From Rot
- Handling Corner and Gate Posts
- Bracing and Keeping Posts Plumb
- Signs a Post Needs Replacing
- Setting Yourself Up for a Lasting Fence
Why Posts Are the Weak Point
Most fences fail at the posts, not the pickets. Posts sit partly in the ground, where constant moisture, soil contact, and freeze-thaw cycles attack the wood and loosen its footing. A rotted or heaved post drags a whole section of fence down with it.
Because posts do the structural heavy lifting, they deserve the best material and the most careful installation in the entire project. Spending a little more on rot-resistant posts and setting them correctly is the cheapest insurance you can buy against a fence that needs rebuilding a few years early.
Best Wood Types for Fence Posts
Not all wood survives ground contact equally. The species you choose for the posts should prioritize rot resistance above all, even if you use a different wood for the visible panels.
- Pressure-treated pine — the standard for posts; treated for ground contact and affordable, lasting 15 to 20 years
- Western red cedar — naturally rot-resistant and attractive, but pricier and softer
- Redwood — beautiful and durable, though expensive and regionally limited
- Black locust or Osage orange — exceptionally rot-resistant hardwoods where available locally
Critically, if you buy pressure-treated posts, confirm they’re rated for “ground contact” specifically. Above-grade treated lumber will rot fast when buried, a common and costly mistake.
Choosing the Right Post Size
Post dimensions scale with fence height and the load the posts carry. Undersized posts flex in the wind and let a fence rack out of square.
For a standard 6-foot privacy fence, use 4×4 posts at minimum, though many builders step up to 4×6 or even 6×6 for gates and corners where forces concentrate. Line posts on a tall privacy fence benefit from the extra rigidity of a larger post. For shorter fences under 4 feet, a 4×4 is plenty. Always buy posts long enough to set at least a third of their length in the ground plus your fence height.
How Deep and How Far Apart
Two numbers govern a stable fence: post depth and post spacing. Skimp on either and the fence pays for it.
- Depth — set posts one-third of their above-ground height into the soil, and always below the local frost line to prevent heaving
- Spacing — space posts 6 to 8 feet apart on center for most fences; closer for heavy or tall panels
- Frost line — in cold regions this can be 36 to 48 inches deep, so a 6-foot fence often needs posts buried 30 to 36 inches or more
A common target is a hole about 3 times the post’s width in diameter and a third of the post’s total length deep. Following the frost-line rule is what keeps posts from lifting and tilting each winter.
Setting Posts in Concrete
Concrete is the most durable way to anchor fence posts, and the method rewards careful technique. Dig the hole with a post-hole digger or auger, then add 4 to 6 inches of gravel at the bottom for drainage before setting the post.
That gravel base is key: it lets water drain away from the buried wood instead of pooling around it. Set the post on the gravel, brace it plumb with temporary supports, and pour concrete around it, sloping the top of the concrete away from the post so water sheds off. Check plumb on two sides with a level before the concrete sets, because you get one chance to get it straight.
The Gravel-Only Alternative
Not everyone loves concrete. Some builders set posts in compacted gravel alone, which allows the post to drain completely and makes future replacement far easier since there’s no concrete collar to break out.
For gravel-set posts, dig the same depth, place the post, and backfill in layers with crushed gravel, tamping firmly every few inches until the post is rock solid. This method drains beautifully and resists rot well, though it may not hold as rigidly as concrete for very tall privacy fences or gate posts, which benefit from the extra stiffness concrete provides.
Protecting Posts From Rot
Even ground-contact lumber lasts longer with a little help. Before setting, coat the buried portion of each post with a wood preservative or a bituminous fence-post sealant to add a moisture barrier where the wood meets the soil.
Above ground, keep the tops of posts protected. An exposed end grain on a flat-topped post drinks in rainwater and rots from the top down, so add post caps or cut the tops at an angle to shed water. Keep mulch, soil, and vegetation pulled back from the base so the wood can dry between rains. These small habits add years of life.
Handling Corner and Gate Posts
Not all posts carry equal loads, and the ones that work hardest deserve extra attention. Corner and end posts anchor two directions of fence pull or resist the full tension at a run’s end, so they benefit from a larger size, a deeper hole, and more concrete than line posts.
Gate posts endure the most abuse of all, since a swinging gate constantly levers against them with every open and close. For a standard gate, step up to a 6×6 post set deeper and in more concrete than your line posts, and consider a 4×6 or 6×6 even on lighter fences. A sagging gate is almost always the fault of an undersized or poorly set gate post rather than the gate itself, so investing in a beefy, deeply anchored gate post prevents the most common long-term fence headache.
Bracing and Keeping Posts Plumb
Getting posts perfectly vertical and keeping them there while the concrete cures is where many DIY fences go wrong. Before pouring, brace each post with two temporary stakes and boards attached at right angles, then adjust until a level reads plumb on two adjacent faces.
Leave the bracing in place until the concrete has fully set, ideally 24 to 48 hours, resisting the urge to hang rails or panels too soon. A post nudged out of plumb before the concrete cures locks in a lean you can’t fix later without digging it out. For a long run, set your end posts first, run a string line between them at the top, and align every intermediate post to that string so the entire fence follows a straight, consistent line.
Signs a Post Needs Replacing
Even well-built fences eventually show wear, and catching a failing post early saves the surrounding sections. Walk your fence line each year and grab each post, giving it a firm push. A post that wobbles at the base or moves in the ground has likely lost its footing to rot or heaving and needs attention.
Probe the wood at ground level with a screwdriver; if it sinks in easily or the wood is soft and spongy, rot has set in. Dark staining, mushrooms growing at the base, or a post that leans while its neighbors stand straight are all warning signs. Replacing a single post before it fails is far easier than rebuilding a whole collapsed section, and it keeps the rest of your fence square and sound. When replacing, upgrade to a ground-contact post set on gravel to avoid a repeat.
Setting Yourself Up for a Lasting Fence
The homeowners whose fences stand straight for two decades are almost always the ones who got the posts right. Choose ground-contact-rated wood fence poles in the correct size, dig below the frost line, bed them on gravel for drainage, and brace them dead plumb before the concrete sets. Do that groundwork carefully, and the pickets, rails, and gates you hang on those posts will stay square and solid long after a carelessly built fence would have leaned over and given up.