How to build a retaining wall?

Building a retaining wall is one of the most impactful DIY landscaping projects you can tackle โ€” it stops soil erosion, levels out sloped yards, and adds structure and curb appeal to any outdoor space. This step-by-step guide walks you through everything you need to know, from planning and permits to laying the first course, installing drainage, and finishing with cap blocks. Whether you’re using concrete block, timber, or natural stone, the same core principles apply. Walls under 3 feet tall are very achievable for a motivated DIYer โ€” and can save $1,000โ€“$3,000 in labor costs compared to hiring a contractor.

By ConstructlyTools ยท Published: March 12, 2026 ยท Updated: March 12, 2026 ยท 12 min read
โš’ Difficulty: Intermediate โฑ Time: 1โ€“3 Days ๐Ÿ’ฐ DIY Savings: $1,000โ€“$3,000+

Before You Start

A retaining wall holds back soil on a slope and prevents erosion โ€” but only if it's built correctly. Before you pick up a shovel, there are a few critical things to check.

Check Local Permit Requirements

Most municipalities require a building permit for retaining walls taller than 3โ€“4 feet. Some also require engineer-stamped drawings for walls over 4 feet. Call your local building department before starting โ€” fines for unpermitted walls can be significant and you may be forced to tear it down.

Call 811 Before You Dig

โš ๏ธ Critical Safety Step

