You lay landscape timber with rebar by digging a shallow, level trench, setting the first course of timbers so they sit partly below grade, and driving galvanized rebar pins through the wood into the soil to lock each piece in place. The key condition is that the timber must be rated for ground contact and the pin must reach deep enough into undisturbed soil to resist frost heave and lateral load. Get those two things right and the wall or edging will hold its line for years.

This guide walks through the whole process, from picking materials to backfilling. It's based on standard construction practice for pressure-treated timber retaining walls and edging, the sort of work a reasonably handy homeowner can do over a weekend. Where the job turns into something structural, I'll say so plainly.

What Rebar-Pinned Timber Does—And What It Doesn't

Landscape timber pinned with rebar is a low, gravity-and-friction system. The timber adds mass, the rebar ties the courses together, and the soil behind the wall pushes against the assembly. That works well for edging, garden borders, low terrace steps, and retaining walls up to roughly two or three feet tall, depending on soil and loading. The pin isn't a structural anchor in the engineering sense; it's a connector that keeps timbers from sliding and from lifting out of alignment.

The failure mode to understand is overturning and bulging. A retaining wall taller than its base width, or one carrying a driveway or slope above it, will push forward regardless of how many pins you drive. Most building codes treat timber retaining walls above a certain height, commonly around four feet in many U.S. jurisdictions, as requiring a permit and often an engineered design. If your wall holds back a slope above a structure, a driveway, or a lot of saturated clay, stop and get a local engineer or contractor involved. That's the honest boundary of the rebar method.

For edging—a single row of timber separating lawn from beds—rebar pinning is more than adequate and is one of the most durable approaches available.

Pick the Right Timber and Rebar First

The material choices matter more than most people expect, because the pin's job depends on the wood holding the pin, and the wood's job depends on not rotting.

Timber. Use pressure-treated lumber rated for ground contact. In the U.S., the AWPA use category is UC4A or higher for ground-contact applications; the retail label often reads "ground contact" and lists a retention level for the preservative. Landscape timbers sold in home centers are typically treated to this standard, often with alkaline copper quaternary (ACQ) or copper azole. Avoid any timber you can't confirm is ground-contact rated—railroad ties are an option for edging but carry creosote, which is regulated and unsuitable near vegetable gardens. Timbers are commonly 4x4, 4x6, or 6x6 nominal; 4x4 and 4x6 handle most edging jobs.

Rebar. Use #3 (3/8-inch) or #4 (1/2-inch) deformed rebar. The deformation—the ribs on the bar—is what grips the wood and the soil; smooth rod will pull out more easily. For a single course of 4x4 timber, #3 at 24 inches long is plenty. For stacked courses or taller assemblies, step up to 24–36 inches of #4. Galvanized or epoxy-coated rebar resists corrosion longer, though uncoated rebar is common in dry-soil edging. Rebar through treated wood is generally considered acceptable for landscape use; the copper-based preservative on the timber and the steel pin are a common pairing in practice.

Other supplies. A circular saw or chainsaw for cutting timbers, a 4-pound sledgehammer, a 1-inch auger bit and drill (or a long pilot bit) for predrilling pin holes, a spade and mattock, a string line, stakes, a 4-foot level, a hand tamper or plate compactor, and coarse gravel. Safety gear: safety glasses, gloves, and hearing protection for driving rebar.

A quick sizing note: predrill the pin hole slightly smaller than the rebar diameter—about 1/8 inch under—so the bar bites into the wood. A 3/8-inch rebar wants roughly a 5/16-inch hole.

Plan the Layout and Handle the Slope

Before you cut anything, lay out the line. Drive stakes at each end of the run and stretch a string line tight between them. For a curved border, use a garden hose as a fairing and stake it every few feet.

Set the elevation carefully. For edging, the top of the timber should sit just above grade—roughly one to two inches proud of the surrounding lawn or soil so mowers and edge trimmers ride over it. For a low retaining wall, the base course must be buried below grade on the low side. A common rule of thumb for a pinned timber wall is one-third of the bottom course below grade, plus a footer of compacted gravel.

On a slope, don't pretend the timbers are level when they're not. Two approaches work:

Stepped course: Lay timbers level in short runs and step them down with the grade. This looks intentional and drains well. Battered stack: For stacked courses, set each course slightly back from the one below—about 1 inch per course of setback is a common batter—so the wall leans into the hill and gains a bit of resistance.

The string line should reflect whichever you choose, with height stakes at grade. Mark the soil where the trench will go.

Dig and Prep the Base

This is the step that determines whether the wall lives or fails, and it's the step most often rushed.

1: Excavate. Dig a trench about 6 inches wider than the timber on each side and deep enough that the bottom course sits partly below grade. For a 4x4 timber with the top 1 inch proud, that's roughly a 5-inch-deep trench on flat ground. 2: Compact the subgrade. Rake out roots and looseness, then compact the native soil with a hand tamper. If the soil is soft or clay across the whole run, dig deeper. 3: Add and compact gravel. Spread 2–4 inches of coarse, well-graded gravel (crusher run or 3/4-inch crushed stone) and compact it in lifts of about 2 inches. Check it with a 4-foot level and correct low spots. This is your drainage layer and leveling bed at once. 4: Set the first course. Place the first timber, check level along its length and across its width, and tap it down or shim with gravel until it reads true. For long runs, use a string line strung above to confirm straightness. 5: Stagger the joints. Where timbers butt, offset the joint on the next course so it lands at least 12 inches away from the joint below. Nail a short timber scab across joints or use a connector if you want extra hold.

