How to Build Your First Raised Garden Bed: 5 Easy DIY Builds and Pest-Proof Tips

As an Amazon Associate I earn from qualifying purchases.

A raised garden bed is one of the best things you can add to a backyard. You get better drainage, fewer weeds, soil that warms up earlier in spring and a lot less bending over. You don’t need a contractor or a big budget, either. With a free weekend and a few tools, you can build a bed that grows food and flowers for years.

This guide walks through five easy DIY builds, from a classic wood frame to a galvanized metal kit, with materials, steps and the soil, drainage and pest tips that make the difference in the first season.

The short version

  • Keep beds 4 feet wide or less so you can reach the middle without stepping in.
  • Fill with roughly half to two-thirds topsoil and the rest compost, not bagged potting soil.
  • Skip the gravel layer; drainage holes and good soil do the job.
  • Staple half-inch hardware cloth under the bed if voles, gophers or moles live nearby.
  • Pick a spot with 6 to 8 hours of direct sun and a hose within reach.

At a glance

Time

One afternoon to a weekend

Difficulty

Easy

Size

4 x 8 ft, 10 to 17 in deep

Best season

Fall or early spring

Choosing your first raised garden bed style

Before you load a cart at the hardware store, think about your space, your budget and how long you want the bed to last. Here’s how the five builds in this guide compare.

BuildCostDifficultyTypical lifespanBest for
Simple wood frame$EasyAbout 5 to 10 yearsFirst-timers, small spaces
Cedar plank bed$$Easy10 to 15+ yearsLongevity and looks
Galvanized metal$$ to $$$Very easy20+ yearsModern look, no rot
Cinder block$EasyDecadesPermanent spots
Straw bale$Easiest1 to 2 seasonsRenters, testing a spot

Whatever you build, place it where it gets full sun and is easy to water. For more on depth and placement, see our guide to raised bed depth, soil and placement.

6-8 hrs

Daily direct sun that tomatoes, peppers and eggplants need in a raised bed

Source: University of Minnesota Extension

What you’ll need for any build

Each build lists its own materials below, but these basics cover almost every raised bed.

Raised bed basics

  • Tape measure, stakes and string to mark the spot.
  • Spade or flat shovel to clear grass.
  • Drill/driver with exterior-rated screws.
  • A level, and a few pavers or gravel for shims.
  • Half-inch galvanized hardware cloth and a staple gun.
  • Enough soil and compost to fill the bed.

A 4 x 8-foot bed that’s 10 inches deep holds a little under a cubic yard of soil, so for a bed this size, buying soil in bulk usually costs far less than bags.

Build #1: The simple wood frame

This is the classic starter bed: a 4 x 8-foot rectangle of basic lumber with a post in each corner. It’s cheap, quick and sturdier than it looks.

What you’ll need

  • Two 8-foot 2×10 boards for the long sides
  • Two 4-foot 2×10 boards for the short sides
  • Four 4×4 corner posts, cut about 14 inches long
  • 3-inch exterior wood screws, or a set of metal corner brackets
  • Drill and bits

Avoid old salvaged lumber and anything treated with CCA (chromated copper arsenate), which can leach arsenic. University of Minnesota Extension notes that today’s pressure-treated wood uses copper instead of arsenic; if you use it, buy lumber rated for ground contact and consider lining the inside walls. Cedar costs more but lasts longer without treatment.

  1. Mark and clear

    Mark a 4 x 8-foot footprint with stakes and string. Slice off the sod, or smother the grass for a few weeks before you build.

  2. Build the long sides

    Stand each long board on edge and screw a corner post flush to each end, two screws per board.

  3. Close the box

    Attach the short boards to the same corner posts to finish the rectangle.

  4. Set it in place

    Drive the post ends 4 to 6 inches into the ground and check the frame for level.

  5. Fill

    Add your soil mix (see the soil section below) to within an inch or two of the top.

Corner brackets are the easy alternative to posts. They square up the corners, so the box goes together with just a screwdriver.

Why trust our recommendations?

We pick tools for how they work in a real yard and garden, not for the longest spec sheet. Our team chose every product here, the star ratings are our own editorial scores, and each link takes you straight to Amazon.

Real-yard fit

Hand-picked

Editorial scores

Checkout on Amazon

The star ratings on the picks in this guide are our own editorial scores for how well each one suits a first raised bed.

Easiest wood build
Hi-Flame Raised Bed Corner Brackets

Hi-Flame Raised Bed Corner Brackets

Square, sturdy corners for a wood bed without cutting corner posts

A set of four rust-resistant coated metal corner brackets with screws, sized for boards up to 2 x 12 inches. Slide in the boards, drive the screws and the box is square.

