Cedar can be acceptable for ground contact in specific conditions—most reliably with Western red cedar heartwood or Alaska yellow cedar in a well-drained, above-soil application—but no cedar species is a good choice for direct burial or prolonged soil saturation, and the common "ground contact" label on treated lumber is a different product entirely. The short answer is that cedar is naturally rot-resistant enough for damp exposure like a deck joist near grade or a sill over a foundation, but not durable enough to treat as a substitute for pressure-treated wood in soil.

The rest of this answer unpacks the ambiguity in the question, because "ground contact" in woodworking and construction covers at least three quite different situations, and cedar's suitability changes with each one.

What "Ground Contact" Actually Means

The phrase gets used loosely, and that looseness is the source of most confusion.

Direct burial (in-soil contact). A post set in a hole, a fence post, a retaining-wall timber, or a landscaping timber touching wet earth. This is the harshest condition: constant moisture, soil fungi, insects, and no drying. Here, natural cedar is a poor choice. Even the most rot-resistant cedars will decay, and the failure mode is often hidden inside the post below grade.

Above-ground but near-grade contact. A deck rim joist a few inches above the soil, a sill plate on a foundation, a pergola post on a concrete pier, or a raised planter's interior lining. The wood gets wet but can dry. Cedar performs well here, especially heartwood of the durable species.

The treated-lumber "ground contact" designation. In the United States, pressure-treated lumber is labeled for "ground contact" or "above ground" use, referring to the preservative retention level the wood was treated to, not the species. This is a separate concept from cedar's natural durability, and it's the most common mix-up: a shopper reading "ground contact rated" on a treated board may assume any cedar is equivalent.

Cedar is also not one wood. "Cedar" in North American commerce usually means Western red cedar (Thuja plicata), but the label also covers Alaska yellow cedar (Callitropsis nootkatensis, also sold as yellow cedar), Eastern red cedar (Juniperus virginiana, a juniper), Northern white cedar (Thuja occidentalis), Atlantic white cedar, and imported "cedars" such as Spanish cedar (Cedrela species, not a true cedar) and various Asian and Australian species. Their decay resistance ranges from excellent to mediocre. A single yes-or-no answer that ignores species is unreliable.

The Durability Hierarchy Among Cedars

Decay resistance in wood comes mainly from extractives—naturally occurring compounds in the heartwood—and from the wood's physical structure. Sapwood, the outer living layer, has little of either and is not durable in any species. So the first rule is: durability claims apply to heartwood, and most lumber contains a mix unless the grade specifies otherwise.

Western red cedar is the benchmark. Its heartwood is classified among the more durable North American softwoods, roughly in the same broad durability class as many species used for exterior work, though below the elite tiers occupied by woods like black locust, osage orange, or old-growth bald cypress heartwood. It is widely used for siding, decking, shingles, and saunas. It resists decay well in above-ground and intermittently wet service. It is not a burial wood.

Alaska yellow cedar is generally regarded as equal to or somewhat more durable than Western red cedar and is notably resistant to insects. It is also slower-growing and less abundant, so it commands a premium. For near-grade work it is a strong natural option.

Eastern red cedar (juniper) has durable heartwood often used for fence posts in parts of the central and eastern United States, where regional experience treats it as long-lasting in soil. That reputation is real but variable: small-diameter posts with substantial sapwood, or posts in wet, poorly drained soils, do not match the folklore. It is a different species from Western red cedar and should not be conflated with it.

Northern white cedar is softer, lighter, and less decay-resistant than Western red cedar. It is common for shingles, log construction, and boat parts in the Northeast, but it is a weaker choice for ground-contact work.

Spanish cedar is a humid-tropical hardwood used for cigar boxes, furniture, and sometimes exterior trim; despite the name it is not a true cedar, and its durability is moderate, not ground-contact grade.

The practical takeaway: if a supplier says "cedar is good for ground contact," ask which species, and whether the piece is all-heart or a sapwood-containing grade. A "yes" for Western red cedar heartwood is not a "yes" for white cedar sapwood.

What Actually Kills Wood in Ground Contact

Understanding the failure mechanism explains why cedar's natural chemistry has limits.

Decay requires four things together: susceptible wood, adequate moisture, oxygen, and a food source for fungi (the wood itself). Remove any one and rot stalls. Burial doesn't remove moisture or oxygen, and the soil inoculates the wood with fungi. Insects—termites, carpenter ants, and in some regions decay beetles—add mechanical damage.

Natural extractives slow fungal colonization but don't stop it forever. They also leach slowly over decades of wet service. And they are concentrated in the heartwood's outer zones, so a board ripped or planed heavily can expose less-protected interior wood. This is why even durable species fail at cut ends, notches, and joints where water collects. End grain wicks moisture far faster than face grain, and a post's cut top and buried bottom are its weakest points.

Temperature matters too. In consistently warm, humid climates—the U.S. Southeast, Gulf Coast, Hawaii—decay pressure is much higher than in the arid Southwest. A cedar fence post that lasts 25 years in New Mexico may fail in a decade in coastal Alabama. Any general durability rating is a broad average, not a local guarantee.

Above-Grade and Near-Grade Cedar: Where It Shines

For the many "ground contact" situations that are really near-grade but drainable, cedar is a legitimate, often excellent material.

