Timber edging gives an artificial lawn a crisp, finished edge, and the basic method is straightforward: excavate a shallow trench along the border, set pressure-treated timber so its top sits roughly level with the finished grass surface, fix it to driven stakes or concrete it in place, then backfill and dress the joints. The setup that matters is drainage and restraint — timber holds the sub-base in and stops the turf from creeping, but only if it's set below the grass line, anchored firmly, and given a way for water to escape. The details below cover tools, trench depth, fixing options, corners, and the failures that show up a season later.

This guide assumes a domestic garden installation of the common sizes: 100–150 mm wide by 50 mm thick pressure-treated timber (sold as "gravel boards" or "edging boards"), the fake grass nailed or glued along the top edge, and a sub-base of compacted crushed stone under the turf. Those are the standard materials in UK and Irish landscaping; US and Australian equivalents (treated 2×4 or 2×6, or 50×100 mm treated pine) work the same way. Adjust dimensions for the turf pile height and the base depth you've already installed.

The materials, tools, and the one measurement that decides everything

Before you cut anything, work out the finished surface height. That number drives the trench depth. Lay a straightedge across the area and measure down to your compacted sub-base. Your finished turf surface is sub-base plus the depth of the turf's backing and pile once it's laid and brushed up — typically 20–35 mm for most domestic products, but check the product spec. The timber top should finish just below that brushed surface, flush enough that the grass can fold and be pinned over it without a visible lip.

Two reasons for that setback. First, a timber top standing proud of the grass is a trip hazard and a blade-killer when you mow. Second, turf laid over a proud edge teeters on it and frays at the contact line. Sink it 2–5 mm beneath the finished surface and you get a shadow-line taper that looks deliberate.

Gather the following before you start:

Pressure-treated timber for the full run, plus 10% for waste and corners Sharpened driven stakes, at least 50 mm longer than the timber is deep, or proprietary edging pins A string line and pegs Knee pads, gloves, a hand saw or circular saw, a drill and a mallet or sledgehammer Weed-control membrane, sharp sand or kiln-dried sand, and crushed-stone or MOT Type 1 sub-base if you're building the trench edge from scratch Concrete mix if you're choosing that fixing method A spirit level, a hand tamper (vibrating plate if available), and a bolster or chisel for notching joints

Choose treated timber rated for ground contact, and treat any cut ends with an end-grain preservative — cut faces are where rot starts, and a board that lasts a decade with intact factory treatment can fail in three years at an exposed sawn end sitting in wet soil.

Step 1: Mark the edge and lay out the shape

Run string lines along the planned border, pegged taut at ground level, and mark the shape with sand or marking paint so you can see it from above. Artificial grass edges are usually straight runs with occasional right-angle or curved corners; curves mean shorter board lengths and more joints, so plan for those before buying timber.

Walk the line once you've marked it. Look for the real things that will sabotage the trench: low spots where water already pools, tree roots just under the surface, the existing lawn's high edge where the old ground meets the new. A pool at the border is not a cosmetic problem — it's where the sub-base will wash out and the timber will heave in winter.

A quick check: a 1-metre spirit level laid along the line should show a fall of roughly 1 in 100 away from the house or toward a drain. If it doesn't, that's a design decision you're making now, not during backfill. Artificial turf drains well through its backing, but it still needs somewhere for water to go, and the edging shouldn't trap it against the timber.

Step 2: Excavate the trench to the correct depth

Dig a trench along the line wide enough for the timber plus about 50 mm of working room. Depth is where the arithmetic matters: if your finished turf surface is, say, 30 mm above the compacted sub-base, and the timber is 50 mm deep, the trench must take 50 mm minus the 2–5 mm setback — so around 45–48 mm of the timber sits below the turf surface line. Trench depth measured from the sub-base is roughly timber depth minus the setback, but the cleaner way to think about it is: trench floor = sub-base level, so the base of the timber rests on the same compacted layer the turf sits on.

