For most landscape lumber projects—garden bed edging, low retaining walls, raised-bed corners, and deck-step borders—the practical rule is one rebar spike every 3 to 4 feet along the length of each timber, plus one spike within about 6 to 12 inches of every end and every joint where two timbers meet. That spacing holds for a single course of 4x4 or 6x6 landscape timber. Taller stacked walls, loose or sloped soil, and timbers holding back significant grade change need closer spacing and longer spikes, and in some cases rebar alone is the wrong fastener. The count depends less on a fixed formula than on what the lumber is doing: edging a flat bed is not the same job as retaining a hillside.
This article answers the common interpretation—installing rebar through landscape timbers to pin them in place—and explains where that 3-to-4-foot rule comes from, when to tighten it, and when rebar spikes will not do the job at all.
What a rebar spike actually does in landscape lumber
A rebar spike is a length of reinforcing bar—commonly 1/2 inch or 3/8 inch in diameter—driven through predrilled holes in the timber and into the ground below. Its job is to stop the timber from sliding, rotating, or lifting out of position. It is not a structural connection in the engineering sense, and it is not a substitute for proper retaining-wall design when soil pressure is significant.
Understanding that role explains the spacing rule. A spike restrains the timber only near where it passes through. Between spikes, the timber acts like a beam spanning from one anchor to the next. The longer the unsupported span, the more the timber can shift, bow, or rotate under load—whether that load is frost heave, soil pressure, a lawn mower bump, or someone stepping on the edge. Keeping the span to roughly 3 to 4 feet limits that movement on typical residential installations.
The rule also reflects practical realities: 8-foot and 12-foot timbers are the common retail lengths, and joints between timbers are the weakest points. Spiking near ends and joints ensures each piece is independently anchored rather than relying on its neighbor.
The working spacing rule, spelled out
For a single course of landscape timber used as edging or a low border:
Along straight runs: one spike every 3 to 4 feet, measured center to center. At each end: one spike set back 6 to 12 inches from the end. At butt joints: one spike on each side of the joint, or one spike close enough to the joint to capture both timbers. At corners: one spike in each timber forming the corner, close to the miter or lap.
A worked example makes this concrete. An 8-foot timber laid as a single edging piece has its ends spiked, and with 3-to-4-foot spacing that means one intermediate spike—so three spikes total for that piece. A 12-foot run typically gets four spikes: two ends plus two intermediate. A 20-foot straight border made of an 8-foot and a 12-foot timber gets the end spikes, the joint spikes, and intermediate spikes at the spacing interval—roughly seven spikes in all.
These are starting points, not a code requirement. Residential landscape edging is not governed by a single universal spike-spacing standard, so treat the numbers as field-tested practice rather than an enforced rule.
When to use more spikes
Several conditions push the count upward:
Stacked courses. Each course of a two- or three-timber-high wall should be spiked, and the spikes should tie courses together where possible. A common approach is to drive long spikes through the upper timbers into the lower ones and the ground, offsetting the spike positions between courses so the wall acts as a unit rather than a stack of loose pieces.
Retaining grade. When the timber holds back soil higher than roughly 12 to 18 inches, the wall is doing real retaining work. Soil pressure increases with height and with saturated soil, so spacing should tighten—often to 2 to 3 feet—and spike length must reach well below the base of the wall. For walls above about 2 feet, especially on slopes or with poor drainage, rebar spikes alone are usually insufficient; a proper wall needs a gravel footing, drainage, and often engineered reinforcement or a different system entirely.
Loose, sandy, or fill soil. Rebar holds by friction and bearing against the soil. In loose fill or sand, a spike can pull or work loose. Closer spacing, longer spikes, and gravel compaction around the base help.
Frost-prone ground. In cold climates, frost heave can lift and tilt timbers. Spikes driven below the frost line—or at least deep enough to resist heave—plus tighter spacing reduce movement.
Curves and radiused beds. Spiking near each end of every short segment, with segments spaced closely, keeps curved edging from opening at the joints.
High-traffic edges. Borders along driveways, walkways, and mowing strips take impacts that straight garden edging does not. Slightly closer spacing near these edges is sensible.
Spike length and diameter: the other half of the answer
The number of spikes matters only if each one is long enough to do its job. As a working rule, a spike should penetrate the timber fully and then extend into undisturbed ground by roughly one-third to one-half of the timber's above-ground height, with extra depth for stacked or retaining applications. For a single 4x4 timber (actual height about 3.5 inches) sitting on grade, a 12- to 18-inch spike is typical; for stacked timbers or grade retention, 24- to 36-inch spikes are common, and longer bars are used for taller walls.
Diameter matters for holding power and for how the spike behaves in the wood. Half-inch rebar is the everyday choice for landscape timbers; 3/8 inch is fine for light edging, and 5/8 inch is used where more resistance is needed. Always predrill the timber with a bit slightly smaller than the bar—typically about 1/16 inch under the rebar diameter—so the spike drives cleanly without splitting the wood. Drive with a heavy hammer or a fence-post driver, and cap the top if the spike will remain exposed where people walk or mow.
When rebar spikes are the wrong answer
Rebar is cheap and effective for edging and low borders, but it has real limits, and using it past those limits is a common cause of failed landscape walls.
Walls retaining more than about 2 feet of soil generally need a designed retaining system—interlocking block, treated timber with proper footings and deadmen, or engineered alternatives—not just spikes. Soil pressure and water are the enemies, and spikes do not address either. Wet or poorly drained sites undermine any spike system. Water saturating the soil behind a timber wall increases pressure and softens the ground the spike relies on. Drainage behind the wall matters more than spike count. Timbers over soft organic soil or root-heavy ground may not hold a spike at all; the bar can deflect or the soil can give way. Decorative or freestanding borders that receive no load may need only minimal spiking—sometimes one spike per piece is enough—so more is not automatically better.
Where spikes are used, they should be placed so they do not split the timber: predrill, keep spikes at least a couple of inches from ends, and offset them from course to course.
A practical method for counting spikes on a real project
Rather than memorizing a number, lay out the job and count anchor points:
1: Mark every end, joint, and corner—each gets a spike. 2: Walk the straight runs and mark intermediate spikes at 3- to 4-foot intervals (closer for retaining, stacked, or loose-soil conditions). 3: Add spikes where the timber changes direction or meets a fixed object. 4: For stacked walls, repeat for each course, offsetting positions. 5: Total the marks and add a small allowance—typically 10 percent—for miscounts, damaged bars, or extra anchoring at problem spots.
For a typical 50-foot single-course garden border made of 8- and 12-foot timbers, this method usually lands in the range of 15 to 18 spikes. For a two-course, 20-foot low retaining wall, expect roughly 14 to 20 spikes, with longer bars. Those ranges are illustrative planning figures, not measured standards, and the layout rules above should drive the final count.
Common mistakes that change the answer
The most frequent error is treating the 3-to-4-foot rule as universal. It is a default for light, single-course work. Applying it to a retaining wall or a stacked course undercounts badly.
The second is spiking only at the ends of each timber. Mid-span movement is exactly what the intermediate spikes prevent, and a border spiked only at its ends will bow and open at joints.
The third is using spikes that are too short. A 12-inch spike through a stacked pair of timbers may barely reach the ground, providing almost no anchorage. Match spike length to timber height and soil conditions.
The fourth is skipping predrilling and splitting the timber, which weakens the piece and often loosens the spike.
Finally, some installers rely on spikes to compensate for missing drainage or a missing footing. No spike count fixes a wall that is being pushed by saturated soil. Address water and base preparation first; the spikes then do the modest job they are suited for.
Bottom line
Use one rebar spike roughly every 3 to 4 feet along each landscape timber, plus one near every end and joint, for single-course edging and low borders. Tighten the spacing to about 2 to 3 feet and lengthen the spikes for stacked courses, grade retention, loose soil, frost, and high-traffic edges. For walls retaining more than about 2 feet of soil or sites with poor drainage, rebar spikes are not the right solution regardless of how many you use—plan a proper retaining system instead. Count anchor points at ends, joints, corners, and spacing intervals, then add a small allowance, and the number follows naturally from the layout rather than from a single universal figure.