The Short Answer
For a treehouse, good railings are:
- At least about 1 m (39 in) high, measured from the deck. Higher is better for children and high platforms. Building rules for homes use 900 mm to 1,100 mm in the UK and at least 36 in in much of the US as benchmarks.
- Closely spaced, so a 100 mm (4 in) sphere can’t pass through any gap, including the gap at the bottom
- Hard to climb: vertical balusters rather than horizontal rails
- Strong: posts bolted securely into the platform frame, not just screwed to the decking
The details follow.
Do Treehouse Railings Have to Meet Building Rules?
Often not legally. Many children’s treehouses in private gardens fall outside building regulations. But the rules for guarding balconies and landings in homes are the best available benchmarks for keeping people from falling, so it makes sense to meet or exceed them.
If your treehouse is used for sleeping, as a holiday let or as part of a building that needs approval, the guarding may well have to comply. Check with your local building control body or permit office.
How High Should Treehouse Railings Be?
Benchmarks from building rules:
- England (Approved Document K): for dwellings, guarding is generally expected to be at least 900 mm high on internal stairs and landings, and at least 1,100 mm on external balconies and roof edges
- US (International Residential Code): guards are generally required where a walking surface is more than 30 in above the ground below, with a minimum height of 36 in in most residential situations (local codes may differ)
For a treehouse, the external balcony figure of around 1.1 m (about 43 in) is a sensible target, especially for children and higher platforms. Children grow, lean, sit on rails and climb, and a taller railing gives more margin.
Measure height from the deck surface. If there’s a bench or anything else a child could stand on next to the railing, measure from the top of that instead, or move the bench away from the edge.
Baluster Spacing and Gaps
The widely used rule in both UK and US guidance is that a 100 mm (4 in) sphere shouldn’t be able to pass through any opening in the guarding. That’s meant to stop young children slipping through or getting their heads stuck.
Apply it to:
- The gaps between balusters
- The gap between the deck and the bottom rail. This is easily forgotten
- Gaps at posts, corners and where railings meet the trunk, walls or the top of a ladder or stair
Remember that timber shrinks and moves. Set the spacing a little tighter than 100 mm so it stays under the limit.
Make Railings Hard to Climb
Children climb anything with footholds. To reduce the risk:
- Use vertical balusters rather than horizontal rails, which work like a ladder
- Avoid horizontal infill such as horizontal cable or wide horizontal boards with gaps
- Keep benches, planters and storage boxes away from the railing
- Avoid decorative cut-outs that give toeholds
UK guidance for homes also says guarding where children may be present shouldn’t be easily climbable, which is a good principle for treehouses.
Fixing Railing Posts Securely
A railing is only as strong as its posts. Weak posts are a common failure.
- Bolt posts to the platform frame (rim joists or beams) with coach bolts through the timber, not just screws into the decking
- Add blocking inside the frame behind each post so it can’t twist
- Space posts closely enough that the top rail doesn’t flex. Many builders space them roughly 1–1.5 m apart
- Use a solid top rail that people can lean on and hold
- Treat or protect post tops so water doesn’t soak into the end grain
For framing details, see how to build a treehouse platform step by step.
Railing Materials Compared
| Material | Pros | Cons |
|---|---|---|
| Timber balusters | Classic look, easy to build, easy to space accurately | Needs maintenance; check for splinters |
| Welded wire or steel mesh panels | Strong, see-through, hard to climb if the mesh is fine | Looks more industrial; edges need capping |
| Polycarbonate panels | Clear views, no climbing holds, blocks wind | Can scratch; must be fixed securely |
| Rustic branches | Natural look that suits a treehouse | Irregular gaps; harder to meet spacing; can rot |
| Rope or cargo netting | Fun look | Climbable, can stretch and sag, possible entrapment. Not recommended as the main guarding |
| Horizontal cable | Modern, open | Climbable like a ladder. Not recommended for children |
A popular approach is a timber frame with vertical timber balusters, or a timber frame with fine mesh infill. For timber choices, see the best timber for a treehouse.
Gates, Openings and Access Points
The top of the ladder or stair is the most common spot for falls.
- Fit a gate at the access opening if young children use the treehouse. Make it open inwards onto the platform, and latch it securely
- Add grab handles either side of the opening, so people have something to hold as they step on or off
- Keep openings narrow so there’s no wide gap to fall through
- Avoid floor trapdoors that could be left open
- Make sure the stair or ladder handrail meets the platform railing without a gap
For stairs, see plans for building a spiral staircase around a tree.
Railings Around the Trunk
Where the trunk passes through the platform, there’s an opening for growth and movement. If the gap is small, it may not need guarding. If it’s large enough for a child’s foot or body to go through, add a low guard or close the gap with a flexible or removable board you can adjust as the tree grows. Never fix railings rigidly to the tree, especially a tree that moves independently of the platform. See building a treehouse between two trees: allowing for movement.
Checking Your Railings
- Push firmly on every post and section of rail. Nothing should move noticeably
- Check gaps with a 100 mm ball or block
- Inspect at least once a year and after storms for rot, loose fixings and splinters
- Re-check after alterations, such as adding a slide, swing exit or new access
The right railing height also depends on how high the platform is. See how high should a treehouse be?