How to Build a Raised Bed Garden: Size, Materials, Soil Mix, and What to Plant First

By Ku · Updated March 2026 · 10 min read

My first raised bed was built on a Sunday afternoon with lumber from Home Depot, a bag of "garden soil" from the same store, and no idea what I was doing. The plants grew, but not well. The soil compacted within two months. By midsummer the bed looked depleted and the tomatoes were producing about half what they should have been.

The problem wasn't the bed. It was everything inside it.

Raised beds are one of the most effective ways to grow vegetables at home — but only when they're built and filled correctly. Get the size right, use the right materials, fill with the right soil mix, and a raised bed will outperform an in-ground garden almost every time. Get any of those wrong and you'll spend the whole season fighting problems that the bed structure was supposed to prevent.

This is everything I wish I'd known before I built my first one.

A newly built wooden raised garden bed filled with rich dark soil mix in a sunny backyard, featuring gardening tools like a trowel and watering can.
Why raised beds work: A raised bed gives you complete control over soil quality, drainage, and structure — none of which you have with in-ground gardening unless your native soil happens to be ideal. The University of Minnesota Extension puts it simply: raised bed gardening is a simple technique that can improve the health and productivity of your garden. Better drainage, better soil structure, earlier spring warmth, and clearer boundaries that prevent compaction from foot traffic.

Step 1 — Size: The Decisions That Matter Most

Width: 4 feet maximum, 3 feet if you're working alone

This is the rule everything else flows from. A raised bed should be narrow enough to reach the center from either side without stepping in. The standard recommendation from most extension programs is a maximum of 4 feet wide — 2 feet of reach from each side. If you're working the bed alone, 3 feet is more practical. Once you step into the bed to reach something, you're compacting the soil and undermining the whole structure.

Width is the one dimension you can't fix easily after the fact. Get it right the first time.

Length: Whatever fits your space

Length is flexible. Common sizes are 4x4, 4x8, and 4x12 feet. Longer beds are more efficient with materials and give you more growing space per linear foot of lumber. The only length consideration: if your bed is longer than 8 feet, add a cross-support in the middle to prevent the sides from bowing outward over time as soil pressure builds.

Depth: At least 6 inches, ideally 12

Minimum useful depth is 6 inches for most vegetables. For deep-rooted crops like carrots, tomatoes, and peppers, 12 inches is significantly better. The University of Minnesota Extension notes that most raised beds are 6–24 inches tall, with taller beds offering the additional benefit of being easier on your back. If budget is a constraint, start at 8–10 inches and you'll cover the needs of most vegetables.

Bed Size Best For Soil Volume Needed
4 x 4 ft (8 in deep) Starter bed, herbs, salad greens ~11 cubic feet
4 x 8 ft (10 in deep) Most vegetables, tomatoes, peppers ~27 cubic feet
4 x 12 ft (12 in deep) High production, squash, corn ~48 cubic feet
3 x 6 ft (8 in deep) Solo gardener, compact space ~12 cubic feet
 How to calculate soil volume: Length (ft) × Width (ft) × Depth (ft) = cubic feet. To convert to cubic yards (how bulk soil is sold): divide cubic feet by 27. A 4x8 bed at 10 inches deep = 4 × 8 × 0.83 = 26.6 cubic feet = about 1 cubic yard. Always buy 10–15% more than your calculation — new fills settle, especially in the first few weeks.

Step 2 — Materials: What to Build With

The frame material is the decision most people overthink. Here's a practical breakdown.

Untreated lumber (most common)

Standard dimensional lumber — 2x6, 2x8, or 2x10 boards — is the most affordable option and works well for most situations. The honest limitation: untreated wood in direct soil contact will rot, typically within 3–7 years depending on wood species and local climate. That's not necessarily a problem if you're okay rebuilding eventually, and the cost is low enough that it's often worth it.

Best wood choices for longevity without chemical treatment: cedar (naturally rot-resistant, lasts 10–15+ years), redwood (similar to cedar, harder to find), or Douglas fir (cheaper, lasts 3–5 years in wet climates).

Composite lumber and recycled plastic boards

More expensive upfront but essentially permanent. No rotting, no splinters, no replacement cost. Worth considering if you're building beds you expect to use for 20+ years. Not as visually warm as wood, but functionally superior for longevity.

Galvanized metal (corrugated steel)

Becoming increasingly popular for its durability and clean look. Modern corrugated steel raised bed kits are available at most garden centers and online. Concerns about heavy metal leaching from galvanized steel have been studied — the consensus from current research is that leaching into soil is minimal and unlikely to affect food safety at standard garden pH levels. If you're growing edibles and concerned, stainless steel or food-grade aluminum is the conservative option.

