The best soil for a raised bed is a mix, not plain garden soil

Fill your raised bed with a blend of topsoil, compost, and other organic matter rather than soil dug from your yard. Garden soil compacts too much in a raised bed and drains poorly. A good mix holds moisture where plant roots can reach it, lets water drain so roots don't rot, and gives plants the nutrients they need without you adding fertilizer every month.

The exact recipe depends on what you're growing and what you have on hand, but the most reliable starting point is the "Mel's Mix" formula: one-third topsoil, one-third compost, and one-third coarse material like peat moss or coconut coir. This ratio works for vegetables, herbs, and most flowers. You can adjust it based on your climate and what you're planting.

Key Takeaways

  • Never fill a raised bed with plain garden soil from your yard—it compacts and drains poorly in a contained space.
  • A three-part mix of topsoil, compost, and peat moss or coconut coir gives you the drainage, water retention, and nutrients most plants need.
  • Topsoil is the foundation; compost adds nutrients and improves soil structure; the third ingredient keeps the mix light and airy.
  • You can buy pre-mixed raised bed soil, but blending your own costs less and lets you control the quality of each ingredient.
  • Depth matters: vegetables need 8 to 12 inches of soil, while root crops and perennials need 12 to 18 inches.

Understanding the three main ingredients

Topsoil is the dark, nutrient-rich layer from the top few inches of the earth. It's heavier than compost and holds the structure of your bed. Buy topsoil from a garden center or landscape supply company, not from a hardware store shelf—bagged topsoil is often poor quality. Ask the supplier whether it's been screened (which removes rocks and debris) and whether it contains weed seeds or clay. Good topsoil should crumble in your hand, not clump.

Compost is decomposed plant and animal matter. It's lighter than topsoil, holds water, and feeds your plants as it breaks down further in the bed. You can buy finished compost in bags or bulk, or make your own from kitchen scraps and yard waste. Homemade compost is free but takes months to finish. Store-bought compost is ready to use when ready. Either way, compost is the ingredient that makes the biggest difference in how well your plants grow.

The third ingredient—peat moss, coconut coir, or aged bark—keeps the mix from compacting. Peat moss is cheap and widely available but doesn't break down, so it stays light for years. Coconut coir is more sustainable (it's a byproduct of coconut processing) and breaks down slowly, adding some nutrients. Aged bark works too but is less common. All three do the same job: they create air pockets so water and roots can move through the soil.

How much soil you need to buy

Measure your raised bed in feet: length × width × depth (in feet), then divide by 27 to get cubic yards. A 4-by-8-foot bed that's 12 inches deep needs 1.2 cubic yards of soil. Most suppliers sell by the cubic yard or in bags; a 2-cubic-foot bag is roughly one-tenth of a cubic yard.

If you're using the three-part mix, buy one-third of your total volume in each ingredient. For that 4-by-8-foot bed, you'd buy 0.4 cubic yards (or about 11 bags) of topsoil, 0.4 cubic yards of compost, and 0.4 cubic yards of peat moss or coir. Buying in bulk from a landscape supplier costs less per cubic yard than bagged soil, especially for large beds.

Plan to add more compost each spring—about 1 to 2 inches—because it breaks down and settles. After a few seasons, you may need to top up the whole bed, but the original mix will last several years.

Pre-mixed raised bed soil versus blending your own

Garden centers sell bags and bulk mixes labeled "raised bed soil" or "garden mix." These are convenient if you have a small bed and don't want to calculate ratios. The downside is cost: pre-mixed soil runs 50 to 100 percent more per cubic yard than buying ingredients separately. Quality also varies—some mixes are mostly compost with little topsoil, while others are mostly topsoil with little organic matter.

If you blend your own, you control what goes in and can choose higher-quality topsoil and compost. For a large bed or multiple beds, the savings add up quickly. If you have only one small bed and don't want to manage three deliveries, pre-mixed soil is worth the extra cost for the convenience.

Adjusting the mix for your climate and what you're growing

In hot, dry climates, increase the compost to 40 percent of the mix and reduce the peat moss or coir to 20 percent. Compost holds more water, which helps in arid regions. In wet climates, flip it: use 20 percent compost and 40 percent peat moss or coir to improve drainage and prevent root rot.

For shallow-rooted plants like lettuce, herbs, and shallow greens, an 8-inch bed with a 50-50 mix of topsoil and compost works fine. For deeper-rooted vegetables like tomatoes, peppers, and carrots, use the full three-part mix and fill the bed 12 to 18 inches deep. Perennials and shrubs need even deeper soil—18 inches or more—because they stay in place for years and their roots go down.

If you're growing in a very cold climate, a darker compost-heavy mix warms up faster in spring than a light, sandy mix. If you're in a sandy region, add extra compost to hold moisture. The basic three-part formula works almost everywhere, but these tweaks help you match your soil to your conditions.

Filling and settling your bed

Dump all three ingredients into the bed at once and mix them with a shovel or garden fork. Don't layer them—mixing creates a uniform texture that drains and holds moisture evenly. Stir until you can't see distinct piles of topsoil, compost, and peat moss.

Water the bed thoroughly after filling. The soil will settle over the first few weeks as it absorbs water and the ingredients compact slightly. You may need to add 1 to 2 inches more soil after settling. This is normal and expected. Don't overfill initially—leave 2 inches of space at the top of the bed so water doesn't run off the sides.

Plant or sow seeds once the soil has settled and drained. If you're planting right away, water gently and let the bed sit for a day or two so the soil can firm up around the roots.

Common mistakes to avoid

The biggest mistake is using only topsoil or only compost. Topsoil alone compacts and doesn't drain well. Compost alone is too light and doesn't hold structure—plants can tip over, and water runs through too fast. The mix works because each ingredient does a different job.

Another common error is buying the cheapest topsoil without checking quality. Poor topsoil is often clay-heavy, full of rocks, or contaminated with weed seeds. Spend a few dollars more per cubic yard for screened topsoil from a reputable supplier. It makes a real difference in how well your plants grow.

Don't use garden soil from your yard, even if you have good soil. In a raised bed, it compacts into a hard layer that roots can't penetrate and water can't drain through. The raised bed format only works if you use a mix designed to stay light and airy.

Frequently Asked Questions

Can I use only compost in a raised bed?

No. Compost alone is too light and doesn't hold structure. Plants can lean or tip, and water drains too fast for roots to absorb it. Use compost as one-third of the mix, combined with topsoil for structure and peat moss or coir for drainage and aeration.

How deep does the soil need to be?

Vegetables and herbs need 8 to 12 inches. Root crops like carrots and beets need 12 inches or more so the roots have room to grow. Perennials and shrubs need 18 inches or deeper because they stay in place for years. Shallow greens like lettuce can grow in 6 inches, but deeper is always better.

Do I need to replace all the soil every year?

No. Add 1 to 2 inches of compost each spring to replace what broke down and settled. After 3 to 5 years, you may want to refresh the whole bed or mix in fresh topsoil and compost. The original soil doesn't wear out—it just compacts and loses nutrients over time.

What's the difference between peat moss and coconut coir?

Both keep soil light and airy. Peat moss is cheaper and lasts longer because it doesn't break down. Coconut coir is more sustainable (it's a waste product) and breaks down slowly, adding some nutrients. Either works; choose based on cost and environmental preference.

Can I use sand instead of peat moss or coir?

Not coarse sand. Sand compacts and doesn't hold water or air pockets the way peat moss or coir does. If you use sand, use only a small amount (less than 10 percent) mixed with peat moss or coir. Sand alone makes the bed drain too fast and compacts into a hard layer.