✓ Fits 2x boards to 12 in✓ Screws included✓ Rust-resistant coating
★★★★½Our rating: 4.5/5

Long 8-foot boards can bow outward once the bed is full. Add a short stake or a cross brace at the middle of each long side if you use them.

Build #2: The cedar plank bed

Same idea as Build #1, but with cedar, which resists rot naturally without any treatment. This is the bed to build when you want it to last a decade or more.

What you’ll need

  • 2×6 or 2×8 cedar boards, two or three per side for 12 to 17 inches of height
  • Stainless steel or coated exterior screws (plain steel can rust and stain cedar)
  • Corner brackets or 2×2 corner stakes
  • Drill and a level
  1. Stack the boards

    Stack two or three boards per side for a finished height of 12 to 17 inches, deep enough for carrots and other root crops.

  2. Join the corners

    Use inside corner brackets or 2×2 stakes to hold the boards together. It gives a cleaner look than posts.

  3. Level as you go

    Check for level as you assemble, especially on a slope, and shim low corners with gravel or a paver.

  4. Leave the bottom open

    Roots can grow down into the native soil and earthworms move in freely. Add hardware cloth first if burrowing pests are a problem.

Cedar fence pickets make a cheaper version, but at about 5/8 inch thick they bow and wear out sooner than full 2-inch boards.

Gardener's tip

Turn each board so the end-grain rings curve away from the soil (heartwood facing in). If the board warps, it bows outward a little instead of pulling the corners apart.

Build #3: The galvanized metal bed

Stock tanks and galvanized metal kits have become popular for good reason: they look sharp, never rot and go together fast. University of Minnesota Extension says zinc from the coating can leach only in very acidic soil (below pH 5), which most garden soils are not.

Galvanized metal stock tank raised garden bed planted with tomatoes, basil and herbs on a sunny patio
A stock tank needs drainage holes in the bottom before any soil goes in.

What you’ll need

  • A galvanized stock tank or a metal raised bed kit
  • Drill with a 1/2-inch metal bit (for a stock tank)
  • Work gloves; cut panel edges are sharp

Kits are the easier route. Extension experts warn that some prefabricated metal beds sold online have been found to contain lead, so choose a maker that says what the panels are made of.

Best metal bed
Vego Garden 17-Inch Modular Metal Raised Bed

Vego Garden 17-Inch Modular Metal Raised Bed

A tall, modular metal bed that builds six different shapes

Coated steel panels (zinc, magnesium and aluminum under a paint finish) bolt together into one of six layouts. At 17 inches tall, there's room for root crops and less bending.

✓ 17 in deep✓ 6-in-1 layouts✓ Rounded safety edges
★★★★½Our rating: 4.5/5

For a smaller budget or a narrow side yard, the Utopia Home Galvanized Raised Garden Bed Kit is a simple 4 x 2-foot, 1-foot-deep box with an open base.

  1. Drill drainage holes

    For a stock tank, drill 8 to 12 half-inch holes spread across the bottom. Kits have no bottom, so skip this step.

  2. Place it first

    Set the bed in its final spot before filling. A full tank weighs well over a ton.

  3. Fill tall beds smartly

    For beds deeper than 2 feet, fill the bottom with logs, sticks and leaves, the hugelkultur method, then top with soil. Expect it to settle.

  4. Fill and plant

    Add your soil mix and plant.

Build #4: The cinder block bed

Concrete blocks are heavy, cheap and permanent, and they hold heat. Standard blocks are 8 inches tall, so one course gives an 8-inch-deep bed, fine for lettuce and herbs, and two courses give about 16 inches.

What you’ll need

  • Standard 8 x 8 x 16-inch blocks: about 16 per course for a 4 x 8-foot bed
  • Construction adhesive (optional, for a second course)
  • A level and a rubber mallet
  1. Level the base

    Lay the first course directly on level ground, checking each block as you go. This course sets up everything above it.

  2. Stagger the second course

    If you go two high, offset the joints like brickwork so no two seams line up. A dab of adhesive keeps the top course from shifting.

  3. Use the cells

    Fill the open cells with soil and plant herbs or flowers in them.

  4. Fill and plant

    Fill the middle with your soil mix and plant.

Concrete can nudge soil pH up a little right along the blocks, which most vegetables tolerate. If you’re using old salvaged blocks of unknown origin, keep edible crops out of the cells.

Build #5: The straw bale bed

It sounds odd, but straw bale gardening works. You condition the bales for about two weeks with water and nitrogen, which starts them composting from the inside and turns them into a warm growing medium. It’s perfect for renters or for testing a spot before you build something permanent.