Check success here before moving on: the bottom course should be level along its length, sitting on compacted gravel with no rocking. Rock a 4-foot level end to end and side to side during the check. If it wobbles, lift that section, add or remove gravel, and recompact. Never proceeding on a soft or out-of-level base—everything above it will inherit the problem.

Drill and Drive the Rebar Pins

Now the connection that gives the method its name. Predrill, then drive.

1: Locate the pins. Pin each timber within about 6–12 inches of its ends and roughly every 3–4 feet along its length where it spans between joints. For a single-course edge, one pin per timber near the end is often enough; two pins per timber on sandy slopes or where the wall carries loading is better and cheap insurance. 2: Drill through the timber. With the bit slightly smaller than the rebar, drill a vertical hole through the timber and into the gravel/soil below at least a few inches, or to the depth the pin will reach. Drill straight. 3: Cut the bar. Cut pins to length: bottom-course pins should reach at least 12–18 inches into firm native soil below the trench. For stacked walls, pins should span from the bottom course through the courses above it, so measure accordingly. 4: Drive the pin. Start the rebar in the hole and drive it with the sledgehammer—or a small post driver—squarely until the head sits just flush with or slightly below the wood surface. Don't overshoot; leaving the head proud lets it snag a mower blade, so set it about 1/4 inch below the face. Stop if the pin hits bedrock or a boulder and refuses to go further: pull it, move over 6–12 inches, and redrill. Driving a pin through a hidden stone can split the timber or bend the bar. 5: Check each pin. After the first few, test by shifting the timber by hand. A properly set pin should lock it against lateral movement. If a timber still shifts, add another pin rather than forcing the one that's there.

For a stacked wall, repeat the drill-and-drive sequence course by course, adding pins that pass through two courses before you place the next one. Drive the pin through the timber until it's snug, then drive a nail or second short rebar pin at an angle through the face of the upper timber into the one below as a dowel if you want a stronger connection. Battered timbers may need the drill angled slightly to follow the setback.

Stacking, Backfilling, and Draining

Placement alone won't hold a stacked timber wall; the soil and water management around it will do as much work as the pins.

Backfill in lifts. Fill behind the timbers with the excavated soil or with gravel, then compact in lifts of 6–8 inches. Don't dump the whole backfill in at once—compaction can shift the wall. Compact with a hand tamper, working from the wall outward, and check level after each lift. Drain the back. For any wall more than a couple of courses high, place gravel immediately behind the timbers and consider drainage aggregate continuing back a foot or so, topped with filter fabric to keep soil from clogging it. A perforated drain pipe in the gravel at the base, daylighted to a low point or outlet, carries water away. Water pressure is what bulges walls, and pins won't stop a saturated clay backfill from pushing. Prevent setttling surprises. On clay, loosen the backfill soil and cap it with a slight slope away from the wall so surface water runs off. A one-inch-per-foot slope away from the wall is a reasonable rule of thumb. Cap it if you want. A top timber laid flat, secured with the same pins, gives a clean finish and ties the courses together.

Common Mistakes and How They Show Up

Most failures trace to a handful of causes, and the symptoms are recognizable:

Wavy top line. Cause: base out of level and revealed only after the second course. Symptom: a visible dip or hump. Run a string line over every course and fix the base before adding more. Timbers pulling apart at joints. Cause: joints stacked vertically rather than staggered. Symptom: a seam you can see daylight through. Stagger joints by at least 12 inches and add pins. Wall leaning forward. Cause: wall too tall for its base width, saturated backfill, or missing drainage. Symptom: the top course moves out when soil is wet. Correct by getting water moving—drainage, gravel, slope—and consult an engineer if the wall is above about three feet or holds heavy loading. Rot near the ground. Cause: non-rated timber. Symptom: softness and discoloration at the soil line. There's no repair; replace the timber. Pins weeping rust stains. Cause: uncoated rebar in wet soil, common and often cosmetic. Symptom: rust streaks on the timber face. Switch to coated rebar on wet sites or accept the staining.

Stop condition: if you're building a retaining wall taller than about four feet, a wall that holds a structure, driveway, or significant slope, or a wall where a failed design could send soil and water toward a building, stop and hire a local engineer or licensed contractor. Pinned timber is a proven method for low work; it's not a substitute for engineered design at structural height.

FAQ

Can I skip the gravel base and pin straight into soil?

You can drive rebar into native soil, and for a very short garden edge in firm soil it may hold. But without a compacted gravel bed the timber will rock and settle unevenly, and the rebar can work loose in shifting clay. The gravel bed is cheap insurance and takes an afternoon.

What's the best angle for the pins?

Vertical, or with a very slight lean into the hill for stacked walls. Angling pins dramatically sideways into the backfill can help tie the wall to the soil but makes driving harder and risks splitting the timber; keep them vertical for edging.

How far apart should pins go?

Roughly every 3–4 feet and within 6–12 inches of each timber end. Sandy or sloping sites justify doubling up, one near each end of every timber. There's no single official spacing; the goal is preventing any timber from moving independently.

Does rebar rust through treated wood?

Rebar through copper-treated landscape timber is common practice and adequate for landscape life, though it will corrode over time, especially in wet soil. Galvanized, epoxy-coated, or stainless rebar lasts longer; uncoated is a cost trade-off that often makes sense for edging and less sense for a long-term wall.

How tall can I stack without engineering?

Many jurisdictions and common practice put the line around two to three feet of exposed height for do-it-yourself timber walls, with permits and engineered design typically kicking in near four feet. Verify the actual limit with your local building department before you stack—rules vary by region and site conditions.