A retaining wall can turn a sloped yard into usable space, but poor preparation can cause leaning, shifting, or failure. The visible blocks are only one part of a properly built wall.
How to build a retaining wall starts with a stable foundation, compacted base, suitable backfill, and reliable drainage. These elements provide essential support and help manage soil pressure behind the structure.
A well-built wall can control erosion, create level planting areas, improve a sloped landscape, and reduce future repairs.
Before construction, assess the site, wall height, soil conditions, drainage needs, materials, and local requirements. Careful planning helps ensure the right construction method and a stable, durable retaining wall.
Key characteristics of a retaining wall
A retaining wall holds soil in place on sloped ground, reducing erosion and creating a more level, usable landscape area. Its stability depends on a compacted base, aligned blocks, suitable backfill, and effective drainage.
Soil retention: Holds soil in place on sloped or uneven ground.
Erosion control: Helps limit soil movement caused by runoff.
Structural stability: Relies on a firm base, aligned blocks, and staggered joints.
Drainage: Directs water away from the wall and reduces pressure behind it.
Gather materials and tools needed
Materials
Wall blocks or stone
Crushed gravel base
Drainage gravel
Perforated drain pipe
Landscape fabric
Capstones and adhesive
Tools
Shovel and mattock
Plate compactor
Four-foot level
Rubber mallet
String line and stakes
Hammer and chisel
The steps below are intended for a low segmental or interlocking concrete-block retaining wall. Timber, poured-concrete, anchored, sheet-pile, and other retaining-wall systems require different construction methods and structural considerations.
How to build a retaining wall properly
A retaining wall resists the pressure created by the soil behind it, so construction needs to follow a logical sequence rather than simply stacking blocks.
For a DIY segmental-block wall, the process involves:
Step 1: Mark the retaining wall location
Before you begin building a retaining wall, determine the exact position, length, and layout of the wall.
Measure the required wall length.
Set stakes at both ends of the planned wall.
Tie string between the stakes to mark the alignment.
Apply marking paint along the string line.
Review local codes and permit rules before construction.
Check local building regulations before digging, as taller retaining walls may require permits or additional requirements.
Step 2: Excavate the foundation trench
Remove the stakes and string, then dig the foundation trench along the marked line.
The excavation should provide enough room for the base and allow the first course to sit slightly below the surrounding ground.
Dig approximately 4 to 6 inches deep.
Make the trench about 12 inches wide or twice the block width.
Keep the first course slightly below grade.
Contact 811 before excavation to identify underground utilities.
Compact the trench bottom until the soil is firm and stable.
Step 3: Add and compact the gravel base
After excavating the trench, create a stable, level foundation with properly placed and compacted aggregate.
Add the specified depth of crushed gravel or approved base material.
Spread the aggregate evenly across the entire trench.
Check the base level from side to side and front to back.
Compact the aggregate thoroughly using suitable equipment.
Add or remove material as needed to create a level foundation.
Step 4: Set the first course of blocks
The first course provides the foundation for everything above it, making accurate leveling essential.
Remove the lip from these blocks so they can sit securely and flush with the prepared base.
Use a hammer and chisel to remove the lip from the first-course blocks.
Begin with gentle taps and increase pressure as needed.
Position the first block on the compacted base.
Check it with a level before continuing.
Compare every following block with the adjacent one.
Tap high blocks into position with a mallet.
Add a small amount of paver sand beneath low blocks to level them.
Step 5: Build the second course
The second course should overlap the joints of the first to create a stronger staggered arrangement.
Cut one block in half to establish the pattern, while keeping the interlocking lips on the remaining blocks.
Cut one block in half for the staggered starting point.
Choose a suitable masonry cutting tool for the block type.
Leave the interlocking lips intact on subsequent courses.
Set the second course over the first.
Offset the joints between the two rows.
Apply landscape adhesive to help hold the upper courses in place.
Step 6: Install the fabric and drainage layer
Proper drainage helps reduce water buildup and pressure behind the retaining wall. Install landscape fabric behind the wall and add gravel to form a drainage zone.
Position landscape fabric against the rear of the wall.
Extend it across the designated drainage area.
Place gravel behind the retaining blocks.
Build an even drainage layer with the gravel.
Fold the excess fabric over the top of the gravel.
Use landscape staples to keep the fabric in place.
Step 7: Install the Drainage Pipe
Proper drainage helps prevent water from building up behind the wall and reduces pressure on the structure.
Position the perforated pipe near the base of the drainage zone.
Follow the wall system or manufacturer’s placement requirements.
Provide a suitable outlet for safe water discharge.
Cover the pipe with appropriate drainage aggregate.
Keep the drainage path clear and unobstructed.
Step 8: Add the final course
With the drainage layer in place, install the third and final course. Maintain the same alignment and stagger used on the previous row for a consistent finished wall.
Set the final blocks in position.
Keep each block aligned with the courses below.
Continue the staggered joint pattern.
Apply landscape adhesive where appropriate to secure the upper courses.
Step 9: Backfill behind the wall
Once the blocks and drainage system are installed, fill the area behind the wall. The soil removed during excavation can be used for backfilling, provided it is suitable for the purpose.
Return excavated soil to the space behind the wall.
Place the soil over the drainage material.
Backfill the area in manageable layers.
Distribute the soil evenly behind the wall.
Bring the surrounding ground back to the planned elevation.
When does a retaining wall need geogrid?
Geogrid reinforcement becomes necessary when soil pressure and sliding forces exceed what the blocks and gravity alone can handle. Certain site and structural conditions signal that a wall needs this extra layer of stability.
Wall height above 4 feet
Weak or loose native soil
Nearby driveways or parking areas
Structures built close to the wall
Steep back-slope behind the wall
Tight or restricted setback space
Engineer-specified structural requirements
High groundwater or saturated soil
How to build a retaining wall on a slope
Sloped terrain pushes extra soil pressure against a wall and complicates water runoff. Success depends on reading the grade correctly, cutting into the hillside methodically, and stepping the structure to match elevation changes safely.
Survey the slope’s rise, fall, and water flow direction before deciding on wall placement.
Mark a stepped or terraced layout if the grade change is too steep for a single straight run.
Cut horizontally into the hillside to form level “benches” rather than following the slope’s angle.
Compact each bench separately so the entire footprint carries uniform support.
Route water away from the uphill side using swales or a diverted channel before it reaches the wall.
Layer backfill in thin lifts on sloped sections, since gravity makes loose fill prone to sliding before compaction.
Extend geogrid reinforcement further back into the hillside than you would on flat ground, since slope loading is uneven.
Bring in a structural engineer once the grade or wall height pushes past straightforward residential limits.
How much does a retaining wall cost?
On average, a retaining wall costs around $3,200 to $9,300, with most homeowners spending about $6,000 for a standard project.
Small DIY-friendly walls can run as low as $1,500 to $4,000, while taller, structurally engineered walls can climb to $15,000–$20,000 or more.
Most contractors price the job by square foot of wall face (length × height), typically landing between $20 and $60 per square foot, or $40 to $360 per linear foot depending on wall height.
A short 2-foot wall sits at the low end, while a 6-foot wall pushes toward the higher end because of the added engineering, reinforcement, and excavation involved.
Note: These figures are general estimates, and actual costs may vary depending on your location, wall height, chosen materials, site conditions, and local labor rates. Getting a few itemized quotes from local contractors is the best way to nail down an accurate budget for your specific project.
The dos and don’ts of building retaining walls
A successful retaining wall needs a stable base, proper drainage, accurate alignment, and attention to site conditions. Keep these basics in mind.
Do | Don’t |
Check local codes and permit requirements. | Don’t skip required regulations. |
Compact the base before placing blocks. | Don’t build on loose or unstable soil. |
Add proper drainage behind the wall. | Don’t allow water to collect behind it. |
Keep every course level and aligned. | Don’t ignore uneven blocks or courses. |
Consider driveways, vehicles, or structures above. | Don’t overlook the extra pressure from added loads. |
Seek professional help for complex or tall walls. | Don’t assume every retaining wall is suitable for DIY construction. |
Final Thoughts
A successful retaining wall depends less on stacking blocks quickly and more on creating a stable foundation, controlling water, and respecting the forces acting on the structure.
A careful approach can produce a durable landscape feature while reducing settlement, leaning, and drainage problems.
The most useful lesson in building a retaining wall is simple: preparation determines performance. Measure the site, follow the selected wall system’s specifications, compact every critical layer, and give water a reliable path out.
Take your time with the base and drainage before worrying about the finished appearance. Gather your measurements and materials, then begin with the site assessment and foundation preparation.
Have you built or repaired a retaining wall? Share your experience in the comments.