FenceLevel

Cedar vs Pressure-Treated Fence

Independent research · Last reviewed September 2026 · Costs are 2026 planning estimates

The short answer

Use cedar for the boards and pressure-treated for the posts. Cedar stays flat and lasts 15–30 years above ground where treated pine warps and lasts 10–20 — but in the soil it reverses, and a ground-contact treated post outlasts a cedar post by 10–20 years. Cedar costs roughly 25–50% more for the boards, and since a fence fails at its posts, the hybrid is both the longer-lived fence and the one good crews build anyway.

The comparison everyone gets half right

“Cedar lasts 30 years, pine lasts 15” is on every contractor blog, and it is true — of the boards. It quietly compares a species (cedar) with a treatment (pressure-treated pine), and those are different kinds of protection that behave differently depending on where the wood is.

Above ground, what kills a fence board is sun, water cycling, and movement. Cedar's tight grain and natural oils make it dimensionally stable, so it stays where it was nailed and greys gracefully. Treated pine is sold wet from the treatment process and dries on your fence — shrinking, twisting, and checking as it goes. That is why a treated fence installed tight has gaps by the second summer.

Below ground, the problem is rot, and the answer flips. A ground-contact treated post is engineered to sit in wet soil for decades. Cedar's resistance lives in its heartwood and is not equivalent to a ground-contact rating — a cedar post commonly rots through at grade in 10–20 years, right when the cedar boards above it are hitting their stride. Since a fence fails at its posts, choosing cedar everywhere buys the shorter-lived fence at the higher price.

Side by side

 Pressure-treated pineCedarNote
Installed cost (same style)BaselineAbout 25–50% moreRegional — cedar is cheap in the Northwest and Texas, dear in the Midwest and Southeast.
Boards above ground10–20 yrs; warps and checks as it dries15–30 yrs; stays flatterThis is the comparison people mean when they say cedar 'lasts longer'.
Posts in the ground20–30 yrs (UC4A) · 40+ yrs (UC4B)10–20 yrsThe comparison people forget. Treatment beats species below grade.
Rot and insect resistanceChemical (copper-based)Natural oils; the heartwood, not the sapwoodBoth real. Cedar's protection fades in sapwood and thin cuts.
StabilityShrinks, twists, and checks — sold wetDimensionally stable, low shrinkagePT installed tight opens gaps; cedar stays where it was nailed.
AppearanceYellow-green, larger knots, weathers greyRed-amber, tight grain, small knots, weathers silverBoth grey without a finish; cedar greys more evenly.
FinishWait 2–6 months before stainingKiln-dried can be finished in weeksSee the staining guide for timing.
FastenersHot-dip galvanized or stainless — requiredHot-dip galvanized or stainless — requiredDifferent reasons, same answer. See below.
WeightHeavy when wetLightCedar is easier to handle and hangs lighter on hinges.

Per-foot pricing by species is on the wood fence cost page; this page keeps cedar as a premium because the premium is the decision.

What the cedar premium actually buys

Cedar runs about 25–50% more than treated pine for the same fence, and the spread is regional to a degree most comparisons ignore. In the Pacific Northwest and much of Texas, cedar is the local wood and the premium can be under 20%. In the Midwest and Southeast, pine is milled down the road and cedar is trucked in; the premium there can approach double. Labour is the same either way, which is why the gap shrinks on installed price and widens on materials.

For that money you get, in order of how much it matters: boards that stay flat, a fence that does not need immediate finishing to look acceptable, roughly 5–10 more years of board life, and a colour most people prefer. What you do not get is a longer-lived fence overall — unless the posts are treated.

Where the premium is worth it

  • A privacy fence you will look at every day from the house
  • Anywhere you intend to leave the wood unfinished and let it grey
  • Horizontal designs, where board flatness is the whole look — see horizontal fences
  • Regions where cedar is local and the premium is small

Where treated pine is the better buy

  • Any fence you plan to paint or solid-stain — the colour hides the species
  • Back and side boundaries nobody looks at closely
  • Budgets where the cedar premium would otherwise come out of post depth or gate hardware
  • Short-horizon ownership, where 10–20 years is plenty

The hybrid build, and how to specify it