For a 100 × 50 mm board, excavate 50 mm deep and about 150 mm wide. Keep the trench floor flat, clear of soft spots and organic matter, and tamp the base if you've disturbed it. Loose soil under timber is the most common cause of a border that settles unevenly.

If the site has buried services or irrigation lines, locate them first; a spade through a water line at this stage is an expensive way to start an afternoon. In UK gardens, cable and pipe detection is worth ten minutes before the first dig along any boundary you haven't dug before.

Step 3: Set the sub-base and confirm the run

For a new installation, bring the compacted sub-base up to the trench floor level so the soil and the timber rest on identical material. A 75–100 mm compacted layer of angular crushed stone is a common sub-base for domestic artificial turf; thicker layers matter on soft ground.

Now is the point to check the fall. Lay a straightedge or string line along the proposed timber top — this should be the finished grass surface minus 2–5 mm — and confirm it follows the drainage slope. You'll want the timber's top edge to be a continuous, level-with-the-slope line, not a series of boards each set by eye. Mark the target top height on the stakes or trench walls before any fixing, because once the first board is pinned, later boards tend to follow it whether or not it's right.

Step 4: Cut, dry-fit, and handle joints properly

Cut boards to length, allowing 3–5 mm gaps between consecutive boards for expansion and drainage. That gap matters more than it looks: timber swells in winter and a tight butt joint closes into a ridge, while the gap gives water a defined path down and lets the boards move without fighting each other.

Dry-fit the whole run before fixing. For straight runs, butt the boards end to end on the string line; for corners, miter or overlap them — a mitered corner looks cleaner and sheds water better than a butt joint, but a butt corner is simpler and stronger for heavy foot traffic. Don't notch around tree roots; work around them by lifting the line, or if that would create a long step in the timber, reconsider the route.

Set the boards on the trench floor and check each one with the spirit level and against the string line. Any board that rocks on a high spot needs the spot removed, not packed — packing compresses and settles later.

Step 5: Anchor the timber — stakes or concrete

Two fixing methods cover most installations, and they trade off effort against permanence.

Stakes (the default for domestic work). Drive treated stakes at roughly 600–900 mm centers along the outside face of the timber, alternated if the timber is deep enough to allow it. Pre-drill the timber to avoid splitting, then nail or screw each board to the stakes with galvanized or stainless fixings. For a 50 mm thick board, a stake of 50 × 50 mm section driven 200–250 mm into firm ground holds reliably; longer stakes in soft ground. This method is quick, reversible, and fine for ordinary garden borders, though it relies on soil that holds a stake — sandy or peaty ground tests it.

Concrete (the durable option, best under heavy use). Set the timber in a concrete collar: pour a mix around the base of the board, roughly 100 mm wide and deep per side, and check the board's line and level before the concrete stiffens. Concrete resists frost heave, root pressure, and the slow creep that stakes allow, and it's the right call for a border under a play area, a vehicle edge, or a lawn the mower crosses every week. It's also harder to undo; moving the line later means breaking out concrete.

A middle option: spikes through the timber face at an angle into the soil, paired with a treated stake every 1.2 m. It suits curved runs where a concrete collar is fiddly.

Success check: press down hard on the mid-span of each board. A well-fixed board won't deflect noticeably, and the top edge stays on the string line. If it rocks, add a stake or tighten the fixing before moving on.

Step 6: Backfill, membrane, and the transition to sub-base

With the timber fixed, backfill behind it with soil or sub-base in 50 mm layers, tamping each one. On the grass side, fold the weed-control membrane up and over the timber's inner face and trap it behind the top edge, or run it over the top under the turf — the membrane is what stops weeds surfacing at the join, and the join is exactly where they will surface. On the outside face, backfill to ground level and compact.

This is also the moment to seal the water path. Water running along the timber's inner face should reach the sub-base and drain away, not pool against the board. If your site falls toward the border rather than away from it, the fall you set at Step 3 is your defense; if you skipped that, correcting it now means re-digging.

