What You Need to Build a Raised Bed

A raised garden bed is a box you build yourself from wood, composite materials, or metal, then fill with soil. You do not need special tools or carpentry experience—most designs use four boards, four corner pieces, and screws or nails. The simplest version takes an afternoon to assemble and costs between $30 and $150 depending on the size and materials you choose.

The most common approach is to buy untreated cedar or composite lumber boards, cut them to length if needed, and fasten them at the corners with galvanized screws. Cedar resists rot naturally and lasts 10 to 15 years outdoors. Composite boards cost more upfront but last longer and require no maintenance. Pressure-treated wood is cheaper but contains chemicals that can leach into soil over time, so most gardeners avoid it for vegetable beds.

You will also need a drill or screwdriver, a level, landscape fabric (optional but useful), and soil to fill the bed. A 4-by-8-foot bed 12 inches deep holds about 32 cubic feet of soil—roughly 1 cubic yard. Most garden centers sell soil by the bag or cubic yard and can deliver it.

Key Takeaways

  • A basic raised bed uses four boards fastened at the corners with galvanized screws, and you can build one in a few hours with a drill and a level.
  • Cedar and composite lumber last longest; pressure-treated wood is cheaper but may leach chemicals into soil over time.
  • The most common size is 4 feet by 8 feet by 12 inches deep, though you can adjust dimensions to fit your space and budget.
  • Landscape fabric laid in the bottom prevents weeds and lets water drain, but is not required if you are building on bare ground.
  • Soil depth matters: 12 inches works for most vegetables, but root crops like carrots need 18 inches.

Choosing the Right Size and Location

The standard raised bed is 4 feet wide by 8 feet long by 12 inches deep. This size is wide enough to reach the center from either side without stepping into the bed, long enough to grow multiple plants in rows, and deep enough for most vegetables. If you have a small space, a 2-by-4-foot bed or even a 3-by-3-foot square works just as well—the math is simpler and the bed is easier to move if you need to.

Depth depends on what you want to grow. Lettuce, spinach, and herbs need 6 to 8 inches. Tomatoes, peppers, and beans need 10 to 12 inches. Carrots, beets, and parsnips need 18 inches because their roots go deep. If you are building on concrete or compacted soil, go deeper rather than shallower—roots cannot break through hard ground.

Location matters as much as size. Most vegetables need 6 to 8 hours of direct sun per day. Morning sun is better than afternoon sun in hot climates because it dries dew and prevents fungal disease. Avoid spots under trees or next to buildings that cast shade. If your yard slopes, build on level ground or use shims under the corners to keep the bed level—water will drain unevenly otherwise.

Building the Frame: Step by Step

Start by choosing your boards. For a 4-by-8-foot bed, you need two 8-foot boards and two 4-foot boards. If you buy 8-foot boards and need to cut them, most home improvement stores will cut them for free or for a small fee. Lay the boards on the ground in a rectangle and check that the corners are square by measuring diagonally from corner to corner—both diagonals should be the same length.

Fasten the corners with galvanized screws, which resist rust. Use 3-inch deck screws and drive two or three screws into each corner, angling them slightly inward so they pull the boards together. A cordless drill makes this faster than a screwdriver, but either works. Drill a pilot hole first to prevent the wood from splitting, especially near the ends of the boards.

Once the frame is assembled, set it in place and check that it is level using a 2-foot or 4-foot level. Place the level along the length and width of the bed and adjust the ground underneath by adding or removing soil until the bubble is centered. A bed that is not level will have shallow spots where water pools and deep spots where soil dries out faster.

If you are building on grass or weeds, lay landscape fabric on the ground inside the frame before filling with soil. This prevents grass from growing up into the bed and stops perennial weeds from spreading. Overlap the edges by 6 inches and staple or pin the fabric to the boards. You can also use cardboard, which breaks down over time and adds organic matter to the soil.

Materials and Cost Breakdown

MaterialCost RangeLifespanNotes
Cedar lumber$60–$12010–15 yearsNaturally rot-resistant; no chemicals; most popular choice
Composite lumber$120–$20020+ yearsMade from wood fiber and plastic; no maintenance; heavier
Pressure-treated wood$40–$8010–15 yearsCheapest option; may leach chemicals; not recommended for vegetables
Galvanized screws (1 lb)$5–$10N/ARust-resistant; use 3-inch deck screws
Landscape fabric$10–$203–5 yearsOptional; prevents weeds; lets water drain
Soil (1 cubic yard)$30–$60N/AFills a 4×8×12" bed; buy garden soil or raised bed mix

Common Mistakes to Avoid

