Gardening Guides How-To March 21, 2026 8 min read

Raised Bed Soil Mix: The Best Recipe for Vegetables

The 40/40/20 soil mix recipe that fills raised beds right — with a calculator for common bed sizes, sourcing tips, and advice on when to amend vs replace.

Why Raised Bed Soil Is Different from Garden Soil

The soil in a raised bed is not just dirt you shoveled from somewhere else. It is an engineered growing medium — a blend designed to drain fast, hold moisture where roots need it, and feed plants over months instead of weeks. Get this right and your vegetables will outperform anything you could grow in native ground. Get it wrong and you will spend the whole season fighting drainage problems, nutrient deficiencies, and compacted roots.

After filling dozens of raised beds over the past eight years — from 2×4 herb boxes to 4×12 production beds — we have landed on a recipe that works in every climate we have tested. It is not complicated, but the ratios matter more than most guides let on.

The 40/40/20 Raised Bed Soil Recipe

This is our base formula. It works for tomatoes, peppers, root vegetables, leafy greens, herbs, and flowers. Adjust only if you have a specific need (more on that below).

ComponentPercentagePurpose
Screened topsoil40%Mineral base, weight, water retention
Compost40%Nutrients, biology, water retention
Coarse drainage material20%Air pores, drainage, root penetration

Topsoil (40%)

You want screened topsoil — not fill dirt, not subsoil, not "garden soil" in bags from the hardware store. Screened topsoil has been run through a 1/2-inch or 3/8-inch screen to remove rocks, roots, and clumps. It provides the mineral base (sand, silt, clay) that gives your bed weight and helps it hold water between waterings.

The best topsoil is loamy — roughly equal parts sand, silt, and clay. If you grab a handful, squeeze it, and it holds together but crumbles when you poke it, that is loam. If it stays in a hard ball, it is too heavy in clay. If it falls apart immediately, it is too sandy. Either extreme is fine for a raised bed because the compost and drainage material will balance it out.

Where to buy: landscape supply yards sell screened topsoil by the cubic yard. Expect $25–$45 per cubic yard depending on your region. Always ask if it has been screened and what the source is. Avoid topsoil stripped from agricultural fields — it may carry herbicide residues that damage tomatoes and beans (aminopyralid contamination is real and devastating).

Compost (40%)

This is where your nutrients live. Good compost is dark, crumbly, earthy-smelling, and fully broken down — you should not be able to identify what it used to be. Avoid compost that smells like ammonia (too fresh), looks like mulch (not finished), or contains visible plastic, glass, or metal (poorly screened municipal compost).

The best sources, in order:

  1. Your own compost: Free, and you know exactly what went into it. Even a small bin produces 2–3 cubic feet per year.
  2. Local mushroom compost: Spent substrate from mushroom farms. Rich in nutrients, well-decomposed, and often available for $30–$40 per cubic yard.
  3. Landscape supply yard compost: Typically made from yard waste. Quality varies — ask if it has been tested and what the NPK values are. Good compost tests around 1-1-1 (1% nitrogen, 1% phosphorus, 1% potassium).
  4. Bagged compost: Coast of Maine Lobster Compost, Black Kow composted cow manure, and Dr. Earth Compost are all solid choices. Expensive at scale, but consistent quality.

Avoid: fresh manure (burns roots), compost made primarily from biosolids (heavy metals), and anything labeled "compost" that is actually dyed wood mulch.

Drainage Material (20%)

This is the component most people skip, and it is the reason most raised beds compact into a dense, soggy mess by year two. You need coarse material that creates permanent air channels in the soil. Options:

  • Coarse perlite: Expanded volcanic glass. Lightweight, sterile, holds some moisture. The best all-around option. Use horticultural grade (coarse), not the fine stuff sold for seed starting.
  • Pumice: Similar to perlite but denser and less likely to float to the surface. Harder to find but worth it. Look for 1/4-inch pumice.
  • Coarse vermiculite: Holds more water than perlite, good for hot climates where you need extra moisture retention.
  • Rice hulls: Cheap, renewable, and effective. They break down over 2–3 years, so you need to top up. Available from farm supply stores in rice-growing regions.
  • Pine bark fines: Screened to 1/4–1/2 inch. Adds drainage, acidity, and organic matter. Breaks down slowly over 3–5 years. Widely available and cheap.

Do not use: gravel, sand (it fills air pores instead of creating them), styrofoam packing peanuts, or landscape fabric at the bottom of the bed.

How Much Soil Do You Need? A Calculator for Common Bed Sizes

Volume = Length × Width × Depth. Convert everything to feet first. One cubic foot = about 7.5 gallons. One cubic yard = 27 cubic feet.

Bed SizeDepthCubic FeetCubic YardsBags (1.5 cu ft each)
2×4 ft12 in80.306
3×3 ft12 in90.336
4×4 ft12 in160.5911
4×8 ft12 in321.1922
4×8 ft18 in481.7832
4×12 ft12 in481.7832

Once you know the total volume, split it by the recipe: 40% topsoil, 40% compost, 20% drainage material. For a 4×8 bed at 12 inches deep (32 cubic feet): 12.8 cu ft topsoil, 12.8 cu ft compost, 6.4 cu ft drainage material.