Most experienced crews will build this without being asked; the point of knowing about it is so that you can check the quote for it.

  • Posts: pressure-treated, UC4A minimum (ground contact), UC4B where the soil stays wet. 4×4 for fences to 6 ft; 6×6 or steel for 8 ft, gates, and corners.
  • Rails: either. Treated rails are cheaper and hidden; cedar rails are lighter and match. Rails do not touch the ground, so rot is not the issue — sag is, and that is a span question.
  • Boards: cedar, with the heartwood face out where you can choose. Ask which cedar — Western red and northern white are the common fence species; incense and Port Orford turn up regionally.
  • Fasteners: hot-dip galvanized or stainless throughout. Not electro-galvanized, not bright.
  • Base: keep cedar boards an inch or two off the soil, or run a treated kickboard along the bottom to take the splash.

A quote that says “cedar fence” and nothing about the posts is worth one question. If the posts are cedar, you are paying the premium in the one place it works against you.

Both need special fasteners, for opposite reasons

This is the detail most likely to be wrong on a cheap fence and invisible for two years. Modern treatments — ACQ and copper azole replaced arsenic-based CCA — are copper-rich and corrosive to ordinary steel. Plain or electro-galvanized nails in treated wood rust at the shank, and the board loosens. Cedar has the mirror problem: its tannins react with plain steel and bleed black streaks down the face of the board from every nail head.

The answer is the same for both: hot-dip galvanized or stainless steel. It costs a little more per box and nothing per foot that you will notice. Ask for it by name, and if the crew is using a nail gun, ask what is in the coil.

Finishing: cedar is optional, pine is timing

Cedar does not need a finish to survive — the oils that resist rot are in the wood whether or not you stain it. A finish on cedar is for colour: unfinished, it goes silver in a year or two, evenly, and many people prefer it. Treated pine benefits more from a finish, because treatment protects against rot and insects but not against the sun and water cycling that cause checking — and it cannot be finished until it has dried, which is two to six months after installation. Stain it wet and the finish peels.

The full decision — stain, seal, paint, or leave it — is in should you stain your fence?

When neither is the answer

If the goal is a fence that never needs a finish and never warps, the honest comparison is not cedar against pine — it is wood against vinyl or composite, both of which cost more up front and nothing in refinishing. And if posts are the worry, steel posts under wood boards remove the rot question entirely for a modest premium — see post materials.

Keep going

Frequently asked questions

Is cedar or pressure-treated better for a fence?
Boards: cedar (flatter, 15–30 yrs). Posts: pressure-treated (20–40+ yrs in the ground vs 10–20 for cedar). Most good crews build the hybrid — PT posts, cedar boards.
How much more does a cedar fence cost than pressure-treated?
Usually 25–50% more for the same fence — small in the Northwest and Texas where cedar is local, close to double in the Midwest and Southeast. Labour is identical.
How long does a cedar fence last compared to pressure-treated?
Boards: cedar 15–30 yrs, PT 10–20. Posts: PT 20–40+ yrs, cedar 10–20. Fences fail at the posts, so the post decides the real number.
Why do pressure-treated fence boards warp?
They are sold wet from the treatment process and dry on your fence — shrinking, twisting, and checking as they go. Kiln-dried-after-treatment stock helps, at a price.
Can you use cedar posts for a fence?
Yes, but plan on 10–20 years before rot at grade. Cedar's resistance is in the heartwood and is not a ground-contact rating. Most crews use PT posts under cedar boards instead.
What does UC4A or UC4B mean on a pressure-treated post?
Use-category ratings. UC3B = above ground only, UC4A = ground contact (the fence-post minimum), UC4B = heavy-duty ground contact. An above-ground post in the soil rots in 3–5 years.
Do cedar and pressure-treated fences need special nails or screws?
Yes — hot-dip galvanized or stainless for both. Treated wood's copper corrodes plain steel; cedar's tannins streak it black. Check the quote line.
Which is better for the environment, cedar or pressure-treated?
Cedar is untreated and simpler at end of life; treated wood can't be burned and is restricted at some sites. Sourcing matters for cedar. Not a clean win either way.

Lifespan and cost figures are independent 2026 planning estimates as of August 2026, drawn from published industry sources and AWPA use-category definitions; they vary by climate, species, grade, and installation. FenceLevel is not a contractor or lumber supplier.