The basic formula: topsoil, compost, and drainage material

The best soil for a raised bed is not pure garden soil from your yard. Instead, mix three materials in roughly equal parts: topsoil, compost, and drainage material (usually peat moss, coconut coir, or aged bark). This combination holds moisture and nutrients while letting water drain so roots don't rot.

A raised bed 4 feet by 8 feet by 12 inches deep holds about 32 cubic feet of soil. You would buy roughly 11 cubic feet each of topsoil, compost, and drainage material, then mix them in the bed itself or in a pile before filling. The exact ratio matters less than getting all three components—a bed made of only topsoil will compact and drain poorly; only compost will break down and settle within a season.

If you are building a very deep bed (18 inches or more), you can use a layering method instead: put coarse drainage material at the bottom, then topsoil and compost mixed together on top. This saves money and still works well because roots will reach the lower layers as they grow.

Key Takeaways

  • Mix topsoil, compost, and drainage material in roughly equal parts rather than using garden soil alone.
  • Topsoil provides structure and nutrients; compost adds organic matter and biology; drainage material prevents waterlogging.
  • For a 4-by-8-foot bed 12 inches deep, buy about 11 cubic feet of each material and mix them in the bed.
  • You can layer materials in deep beds (coarse material on bottom, topsoil and compost on top) to save money.
  • Let the bed settle for a week or two before planting, and plan to add compost each spring as the soil breaks down.

Choosing the right topsoil

Topsoil is the dark, nutrient-rich layer from the top of the ground. When you buy it, you are buying soil that has been screened to remove rocks and debris. Look for topsoil labeled as "garden topsoil" or "screened topsoil"—avoid "fill dirt," which is subsoil with little organic matter and poor structure.

The best topsoil comes from a local landscape supply yard where you can see and feel it before buying. It should be dark brown, crumbly, and smell earthy. If it smells sour or ammonia-like, it is too fresh and not yet ready. Bagged topsoil from a garden center works but costs more per cubic foot than bulk topsoil delivered by truck.

Some people add a small amount of perlite or vermiculite to the topsoil layer to improve drainage further, especially in clay-heavy areas. A handful per cubic foot is enough—too much makes the soil too light and dries out quickly.

Selecting compost for nutrients and structure

Compost is decomposed plant and animal matter. It adds the biology and slow-release nutrients that make plants grow, and it binds soil particles together so the bed holds its shape. You can use finished compost from a landscape yard, bagged compost from a garden center, or compost you made yourself.

Finished compost should be dark, crumbly, and smell like forest floor—not like manure or ammonia. If you use manure-based compost, make sure it is aged at least six months so it will not burn plant roots. Mushroom compost (the spent growing medium from commercial mushroom farms) works well and is often cheaper than other types.

Avoid compost that is still hot or steaming when you open it, as this means decomposition is still active and the material is not ready. If you are buying in bulk, ask the supplier how long the pile has been finished. A pile finished three to six months ago is ideal.

Drainage materials: peat moss, coir, and alternatives

The third component keeps water from pooling around roots. Peat moss has been the standard for decades—it is lightweight, holds moisture evenly, and lasts several years before breaking down. However, peat is harvested from wetlands that take centuries to form, so many gardeners now choose alternatives.

Coconut coir (the fiber from coconut husks) works almost identically to peat moss, drains well, and is a renewable byproduct of coconut processing. It costs slightly more but is becoming easier to find. Aged bark (usually pine or fir bark) is coarser and breaks down faster than peat, so you may need to add more compost in year two, but it is inexpensive and widely available.

Some gardeners use a mix of these materials rather than choosing one. For example, half peat moss and half aged bark gives you the longevity of peat with the cost savings of bark. Avoid fresh bark or sawdust—these pull nitrogen from the soil as they decompose and can stunt plant growth for a season.

Mixing and settling before planting

The easiest way to mix is to fill the bed in layers and then turn the pile with a shovel or garden fork. Put in one-third topsoil, one-third compost, and one-third drainage material, then stir them together until the color is even throughout. If your bed is very large, you can mix in a separate pile on a tarp and then shovel the finished mix into the bed.

After mixing, water the bed lightly and let it settle for one to two weeks before planting. The soil will compact slightly as it absorbs water and the materials begin to bond. If the level drops more than an inch or two, add a little more of your mix to bring it back to the top of the frame.

Do not plant when ready after filling—seeds and seedlings need stable, settled soil. Planting into freshly mixed, fluffy soil often results in poor germination and root problems because the soil shifts as it settles.

Adjusting soil for your climate and plants

The basic three-part mix works for most vegetables and flowers, but you can adjust it based on what you are growing and your local conditions. If you live in a dry climate, increase the compost slightly (up to 40 percent) to hold more moisture. If you have heavy clay soil underneath the bed, add an extra layer of coarse gravel at the very bottom to prevent water from pooling.

For acid-loving plants like blueberries, add sulfur to lower the pH. For plants that prefer alkaline soil, add lime. Most vegetables prefer soil with a pH between 6.0 and 7.0, which the basic mix usually provides. If you want to know your exact pH, you can send a sample to your local cooperative extension office—they will test it for a small fee.

In very hot climates, a higher proportion of compost helps the soil retain moisture and keeps roots cooler. In wet climates, increase the drainage material and make sure your bed has good drainage holes or sits on a permeable surface.

Maintaining and refreshing soil year to year

Raised bed soil breaks down over time as compost decomposes and organic matter is used by plants and microorganisms. Each spring, add a 2- to 3-inch layer of fresh compost on top of the bed and work it in lightly with a fork. This replaces the organic matter that was lost and keeps the soil rich and workable.

After three to five years, the original topsoil and drainage material will have broken down significantly. At that point, you can either refresh the entire bed by removing the old soil and mixing a new batch, or straightforward add more compost and topsoil to the top until the bed is full again. Many gardeners do a full refresh every four years to keep the soil structure strong.

If you notice the bed draining very slowly or plants struggling despite adequate water, the soil may have compacted too much. Loosen it with a garden fork, add fresh compost, and consider increasing the drainage material in your next refresh.

Frequently Asked Questions

Can I use garden soil from my yard instead of buying topsoil?

You can use some of your own soil, but not as the only ingredient. Garden soil is often compacted and clay-heavy, which will make the bed drain poorly and become hard to work. Mix your garden soil with compost and drainage material at roughly equal parts, or use it as only one-third of the mix and buy the other two-thirds.

How much soil do I need for my raised bed?

Multiply the length times the width times the depth in feet, then divide by 27 to get cubic yards. A 4-by-8-foot bed 12 inches deep needs about 1.2 cubic yards (roughly 32 cubic feet). Most landscape suppliers sell by the cubic yard or cubic foot, so ask them for the volume you need and they will tell you how much to order.

Is it okay to use only compost in a raised bed?

Not for long-term gardening. Pure compost will break down and settle significantly within one season, leaving you with a half-empty bed. It also compacts over time and loses its drainage properties. Always mix compost with topsoil and drainage material for a stable, long-lasting bed.

What if I cannot find coconut coir or peat moss locally?

Aged bark, shredded leaves, or even straw work as drainage materials. They break down faster than peat or coir, so you will need to add more compost in year two, but they are inexpensive and widely available. Avoid fresh bark or sawdust, which pull nitrogen from the soil as they decompose.

Should I add fertilizer to the soil when I fill the bed?

The compost in the mix provides enough nutrients for the first season. If you want extra nutrition, add a balanced organic fertilizer (like 5-5-5) at the rate recommended on the package, or work in a handful of bone meal and blood meal per cubic foot. Most gardeners find this unnecessary if they add fresh compost each spring.