At bulk prices from a landscape yard, filling a 4×8 bed costs $60–$120 depending on your region. Bagged from a garden center, the same fill runs $150–$250. Bulk is always cheaper once you are filling more than one bed. Most landscape supply yards have a one-cubic-yard minimum for delivery — that fills about one and a half 4×8 beds at 12 inches deep. Need help deciding on bed depth? Read our guide on how deep a raised bed should be.

Mixing and Filling: Get It Right the First Time

Dump your components in the bed in layers — a few inches of topsoil, a few inches of compost, a few inches of perlite or bark. Then mix with a garden fork, turning everything together until the color and texture are uniform. Do not skip the mixing. Layers of different materials create drainage boundaries that cause water to pool instead of draining evenly.

Fill to about 2 inches above the rim. Fresh soil settles 10–15% in the first few weeks as you water it. If you fill exactly to the rim, you will have a sunken bed by midsummer.

Water the bed deeply after filling and let it sit for a day or two before planting. This lets the soil settle naturally and reveals any spots that need topping up.

When to Amend vs Replace Your Soil

Raised bed soil does not last forever. Compost decomposes, organic matter is consumed by soil biology, and the bed slowly sinks. Here is a simple maintenance schedule:

  • Every spring: Top-dress with 1–2 inches of finished compost. Work it into the top 4 inches with a fork. This replaces the organic matter that broke down over winter.
  • Every fall: Add a thin layer (1/2 inch) of worm castings or aged leaf mould. Cover with mulch or a cover crop. This feeds the soil biology through winter.
  • Every 3 years: Add another inch of drainage material (perlite, pumice, or bark fines). Compaction is cumulative, and this resets the soil structure.
  • Every 5–7 years: Consider a full refresh. Remove the top 6 inches, amend it 50/50 with fresh compost and drainage material, and return it to the bed. This is also a good time to inspect the wood and tighten any loose fasteners.

If your plants are stunted, yellowing, or consistently underperforming despite proper watering and fertilizing, get a soil test. Your local cooperative extension office will test pH, NPK, and micronutrients for $15–$25. The results tell you exactly what to add instead of guessing. If you are new to this, our beginner's guide to sustainable gardening walks you through the fundamentals step by step.

Adjustments for Specific Crops

  • Root vegetables (carrots, parsnips, beets): Increase drainage material to 30% and reduce topsoil to 30%. Roots need loose soil to grow straight and deep without hitting dense pockets.
  • Blueberries: Replace topsoil with peat moss or aged pine bark. Blueberries need a pH of 4.5–5.5, and standard topsoil is usually 6.0–7.0. Add sulfur to drop the pH further.
  • Herbs (rosemary, thyme, lavender): Increase drainage material to 30–40%. Mediterranean herbs evolved in rocky, fast-draining soil and will rot in standard raised bed mix.
  • Heavy feeders (tomatoes, corn, squash): The standard 40/40/20 recipe works perfectly. Side-dress with compost or organic fertilizer (like Espoma Tomato-tone) mid-season.

What Not to Put in Your Raised Bed

  • Landscape fabric at the bottom: It restricts root penetration and creates a waterlogged layer. Use cardboard if you need to suppress grass — it breaks down in 6 months.
  • Gravel "drainage layer": This is a persistent myth. A gravel layer at the bottom of a raised bed actually raises the water table inside the bed (look up "perched water table"). It makes drainage worse, not better.
  • Uncomposted wood chips: They steal nitrogen from the soil as they decompose. Fine as mulch on top; terrible mixed into the soil.
  • Construction fill or mystery dirt: You do not know what is in it. Lead, asbestos, petroleum, herbicides — the risk is not worth the savings.

Ready to build the bed that holds this soil? Our white oak and cedar raised bed kits come with pre-cut, hand-selected lumber and stainless steel fasteners — just add soil.

Frequently Asked Questions

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

You can, but read the ingredients. Many bagged mixes are mostly bark and peat with very little topsoil. They drain fast and dry out quickly, requiring more frequent watering. They also compact and shrink significantly in the first year. Our 40/40/20 recipe gives you a heavier, more stable mix that holds nutrients and moisture better over time.

Do I need to add fertilizer to new raised bed soil?

Not usually in the first season. If your compost is good quality, it provides enough nutrients for most vegetables. By year two, start top-dressing with compost each spring and side-dressing heavy feeders with an organic granular fertilizer like Espoma Garden-tone (3-4-4) or Plant-tone (5-3-3).

How much does it cost to fill a 4×8 raised bed?

Using bulk materials from a landscape supply yard, expect to spend $60–$120 for a 4×8 bed at 12 inches deep. Using bagged materials from a garden center, the same bed costs $150–$250. The more beds you fill, the more you save by buying in bulk.

My raised bed soil is sinking every year. Is that normal?

Yes. Organic matter decomposes, and the soil biology that makes your garden productive literally consumes volume. Plan to add 1–2 inches of compost every spring. After 3–5 years of annual top-dressing, the bed level stabilizes as you reach an equilibrium between decomposition and addition.

Is Mel's Mix (1/3 compost, 1/3 peat, 1/3 vermiculite) better?

Mel's Mix from Square Foot Gardening works well for small, intensively planted beds. But it lacks the mineral base (topsoil) that provides weight, trace minerals, and long-term stability. It also relies heavily on peat moss, which is a finite resource harvested from bogs that take thousands of years to form. Our 40/40/20 recipe is more sustainable and performs better in beds deeper than 6 inches.

Want more soil recipes and seasonal growing tips? Join our newsletter — we send one practical email per week, no fluff, no spam.

Keep reading