What you’ll need

  • 2 to 4 straw bales (not hay, which is full of seeds)
  • High-nitrogen fertilizer, such as blood meal or a lawn fertilizer with no weed killer
  • A hose, and a little potting mix for planting
  1. Set the bales

    Place bales cut side up, with the strings running along the sides.

  2. Days 1 to 6

    Soak each bale every day, and sprinkle about 1/2 cup of high-nitrogen fertilizer on top every other day.

  3. Days 7 to 9

    Cut the fertilizer to about 1/4 cup per bale every other day and keep watering.

  4. Days 10 to 14

    Once the inside feels warm and then starts to cool, add a thin layer of potting mix on top and plant transplants straight in.

Water the conditioned bales every day or two through the season; straw dries out faster than soil.

Good to know

Bales vary, so treat the schedule as a guide. Keep a hand in the bale: if it’s still hot to the touch, wait a few more days before planting so young roots don’t cook.

The best soil mix for a raised garden bed

Don’t fill a raised bed with whatever you dig up from the yard, and don’t fill it with bagged potting soil. Native yard soil often compacts and carries weed seeds, and potting soil dries out too fast in a bed this size.

University of Minnesota Extension recommends about half to two-thirds good topsoil, ideally loam or sandy loam, mixed with one-third to one-half plant-based compost. Too much compost can dry out and repel water, so don’t go heavier than that. Bags labeled raised bed mix are fine for a small bed.

Gloved hands filling a wooden raised garden bed with a dark compost and topsoil mix
Fill to within an inch or two of the rim; the mix settles over the first few weeks.

You may see Mel’s Mix from Square Foot Gardening: equal parts compost, peat moss or coir and vermiculite. It’s light and easy to work, but peat and coir dry out faster, so plan on more watering. After the first year, a soil test every two or three years tells you what the bed actually needs.

Drainage: get it right from day one

Waterlogged roots suffocate and invite disease. The good news is that a raised bed drains well on its own if you don’t get in its way.

Myth

A layer of gravel in the bottom of a raised bed improves drainage.

Fact

Water doesn’t move easily from fine soil into coarse gravel, so it pools in the soil just above the gravel instead. Skip the gravel and use drainage holes and a good soil mix.

  • On grass or garden soil: no barrier needed. Kill the grass, loosen the soil underneath with a fork, then set the bed. Cardboard works, but it slows water until it breaks down.
  • On a patio or deck: use a bed with drainage holes and line the bottom with landscape fabric, not plastic, so water can get out.
  • On heavy clay: loosen the top few inches of the ground before you fill, so the bed’s roots and water can move down into it.

Pest prevention for your raised garden bed

A raised bed isn’t automatically pest-free, but it gives you a big head start. The trick is to build the protection in before the first plant goes in.

Line the bottom with hardware cloth

Voles, gophers, moles, mice and chipmunks can tunnel up from below and eat roots before you notice. A layer of half-inch galvanized hardware cloth stapled to the underside of a wood frame stops them. Chicken wire rusts out fast, so skip it. If gophers already live in your yard, our guides to gophers and moles cover the rest.

Gloved hands stapling half-inch galvanized hardware cloth across the bottom of an upturned wooden raised bed frame
Staple the wire to the underside of the frame before you set the bed in place.
Pest barrier
Nueve Deer 1/2-Inch Hardware Cloth

Nueve Deer 1/2-Inch Hardware Cloth

Half-inch galvanized mesh to keep burrowing pests out of the bed

A 48-inch by 100-foot roll of 19-gauge welded wire, galvanized after welding. One roll lines the bottom of several 4 x 8 beds, with plenty left for bulb baskets.

✓ 1/2-inch mesh✓ 48 in x 100 ft roll✓ Galvanized after welding
★★★★½Our rating: 4.5/5

Cover crops against flying pests

Cabbage moths, flea beetles and squash vine borers mostly arrive from above. Fine insect netting over hoops keeps them off without any spray, as long as it goes on at planting time, not after you see damage. A kit like the Monirsen Garden Netting Kit covers a 4 x 8 bed with room to spare.

Lift the netting on squash, cucumbers and melons once they flower, so bees can reach them.

Companion planting

Companion planting has mixed research support, so treat it as a bonus, not a barrier. Our companion planting guide goes deeper, but these pairings are easy wins:

  • Tomatoes and basil: both like the same sun and water, and basil flowers draw beneficial insects.
  • Squash and nasturtiums: nasturtiums can act as a trap crop, pulling aphids away.
  • Brassicas and dill: dill flowers feed the small wasps that parasitize cabbage worms.
  • French marigolds: grown densely as a cover crop, they can suppress root-knot nematodes.

Slugs and snails

