A wall feels like a gift to the raised bed builder: one side already built, solid, and free. It is a trap. Soil banked against a house wall holds moisture against the fabric of the building through every season, wicks water up brick and render by capillary action, can bridge the damp proof course that is the house's one line of defense against rising damp, and creates a dark, undisturbed corridor against the foundation where termites travel and rot starts unobserved. Building codes and bitter experience agree on the principle even where they argue the dimensions: the bed must be its own structure, four sided, standing off the wall with a gap of air and access between the bed and the building. The checklist tracker on this page sequences that build. The sections below handle the judgment calls: how wide the gap should be, given that published guidance genuinely disagrees; how to keep soil and paving below the damp proof course; and how a wall changes the bed's water and heat, because a bed against a wall lives in a microclimate of its own, drier and hotter than the same bed in the open garden.
Home / Garden Projects and Outdoor Living
How to Build a Raised Bed Against a Wall: Never Use the Wall

Photo: Bob Jenkin / Pexels
Wall Raised Bed Build Checklist
Check off each step as you finish it. Your progress stays on this page.
0 of 8 complete
0% done
The Gap: A Flagged Disagreement, and the Safe Bench
Ask how far off the wall a raised bed should stand and the published answers spread across an order of magnitude. Small gap guidance, found in much landscaping advice, suggests 2 to 6 inches, enough to break capillary contact and let the wall dry. Air gap guidance, common in building and damp proofing sources, calls for 12 to 24 inches, enough to inspect the wall, clean behind the bed, and keep driving rain splash and soil entirely clear of the damp proof course. Both camps agree on the principle, a bed must not touch the wall, and disagree on the margin. This page does not average them into a meaningless 9 inches. It teaches the 12 inch gap as the bench, on a specific reasoning: the small gap satisfies the moisture physics but fails the human one, because a 3 inch slot behind a bed cannot be inspected, cleaned, or repointed, and it fills with leaves and debris until it is a soil bridge in everything but name. Twelve inches admits a hand, a brush, a flashlight, and a hose; it keeps the wall's base visible at a glance, which is the entire point. Where space is truly desperate, 6 inches with a rigid, cleanable spacer is the floor, and anything less is not a gap but a delay. Measure the gap from the wall's face, including render and any plinth, not from the foundation line on a plan.
The Damp Proof Course and the Levels Rule
The second non negotiable is vertical. A house wall's damp proof course, the impermeable layer in the wall a few inches above ground level, works only if soil, paving, and splash stay below it. A raised bed is, by definition, soil held above ground level, and a bed whose soil surface reaches or passes the damp proof course bridges it, giving rising damp a staircase around the barrier. Keep the bed's finished soil level at least 6 inches below the damp proof course; if you cannot identify the course, look for the line of darker engineering brick, a slate or membrane line, or vents near the wall's base, and keep soil below the lowest of them. The same rule governs the ground behind the gap: the strip between bed and wall should be gravel or paving that drains away from the house, never a soil filled trench that ponds against the foundation. Where the bed stands against a garden wall rather than the house, the stakes drop but the logic survives in miniature: a freestanding bed with a gap still outlasts a wall backed one, because the garden wall's own mortar and footings also suffer from permanent wet soil contact, and a wall that leans in 15 years takes the bed with it.