Always call 811 (or your country's equivalent utility notification service) at least 3 business days before digging. Underground utility lines for gas, water, electric, and cable are buried in many yards. Hitting one can be fatal. This service is free.

Is This a DIY-Friendly Project?

Retaining walls under 3 feet tall are very achievable for a motivated DIYer, especially using segmental concrete block or timber. Walls taller than 3 feet, walls on steep slopes, walls near structures or property lines, or walls holding back saturated soil should be designed and built by a licensed contractor.

๐Ÿ’ก Estimate Your Cost First

Before buying materials, use our Retaining Wall Cost Calculator to get an instant estimate based on your wall size and material choice.

Materials & Tools Needed

The materials list below is for a standard segmental concrete block retaining wall โ€” the most popular DIY choice. Adjust quantities using our cost calculator above.

Materials

MaterialPurposeQuantity Guide
Segmental retaining wall blocksWall structure1.5 blocks per sq ft of wall face
Crushed gravel / base materialFoundation base6 inches deep, full wall length
Drainage gravel (pea gravel)Behind wall drainage12 inches wide behind wall
Perforated drain pipe (4")Water drainageFull wall length + 10%
Landscape fabricKeeps soil out of gravelFull wall length ร— wall height
Capstone blocksTop finishing course1 per linear foot of wall
Construction adhesiveSecure cap blocks1 tube per 10 linear feet

Tools

  • Shovel & mattock โ€” for excavation
  • Plate compactor โ€” rent for $60โ€“$100/day, essential for base prep
  • Level (4 ft) โ€” to keep courses level
  • Rubber mallet โ€” for setting blocks
  • Masonry chisel & hammer โ€” for cutting blocks
  • String line & stakes โ€” for layout
  • Tape measure
  • Wheelbarrow โ€” for moving gravel and blocks
  • Safety glasses & work gloves
1
Plan & Mark the Layout

Start by marking the front face of your wall using stakes and a string line. This gives you a clear straight reference to work from throughout the build. Use spray paint or marking chalk on the ground along the string to mark where you'll dig.

Measure the total wall length and height and sketch a simple plan. Note where the wall starts and ends, any corners, and where water will drain. Also identify where you'll outlet the drainage pipe at the end of the wall โ€” water must have somewhere to go.

Stakes and string line marking the retaining wall layout on a slope
โœ… Planning Tip

For a straight wall, a string line is all you need. For a curved wall, use a garden hose to lay out the curve naturally before marking it โ€” this gives a much more natural-looking result than trying to measure curves.

2
Excavate the Trench

Dig a trench along your marked line for the base course of blocks. The trench needs to be:

  • Deep enough to bury the first course of blocks completely โ€” typically 6โ€“8 inches below finished grade. The buried first course is what anchors the wall and prevents it from sliding forward.
  • Wide enough for the blocks plus 6 inches of gravel base behind them โ€” typically 24โ€“30 inches total.
  • Flat and level across the full length โ€” use your level to check constantly.
Excavated trench for retaining wall base
๐Ÿ’ก Rule of Thumb

Bury one block deep for every one foot of wall height. Building a 3-foot wall? Bury the first 3 inches of block below grade minimum. Many pros bury an entire first course (6โ€“8 inches) regardless of height for maximum stability.

3
Prepare the Base

A proper base is the most important step in building a retaining wall that lasts. Skipping or rushing this step is the number one cause of wall failure.

  1. Add 6 inches of crushed gravel (ยพ inch crushed stone) to the bottom of the trench.
  2. Spread it evenly with a rake.
  3. Compact it thoroughly with a plate compactor โ€” make 2โ€“3 passes. The gravel should not shift when you walk on it.
  4. Check for level across the full length of the trench. Adjust as needed by adding or removing gravel.
Compacted gravel base in retaining wall trench
โš ๏ธ Don't Skip Compaction

Hand tamping is not sufficient โ€” rent a plate compactor. An uncompacted base will settle unevenly, causing blocks to shift and the wall to lean or collapse within a few years. Compactor rental is $60โ€“$100/day and worth every penny.

4
Lay the First Course

The first course is the most critical โ€” get this right and the rest of the wall will follow naturally. Take your time here.

  1. Place the first block at one end of the trench, lip facing down and toward the slope (into the hillside).
  2. Check it for level side-to-side and front-to-back. Tap with a rubber mallet to adjust.
  3. Place the next block tight against the first, check level, and continue down the trench.
  4. At corners, overlap the blocks for strength โ€” alternate which side overlaps with each course.
  5. Cut blocks as needed using a masonry chisel and hammer, or rent a masonry saw for cleaner cuts.
  6. Once the full first course is laid, check that the entire course is level end-to-end before proceeding.
First course of concrete blocks laid in trench
5
Build Up the Wall

With the first course solid and level, the remaining courses go up much faster. Follow these rules for every course:

  • Stagger vertical joints โ€” never stack joints on top of each other (running bond pattern). Each block should sit over the joint between the two blocks below it, just like a brick wall.
  • Set back each course โ€” most retaining wall blocks have a built-in setback of ยฝโ€“1 inch per course. This batter (slight lean back into the slope) is what gives the wall its structural strength against the soil pressure.
  • Check level frequently โ€” use your 4 ft level both along the course and across the wall face every 2โ€“3 courses.
  • Brush off debris โ€” sweep the top of each course clean before placing the next one so blocks sit flat.
Retaining wall blocks being stacked in running bond
๐Ÿ’ก Geogrid for Taller Walls

For walls over 3 feet tall, most block manufacturers require geogrid reinforcement fabric to be installed every 2โ€“3 courses. It extends back into the compacted backfill and dramatically increases wall stability. Check the manufacturer specs for your specific block system.

6
Install Drainage

Poor drainage is the #1 cause of retaining wall failure. Water trapped behind the wall builds up hydrostatic pressure that can push the wall outward or cause it to collapse entirely. Do not skip this step.

  1. Lay landscape fabric against the slope behind the wall โ€” this prevents soil from migrating into the drainage layer over time.
  2. Place a 4-inch perforated drain pipe along the base of the wall, holes facing down, on top of the first course of gravel.
  3. Make sure the pipe slopes slightly (1 inch per 10 feet minimum) toward a daylight outlet โ€” a point where water can drain freely out the end of the wall or into a catch basin.
  4. Cover the pipe and the area behind the wall blocks with clean drainage gravel (pea gravel or ยพ inch clean stone) โ€” at least 12 inches wide.
  5. Fold the landscape fabric over the top of the gravel before backfilling with native soil.
Drainage pipe and gravel layer behind retaining wall
๐Ÿ’ก Use Our Pea Gravel Calculator

Not sure how much drainage gravel you need? Use our Pea Gravel Calculator to estimate the exact amount based on your wall length and gravel depth.

7
Backfill & Finish

With the wall built and drainage installed, it's time to backfill and add the finishing touches.

  1. Backfill in layers โ€” add 6โ€“8 inches of native soil behind the drainage gravel, then compact it with the plate compactor before adding more. Never dump all the soil at once โ€” compacting in lifts prevents future settling.
  2. Keep soil below the top course โ€” finished soil grade should sit at least 1โ€“2 inches below the top of the wall to prevent soil from washing over the face.
  3. Install capstone blocks โ€” lay the decorative cap blocks along the top course using construction adhesive for a clean, finished look. Press firmly and allow 24 hours to cure before loading with soil.
  4. Grade the surface โ€” slope the soil behind the wall slightly away from the wall face to direct surface water toward drains rather than letting it pool against the wall.
  5. Clean the wall face โ€” wipe down the block faces with a damp cloth to remove any soil or gravel dust for a crisp, clean finish.
Completed retaining wall with cap blocks installed
โœ… You're Done!

Allow the wall to settle for a few weeks before planting directly against it. Avoid heavy machinery on top of the backfill for at least 30 days. Inspect after the first heavy rain to confirm drainage is working as intended.

Pro Tips & Common Mistakes

Common Mistakes to Avoid

  • Skipping the buried first course โ€” the most common DIY mistake. Always bury at least the full depth of one block below grade.
  • No drainage โ€” walls without drainage fail faster than any other reason. Always install a drain pipe and gravel layer.
  • Building too tall for the material โ€” timber walls should not exceed 4 feet without engineering. Concrete block can go higher with proper geogrid.
  • Using the wrong gravel โ€” do not use pea gravel for the compacted base. Use crushed angular gravel (ยพ inch crusher run) which locks together when compacted. Save pea gravel for the drainage layer only.
  • Not staggering joints โ€” stacked joints are a weak point that will crack and shift over time.
  • Building on wet or frozen ground โ€” always build on stable, unfrozen soil.

Pro Tips

  • Lay out all your blocks alongside the trench before starting to make sure you have enough material.
  • Take photos of the drainage pipe location before covering it โ€” you'll thank yourself later if repairs are ever needed.
  • For long walls, set up a string line at the height of each course and work to that line instead of checking each block individually.
  • Rent a block splitter instead of hand-chiseling โ€” it's faster, safer, and gives cleaner cuts. Many tool rental shops carry them.
  • If building on a hillside with a significant slope, step the base of your trench rather than trying to make it all one level โ€” this is called a "stepped footing" and is much stronger than a sloped base.
How Much Will Your Retaining Wall Cost?
Get an instant estimate based on your wall size and material before buying anything.
Use the Retaining Wall Cost Calculator โ†’

Frequently Asked Questions

Can I build a retaining wall myself?+
Yes โ€” walls under 3 feet tall using segmental concrete block or timber are very achievable for a DIYer with basic skills. The key requirements are proper base preparation, burying the first course, and installing adequate drainage. Walls over 3โ€“4 feet should be assessed by a professional.
How deep should a retaining wall footing be?+
The base of your retaining wall (the buried first course) should sit at least 6โ€“8 inches below finished grade. A useful rule of thumb is to bury one inch of wall depth for every foot of exposed wall height. So a 3-foot exposed wall needs at least 3 inches below grade โ€” though more is always better.
What is the best material for a DIY retaining wall?+
Segmental concrete block (also called Allan Block or Versa-Lok style) is the best choice for most DIYers. The blocks are designed to lock together, have a built-in setback, and require no mortar. They're available at most home improvement stores and come with detailed installation guides. Timber is also easy to work with but has a shorter lifespan of 10โ€“20 years.
Do retaining walls need drainage?+
Yes โ€” drainage is not optional. Water trapped behind a retaining wall builds hydrostatic pressure that can push the wall outward or cause collapse. Every retaining wall needs a gravel drainage layer behind it and a perforated drain pipe at the base to direct water away safely.
How long does it take to build a retaining wall?+
A 20-foot long, 2โ€“3 foot tall segmental block wall typically takes 1โ€“2 days for an experienced DIYer, or 2โ€“3 days for a first-timer. Most of the time is spent on excavation and base preparation โ€” the block-laying goes quickly once the base is solid.
How much does it cost to build a retaining wall?+
A contractor-built concrete block retaining wall costs $14โ€“$23 per sq ft installed. DIY materials-only runs $6โ€“$9 per sq ft โ€” saving 50โ€“60% on labor. Use our Retaining Wall Cost Calculator to get an instant estimate for your specific wall size and material.
Scroll to Top