Build a raised bed in a weekend with wood, soil, and basic tools
A raised vegetable bed is a wooden or composite box filled with soil, sitting on top of your existing ground. You build it by assembling four sides, placing it where you want it, and filling it with a soil mix. The whole project takes four to eight hours depending on the size you choose and whether you already own a drill and saw. Most people use untreated cedar or composite lumber because they resist rot, cost between $40 and $150 for materials, and last five to ten years.
The real advantage of building your own instead of buying a kit is that you can make it any size that fits your space and budget. A 4-by-8-foot bed holds enough soil for most home gardeners and fits in a standard pickup truck. A 2-by-4-foot bed works for a patio or small yard. The depth matters too — 12 inches is minimum for most vegetables, but 18 inches gives roots more room and drains better.
Key Takeaways
- Cedar and composite lumber last longer than treated pine, though treated pine is cheaper and safe for vegetables if you use modern pressure-treated wood.
- You need a drill, saw, level, and tape measure — a miter saw makes cleaner cuts but a circular saw or hand saw works fine.
- Assemble the frame on the ground, check it for square with a tape measure, then move it to your final location before filling with soil.
- A 4-by-8-foot bed 12 inches deep needs about 32 cubic feet of soil, which costs $30 to $60 depending on whether you buy bagged or bulk.
- Place your bed where it gets at least six hours of direct sun and has access to water, because raised beds dry out faster than ground-level gardens.
Choose your lumber and cut the pieces
Cedar and composite lumber are the best choices because they resist rot without chemicals. Cedar costs more upfront but smells good and lasts seven to ten years. Composite lumber (wood fibers mixed with plastic) costs 30 to 50 percent more than cedar but lasts 15 to 20 years and never needs staining. Treated pine is the budget option at $10 to $20 per board — modern pressure-treated wood is safe for vegetables, though some gardeners avoid it.
For a standard 4-by-8-foot bed that is 12 inches deep, you need four boards: two that are 8 feet long and two that are 4 feet long. Most lumber yards sell boards in 8-foot lengths, so you will cut the 4-foot pieces yourself. If you do not have a saw, ask the lumber yard to make the cuts for free or a small fee. Buy boards that are 2 inches thick and 12 inches tall (called 2-by-12 lumber). If you want a deeper bed, use 2-by-18 boards instead.
Before you leave the store, also pick up eight 3-inch exterior wood screws and a box of 2.5-inch exterior screws. Do not use nails — they pull out over time as the wood shifts. Exterior screws resist rust and hold better than interior ones.
Assemble the frame on level ground
Lay all four boards on a flat surface in your yard, arranged in a rectangle. Stand at one corner and drill two pilot holes (small starter holes) through the end of one board into the end of the adjacent board. A pilot hole prevents the wood from splitting and makes the screw go in straight. Use a drill bit that is slightly smaller than your screw diameter — the screw should bite into the wood, not slide through.
Drive a 3-inch screw into each pilot hole. The screw should go through the face of one board and into the end grain of the board it meets. Repeat this at all four corners. You now have a rectangle. Flip it over and repeat on the other side so each corner has two screws on each face — four screws per corner total. This keeps the frame from racking (twisting out of square) as the wood moves.
Before you move the frame, check that it is square by measuring diagonally from corner to corner. Both diagonal measurements should be exactly the same. If they are not, push gently on the longer diagonal until the measurements match. Once the frame is square, you can move it to its final location.
Position the bed and level it
Choose a spot that gets at least six hours of direct sun per day — most vegetables need this much light to produce well. Avoid spots under trees or next to buildings that cast shade. The bed should be close enough to a water source that you can reach it with a hose, because raised beds dry out faster than ground-level soil.
Clear the ground of grass and weeds where the bed will sit. You do not need to dig deep — just remove the top layer so the frame sits flat. Use a level to check that the ground is even. If the ground slopes, you can either dig out the high side or build up the low side with soil. A slope of more than an inch across a 4-foot width will cause water to pool on one side.
Once the frame is in place and level, you can add a bottom layer if you want. Some gardeners lay landscape fabric to block weeds, though it is not required. Others skip the bottom entirely and let roots grow into the native soil below. If you live in an area with gophers or moles, a hardware cloth bottom (a metal mesh) will keep them out.
Fill the bed with soil and let it settle
A 4-by-8-foot bed that is 12 inches deep holds about 32 cubic feet of soil. You can buy this as bagged potting soil (about 60 bags of 0.5 cubic feet each) or as bulk soil delivered by a landscape supplier. Bulk soil is cheaper per cubic foot but requires a delivery truck. Bagged soil costs more but you can carry it yourself and use what is left over for other projects.
Most gardeners use a mix rather than pure potting soil or pure garden soil. A good mix is one-third compost, one-third peat moss or coconut coir, and one-third perlite or coarse sand. This drains well, holds nutrients, and gives roots room to grow. If you buy bulk soil, ask the supplier for a vegetable garden mix — they usually have one ready.
Fill the bed to the top, then water it thoroughly. The soil will settle over the next few days as it absorbs water and compacts. You will probably need to add more soil after a week. This is normal. Once the soil has settled, you can plant when ready or wait until spring if you are building in fall.
Common mistakes to avoid
Using untreated pine or pressure-treated wood from before 2004 is the most common mistake. Old pressure-treated wood contains arsenic, which can leach into soil. Modern pressure-treated wood (labeled "CA" or "ACQ") is safe, but cedar and composite are safer choices if you can afford them. Never use railroad ties or old utility poles — they are treated with creosote, which is toxic.
Placing the bed in shade or too far from water will frustrate you all season. Vegetables need sun and consistent moisture. If your yard is mostly shaded, grow leafy greens and herbs instead of tomatoes and peppers — they tolerate partial shade better. If water access is far away, consider adding a soaker hose on a timer.
Filling the bed with only compost or only garden soil is another common error. Pure compost compacts and holds too much water. Pure garden soil is too dense for roots. A mix of compost, peat or coir, and perlite or sand gives you the drainage and nutrients vegetables need. If you are not sure what to buy, ask at the garden center — they can recommend a mix for your climate.
Tools and materials checklist
| Item | What to buy | Why |
|---|---|---|
| Lumber | Two 8-foot boards and two 4-foot boards, 2 inches thick and 12 inches tall | Cedar or composite last longer; treated pine is cheaper |
| Screws | Eight 3-inch exterior wood screws, one box of 2.5-inch exterior screws | Exterior screws resist rust; 3-inch goes through one board into another |
| Drill | Cordless drill with bits | Makes pilot holes and drives screws; hand drill works but takes longer |
| Saw | Circular saw, miter saw, or hand saw | Cuts the 4-foot pieces; lumber yard can cut for you |
| Level | 2-foot or 4-foot level | Checks that the frame and ground are even |
| Tape measure | 25-foot tape measure | Measures boards and checks corners for square |
| Soil | 32 cubic feet of vegetable garden mix (bagged or bulk) | Fills a 4-by-8-foot bed 12 inches deep |
Frequently Asked Questions
Can I use pressure-treated wood for vegetables?
Yes, if it is modern pressure-treated wood labeled "CA" or "ACQ" — these use copper instead of arsenic and are safe for food gardens. Pressure-treated wood from before 2004 contains arsenic and should not be used. Cedar and composite are safer choices if you want to avoid any uncertainty.
How deep does a raised bed need to be?
Twelve inches is the minimum for most vegetables like lettuce, beans, and peppers. Root vegetables like carrots and beets need 18 inches. Shallow-rooted herbs like basil can grow in 8 inches. Deeper beds also drain better and stay cooler in summer.
Do I need to put something on the bottom of the bed?
No, but landscape fabric blocks weeds and hardware cloth blocks burrowing pests like gophers. Many gardeners skip the bottom entirely and let roots grow into the native soil below. If you have a pest problem in your area, ask neighbors what they use.
What if my yard is too shady for a raised bed?
Grow leafy greens, spinach, kale, and herbs instead of sun-loving vegetables like tomatoes and peppers. These crops tolerate four to six hours of sun. If you have less than four hours, a raised bed will not produce much — consider a container garden on a sunnier patio instead.
How long does it take for soil to settle after filling?
Most settling happens in the first week as the soil absorbs water and compacts. You will probably need to add more soil after a few days. Wait a week before planting, or plant when ready if you do not mind adding soil around the plants as it settles.