The best wood for a raised bed is untreated cedar or composite lumber—cedar lasts 10 to 15 years without rotting, and composite won't rot at all, though it costs more upfront

Cedar is the standard choice because its natural oils resist decay without any chemical treatment. A 4-by-8-foot cedar bed typically costs $80 to $150 in materials, depending on board thickness and your region. Composite boards (made from wood fibers and plastic) cost roughly double but need no maintenance and won't splinter or warp as much as wood does.

The wood you choose matters because it sits in constant contact with soil, water, and whatever you grow to eat. Pressure-treated lumber was once common but is now avoided by most gardeners because the chemicals used to preserve it can leach into soil over time. Untreated softwoods like pine rot within 3 to 5 years. Hardwoods like oak last longer than pine but are expensive and harder to work with.

Key Takeaways

  • Cedar heartwood resists rot naturally and is safe for vegetable gardens, lasting 10 to 15 years without treatment.
  • Composite lumber won't rot or splinter but costs roughly twice as much as cedar and is harder to cut if you need to customize the size.
  • Pressure-treated lumber is not recommended for vegetable beds because preservative chemicals can move into the soil over time.
  • Pine and other untreated softwoods rot within a few years and are not worth the money you save upfront.
  • Board thickness matters: 2-by-10 or 2-by-12 boards are standard; thinner boards warp and bow under soil pressure.

Why cedar works and what to look for

Cedar contains natural compounds called thujaplicins that resist rot and insects. The heartwood (the darker center of the tree) has far more of these oils than the sapwood (the lighter outer ring), so always buy heartwood cedar if the supplier labels it. Sapwood cedar rots almost as fast as pine.

Cedar boards come in different thicknesses. A 2-by-10 (which is actually 1.5 inches thick and 9.5 inches wide) is the standard for a raised bed. A 2-by-12 gives you more depth if you want to grow root vegetables like carrots or parsnips. Thinner boards like 1-by-10 will bow outward under the weight of wet soil and are not worth buying.

Cedar does have drawbacks. It's softer than hardwood, so corners can split or crack over time. It also weathers to a gray color within a year or two if you don't seal it (sealing is optional and extends life by a few years). Expect to pay more for cedar than for pressure-treated lumber, but the cost difference usually pays for itself in longevity.

Composite lumber as a long-term alternative

Composite boards are made from wood fibers mixed with plastic binders. They don't rot, splinter much less than wood, and won't warp or bow. A composite bed will outlast a cedar bed by many years—often 20 to 25 years or more. They also require no sealing, staining, or maintenance.

The trade-off is cost and workability. Composite boards cost roughly $250 to $400 for a 4-by-8-foot bed, compared to $80 to $150 for cedar. They're also heavier and harder to cut with a standard saw; you may need to rent or buy a power saw if you're customizing the size. Some people also find the appearance less natural-looking than wood, though that's a matter of preference.

Composite is a good choice if you plan to keep the bed in place for decades or if you live in a very wet climate where cedar rots faster than average. It's also worth considering if you have mobility issues and want to avoid the maintenance that wood eventually requires.

Why pressure-treated lumber is not recommended

Pressure-treated lumber is softwood (usually pine or fir) that has been forced full of chemical preservatives under pressure. Modern pressure-treated lumber uses copper-based compounds instead of the arsenic used decades ago, so it's safer than it once was. However, the copper can still leach into soil, especially in acidic soil or when the wood is wet.

For a vegetable garden where you're growing food you'll eat, most gardeners and extension services recommend avoiding pressure-treated wood. The risk is small, but it's straightforward to avoid by choosing cedar or composite instead. If you already have a pressure-treated bed, it's not an emergency—many people have used them for years without problems—but replacing it with cedar or composite is the safer choice for long-term use.

Other wood options and why they fall short

Pine and other untreated softwoods are cheap but rot quickly. A pine bed will start to fail within 3 to 5 years, especially at the corners where boards meet. By year 7 or 8, you'll likely need to replace it. The money you save upfront gets eaten up by replacement costs and the labor of rebuilding.

Hardwoods like oak, walnut, or locust last much longer than softwood—sometimes 15 to 20 years—but they're expensive, heavy, and difficult to cut and fasten. They're also overkill for a raised bed. Redwood is similar to cedar in durability but costs more and is less available in most regions.

Reclaimed wood or pallets are tempting because they're free or cheap, but you have no way to know what they've been treated with or what they've been exposed to. Pallets used for shipping chemicals or treated with fumigants can contaminate your soil. Stick with new cedar or composite if you want to know what you're working with.

How to make cedar last longer

Cedar will eventually rot, but you can slow that process. The main enemy is water sitting against the wood. Lining the inside of the bed with landscape fabric or a plastic barrier keeps soil from touching the wood directly and extends the life by several years. Make sure water can still drain out the bottom—you're not waterproofing the bed, just protecting the sides.

Sealing the outside with a clear wood sealer or stain also helps, though it requires reapplication every 2 to 3 years. Many gardeners skip this step and accept that the cedar will gray over time. Keeping the bed away from standing water and ensuring good drainage around the perimeter also matters.

Even with these steps, expect cedar to last 10 to 15 years before the wood starts to fail noticeably. At that point, you can either replace the boards or rebuild the bed with new materials.

Sizing and fastening considerations

Standard raised beds are built from four boards: two that are 8 feet long and two that are 4 feet long, creating a 4-by-8-foot rectangle. You can build smaller (a 4-by-4 is common for containers or small spaces) or larger, but very large beds become hard to reach into from the sides.

Boards are fastened at the corners with galvanized or stainless steel bolts, screws, or corner brackets. Galvanized fasteners won't rust and won't contaminate the soil. Avoid regular steel fasteners, which will rust and weaken over time. Corner brackets made from galvanized metal or composite are the easiest to install if you're not comfortable drilling holes and bolting boards together.

Frequently Asked Questions

Can I use treated pine instead of cedar to save money?

Pressure-treated pine is cheaper upfront but will rot within a few years, and the preservative chemicals can leach into soil. Cedar costs more but lasts 10 to 15 years and is safe for vegetables. The extra cost usually pays for itself in longevity.

Do I need to line the inside of the bed with plastic or landscape fabric?

Lining the sides (not the bottom) with landscape fabric or plastic slows rot by keeping soil from touching the wood directly. It's not required, but it extends the life of cedar by several years. Make sure water can still drain out the bottom.

Is composite lumber worth the extra cost?

Composite costs roughly twice as much as cedar but lasts 20 to 25 years or more without maintenance. If you plan to keep the bed in place long-term or live in a very wet climate, composite is worth it. For a temporary or short-term bed, cedar is more economical.

What thickness of wood should I buy?

A 2-by-10 or 2-by-12 is standard. Thinner boards like 1-by-10 will bow outward under soil pressure. Thicker boards (2-by-12) are better if you're growing deep-rooted vegetables like carrots or parsnips.

Can I use reclaimed wood or old pallets?

Reclaimed wood and pallets may have been treated with chemicals or exposed to contaminants you can't see. For a vegetable garden, new cedar or composite is the safer choice. You know exactly what you're putting in contact with your soil.