Wooden sides give slugs damp, dark gaps to hide in. Copper tape gets mixed results, so start with the things that work: hand-pick at dusk, set shallow beer traps or a board to check each morning, and scatter an iron phosphate bait such as Monterey Sluggo Snail and Slug Killer around the plants they’re eating.

Gardener's tip

Water in the morning instead of the evening. Slugs feed at night, and a bed that’s dry on the surface by dusk is much less inviting.

Pro tips for long-term success

  • Rotate crops every year. Don’t plant the same family in the same spot two years running; it breaks pest and disease cycles.
  • Top up every fall. Add 1 to 2 inches of compost each fall to replace what settles and breaks down. Our guide to winterizing vegetable beds has the full fall routine.
  • Never step in the bed. Keep beds 4 feet wide or less so you can reach the center from either side. Compacted soil is the enemy of roots.
  • Mulch between plants. A 2-inch layer of straw or shredded leaves slows evaporation and smothers weed seedlings.
  • Water the soil, not the leaves. Raised beds dry out faster than the ground, and wet foliage invites disease. A drip line on a timer solves both.

A kit made for the job, such as the Drip Depot Drip Irrigation Kit for Raised Bed Gardening, hooks to a standard hose faucet. Our drip irrigation setup guide walks through the layout.

Raised bed gear compared

Here’s how our picks compare, from the frame to the watering.

ProductBest forOur rating
Hi-Flame Raised Bed Corner BracketsHi-Flame Raised Bed Corner BracketsWood frame buildsFour metal corners with screws for boards up to 2 x 12★★★★½
4.5/5
Check price
Vego Garden 17-Inch Modular Metal Raised BedVego Garden 17-Inch Modular Metal Raised BedBest metal bed17-inch-tall coated steel panels that build six layouts★★★★½
4.5/5
Check price
Utopia Home Galvanized Raised Garden Bed KitUtopia Home Galvanized Raised Garden Bed KitBudget metal bedSimple 4 x 2 x 1-foot galvanized box with an open base★★★★☆
4/5
Check price
Nueve Deer 1/2-Inch Hardware ClothNueve Deer 1/2-Inch Hardware ClothBurrowing pests48-inch by 100-foot roll of half-inch galvanized welded mesh★★★★½
4.5/5
Check price
Monirsen Garden Netting KitMonirsen Garden Netting KitFlying insectsFine insect mesh plus fiberglass hoops and clips for a tunnel★★★★☆
4/5
Check price
Drip Depot Drip Irrigation Kit for Raised Bed GardeningDrip Depot Drip Irrigation Kit for Raised Bed GardeningEasy wateringDrip kit sized for four raised beds, connects to a hose faucet★★★★½
4.5/5
Check price
Monterey Sluggo Snail and Slug KillerMonterey Sluggo Snail and Slug KillerSlugs and snailsIron phosphate bait granules, OMRI listed for organic gardens★★★★☆
4/5
Check price

Frequently asked questions

How deep does a raised garden bed need to be?

For most vegetables, 8 to 12 inches of loose soil is enough, especially if the bed sits on open ground that roots can grow into. Carrots, parsnips and potatoes do best with 12 to 18 inches. Lettuce, herbs and radishes are happy in as little as 6 inches. Beds on a patio need the full depth inside the bed.

Can I put a raised bed on concrete or a patio?

Yes. Use a bed with drainage holes, line the bottom with landscape fabric rather than plastic so water can drain, and make it at least 12 inches deep since roots can’t go below. Beds on pavement dry out and heat up faster, so check moisture more often in summer.

Is pressure-treated wood safe for a vegetable bed?

Avoid old lumber and anything treated with CCA, which contains arsenic. Newer treated wood uses copper-based preservatives instead. University of Minnesota Extension advises using ground-contact rated lumber and lining the inside walls if you want to limit copper reaching the soil. Cedar or galvanized steel avoids the question entirely.

How do I keep weeds out of a raised bed?

Kill the grass or weeds under the bed before you build, fill with weed-free soil and compost, and keep 2 inches of mulch on the surface all season. Most weeds in raised beds arrive as wind-blown seed, so pull them while they’re small and keep plants spaced closely enough to shade the soil.

When is the best time to build a raised garden bed?

Fall is ideal: lumber and soil are easy to find, the soil has all winter to settle, and the bed is ready to plant in spring. Early spring works too; just build a couple of weeks before your planting date and top it up as the soil settles.

Bottom line

Your first raised garden bed doesn’t need to be fancy. Pick the build that fits your space and budget, fill it with a topsoil and compost mix, skip the gravel and staple hardware cloth underneath if burrowing pests live nearby. Next step: find the sunniest spot within reach of a hose, mark a 4 x 8-foot footprint and start clearing the grass this weekend.