You can hold landscape timber in place with galvanized steel stakes, rebar, or timber stakes driven through or beside each course, backed by proper base preparation, overlapping corner joints, and fasteners where the design calls for them. The single most important condition is what the timber is doing: a single stacked course on a garden bed edge needs far less restraint than a three-course retaining wall holding back soil and water. Ground conditions matter just as much—loose fill, clay that swells, and slopes all demand more holding power than firm, undisturbed soil. Treat the hardware as the last step in a system, not a substitute for a stable base and sound joint layout.
Start With the Job the Timber Has to Do
Landscape timber covers several different structures, and the holding method should match the load. A one-course border around a flower bed mainly resists being nudged by a string trimmer, foot traffic, or frost heave. A two- or three-course stack that retains a raised planting bed has to resist soil pressure pushing outward along its whole height. A wall that holds back a terrace, driveway edge, or a slope above a walkway carries much larger loads and, in many jurisdictions, counts as a retaining wall subject to permit and engineering rules.
That distinction drives every choice that follows. Stakes that work fine for a 6-inch garden edge will not hold a 2-foot wall of wet soil. Timbers laid flat and pinned at the ends behave differently from timbers stacked and spiked course to course. Decide which one you're building before you buy hardware, because the holding system—and often the timber size itself—changes with it.
Also settle the timber material early. Treated 4x4 and 6x6 landscape timbers, railroad-tie-style timbers, and rot-resistant species such as cedar or locust all accept stakes and spikes, but treated timber is heavy and hard, so predrilling matters. The reference date here is November 2026; treated-wood formulations and local disposal or use rules change over time, so confirm current product labeling and any local restrictions before cutting.
Prepare the Base Before Any Hardware Goes In
No stake or spike compensates for a bad base. The holding hardware keeps timber where you put it; the base keeps it from settling unevenly in the first place. A timber edge set directly on topsoil will rock, sink, and shift within a season or two, and the stakes will loosen as the soil moves around them.
For a border or single course, excavate a shallow trench—roughly half the timber's thickness plus a couple of inches for bedding—and compact the subsoil. A layer of compacted crushed stone or paver base, about 2 to 4 inches depending on soil and load, gives a firm, free-draining bed. For a stacked wall, the base needs to be wider than the timbers, compacted in lifts, and level along its length. Burying the first course partially below grade is a common and effective way to resist the toe kicking out.
Good drainage belongs in the planning stage too. Water that ponds behind a timber wall adds pressure and speeds rot. A gravel backfill zone behind the wall and a way for water to escape reduce the load the hardware has to carry. If the wall is tall enough to need it, drainage aggregate and a filter fabric keep soil from clogging the gravel.
Success check: lay the first timber down and stand on it. It shouldn't rock. If it does, lift it and fix the bed. Failure at this stage shows up as a wavy top line and loosening stakes months later.
Choose the Right Holding Method for the Load
There are five practical ways to anchor landscape timber, and they're usually combined. The list below goes from lightest duty to heaviest, with when each one earns its place.
-
Galvanized steel stakes or timber spikes. Flat or angle steel stakes, typically 12 to 24 inches long, are driven through predrilled holes in the timber into the ground below. They suit one- and two-course borders and edges. Longer stakes reach deeper undisturbed soil, which is what actually resists movement. Use at least two stakes per timber length, set near the ends and no more than about 4 to 6 feet apart on long runs.
-
Rebar pins. A length of #3 or #4 rebar (about 3/8 or 1/2 inch) cut to 18 to 36 inches makes a cheap, strong pin. Drill a hole slightly smaller than the rebar through the timber, then drive the pin through into the ground. Rebar resists bending well and is easy to source. It rusts over time, so use it where staining or eventual corrosion isn't a concern, or choose galvanized or coated bar.
-
Wooden stakes or dowels. Hardwood stakes driven beside or through the timber work for light borders and temporary beds. They're inexpensive and easy to cut flush, but they rot and lose grip faster than steel. For a bed edge meant to last, steel outlasts wood.
-
Spikes between courses. For stacked walls, long spikes or drift pins driven vertically through two or three courses lock the layers together so they act as one mass rather than sliding apart. This is the key move for multi-course stacks and is often overlooked by first-time builders.
-
Deadmen and tie-backs. For walls carrying real soil load, the strongest holding comes from anchors buried in the retained soil and tied back to the wall—often a short timber or concrete block set perpendicular to the wall and connected with galvanized hardware or geogrid. The deadman resists the wall tipping forward. This is the method that scales to taller walls and heavier loads, and it's the one to research carefully or have engineered for anything beyond a modest garden height.
The table below places these methods against the typical jobs they fit. Treat the course counts as rough guidance, not engineering limits; soil type, slope, and local code can move them substantially.
| Holding method | Typical use | Relative holding power | Key condition |
|---|---|---|---|
| Galvanized steel stake | 1–2 course borders and edges | Light to moderate | Driven into firm, undisturbed soil |
| Rebar pin | 1–2 course edges, short walls | Moderate | Predrill slightly undersize |
| Wooden stake/dowel | Light, temporary beds | Light | Rot-resistant species preferred |
| Vertical spikes between courses | 2–3 course stacks | Moderate, ties layers | Predrill to avoid splitting |
| Deadmen/tie-backs | Retaining walls with real load | High | Buried in retained soil, properly tied |
Steel Stakes, Rebar, or Wood: How to Pick
When people ask what to use to hold landscape timber, they're usually choosing between steel and wood, and the honest answer comes down to longevity and load. Steel—galvanized stakes or rebar—holds better and lasts longer, at modest cost. Wood stakes are cheaper and blend in, but they decay and loosen, which matters more for a permanent bed edge than for a seasonal one.
Matching the fastener to the timber matters as much as the stake itself. Treated timber is corrosive to plain steel over time, so use hot-dip galvanized or stainless fasteners where they'll be in contact with treated wood and damp soil. This applies to spikes, plates, and bolts alike. Cutting or drilling treated timber exposes fresh surfaces; current guidance generally favors resealing cut ends, so check the manufacturer's instructions on the product you buy.
Sizing is another practical fork. Stakes should reach well below the timber into firm ground—at minimum, roughly as deep below grade as the timber is tall, and deeper for taller stacks. A 6-inch timber held by a 12-inch stake only bites 6 inches into soil, which is thin. Longer stakes cost little more and are the difference between a loose edge and a stable one.
One underappreciated failure: splitting. Driving a fat spike through a timber without a pilot hole cracks the wood, and a cracked timber loses its grip. Predrill a hole a bit narrower than the spike or rebar, and drive through the center of the timber's width, not near an edge.
Drill, Pin, and Space Your Fasteners
The mechanics of holding timber come down to a repeatable sequence. The exact spacing depends on load and soil, but the method is the same.
1: Lay out and level the timber on the prepared base. Check with a level along the length and across the top. 2: Mark stake locations near each end and at intermediate points—commonly every 4 to 6 feet for borders, closer for loaded walls and near joints. 3: Predrill through the timber with a bit slightly smaller than your stake or spike. Drill straight down through the width of the timber. 4: Drive the stake or rebar through the hole into the ground below, using a sledge or a driver that won't mushroom the top. Stop when it's firm or when the head sits just below the timber's surface. 5: For stacked courses, predrill and drive vertical spikes through the top course into the one below, then repeat as you stack. 6: Set the stake heads slightly recessed so they don't catch on mowers, trimmers, or feet.
Success check: after setting the stakes, try to shift the timber sideways by hand. It should feel solid. If it moves, the stake isn't deep enough or the base is soft—add length or improve the bed. Failure check: a stake that drives in with almost no resistance is sitting in loose fill and will not hold. Move it or address the soil.
Spacing isn't a fixed rule, and no single number fits every site. As a working principle, closer spacing and longer stakes are the cheap insurance for loaded or wet ground, and joints—corners, butt splices, and steps—are where timbers most want to separate, so they deserve extra fastening.
Join Corners and Timbers So They Don't Pull Apart
Hardware holding timber to the ground won't stop the timbers from sliding apart at joints. Corner and end connections need their own attention.
Overlap corners in alternating courses. On a stacked wall, run the timbers past each other so each course corners differently from the one below—like the alternating pattern in a log cabin. This locks the courses together through geometry alone and is one of the most reliable ways to keep corners tight without extra hardware.
Splice end-to-end with offset and fasteners. When a run is longer than one timber, butt the ends and join them with a stake or spike on each side of the joint, and offset splices between courses so they don't stack in a vertical line, which creates a weak seam.
Cross-lap or notch where appropriate. Cutting shallow notches or half-laps where timbers cross lets them nest and resists rocking. This takes more work with a saw and chisel but produces a sturdier structure.
Use plates or brackets sparingly and correctly. Galvanized mending plates, angles, and timber screws can reinforce a joint, but they're not a substitute for good layout and adequate stakes. Where metal is exposed to soil and moisture, galvanized or stainless is the right call for durability.
Corners built with an alternating overlap and a stake through each leg almost never come apart. Corners butted flat and held by a single end stake often do.
Design Details That Reduce How Hard the Anchors Must Work
The less the wall or edge is pushed, the less holding power the hardware needs. A few design moves reduce the load on the anchors.
Backfill with free-draining gravel immediately behind the timber rather than heavy clay soil. The gravel weighs less when wet and lets water pass, cutting both weight and pressure. Sloping the retained soil surface away from the wall and capping the top of the wall with a course set back slightly also shed water rather than delivering it to the wall face.
Keep the wall low where you can. Every added course increases soil pressure, and a modest two- or three-course edge usually satisfies garden grading needs without approaching the loads of a full retaining wall. On slopes, stepping the courses down the hill rather than building one tall wall spreads the load and simplifies the base work.
Finally, give the wall room to move slightly and still look right. Rigid timber walls on shrink-swell clay can crack or push outward when the soil swells. Adequate drainage and a slightly flexible, well-compacted base help; a wall engineered for the soil is the robust answer where clay and slope combine.
When Timber Isn't the Right Choice
Landscape timber is convenient and familiar, but it has real limits. Taller retaining walls, walls holding structures or driveways, and walls on steep or unstable slopes usually need engineered retaining systems—segmental block, reinforced concrete, or timber designed with proper deadmen and geogrid. Many areas require a permit once a wall passes a height threshold, and those thresholds change by jurisdiction; confirm your local rules before building anything that holds back soil.
Timber also rots, especially at ground contact, and treated timber's chemical profile is a moving target as formulations change. For beds growing edibles, people often prefer untreated rot-resistant species or other edging. None of this makes timber wrong—it just defines where stacked timber with stakes is the sensible, lasting choice and where a different system should carry the load.
Quick Answers to Common Questions
Can I just drive rebar through landscape timber? Yes, and it's one of the best low-cost methods. Predrill slightly undersize, drive through the timber into firm ground, and set the head just below the surface.
How deep should stakes go? Reaching into undisturbed soil below the timber is the goal; as a rule of thumb, at least as deep below grade as the timber is tall, and deeper for stacked courses.
Do I need stakes on a single course? A single bed edge can often be held with a few stakes near the ends and joints plus a well-prepared trench, but extra stakes at corners and long runs keep it tidy through freeze-thaw and foot traffic.
What holds stacked timber together? Vertical spikes driven through two or three courses, alternating overlapped corners, and—for walls with real load—deadmen tied back into the retained soil.