The basic formula: topsoil, compost, and drainage material
A raised bed works best when filled with a mix rather than garden soil alone. The standard approach is to layer drainage material at the bottom, then fill the rest with a blend of topsoil and compost. Most home gardeners use a ratio of about 60 percent topsoil to 40 percent compost, though the exact mix depends on what you're growing and what you have on hand.
The drainage layer prevents water from pooling at the bottom and rotting plant roots. Use 2 to 4 inches of coarse material—gravel, wood chips, or broken terracotta—depending on how wet your site tends to be. Then add your soil and compost mix on top until the bed is full or within an inch of the rim.
This layered approach costs less than filling the entire bed with bagged compost, drains better than straight garden soil, and gives plants the nutrients they need without requiring you to amend the bed every season.
Key Takeaways
- Layer 2 to 4 inches of drainage material (gravel, wood chips, or broken pottery) at the bottom to prevent waterlogging.
- Fill the rest with a mix of roughly 60 percent topsoil and 40 percent compost for balanced nutrition and structure.
- Avoid using only garden soil or only compost; a blend drains better and lasts longer than either alone.
- The total depth should be at least 8 to 12 inches for most vegetables, though root crops and perennials may need deeper beds.
- You can build the mix gradually over time by adding compost each spring rather than buying everything at once.
Topsoil: what it is and how much you need
Topsoil is the dark, nutrient-rich layer of earth that forms naturally over years. When you buy it bagged or in bulk, it's usually screened to remove rocks and roots. It holds moisture and nutrients but compacts over time, which is why mixing it with compost keeps it loose enough for roots to penetrate.
To calculate how much you need, measure your bed's length, width, and desired depth in feet, multiply them together, and divide by 27 to get cubic yards. A 4-by-8-foot bed filled 12 inches deep needs about 1.2 cubic yards. Buying in bulk from a landscape supplier costs far less per cubic yard than bagged soil, though you'll need a way to move it—a wheelbarrow or small truck rental is usually worth the savings.
If you're starting with poor garden soil underneath, lay landscape fabric or cardboard on top of the ground before adding your mix. This blocks weeds from growing up into the bed and prevents the soil below from mixing with your new fill.
Compost: types and where to source it
Compost is decomposed plant material—leaves, grass clippings, food scraps, and woody debris broken down by microbes. It adds organic matter, improves drainage in clay soil, and releases nutrients slowly as plants grow. You can make your own, buy it bagged, or source it in bulk.
Homemade compost is free if you have yard waste and kitchen scraps, but it takes 6 to 12 months to finish. Bagged compost from a garden center costs more per volume but is ready to use when ready. Bulk compost from a landscape supplier or municipal composting program is the cheapest option if you have a truck or can arrange delivery. Some cities give away finished compost for free or a small fee—check your local waste management website.
Look for compost that is dark, crumbly, and smells earthy rather than sour or ammonia-like. Avoid compost made only from grass clippings, as it can mat down and block water. A blend of leaf compost, food-waste compost, and wood-based compost works better than any single type.
Drainage materials and why they matter
The layer at the bottom of your raised bed serves one job: letting water drain through without letting soil wash down into it. Coarse drainage material creates air pockets that water flows through quickly. Without this layer, water sits at the bottom, roots suffocate, and soil-borne diseases spread.
Use materials that won't break down quickly. Gravel (1/2 to 3/4 inch) is cheap and effective. Wood chips last 2 to 3 years before decomposing; replace them when they start to look like soil. Broken terracotta, slate, or brick works well if you have it. Avoid sand or fine pebbles—they clog and trap water instead of draining it.
If your raised bed sits on solid clay or in a low spot that stays wet, increase the drainage layer to 4 inches. If the ground below drains quickly (sandy soil, a slope), 2 inches is enough. You can also drill holes in the bottom of the bed frame itself, though this is less important if you have a good drainage layer.
Building a bed layer by layer: the step-by-step process
Start by placing your raised bed frame on level ground. If the ground is uneven, level it as much as you can—a bed that tilts will have shallow soil on one side and deep soil on the other, causing uneven watering and growth.
Lay landscape fabric or cardboard on the ground inside the frame. This blocks perennial weeds and prevents soil from mixing with whatever is underneath. Overlap pieces by at least 6 inches and cut away any excess that sticks above the rim.
Spread your drainage material evenly across the bottom—2 to 4 inches depending on your site. Then add topsoil and compost in alternating layers or mixed together. If you're mixing as you go, shovel topsoil in, then compost, then topsoil again, stirring with a garden fork as you fill. This distributes nutrients evenly and prevents pockets of pure compost (which dries out fast) or pure topsoil (which compacts).
Fill until the bed is level with the rim or within an inch of it. Water the bed thoroughly and let it settle for a few days. You'll likely need to add more soil after settling—this is normal. Top it off until it's full again.
Adjusting your mix for different plants and soil types
Most vegetables do well in a 60-40 topsoil-to-compost mix, but some plants have different needs. Root crops like carrots and parsnips need looser, deeper soil—increase compost to 50 percent and fill the bed at least 14 inches deep. Acid-loving plants like blueberries need compost made from pine needles or peat; mix it in at 50 percent or higher.
If your topsoil is heavy clay, add more compost (up to 50 percent) to improve drainage. If it's sandy and drains too fast, use less compost and add a layer of aged manure or leaf mold in the middle to hold moisture. You can always adjust the mix in future seasons by adding compost on top each spring.
Perennial beds (flowers, shrubs, herbs) can use a richer mix—up to 50 percent compost—since you won't be turning the soil every year. Annual vegetable beds benefit from a lighter mix that you can refresh with compost each season.
Cost-saving strategies and alternatives
Filling a large raised bed can be expensive if you buy everything bagged. Here are ways to reduce the cost. Buy topsoil and compost in bulk rather than bags—the per-unit cost is usually one-third the bagged price. Check whether your city offers free or low-cost compost from its municipal program. Use leaves from your own yard as a free compost layer, or ask neighbors for bagged leaves in fall.
You can also fill gradually. Build the drainage layer and add 6 inches of soil-compost mix in spring, then add another 6 inches in summer as you have budget or materials. Plants will grow in shallower soil, though they may need more frequent watering. Another option is to use aged manure (at least 6 months old) as part of your compost layer—it's often cheaper than finished compost and adds nitrogen.
If you have access to wood chips from a tree service, you can use them as a thick drainage layer (4 to 6 inches) and reduce the amount of topsoil you need. The chips will decompose over 2 to 3 years, creating a richer soil layer over time.
Frequently Asked Questions
Can I use only compost to fill a raised bed?
You can, but it's not ideal. Pure compost drains too fast, dries out quickly in summer, and settles heavily by the second season. A mix of topsoil and compost holds moisture better and lasts longer. If budget is tight, use a 50-50 blend instead of 60-40.
Do I need to replace the soil in my raised bed every year?
No. Add 1 to 2 inches of compost on top each spring to replenish nutrients and organic matter. After 3 to 5 years, the original soil will have decomposed and compacted enough that you may want to remove the top 6 inches and replace it, but complete replacement is rarely necessary.
What if I'm filling a bed on top of grass or weeds?
Lay cardboard or landscape fabric directly on the grass before adding your soil layers. The cardboard will break down over a season, and the grass underneath will die from lack of light. This is easier than removing the sod by hand and costs almost nothing.
Is it okay to use garden soil from my yard instead of buying topsoil?
If your garden soil is dark, crumbly, and free of clay clumps, you can use it. Mix it 50-50 with compost to improve drainage. If it's heavy clay or compacted, buy topsoil instead—your plants will grow better and you'll save time fighting poor drainage.
How deep should a raised bed be?
Most vegetables need 8 to 12 inches. Shallow-rooted crops like lettuce and spinach can grow in 6 inches. Root crops like carrots need 12 to 14 inches. Perennials and shrubs benefit from 12 to 18 inches. Deeper beds also hold more moisture and require less frequent watering.