Build the Bed as a Four Sided Box
With the gap set, the build itself is the standard raised bed discipline with one emphasis: the back side is a real side, built to the same standard as the front, not a token board. It carries the same soil pressure, it is simply never seen. Build all four sides from your chosen material, boards, timbers, block, or the sleeper and brick systems this site covers elsewhere, square the frame with equal diagonals, and level it on its own footing of tamped gravel. Line the inside faces with a breathable membrane if you want to slow soil migration into the gap, but never wrap the bed in plastic against the back; the bed must drain, and its drainage should exit through its base into the ground it stands on, directed by the site's slope away from the house wall. Fill in lifts, watering to settle, with the finished soil level respecting the damp proof rule above, remembering that soil settles: a bed filled to the line will be an inch below it in a month, which is the safe direction. The bed's width is set by the reach rule for one sided access: since nobody can walk behind it, every plant must be reachable from the front, which caps a wall bed at 24 to 30 inches deep for most gardeners, half the width of a freestanding bed. A wall bed built 4 feet deep has a back row that will be weeded twice and then abandoned to whatever seeds itself there.
The Wall Microclimate: Rain Shadow and Reflected Heat
A bed against a wall does not receive the garden's weather. The wall and the eaves above it shed rain outward, and the strip at the wall's base sits in a rain shadow that can receive a fraction of the rainfall the open garden gets a few feet away; gardeners routinely under water wall beds for years because the sky looks generous while the bed stays dry. Test the soil in the bed itself, and expect to irrigate a wall bed in weeks when the rest of the garden needs nothing, with a soaker line down its length the practical answer. The second effect is heat: a sun facing wall stores the day's warmth and returns it at night, advancing spring by a week or more in the bed's strip and pushing summer afternoon temperatures at the soil surface well above the garden's. Tender plants gain a season at the wall's base, which is why wall beds are the classic home for figs, Mediterranean herbs, and early salads; heat sensitive summer crops, lettuce in July, spinach at all, suffer there and belong in the open. The wall also stills the air, and in humid climates the combination of still air and irrigated soil makes wall beds the first place mildew and botrytis appear; spacing plants a touch wider than the open garden standard is the cheap correction. The site's companion build, the raised bed against a fence guide, works the same one sided reach and microclimate problems against a boundary fence, where the damp proof stakes vanish but the neighbor and access questions take their place.
What to Grow in a Wall Bed: Planting the Microclimate
The narrow, warm, dry strip against a wall suits a specific cast of plants, and planting to the microclimate rather than against it is the wall bed's whole art. The classic tenants are the Mediterranean herbs, rosemary, thyme, sage, oregano, and lavender, which want exactly what the wall provides: sharp drainage, reflected heat, and air that stays dry at the crown. Figs and grapes trained against the wall itself are the historic wall planting, their roots in the bed and their fruit ripening in the wall's stored warmth weeks ahead of the open garden. Early spring salads and peas exploit the advanced season, sown a week or two before the main garden dares, and tomatoes against a sunny wall are a tradition in cool climates for the same reason. The plants to keep out are the moisture and shade lovers, the big thirsty squash that will drink the rain shadowed bed dry daily, and anything whose mature width exceeds the bed's 30 inches, since a plant that must be cut back from the wall monthly is a plant in the wrong bed. Keep the planting plan in one hand while you build: a wall bed planted to its strengths is the most productive strip in the garden, and planted against them it is a narrow problem with a nice backdrop.
Related guides
The closest companions to this guide:
- How to Build a Raised Bed with Logs: Walls from the Woodpile
- Bird Bath: How to Choose, Place, and Keep One Birds Actually Use
Frequently Asked Questions
Can I use my house wall as the back of a raised bed?
No. Soil held against the wall keeps it permanently wet, can bridge the damp proof course, and hides termite and rot activity from inspection. Build the bed as a freestanding four sided structure and stand it off the wall with an air gap. The wall is a backdrop, never a building material.
How wide should the gap between a raised bed and a wall be?
Published guidance disagrees, from 2 to 6 inches in landscaping sources to 12 to 24 inches in building and damp proofing sources. This page teaches 12 inches, because a narrow slot cannot be inspected or cleaned and fills with debris until it bridges anyway. Twelve inches admits a hand, a brush, and a flashlight, and keeps the wall base visible.
How high can the soil be against the wall side?
The bed's soil never touches the wall, and its level should sit at least 6 inches below the wall's damp proof course, so splash and settled soil cannot bridge it. If you cannot find the course, keep soil below the lowest vent, membrane line, or engineering brick course near the base of the wall.
How deep should a raised bed against a wall be?
Only as deep as you can reach from the front: 24 to 30 inches for most gardeners. Nobody can access the back, so a 4 foot deep wall bed strands its back row beyond weeding and harvesting reach. The narrow width is the wall bed's defining dimension, and it suits herbs, salads, and wall trained fruit well.
Why does my wall bed dry out faster than the rest of the garden?
The wall and eaves shed rain outward, leaving the base strip in a rain shadow that receives far less water than the open garden, while a sunny wall reflects and stores heat that drives evaporation. Expect to irrigate a wall bed in weeks when nothing else needs water, and test the bed's own soil rather than trusting the weather.
Photo credits: Bob Jenkin (Pexels); Amie Roussel (Pexels). Photos are served from this site; follow the credit to the library page for the original.