What to avoid

  • Railroad ties and old treated lumber: Older pressure-treated wood and railroad ties may contain creosote or arsenic-based preservatives (CCA treatment). These should not be used for edible garden beds. Modern pressure-treated lumber uses different chemistry (ACQ or copper azole), but many gardeners prefer to avoid it for food production out of caution.
  • Cinder blocks: Older cinder blocks made with fly ash may leach heavy metals. Modern concrete blocks are generally considered safe, but this varies by source.
⚠️ Lead soil test before you build: The University of Maryland Extension strongly recommends testing for lead before building raised beds for food production, especially in urban areas, near older painted structures, or on previously industrial land. Many local extension offices offer low-cost soil testing. If lead is present above safe levels, raised beds with a solid bottom barrier become important, not optional.

Step 3 — Location: Four Things That Matter

  • Sun: Most vegetables need 6–8 hours of direct sun per day. This is non-negotiable for tomatoes, peppers, cucumbers, and squash. Leafy greens and herbs tolerate partial shade (4–6 hours). When in doubt, choose the sunniest available spot.
  • Level ground: A bed on a slope will have uneven moisture distribution — the uphill end dries out while the downhill end saturates. Level the ground before building, or build a stepped bed on slopes.
  • Water access: You'll be watering this bed every 1–3 days in peak summer. Place it within reach of a hose or install drip irrigation before filling.
  • Away from tree roots: Large trees have roots that extend well beyond their canopy. Aggressive roots (maples, willows, poplars) can invade a raised bed and compete with your vegetables for water and nutrients. Give mature trees at least 10–15 feet of clearance.

Step 4 — The Soil Mix: The Most Important Decision

This is where most first-time raised bed builders go wrong. And it's the part that matters most.

The one thing you must not do: fill with pure compost

It seems logical — compost is great for plants, so a bed full of compost must be better. It isn't. Oregon State University Extension is direct about this: do not fill raised beds with compost alone. Pure compost dries out quickly, can repel water when dry, lacks the mineral content plants need, and compacts significantly as it continues to break down. A bed filled with pure compost in spring will have settled 3–4 inches by fall.

The University of Minnesota Extension confirms: too much compost creates issues with water retention — compost dries out quickly and can repel water if it becomes too dry.

The right mix: topsoil + compost + optional amendments

The University of Minnesota Extension recommends a mixture of around 2/3 to 1/2 topsoil and 1/3 to 1/2 plant-based compost as the ideal raised bed fill. The University of Maryland Extension suggests either a 1:1 or 1:2 compost-to-topsoil ratio, depending on the quality of your topsoil. SDSU Extension puts the practical range at 25–30% compost maximum in any soil blend.

The mix I use for new beds and that has worked consistently:

  • 60% quality topsoil (loam or sandy loam — avoid heavy clay or pure sand)
  • 30% finished compost (homemade or bagged — must smell earthy, not sour or like ammonia)
  • 10% perlite or coarse sand (improves drainage, especially in deeper beds)

If your topsoil is clay-heavy, increase perlite to 15–20%. If you're in a dry climate where moisture retention is the priority, skip the perlite entirely and let the compost do that work.

Buying in bulk vs. bags

For any bed larger than 4x4 feet, buying soil by the cubic yard from a landscape supplier is significantly cheaper than bagged products. A cubic yard of bulk topsoil typically costs $30–$60 depending on location and quality. The equivalent in bags at a hardware store might cost 3–4 times as much. Call local landscape suppliers and ask for "loam topsoil" or "screened topsoil" — specify it's for a vegetable garden so they know to avoid fill dirt.

 Mel's Mix alternative: If you don't have access to bulk topsoil, Mel Bartholomew's "Square Foot Gardening" mix is a proven soilless option: 1/3 blended compost + 1/3 peat moss or coconut coir + 1/3 coarse vermiculite. It's lightweight, drains well, and works for most vegetables. The downside is cost — it's more expensive per cubic foot than a topsoil-based mix. But for small beds or balcony situations without bulk delivery access, it's an excellent choice.

Step 5 — What Goes Under the Bed

Most situations: nothing. The University of Minnesota Extension is clear on this — in most cases, you will not need a barrier between your raised bed soil and the soil underneath. In fact, a barrier is likely to stunt root growth. Deep-rooted crops like tomatoes and carrots extend their roots well below the bed depth into the native soil beneath. Blocking that with landscape fabric or plastic reduces their potential significantly.

