Cedar and composite are the two materials that last longest without rotting
Cedar is the standard choice because it resists rot naturally — the wood contains oils that slow decay. A cedar bed typically lasts 10 to 15 years before the wood breaks down enough to need replacement. Cedar costs more upfront than untreated pine or fir, but you replace it less often.
Composite boards (wood fibers mixed with plastic) last 20 to 30 years and never rot, but they cost two to three times what cedar costs. They also absorb and hold heat more than wood does, which can warm soil faster in spring but may dry it out faster in summer.
Untreated pine and fir are cheaper and available at any hardware store, but they rot in 3 to 5 years in wet soil. Pressure-treated wood (chemically preserved to resist rot) lasts 15 to 20 years, though older pressure-treated lumber contained arsenic — modern versions do not, but some gardeners avoid it anyway.
Key Takeaways
- Cedar resists rot naturally and lasts 10 to 15 years, making it the most common choice for raised beds.
- Composite boards last 20 to 30 years but cost significantly more and retain heat differently than wood.
- Untreated pine and fir are the cheapest option but rot within 3 to 5 years in moist soil.
- Pressure-treated wood lasts 15 to 20 years and is safe to use for vegetables, though some gardeners prefer to avoid it.
- The wood you choose depends on your budget, how long you want the bed to last, and whether you plan to move it.
Cedar: cost, durability, and where to buy it
Cedar is sold as boards at lumber yards and home improvement stores, usually in 2-by-6, 2-by-8, 2-by-10, and 2-by-12 sizes. A 4-by-8-foot bed made from 2-by-10 cedar boards costs roughly $80 to $120 for the lumber alone, depending on local prices and whether you buy kiln-dried or air-dried stock. Kiln-dried cedar is lighter and easier to handle but costs slightly more.
The wood you want is heartwood (the darker center of the tree), not sapwood (the lighter outer ring). Heartwood contains the rot-resistant oils; sapwood does not. Most lumber yards sell heartwood cedar for raised beds, but ask before you buy. If the board looks pale throughout, it is sapwood and will rot faster.
Cedar boards are also sold pre-cut and pre-assembled as kits, which cost more per board but save you the work of cutting and fastening. These kits range from $150 to $400 depending on size.
Pressure-treated wood: safety and lifespan
Modern pressure-treated lumber is safe for vegetable gardens. The chemicals used since 2004 (copper-based preservatives) do not leach into soil in amounts that harm plants or people. Older pressure-treated wood, made before 2004, contained chromated copper arsenate (CCA) and should not be used for beds where you grow food — but lumber that old is rarely sold new anymore.
Pressure-treated boards cost 30 to 50 percent less than cedar and last 15 to 20 years. They are heavier and harder to work with than cedar, and they can splinter more easily. The wood is often stamped with the year it was treated; if you see a date before 2004, do not use it for food gardens.
If you choose pressure-treated wood, line the inside of the bed with landscape fabric or cardboard to create a barrier between the wood and the soil. This step is optional but reduces any contact between treated wood and plant roots.
Composite boards: no rot, higher cost, different heat behavior
Composite boards are made from wood fibers and plastic, usually recycled plastic from milk jugs or shopping bags. They do not rot, splinter less than wood, and require no staining or sealing. A 4-by-8-foot bed made from composite boards costs $300 to $400 for materials.
Composite absorbs and holds heat more than wood does. In hot climates, this can dry soil faster and stress plants. In cool climates, it can warm soil earlier in spring, which is helpful for early planting. If you live somewhere with intense summer heat, wood (especially light-colored cedar) stays cooler.
Composite boards are also heavier than wood, which makes them harder to move if you want to relocate the bed later. They also expand and contract slightly with temperature changes, so you may need to loosen fasteners after the first year.
Untreated pine and fir: the budget option with a short lifespan
Untreated pine and fir are the cheapest wood you can buy — a 4-by-8-foot bed costs $30 to $50 for lumber. They are light, straightforward to cut, and available everywhere. But they rot quickly in the moist environment of a raised bed. You can expect 3 to 5 years before the wood softens and breaks down.
If you use untreated softwood, you can extend its life by lining the inside with landscape fabric or by painting the interior surfaces with a non-toxic wood sealant before filling the bed. Neither method stops rot entirely, but both slow it. You will still replace the bed sooner than you would with cedar or pressure-treated wood.
Untreated softwood makes sense if you are testing a raised bed garden for the first time and do not want to spend much money, or if you plan to move or rebuild the bed within a few years anyway.
Wood size and fastening: what thickness and width you need
Most raised beds are built from boards that are 2 inches thick (the actual thickness is 1.5 inches after milling). For a bed that is 12 inches deep, use 2-by-12 boards. For 8 inches deep, use 2-by-8 boards. Thinner boards (1-by-6 or 1-by-8) are cheaper but flex more under the weight of wet soil and may bow outward over time.
Boards are fastened at the corners with galvanized or stainless steel screws (not nails, which pull loose). Use 3-inch deck screws, two or three per corner depending on board thickness. Galvanized fasteners resist rust; stainless steel lasts longer but costs more. Avoid regular steel screws, which rust and stain the wood.
For beds larger than 4 feet wide, add a support board down the middle to prevent the long sides from bowing. This is especially important with untreated softwood or composite, which flex more than cedar.
Comparing cost and lifespan side by side
| Material | Cost for 4×8 bed | Expected lifespan | Rot resistance | Best for |
|---|---|---|---|---|
| Cedar heartwood | $80–$120 | 10–15 years | Natural oils | Long-term beds, food gardens |
| Pressure-treated | $50–$80 | 15–20 years | Chemical treatment | Budget-conscious gardeners |
| Composite | $300–$400 | 20–30 years | Plastic component | Low maintenance, permanent beds |
| Untreated pine/fir | $30–$50 | 3–5 years | None | Testing, temporary beds |
What to avoid: treated wood older than 2004 and plywood
Do not use pressure-treated wood made before 2004. Lumber from that era contains arsenic, which leaches into soil and accumulates in plants. If you inherit or find an old treated bed, you can still use it for ornamental plants, but not for vegetables or herbs you eat.
Avoid plywood and particle board, which delaminate (separate into layers) quickly when wet. They are not designed for outdoor use and will fall apart within a year or two in a raised bed.
Avoid wood that has been painted or stained with unknown products. Paint can flake into soil, and some stains contain toxic compounds. If you want to color your bed, use a plant-safe exterior stain or leave the wood natural.
Frequently Asked Questions
Can I use reclaimed wood from an old barn or fence?
Yes, if you know what it was treated with. Reclaimed cedar or untreated hardwood works well. Avoid reclaimed pressure-treated wood unless you know it was treated after 2004. If the source is unknown, assume it is old and use it for ornamental plants only, not food.
Does cedar need to be sealed or stained?
No. Cedar resists rot without sealing. Sealing or staining is optional and done for appearance only. If you do seal it, use a plant-safe exterior stain or sealant, not a product meant for decks or siding.
How deep should a raised bed be?
Eight to 12 inches is standard for most vegetables. Shallow-rooted crops like lettuce and spinach need 6 to 8 inches. Root vegetables like carrots and beets need 10 to 12 inches. Deeper beds (18 inches or more) work for tomatoes and other long-rooted plants but cost more to build and fill.
Can I line the inside of the bed with plastic to make the wood last longer?
Landscape fabric or cardboard lining slows rot but does not stop it. Plastic sheeting can trap moisture and cause rot faster. If you line the bed, use breathable landscape fabric, not solid plastic.
What fasteners should I use to assemble the bed?
Use galvanized or stainless steel deck screws, 3 inches long, with two or three per corner. Avoid nails, which pull loose as the wood dries and shrinks. Avoid regular steel screws, which rust and stain the wood.