Independent comparisons. We may earn from shop links. More info

String line fence posts UK: keep every post straight

DIY vs proOctober 20267 min read
Taut string line guiding a row of timber fence posts

Set fence posts in a straight line with braced end posts, taut string and measured centres, including panels, slopes and a safe working line.

Top pick: Presch 2-piece line spirit level
Top pick: Presch 2-piece line spirit level
See comparison →

The awkward moment comes after several holes have been dug: each post is only slightly out, but the complete fence bows across the garden. For string line fence posts UK projects, a taut cord gives you a simple, visible reference that does not depend on judging straightness by eye. Set the two ends properly, keep every intermediate post clear of the cord and measure from one consistent face. Those habits matter more than expensive equipment.

In short

Set and brace the first and last posts, stretch masonry line between matching reference points, then align each intermediate post to a fixed gap rather than letting it touch. Measure post centres from a known starting point, treat straightness and height as separate checks, and remove or barrier the cord whenever it could cross an access route.

Set the end posts first

Your string is only as trustworthy as the points supporting it. Set the first and last posts as sighting posts before excavating the whole run, on the correct side of the boundary. Check each one for plumb on two adjacent faces and brace it against movement. A straight fence in the wrong place is still a costly mistake.

Jacksons Fencing recommends using the posts at both ends as sighting posts in its post-and-rail instructions, and the same principle suits a panel fence. If the run changes direction, treat each straight section separately and install a firm corner post as the endpoint for both lines. Dig a few holes at a time rather than the whole run, because roots, old concrete and services can force a change. Before digging, check for buried services with the appropriate locating information and equipment. A piece of string cannot tell you what is underground.

Tie the cord to the same face and at the same height on both end posts. Masonry line is better than soft household twine because it stretches less and remains easier to tension. Pull it firm enough to remove obvious sag, but not so hard that it bends a stake or drags a newly set post out of plumb.

Choose a clear offset

A fence post should not support the alignment string. It should sit beside the reference with a repeatable gap. If one post touches and pushes the cord sideways by even a few millimetres, the next post can be aligned to the displaced cord, and small errors then propagate along the run.

There are two useful published approaches, and they should not be blended. Sheridan Fencing describes leaving about 2 mm between post and string, which is easy to see but easy to lose while you tamp or place concrete. Jacksons Fencing describes placing the string around 50 mm from the post edge, which gives more working clearance. Use one method for the whole run. For 50 mm, check each post with a rigid spacer without leaning on the line. For the close gap, look for daylight between cord and timber. Never pull a post into the line until it touches and call that aligned.

Choose one reference face and keep it. On uniform posts that may be the garden-facing edge. With rough timber, faces can bow, so use the centre or fixing line the rails or panels actually need. A string proves alignment only at its own height, so check each post for plumb with a string spirit level comparison or an ordinary spirit level.

Mark each post centre

Straight posts can still be unusable if the spacing is wrong. Measure the real components. Clips, brackets, gravel boards, post size and clearance all change the centre-to-centre distance, and a nominal panel width will not include them. Post-and-rail spacing follows the rail lengths and joints instead.

Lay out the first bay and establish the required centres from the manufacturer's installation details. Mark those positions from the same starting datum. A long tape measure comparison helps, but technique prevents cumulative error: measure several centres from the original datum rather than stepping the tape from one fresh mark to the next.

Check the complete calculated run before digging. If the last bay does not fit, solve it on paper or by dry positioning the components, not by squeezing the final posts together. Measure a sample of panels or rails, because timber can vary and an oversized panel is hard to force between posts that have already set.

Transfer each ground mark beyond the hole, because the mark itself will disappear during excavation. A labelled peg set clear of the disturbed ground works well. Keep the offset from centre mark to post face explicit, otherwise one helper may centre the post on the mark while another treats the same mark as its edge.

Keep the line true

Recheck the line whenever the weather changes, an end post is knocked or spoil piles up beneath it. A long cord sags under its own weight, and wet line, strong wind or vegetation can move it enough to spoil a close visual check. Sight along the cord from one end at intervals. A kink usually reveals contact with a post, peg or clump of grass.

Place each intermediate post at its marked centre, brace it loosely, check plumb in both directions, then confirm the offset. Add concrete or compacted backfill in stages and recheck after each stage, because a spade, tamper or the mix can rotate the post. Check plumb, centre and string clearance again before the material firms. If you fit panels as you go, do not let their weight pull a fresh post off line, and follow the manufacturer's curing instructions. Temporary battens can hold spacing. They do not replace a plumb check.