When a bottom barrier makes sense:

  • The bed is on pavement or a deck (drainage tray needed)
  • The native soil tests positive for lead or other contaminants above safe levels
  • Aggressive ground-level weeds or grass need suppression (cardboard is a better option than landscape fabric — it biodegrades and doesn't create a permanent root barrier)
  • Gophers or moles are a serious problem in your area (hardware cloth on the bottom, stapled to the frame)

Step 6 — First Season Setup and Planting

Let it settle first

Fill the bed, water it thoroughly, and wait 48–72 hours before planting. New fill settles significantly in the first few waterings. Top up to within 1–2 inches of the top of the frame after settling — you want enough soil depth for roots without soil washing out in rain.

What to plant in year one

Year one is when your soil is freshest and most nutrient-dense. Take advantage of it with heavy feeders:

  • Tomatoes and peppers — benefit most from the rich, well-drained conditions a new raised bed provides
  • Leafy greens (lettuce, spinach, kale, chard) — fast-growing and great for filling gaps between larger plants
  • Cucumbers and zucchini — prolific producers in good soil
  • Herbs (basil, parsley, chives) — useful to have near the kitchen and low-maintenance

What to avoid in year one

  • Root vegetables in new beds — carrots and beets need consistent, well-settled soil. New fills can have pockets and inconsistencies that cause forked roots. Better in year two.
  • Corn — needs a larger planting block than most raised beds allow for effective pollination, and is space-inefficient for the yield it provides.

Watering in year one

Raised beds drain faster than in-ground gardens and dry out more quickly, especially in the first season before the soil biology is established. Plan to water more frequently than you think necessary — check moisture at 2-inch depth daily in hot weather. Drip irrigation or soaker hoses on a timer remove this variable entirely and are worth setting up before you plant.

Annual Maintenance: Keeping the Bed Productive

A raised bed that's properly maintained gets better every year, not worse. The annual routine is straightforward:

  1. Fall: Clear spent plants, top-dress with 1–2 inches of finished compost. Don't dig it in — let earthworms and soil biology incorporate it over winter. Add 2–3 inches of shredded leaves or straw as a mulch layer on top.
  2. Spring: Remove the mulch layer (or work it in lightly), assess whether the bed needs topping up after winter settling, and plant.
  3. Every 2–3 years: Soil test to check pH and nutrient levels. Rutgers NJAES recommends testing raised bed soil periodically because the closed system can develop nutrient imbalances — particularly phosphorus buildup from repeated compost additions.

The soil level in your bed will drop 1–2 inches per year as organic matter continues to break down. This is normal. The annual fall compost top-dressing replaces what was lost and adds more organic matter for the next season.

Frequently Asked Questions

How many raised beds do I actually need?

One 4x8 foot bed, managed well, produces a meaningful amount of vegetables for one or two people — enough salad greens, herbs, and some tomatoes and peppers. For a family of four that wants to grow a significant portion of their vegetables, three to four 4x8 beds is a reasonable starting point. Start with one. You'll know after one season whether you want more.

My raised bed soil is compacting. What went wrong?

Two likely causes: too much compost in the original mix (compost compacts as it breaks down), or stepping in the bed. The fix for compaction without tilling: top-dress with 1–2 inches of finished compost in fall, mulch heavily, and let the soil biology break it up over winter. Earthworms do more to improve soil structure than any mechanical intervention. If you've been stepping in the bed, stop — install a stepping stone if you need to reach the center.

Do I need to line the inside of the bed with anything?

For wood beds: no lining is necessary and lining with plastic reduces drainage. If you're concerned about wood rot, you can staple hardware cloth to the inside bottom to deter burrowing pests, but don't line the sides. The soil contact with wood is what eventually causes rot — there's no practical way to prevent it without using rot-resistant wood species in the first place.

Can I use bagged "raised bed mix" from the garden center?

Yes, it's convenient and generally works. Check the ingredients: a good raised bed mix should contain topsoil or mineral material, compost, and drainage amendments like perlite. Avoid products that are primarily peat or coir with compost — these dry out too quickly and don't provide the mineral base your plants need. For large beds, the cost of bagged mix adds up fast; bulk delivery is worth the effort for anything over a 4x4 bed.

How tall should a raised bed be for seniors or people with mobility limitations?

For seated gardening from a wheelchair or stool, 24–30 inches is the standard recommendation, with bed width reduced to 2–3 feet for reach. For standing with reduced bending ability, 18–24 inches eliminates most of the back strain. The additional height means more soil volume and more cost, but for someone with limited mobility it makes the difference between gardening being accessible or not.

The Bottom Line

A raised bed is one of the best investments you can make in home food production. Not because it's magic, but because it puts you in control of the single variable that matters most: soil quality.

Get the width right (4 feet maximum). Get the soil mix right (topsoil + compost, not compost alone). Pick a sunny spot with water access. Let it settle before planting. Top-dress with compost every fall and leave it alone.

That's it. Everything else is details that sort themselves out in the first season.

What size are you building, and what are you planning to grow? Drop a comment — I'm especially curious whether anyone is building their first bed this spring and what's driving the decision.

— Ku


Comments

Popular posts from this blog

How to Compost Coffee Grounds: The Dead-Simple Method That Saves Me $200 a Year

Banana Peel Fertilizer: What Actually Works (And What the Internet Gets Wrong)

Don't Throw Away That Eggshell — It's Free Calcium for Your Garden