For a border against a lawn or planting bed, bring the outside soil to the timber's top minus a whisker, so the mower can pass from grass to bed without scalping the edge. For a border against paving, leave the paving edge slightly proud if the paving will be pointed later.

Step 7: Lay the turf over the edge and finish the joint

Lay the artificial grass so it oversails the timber by roughly 30–50 mm, then fold it back and trim. Fix the edge with galvanized nails driven at 100–150 mm centers through the backing and into the timber, or with turf adhesive on wider boards. Brush the pile over the fixing line so the nails disappear.

The finishing touch that separates a clean job from an okay one: brush kiln-dried sand into the joint between the turf edge and the timber after laying. It takes up the last 2–3 mm, hides the cut edge, and stops the pile from creeping back from the board. Don't overfill — a thin, brushed-in layer is enough, and a thick ridge of sand will wash out at the first heavy rain anyway.

Final check: walk the full border, sight along the top line, and look for humps where joints meet, any board proud of the grass, and any gap at the base where soil shows through. Press the turf edge down along its length; it should feel supported by the timber, not floating.

Common failures and what actually causes them

The edge heaves in winter. Timber planted in a shallow trench in clay or wet ground lifts as the soil freezes and thaws, because water sits against the board and the timber has no anchor deep enough to resist frost movement. The fix in new work is concrete collars or deeper stakes in firm ground, plus a trench floor that drains.

Boards sink and the top line goes wavy. Soft, uncompacted soil under the board. The trench floor needs tamping, and the timber needs to bear on the same compacted layer as the sub-base. Packing with sand or offcuts makes it worse over time.

Joints open or close into ridges. No expansion gap, so swelling timber closes the joint, or rain saturating the boards does the same. Cut with 3–5 mm gaps and pre-drill fixings so the boards can move without splitting.

The turf frays at the edge. Either the timber is proud of the grass surface (the turf bends over a hard edge and abrades), or the fixings are missing or too far apart. Set the timber low and nail at closer centers.

Rot appears at one end of the run. Cut ends that were never treated. Saw-cut faces are untreated; brush end-grain preservative on every cut end, especially where it sits in soil.

Water pools along the inside face. The fall runs toward the border, not away, or the membrane has been run so it forms a trough. Set a fall at the planning stage, and make sure the membrane slopes with it.

The troubleshooting order is cheapest first: check the fixing line and re-tighten or add stakes; check the surface height and re-set any proud board; only then dig out and re-lay a section. If timber is heaving in a leaf-clay soil, or if the border is retaining a slope more than about 300 mm high, stop and get a local landscaper or engineer to look at the drainage and retention design rather than adding more stakes.

How long it takes and what it costs

A straight 10 m border at 100 × 50 mm treated timber is a half-day-to-full-day job for one person with hand tools: an hour or two of layout and excavation, an hour of cutting and dry-fitting, an hour or two of fixing, and an hour of backfill and turf fixing at the edge. Corners, curves, and concrete collars add time and cure days.

On materials, treated edging boards are sold by the metre or as nominal lengths and are priced in the same bracket as other landscaping timber; stakes, fixings, and a bag or two of concrete are the cheap add-ons. The variable that changes cost most is the fixing method — concrete costs more material and cure time but removes the annual re-tightening that stakes occasionally need. Budget in linear metres and check the board's actual dimensions, because "gravel board" sizes vary by supplier and that changes your trench depth arithmetic.

When to bring in a professional

The stopping points are structural: a border retaining a drop of more than about 300 mm, ground that won't hold stakes or concrete (deep peat, uncompacted fill, running water), a boundary next to a building foundation or buried services you can't trace, or any installation where the finished falls would direct water toward a house. At that point the job is drainage design as much as timber, and a local landscaper should specify it. For a routine flat garden border, though, the method above is well within reach of a careful DIYer with a spade, a saw, and a string line.