Deck framing near grade: Western red cedar joists and rim joists are used in exposed decks, especially where the homeowner wants a naturally rot-resistant frame that takes stain well. Keeping the frame at least a few inches above soil and allowing air movement is the difference between good service and premature failure. Sill plates on foundations: Where code and local practice permit, cedar sills over a properly flashed foundation—separated from concrete by a sill gasket—are common in older Pacific Northwest construction. The gasket and flashing do the real work; the cedar is a secondary defense. Pergola and porch posts on piers: A cedar post bearing on a concrete pier above grade, with a metal post base lifting it off the concrete, avoids the burial problem entirely and is a sound use of cedar. Planters and raised beds: Cedar is popular for raised-bed frames and planter boxes. Its natural resistance helps, but the interior faces stay damp, and the expected life is shorter than for an open deck. Lining the soil side with a moisture barrier or using a durable liner extends life. Fence rails and pickets above grade: These dry between wettings and are a classic cedar application.

In each case the design does the heavy lifting: drainage, air circulation, flashing, and keeping the wood off soil and away from standing water. Cedar's extractives buy time and margin; they don't replace detailing.

Direct Burial: Why Cedar Is the Wrong Tool

For posts in the ground, the honest answer is that natural cedar is not a reliable substitute for preservative-treated or naturally elite durable woods.

A buried cedar post starts wet and stays wet. Decay typically begins at the cut end and at the soil line, where moisture and oxygen overlap, and progresses upward or inward invisibly. By the time the post looks bad, most of its cross-section may be compromised. The consequence is structural: a fence, deck, or pergola can fail suddenly.

Alternatives exist and are generally worth the cost:

Pressure-treated wood rated for ground contact (in the U.S., look for the "ground contact" retention designation on the end tag; above-ground-rated treated wood is not intended for burial). Naturally durable species with better burial reputations such as black locust, osage orange, or old-growth bald cypress heartwood, where locally available—though availability is limited and these are not standard commodity lumber. Non-wood posts: galvanized steel, concrete, or composite sleeves. Detail changes that avoid burial: post bases, piers, and elevated framing that keep wood above grade. This is usually the best answer for a cedar-loving builder: use cedar above the pier and keep it out of the dirt.

Some regional traditions—Eastern red cedar fence posts in the central U.S., for example—genuinely work for a couple of decades, but they depend on all-heart small posts, well-drained soil, and local climate. They are not a general rule, and they don't transfer to Western red cedar.

The Treated-Lumber Confusion

A recurring mix-up: a homeowner reads that "ground contact" lumber is required near soil and assumes any cedar sold as "ground contact" meets that. It doesn't, in the regulatory sense.

In the U.S., the "ground contact" vs. "above ground" distinction refers to preservative retention levels assigned under the American Wood Protection Association standards and used in building codes. Pressure-treated lumber sold for ground contact has a higher preservative load than above-ground-rated material. Natural cedar carries no such designation; its durability is inherent, not assigned by a treatment standard. So "cedar is naturally rot-resistant" and "this board is ground-contact rated" are different claims. A code official evaluating a buried post will generally want either treated wood meeting the ground-contact retention or an engineered alternative—not raw cedar.

There is also treated cedar on the market in some regions, but treatment chemistry, penetration, and labeling vary, and this is exactly the kind of product-specific claim that needs the actual end tag and current standards checked rather than assumed. The general principle: rely on the label and the applicable code, not on the species name.

Moisture, Finish, and Maintenance

For cedar used near grade, detailing and finish matter as much as species.

Keep water moving. Slope surfaces, chamfer or cap post tops, and avoid trapping water in joints. A post cap is cheap insurance for any exterior post.

Separate wood from concrete and soil. Metal post bases, sill gaskets, and gravel drainage layers interrupt the capillary path that wicks moisture into wood.

Finish consistently. Exterior cedar benefits from a penetrating oil or stain that slows moisture cycling; film-forming finishes can trap water if they fail. Refinish before bare wood shows, not after.

Expect cut ends to be the weak point. Seal them, and design so they aren't buried.

Inspect. For any near-grade wood, periodic probing with an awl at the soil line and at joints catches decay early.

None of this makes cedar a burial wood. It makes cedar a good near-grade wood that rewards good practice.

Practical Verdict by Use

Situation Cedar suitable? Notes
Deck joists/rims a few inches above soil, ventilated Yes, with Western red cedar heartwood or Alaska yellow cedar Detailing and drainage matter more than species
Sill plate on flashed foundation with gasket Often yes in local practice Check local code; flashing does the work
Post on concrete pier with metal base Yes Best way to use cedar structurally outside
Raised planter frame Yes, with a liner and drainage Shorter life than open decking
Fence pickets and rails above grade Yes Classic cedar use; keep off soil
Post buried in soil No, not reliably Use ground-contact treated wood or a non-wood post
Retaining wall timber No Constant soil contact and load
Any cedar with heavy sapwood No for wet use Heartwood is the durable part

What Remains Uncertain Without the Specifics

Several things a reader might want cannot be pinned down from the query alone, and it's worth being explicit:

Which cedar species and grade is being considered. "Cedar" alone doesn't determine durability. The building code jurisdiction and edition, which govern what counts as acceptable ground-contact material. The exact exposure: soil type, drainage, climate, and whether the piece can dry. Whether treated cedar is involved, and its treatment standard and label.

What is answerable with confidence: natural cedar's heartwood, especially Western red cedar and Alaska yellow cedar, is genuinely rot-resistant and appropriate for damp, drainable, above-soil applications; it is not appropriate for direct burial or continuously saturated service; and the "ground contact" label on treated lumber is a separate, standards-based designation that cedar does not automatically satisfy. For a project involving burial or structural safety, confirm the specific species, grade, and local code requirements with the lumber supplier and the authority having jurisdiction before building.