You can build a raised bed yourself with basic tools and materials in a weekend

A DIY elevated garden bed is a wooden or composite box you build and fill with soil, rather than buying a pre-made kit or hiring someone to install one. The simplest version uses four boards, four corner posts, a drill, and a saw — all tools most households already own or can borrow. The cost runs between $30 and $150 per bed depending on wood type and size, and the work takes four to eight hours for a single 4-by-8-foot bed.

Building your own lets you choose the exact dimensions, wood type, and height that fit your space and physical needs. You control the timeline and can add features like corner braces or a bottom barrier as you go. The trade-off is that you do the measuring, cutting, drilling, and assembly yourself — there is no customer service if something goes wrong, and the bed will only last as long as the wood holds up.

Key Takeaways

  • A basic elevated bed needs four boards, four corner posts, sixteen screws, and a power drill; untreated cedar or composite boards last longest without chemicals.
  • Measure twice, cut once — the most common mistake is cutting boards to the wrong length or not squaring the corners before fastening.
  • Pressure-treated lumber is cheaper but contains chemicals; untreated cedar costs more but is safer for vegetables and lasts five to ten years.
  • A bed 2 feet tall and 4 feet wide is easier to build and reach into than a larger one, and you can always build a second bed next year.

Materials and tools you actually need

For a 4-by-8-foot bed that is 12 inches tall, you need two 8-foot boards and two 4-foot boards for the sides, plus four 4-by-4 posts cut to 12 inches each for the corners. Cedar 2-by-12 boards are the standard choice because they resist rot without chemicals; they cost $40 to $60 per 8-foot board. Composite boards (plastic and wood fiber) cost more upfront but last longer and do not splinter — expect $60 to $80 per board. Pressure-treated lumber is the cheapest option at $20 to $30 per board, but it contains copper compounds that can leach into soil over time.

You will need sixteen 3-inch exterior wood screws (not nails — screws hold better and let you adjust if something is crooked). A power drill with a Phillips head bit is essential; a circular saw or miter saw makes cutting easier, but a handsaw works if you have patience. A level, a tape measure, and a square are the only other tools required. If you do not own a saw, most lumber yards will make two or three cuts for free when you buy the wood.

For the bottom, you can leave the soil exposed to the ground (good for drainage and earthworms) or lay down hardware cloth or landscape fabric to keep out burrowing pests. Hardware cloth costs $15 to $25 for a 4-by-8-foot sheet; landscape fabric is $5 to $10. You do not need both.

Step-by-step assembly for a basic rectangular bed

Start by laying out your four boards on a flat surface — a driveway or patio works well — and arrange them in a rectangle. Measure the diagonals (corner to opposite corner) to make sure they are equal; if they are not, the rectangle is crooked and the corners will not sit flush. Adjust the boards until both diagonals measure the same distance.

Place a corner post at each inside corner, flush with the top of the boards. Drill two pilot holes through each board into the post (pilot holes prevent the wood from splitting), then drive a 3-inch screw through each hole. Repeat at all four corners. Check that the bed is still square by measuring the diagonals again — they should still be equal. If the bed is crooked, loosen one screw, adjust, and retighten.

Once all four corners are fastened, flip the bed over carefully (or have someone help) and repeat the process on the other side, driving two screws through each board into each post. This gives you four screws per corner — two from each side — and makes the bed rigid. If you are building a bed taller than 18 inches, add a center support board running lengthwise down the middle to prevent the long sides from bowing outward under the weight of wet soil.

Set the finished bed in place, check that it is level with a bubble level, and shim under the corners with gravel or soil if needed. Lay down hardware cloth or landscape fabric if you want it, then fill with soil.

Wood types and how long they last

Untreated cedar is the most popular choice for vegetable gardens. It naturally resists rot and does not require chemicals. A cedar bed typically lasts five to ten years before the bottom boards start to soften; the sides often outlast the bottom because they stay drier. Cedar costs $40 to $60 per 8-foot board.

Pressure-treated lumber is chemically treated to resist rot and insects. Modern pressure-treated wood (treated after 2004) uses copper compounds instead of arsenic, which is safer, but copper can still leach into soil and accumulate over years. It lasts ten to fifteen years and costs $20 to $30 per board. Many gardeners avoid it for vegetable beds because of the chemical concern, though the risk is debated.

Composite boards are made from plastic and wood fiber and do not rot or splinter. They last fifteen to twenty years and require no maintenance. They cost $60 to $80 per board and are heavier than wood, which makes them harder to move but more stable. They also absorb and hold heat more than wood, which can warm the soil faster in spring but may dry it out faster in summer.