For attaching and reading the cord, see how to use a string spirit level. A hanging vial adds weight and can create a low point. Use it only when you are checking height, remove it before judging the plan line, and do not expect a long unsupported cord to behave like a rigid beam.

Deal with slopes and level tops

Straightness in plan and level in height are different jobs. The fence can follow one straight boundary even when the garden rises. Decide whether post tops follow the contour, panels step, or the whole top stays level before you cut posts or set their final depth.

On gently undulating ground, post-and-rail fencing often follows the contours. Panel fencing is commonly stepped, because rigid panels cannot bend to a slope. How you do that depends on the system, the fall and the gap you will accept under the fence. A string that follows the slope can guide a visual top line, but it is not level.

A small line level only shows whether the ends of a short string are at equal height. It does not make the posts straight, and sag, wind and the vial's weight make a long height transfer unreliable. Where repeated height marks matter, compare the limits in string spirit level versus laser level. Keep a written height datum rather than copying each post from the one before it. For stepped panels, calculate each step and confirm that rails, gravel boards and caps still fit. Stop if the planned height would leave an excessive ground gap or bury timber that is not meant for ground contact.

Finish without creating a hazard

If the string crosses a path, drive or shared access, it is a trip hazard because it is thin and taut. Do not leave it across a public pavement or boundary access. Barrier the work area, give a safe route, or take the cord down when you cannot supervise it. High-visibility masonry line is easier to see than dark twine, but colour is not protection. Keep children and pets away from open holes, wet concrete and stretched lines, and store loose coils at once.

Before taking the string down, inspect from both ends. No post should touch the line, each offset should match, every post should still be plumb and the centres should suit the components. Photograph the line if later work will cover your marks, then remove stakes, cord and markers rather than leaving synthetic line in the soil.

A straightforward garden run with known boundaries and clear ground is manageable for many people. Bring in a competent fencing contractor where the boundary is disputed, services are uncertain, retaining pressure is involved, public access is affected or the posts are too heavy to handle safely.

Common questions

Do I set the end fence posts first?
Yes. Set the first and last posts as your sighting posts, check that they are secure and plumb, then stretch the string between equivalent reference points. Every intermediate post is aligned from that fixed line. If an end post moves while you work, the whole run loses its reference, so brace it and allow its concrete to firm sufficiently before relying on the string.
How far should the string sit from a fence post?
Use one deliberate offset throughout the run. Published methods range from about 2 mm clearance to a more generous 50 mm offset. The small gap gives a direct visual check, while 50 mm makes accidental contact less likely and is easy to verify with a spacer. Do not switch between offsets halfway along the fence.
How high should a fence string line be?
Put it where you can see and measure from it consistently. Jacksons Fencing describes a line about 750 mm above ground for post-and-rail work. That is useful guidance, not a universal height. For panels, choose a repeatable point that stays clear of rubble, grass and excavated soil, and mark the same point on both end posts.
Can a fence post touch the string?
No. A post pressing against the string deflects it, which moves the reference for every post farther along the run. Leave a visible gap or use a fixed spacer. Check the gap before the concrete sets, and look along the line from both ends rather than assuming that contact means correct alignment.
How do I space fence posts accurately?
Work from measured centres using a reliable tape, but base the distance on the actual panels, rails, posts and fixings you are installing. Do not assume every nominal panel is identical. Measure components first, account for brackets or gravel boards, mark all centres, and recheck the accumulated distance before digging the final holes.
Do I need a line level for fence posts?
Not for straightness. A taut string provides the straight horizontal reference when viewed from above. A line level only tells you whether the two ends of the string are at the same height. It can help with level post tops on a short, calm run, but sag and wind limit its accuracy over distance.
How do I set fence posts on a slope?
Decide whether the fence will follow the ground, step in panels or keep level tops before setting intermediate posts. Keep the plan alignment separate from the height decision: the string can still guide a straight boundary line while each post receives its own height mark. A rotating or cross-line laser may be more convenient for repeated height transfer.
What should I do if the string crosses a path?
Reroute access, barrier the area or take the line down whenever work pauses. A thin masonry line is difficult to see and can trip a child, visitor or worker. Never leave it stretched across a pavement, shared path or doorway. High-visibility cord helps, but it does not replace controlling access.
Peter F.
DIY & tools

Peter F. is the editor for DIY & tools at productscompared.co.uk. Comparisons in this category are checked against amazon.co.uk listings, review evidence and public UK sources.

Updated: October 2026

Related articles