Start with a three-layer base, not garden soil alone

The soil you put in a raised bed should not be the same as what you dig from your yard. Garden soil compacts over time, drains poorly in a contained space, and often carries weed seeds and disease. Instead, fill your bed with a layered mix that drains well, holds moisture where plants need it, and gives roots room to grow.

The standard approach is to build three distinct layers from bottom to top: coarse material for drainage, a middle layer of compost and peat or coco coir, and a top layer of finished compost. This method works because each layer does a different job. The bottom layer prevents water from pooling; the middle layer holds nutrients and moisture; the top layer feeds your plants as they grow.

You do not need to buy three separate products. Many gardeners use a single bagged raised bed mix from a garden center, which combines these components already. These mixes typically cost between $3 and $8 per bag, depending on your region and brand. A 4-by-8-foot bed that is 12 inches deep needs roughly 32 cubic feet of soil, or about 20 to 24 bags of standard potting mix.

Key Takeaways

  • A raised bed needs a drainage layer at the bottom (wood chips, gravel, or cardboard), a nutrient layer in the middle (compost mixed with peat moss or coco coir), and finished compost on top.
  • Bagged raised bed mixes combine these layers and cost less than buying each component separately, though you will need to calculate how many bags fit your bed's volume.
  • Avoid pure garden soil, potting soil meant for containers, or topsoil alone—each one either compacts, drains too fast, or lacks nutrients for a full season.
  • If you build your own mix, use a ratio of roughly 40 percent compost, 40 percent peat moss or coco coir, and 20 percent perlite or coarse sand for drainage.

The bottom layer: drainage and air flow

The lowest 2 to 3 inches of your bed should be material that does not break down and does not hold water. Wood chips are the most common choice—they create air pockets that let water drain through while also slowly decomposing and adding organic matter over several seasons. Untreated wood chips work best; avoid pressure-treated wood, which can leach chemicals into the soil.

Other options for the bottom layer include gravel (pea gravel or larger), cardboard (flattened and layered), or a combination. Cardboard has the added benefit of suppressing weeds from the soil below, though it breaks down within a year or two. If your raised bed sits on bare ground, cardboard is worth the extra step. If it sits on a patio or deck, you can skip this layer entirely.

Do not use sand as your drainage layer—it compacts and can trap water instead of moving it through. Avoid fine mulch or shredded leaves, which decompose quickly and settle, defeating the purpose of a drainage layer.

The middle layer: nutrients and water retention

The bulk of your bed—roughly 6 to 8 inches—should be a mix of compost and peat moss or coco coir. Compost provides nutrients and beneficial microbes; peat moss or coco coir holds moisture so plants do not dry out between waterings. A typical ratio is 50 percent compost to 50 percent peat moss or coco coir.

Peat moss is inexpensive and widely available, but it is harvested from wetlands and is not renewable. Coco coir (coconut fiber) is a sustainable alternative that holds water just as well, though it costs slightly more. Both work equally well for growing vegetables and flowers.

You can also add perlite or coarse sand to this layer—about 10 to 20 percent of the mix—to improve drainage if your compost is dense or if you are growing plants that prefer drier soil, like herbs or root vegetables. Perlite is lighter and easier to work with; sand is heavier and less likely to float to the surface when you water.

The top layer: finished compost for when ready nutrition

The top 2 to 3 inches should be finished compost—dark, crumbly material that has fully broken down. This layer feeds your plants throughout the growing season and is where most of the root activity happens in the first few weeks. Finished compost is richer in nutrients than the middle layer and breaks down more slowly, so it continues to feed plants as the season progresses.

You can use store-bought bagged compost, compost from your own pile, or a blend of both. If you use your own compost, make sure it is fully finished—raw or partially decomposed compost can heat up and damage seedlings, and it may still contain weed seeds or pathogens.

Building your own mix versus buying bagged soil

If you are filling a single bed, a bagged raised bed mix is usually the simplest and most cost-effective choice. One bag typically contains a pre-mixed blend of compost, peat moss or coco coir, and perlite, ready to pour. You straightforward calculate your bed's volume, buy that many bags, and fill.

If you are filling multiple beds or a very large bed, buying components separately and mixing them yourself can save money. A cubic yard of compost costs roughly $30 to $50 depending on your region; a bale of peat moss or coco coir costs $10 to $20. You would mix them in a pile or a tarp, then shovel the blend into your beds. This approach takes more time but gives you control over the exact ratio and lets you use compost from your own pile if you have one.

A third option is to use a lasagna bed or no-dig method, where you layer cardboard, compost, leaves, grass clippings, and other organic materials directly in the bed without mixing. This works well if you have access to free materials and do not mind waiting a few weeks for the layers to settle before planting. The downside is that the layers separate as they decompose, and you may end up with uneven soil texture.

What to avoid: common soil mistakes

Garden soil or topsoil alone will compact in a raised bed and drain poorly. It is meant to be tilled and aerated in an open garden, not confined in a box. Potting soil meant for containers drains too fast and is expensive to fill a large bed with. Peat moss or coco coir alone holds too much water and lacks nutrients. Mulch or wood chips alone do not provide enough structure or nutrients for plants to thrive.

Do not reuse soil from a previous season without refreshing it. Over time, soil in a raised bed compacts, nutrients are depleted, and disease organisms can build up. At the start of each season, mix in 1 to 2 inches of fresh compost to restore structure and nutrition. Every few years, consider replacing the entire mix—usually after three to five seasons, depending on how heavily you plant.

Soil depth and how much you actually need

Most vegetables and flowers need 8 to 12 inches of soil depth to grow well. Shallow-rooted plants like lettuce and spinach can manage 6 inches; deeper-rooted plants like tomatoes, carrots, and peppers need the full 12 inches or more. If your bed is shallower than 8 inches, you will be limited in what you can grow.

To calculate how much soil you need, multiply the length of your bed by the width by the depth, all in feet, then divide by 27 to get cubic yards. For example, a 4-by-8-foot bed that is 1 foot deep is 32 cubic feet, or about 1.2 cubic yards. One cubic yard of bagged soil is roughly 40 to 50 bags, depending on the bag size.

Frequently Asked Questions

Can I use just compost and skip the other layers?

You can, but your bed will compact and drain poorly over time. Compost alone is dense and settles quickly. Adding peat moss or coco coir keeps it loose and airy, and a drainage layer at the bottom prevents water from pooling around roots. The three-layer approach costs only slightly more and lasts much longer.

Do I need to replace the soil every year?

No. Instead, add 1 to 2 inches of fresh compost to the top each spring to restore nutrients and structure. After three to five seasons of heavy planting, consider replacing the entire mix, as it will have compacted significantly and nutrient levels will be depleted.

What if my raised bed sits on concrete or a deck?

You can skip the drainage layer and start with the compost-and-peat-moss mix. Water will drain through the bottom of the bed onto the concrete. If drainage is slow, drill a few holes in the bottom of the bed frame, or add a thin layer of gravel before the compost to help water move through.

Is coco coir really better than peat moss?

Coco coir is more sustainable because it is a byproduct of coconut processing rather than harvested from wetlands. Both hold water equally well and work fine for growing vegetables. Coco coir costs a bit more but is a good choice if you want to avoid peat. Either one will give you good results.

Can I use leaves or grass clippings instead of compost?

Partially, but not as your main layer. Fresh leaves and grass clippings break down quickly, heat up, and can burn plant roots. Finished compost is safer and more reliable. You can layer leaves and grass clippings under the compost as part of a no-dig bed, but let them settle for several weeks before planting.