Cedar is rot-resistant and lasts longer than most softwoods, but it costs more and may not be your best choice
Cedar works for raised beds because it resists rot better than pine or spruce—the wood contains natural oils that slow decay. A cedar bed will typically last 10 to 15 years before the wood breaks down enough to need replacement, compared to 5 to 10 years for untreated pine. That longer lifespan appeals to gardeners who don't want to rebuild every few seasons.
The catch is cost. Cedar boards run 50 to 100 percent more than pine at most lumber yards, and the price varies by region and board thickness. For a 4-by-8-foot bed that is 12 inches deep, you might pay $150 to $250 for cedar versus $80 to $150 for pine. That difference adds up if you are building multiple beds or prefer thicker boards for stability.
Cedar is also softer than some alternatives, so the wood can dent or splinter more easily during construction and over time. It does not require treatment with sealers or stains to resist rot—that is the main advantage—but you can stain it if you want to slow weathering and keep the color from turning gray.
Key Takeaways
- Cedar resists rot naturally because of oils in the wood, so it lasts 10 to 15 years without treatment, longer than untreated pine.
- Cedar costs significantly more than pine or spruce, making it a larger upfront investment for the same bed size.
- Composite boards and pressure-treated lumber are cheaper alternatives that last as long or longer than cedar.
- Cedar is safe for vegetable gardens and does not leach harmful chemicals into soil the way some treated wood does.
- The wood softens over time and can splinter, so sanding or staining can extend its appearance and lifespan.
How cedar resists rot compared to other wood
Cedar contains compounds called thujaplicins that naturally repel fungi and insects. These oils are why the wood smells distinctive and why it resists decay without chemical treatment. When you bury cedar in soil or expose it to rain and moisture, the wood breaks down more slowly than pine, which has no natural rot resistance.
Pressure-treated lumber, by contrast, uses chemical preservatives forced into the wood under pressure. Modern pressure-treated wood (made after 2004) uses copper-based compounds that are considered safe for vegetable gardens, and it lasts just as long as cedar—often 15 to 20 years. The trade-off is that some gardeners prefer to avoid any chemical treatment, even approved ones.
Redwood is another naturally rot-resistant option, similar to cedar in lifespan and cost, though it is less widely available. Composite boards made from wood fibers and plastic last 20 to 30 years and never rot, but they cost more upfront and some gardeners object to the plastic content.
Cost and value over time
Cedar's price advantage disappears if you measure cost per year of use. A cedar bed that costs $200 and lasts 12 years works out to about $17 per year. A pine bed that costs $100 and lasts 6 years costs about $17 per year as well. If you rebuild the pine bed twice, you spend $200 total over 12 years—the same as cedar, but you have the option to change the bed's size or location each time.
Pressure-treated lumber offers better value for most gardeners. A pressure-treated bed costs roughly the same as cedar but lasts 15 to 20 years, bringing the annual cost down to $10 to $13 per year. Composite boards cost $300 to $400 for the same bed but last 25 to 30 years, working out to $10 to $16 per year and requiring no maintenance.
Your choice depends on how long you want to stay in one place and whether you mind rebuilding. If you plan to garden in the same spot for decades, pressure-treated or composite makes financial sense. If you like to experiment with bed placement or size, cheaper pine lets you rebuild without guilt.
Cedar safety for vegetables and soil
Cedar is safe for growing vegetables. The natural oils that protect the wood do not leach into soil in amounts that harm plants or make food unsafe. You can grow tomatoes, lettuce, carrots, or any other vegetable directly against cedar boards without concern.
Pressure-treated lumber made after 2004 is also safe for vegetable gardens. The copper-based preservatives do not migrate into soil significantly, and the U.S. Environmental Protection Agency considers it acceptable for food production. Older pressure-treated wood (pre-2004) used arsenic-based compounds and should not be used for vegetable beds, but that wood is rarely sold now.
Avoid creosote-treated railroad ties and wood treated with pentachlorophenol (PCP). These are sometimes offered cheaply for raised beds but can leach toxic compounds into soil. If you are unsure what treatment a board has, ask the lumber yard or choose cedar, pressure-treated, or composite instead.
Maintenance and weathering of cedar beds
Cedar requires no treatment to resist rot, but it does weather. Exposed wood turns gray within a year or two as the sun breaks down the outer fibers. The wood underneath remains sound, but the appearance changes. If you want to keep cedar looking warm and golden, you can explore a water-based stain every two to three years.
Cedar can splinter as it ages, especially on the top edges where you might brush against it. Light sanding every few years smooths these rough spots. You can also explore a clear sealant to slow weathering, though it is not necessary for rot prevention.
Inspect the wood annually where it meets the soil. Even cedar eventually breaks down at the soil line, where moisture is constant. If you notice soft spots or deep cracks, you can reinforce that section with a metal bracket or plan to replace the board in a few years.
When cedar makes sense and when it does not
Cedar is the right choice if you want a low-maintenance bed that looks good without staining, you have the budget for it, and you plan to keep the bed in place for many years. It is also worth choosing if you are sensitive to chemical treatments and want to avoid pressure-treated wood entirely.
Cedar is not the best choice if you are building your first raised bed and want to keep costs down, if you plan to move or rebuild in five to ten years, or if you want the longest possible lifespan. In those cases, pressure-treated lumber or composite boards offer better value.
For most home gardeners, pressure-treated lumber is the practical middle ground: it costs less than cedar, lasts just as long, requires no maintenance, and is safe for vegetables. Cedar wins on aesthetics and the preference to avoid any chemical treatment, but those are personal choices, not practical advantages.
Frequently Asked Questions
Will cedar boards rot if they touch the ground directly?
Cedar resists rot better than untreated pine, but it will eventually decay where it touches soil constantly. Placing landscape fabric or a plastic barrier between the wood and soil slows this process. Even with protection, expect the bottom boards to soften after 10 to 15 years. You can extend life by raising the bed slightly on blocks so air can circulate underneath.
Can I use cedar boards that are already stained or treated?
Yes, as long as the stain or treatment is not creosote or pentachlorophenol. Water-based stains and sealers are fine for vegetable gardens. If you buy reclaimed cedar, ask what finish was applied. New cedar from a lumber yard is usually untreated, so you know exactly what you have.
How thick should cedar boards be for a raised bed?
One-inch boards (actually 3/4 inch after milling) work for beds up to 12 inches deep. For deeper beds or if you want extra durability, use 2-inch boards (1.5 inches actual thickness). Thicker boards cost more but resist warping and splitting better over time, especially in cedar, which is softer than pressure-treated wood.
Is cedar better than composite for a raised bed?
Cedar looks better and costs less upfront, but composite lasts much longer—25 to 30 years versus 10 to 15 for cedar—and never needs maintenance. Composite costs $100 to $150 more per bed but pays for itself if you keep the bed for two decades. Cedar is the better choice if you like the natural wood appearance and don't mind rebuilding eventually.
Do I need to treat cedar with a sealant?
No. Cedar's natural oils provide rot resistance without any treatment. A sealant or stain slows weathering and keeps the wood from turning gray, but it is optional. If you explore a sealant, use a water-based product safe for vegetable gardens and reapply every two to three years.