The most common mistake is using pressure-treated wood without thinking about what you are growing. Pressure-treated lumber contains copper compounds that prevent rot but can leach into soil, especially in the first few years. If you use it, line the interior with plastic sheeting to create a barrier between the wood and soil. Cedar is worth the extra cost if you are growing vegetables.

Another mistake is building the bed too narrow. If the bed is wider than 4 feet, you cannot reach the center without stepping into it, which compacts the soil and damages plant roots. If you want a wider bed, build two beds side by side with a path between them instead.

Skipping the level check causes real problems. A bed that slopes will have wet spots and dry spots, and water will drain away from the low end. Spend 10 minutes checking the level before you fill it with soil—it is much easier to adjust the ground now than to dig out 32 cubic feet of soil later.

Do not fill the bed with topsoil alone. Topsoil compacts over time and drains poorly. Use a mix of topsoil, compost, and peat moss or coconut coir in roughly equal parts. This blend drains well, holds nutrients, and stays loose for root growth. Many garden centers sell "raised bed mix" that is already blended.

Filling and Preparing the Soil

Once the frame is level and in place, fill it with soil. If you are using bagged soil, this takes time—a 4-by-8-foot bed 12 inches deep needs about 32 bags of soil if each bag is 1 cubic foot. Ordering soil by the cubic yard from a landscape supplier is faster and usually cheaper. Ask them to dump it as close to the bed as possible so you do not have to shovel it far.

Spread the soil evenly and break up any clumps with a rake. Water the soil lightly as you fill—this helps it settle and removes air pockets. Once the bed is full, let it sit for a few days before planting. The soil will settle slightly, and you can add more if needed.

Before planting, mix in compost or aged manure to add nutrients and organic matter. Work it into the top 6 inches of soil. If you are planting when ready, use finished compost that has already broken down. If you have time to wait a few weeks, you can use partially decomposed compost or fresh manure, which will continue to break down and improve the soil structure.

Alternative Frame Materials

Wood is the most common choice, but other materials work too. Metal frames made from galvanized steel or aluminum last 20+ years and do not rot, but they cost more and can get hot in direct sun, which may stress plant roots. Composite boards made from recycled plastic and wood fiber last longer than cedar and need no maintenance, but they are heavier and more expensive. Corrugated metal (like old roofing) is cheap and lasts 10 years, but the edges are sharp and it can rust.

Some gardeners build frames from stacked stone, concrete blocks, or recycled bricks. These are permanent and attractive, but they take longer to build and cost more upfront. They also do not insulate the soil as well as wood, so the soil warms up and cools down faster with the seasons.

For a temporary bed or a small space, you can use a fabric raised bed—a cloth container that sits on the ground and holds soil. These cost $20 to $50, set up in minutes, and last 3 to 5 years. They are good for renters or people who want to experiment before building a permanent bed.

Frequently Asked Questions

How deep does a raised bed need to be?

Most vegetables grow well in 12 inches of soil. Shallow-rooted crops like lettuce and herbs need only 6 to 8 inches. Deep-rooted crops like carrots, parsnips, and asparagus need 18 inches or more. If you are building on hard ground or clay, go deeper rather than shallower so roots can penetrate the bed soil instead of hitting a barrier.

Can I use regular wood instead of cedar?

Regular pine or fir boards rot within 3 to 5 years outdoors. Cedar resists rot naturally and lasts 10 to 15 years. Pressure-treated wood lasts as long as cedar but contains chemicals that can leach into soil. If budget is tight, use regular wood and plan to replace it in a few years, or line the interior with plastic to slow rot.

Do I need landscape fabric on the bottom?

Landscape fabric prevents grass and perennial weeds from growing up into the bed, but it is not required. If you are building on bare ground or concrete, you can skip it. If you are building on grass or a weedy area, lay fabric down first. Cardboard works just as well and breaks down over time, adding organic matter to the soil.

What is the best soil to fill a raised bed?

A mix of topsoil, compost, and peat moss or coconut coir in roughly equal parts drains well and holds nutrients. Many garden centers sell "raised bed mix" that is already blended. Avoid using only topsoil—it compacts over time. Do not use garden soil from your yard unless you know it is good quality; it often contains clay and weeds.

How much does it cost to build a raised bed?

A basic 4-by-8-foot cedar bed costs $60 to $120 for lumber, $5 to $10 for screws, and $30 to $60 for soil, totaling roughly $100 to $190. Composite materials cost more upfront but last longer. Pressure-treated wood is cheaper but not recommended for vegetables. Smaller beds cost less; larger beds cost more.