Redwood is similar to cedar in durability and cost but is less commonly available. Untreated pine is cheap ($15 to $20 per board) but rots quickly — usually three to five years — and is not worth the savings unless you are building a temporary bed.

Common mistakes that waste time and money

The most frequent error is cutting boards to the wrong length. Measure the space where the bed will sit, not the boards you have at home. A 4-by-8-foot bed means the outside dimensions are 4 feet by 8 feet; if you use 2-by-12 boards, the inside dimensions are smaller because the boards have thickness. Write down your target outside dimensions and double-check them before you cut.

The second mistake is not squaring the corners before fastening. A bed that looks square by eye is often crooked. Always measure both diagonals; they must be equal. If you skip this step, the corners will not sit flush, screws will bend, and the bed will look uneven.

A third mistake is using nails instead of screws. Nails work loose as the wood dries and shrinks, and the bed falls apart after a season or two. Screws hold permanently and let you adjust if something shifts. Use exterior-grade screws rated for outdoor wood.

Finally, do not skimp on corner posts. Some plans suggest building a bed with just boards and no posts, held together by corner brackets or L-brackets. These work for small or shallow beds but fail under the weight of soil in larger beds. Corner posts are cheap insurance.

Sizing and placement for your space

A 4-by-8-foot bed is the standard size because it is wide enough to reach the center from either side (4 feet is roughly arm's length) and long enough to fit a useful amount of plants. If your space is smaller, a 2-by-4-foot or 3-by-6-foot bed works just as well — the assembly is identical, just with shorter boards.

Height matters for comfort and accessibility. A 12-inch bed is standard and works for most vegetables. A 18-inch bed reduces bending and is better if you have back pain or use a wheelchair. A 24-inch bed is the tallest you should build without a center support, and it uses a lot of soil — a 4-by-8-foot bed at 24 inches deep holds about 64 cubic feet of soil, which weighs roughly 3,200 pounds when wet.

Place your bed where it gets at least six hours of direct sun for vegetables, or three to four hours for leafy greens. Avoid spots under trees or next to buildings that cast shade. Check that water drains away from the bed after rain; a bed in a low spot will stay waterlogged. If you are building on a slope, build the uphill side taller to keep the bed level.

Filling and preparing the bed for planting

A new bed needs soil, not dirt from your yard. Yard soil compacts, drains poorly, and often contains weeds and pests. Buy garden soil or raised bed mix from a garden center or landscape supplier. Garden soil is topsoil with compost added; raised bed mix is usually a blend of topsoil, compost, and peat moss or coconut coir. A 4-by-8-foot bed that is 12 inches deep needs about 32 cubic feet of soil — roughly 1.2 cubic yards. Most suppliers sell soil by the cubic yard, so order 1.5 cubic yards to account for settling.

Fill the bed and let it settle for a week before planting. The soil will compact as it absorbs water and as you walk on it. You can plant when ready if you are in a hurry, but the bed will be noticeably lower after the first watering. Mix in compost or aged manure if you want to boost fertility, but new raised bed mix already contains enough nutrients for the first season.

Frequently Asked Questions

Can I use treated lumber for a vegetable garden?

Modern pressure-treated lumber (post-2004) is safer than older versions because it uses copper instead of arsenic. However, copper can leach into soil over time, and some gardeners prefer to avoid it for vegetables. Untreated cedar is the safer choice if you are concerned, though it costs more and lasts fewer years.

How deep does a raised bed need to be?

Most vegetables need 12 inches of soil minimum; root crops like carrots and potatoes do better with 18 inches. Shallow-rooted plants like lettuce and herbs can grow in 8 inches. A 12-inch bed is a good compromise for mixed plantings and is easier to build and fill than a deeper one.

Do I need a bottom barrier to keep out weeds?

A bottom barrier is optional. Landscape fabric or hardware cloth stops burrowing pests and weeds from below, but it also blocks drainage and earthworms. Most gardeners skip it and pull weeds as they appear, or lay cardboard on the ground before filling to suppress weeds for the first season.

How much does it cost to build one bed?

A 4-by-8-foot bed with untreated cedar boards costs $150 to $200 for materials (boards, posts, screws, soil). Pressure-treated lumber brings it down to $80 to $120. Composite boards push it to $250 to $350. Labor is free if you build it yourself.

Can I build a bed on top of grass?

Yes, but the grass underneath will eventually rot and create a gap. Lay cardboard or newspaper under the bed first to kill the grass and prevent it from growing up through the soil. The cardboard breaks down over a season or two and improves drainage.