A fence on a sloping block succeeds or fails in the planning, well before any post goes in. The decision that matters most is whether the line follows the ground (raked) or drops in level steps (stepped), and the second is how the posts, footings and gates are detailed so the result stays straight, drains and still opens. On a premium property you also want the top line to look deliberate from the street, which means the design has to start from the contours rather than from a standard panel size. That is how we approach it at Gatecon: we design and install tailored fencing and driveway gates in Melbourne, and slopes are where custom work earns its place.
TL;DR
- Rake the fence when the slope is gentle, step it when the slope is steep or when the infill (lattice, slats, panels) looks better with a level top.
- Posts stay vertical on a slope. Footing depth depends on the soil: the manufacturer figures run from 400 mm in rock to 900 mm in sand or loose fill.
- Leave at least 50 mm between the bottom rail and the ground, and keep soil and garden fill off posts and rails.
- A gate on a slope needs the swing path checked first, or the leaf will scrape the ground. Custom hinging and gate type solve this.
- Confirm the boundary by survey and check council rules before ordering anything.
Table of Contents
- Read the ground before you choose a style
- Raked or stepped: choosing the line
- Posts, footings and the ground they sit in
- Ground clearance, drainage and the gap under the fence
- Gates on a slope
- Rules, boundaries and approvals
- Perspective
- Talk to us about your sloping site
- FAQ
- Sources
Read the ground before you choose a style
Walk the line and note three things: how much the ground falls over each run, what the soil is, and how exposed the site is to wind. Steel fencing installation guidance asks for exactly these details (wind exposure, soil type and site slope) to be passed to whoever supplies the fence, so the design can be tailored to them. For an architect or builder that means the fence is part of the site brief, not an afterthought once the landscaping is done.
The same guidance sets out the first physical job: string lines at the top and bottom of the proposed fence, which show where the ground falls in consistent sections and help locate each post. A sloping block is rarely one slope. It usually has a steep drop near a retaining edge, a long gentle run, and a flat pad near the house. Each section can be treated differently, and mixing methods along one boundary is common and looks fine when the transitions land at posts or corners.
Boundaries come before design. The Western Australian Department of Housing and Works' landscape specification, in force from 1 July 2025, requires fence boundaries to be confirmed by survey and posts to be erected vertically, with heights following natural ground contours. It is a government works document, not a rule for your private block, but it reflects sound practice: a fence built a little off the line on a slope is far harder to correct than one on flat ground, because every error compounds with the fall.
Raked or stepped: choosing the line
Raked means the panels or rails tilt to follow the ground, so the top of the fence runs parallel to the slope. Stepped means each panel stays level and the fence drops in a series of steps, with a small triangular gap under each panel that needs filling or trimming.
Steel fence manufacturers' installation guidance generally favors raking on sloping ground. One national guide recommends raking for appearance and strength, and notes that sheets may need vertical slitting once the slope is steeper than 1 in 8. Another says raked runs can need longer rails and cut infill sheets. A third guide says its fences may be raked on slopes of 1 in 20; for steeper ground it advises stepping, or cutting the infill sheets, lattice and rails, and it warns that differing terrain can require different post lengths. The same guide observes that people often choose stepped layouts for looks when lattice is used.
Here is the practical verdict. On a gentle fall of around 1 in 20 or less, rake. The line is continuous, there are no gaps to fill, and the fence reads as one clean element. Past that, the choice depends on the infill. Horizontal slats raked look good because the lines run with the ground. Vertical slats or pickets can be raked too, since the verticals stay plumb while the top follows the slope, but a stepped layout gives a more architectural, crisp profile when the slope is steep. If you are weighing slat direction as well, our piece on horizontal versus vertical slats covers how each behaves on a rising top line.

Steeper still, a stepped design is the usual answer. Our guide to stepped fence methods on slopes over 15 degrees goes through how the steps are set out and how the gap under each panel is handled. For a boutique build where the fence is visible from the street, we would often pair a raked run along the gentle frontage with stepped sections where the block falls away, with posts positioned so that every step lands at a post rather than mid-panel.
What a stepped fence costs you in design time
Stepping looks simple on paper, but every step is a decision: how tall each drop is, whether the base is closed with a plinth, a kick-board or a retaining edge, and where the steps fall relative to gates and corners. That is why a stock fence kit tends to look improvised on a hillside, and why a drawn, fabricated-to-measure fence looks intended. With custom fabrication, panel widths and heights can be set out to the surveyed levels rather than forced into a standard module.
Posts, footings and the ground they sit in
Posts stay vertical whether the fence is raked or stepped. Installation guidance asks for posts to be set plumb and for increased post length or height where the ground or the raking demands it. On a slope, the downhill post of a panel is simply longer, because more of it sits above finished ground.
Depth depends on soil. One manufacturer's guide gives illustrative minimum hole depths of 400 mm in rock, 600 mm in clay or firm earth and 900 mm in sand or loose fill under its stated conditions, and says exposed terrain and other wind settings call for further guidance. Hillsides are often exposed, so treat those numbers as a floor. Another guide says footings must not go in uncompacted fill, which matters on cut-and-fill building pads where the top layer of the slope is not natural ground.
Abrupt changes in grade are where bracing matters. Government fencing specifications call for strainer assemblies at abrupt grade changes and bracing where the ground steps sharply. Both are roadworks and public-works documents, so they are not binding on a private fence, but the engineering logic carries over: a post at the corner of a steep change takes load from two directions.
If the fence sits on or near a retaining wall, the wall's condition is part of the fence's life. A wall that moves takes the fence with it, and preventing retaining wall failure starts with drainage behind the wall and sound footings. Raise it at design stage, before posts are set into or beside the wall.
Gate posts are the heaviest-loaded footings on the property. For depths and concrete sizes specific to gates, see our breakdown of gate footing requirements in Australia.
Ground clearance, drainage and the gap under the fence
The slope sends water through your fence line, and it carries soil and mulch with it. Most early failures on sloping blocks are caused by this and not by wind.
The guidance is consistent on a few details. Keep at least 50 mm between the bottom rail and the ground, and slope the tops of concrete footings so water falls away from the posts. Do not pile soil or garden fill against posts and rails, and give water a route through the fence, either holes in the rails or clearance at the rail ends, as set out in the steel fencing installation guide. A nominal 50 mm clearance also appears in another installation guide's panel arrangement.
On a stepped fence the triangular gap under each panel is the weak point visually and practically. Close it with a plinth or a retaining edge if you want a sealed base, for example to keep pets in or sand and mulch out, but build the drainage into that detail. A solid base across a slope acts as a small dam. Where the plinth runs along the contour, leave weep gaps at low points so water does not sit behind it.

Garden beds cause trouble too. When landscaping is finished after the fence, soil level tends to creep up against the bottom rail. Agree the final ground level with your landscaper before the fence goes in, so the 50 mm clearance holds once the garden is done. For a wider look at how slopes shed water on hard surfaces such as driveways, drainage slope principles for paved areas apply to the same thinking about where runoff ends up.
Gates on a slope
Gates are where uneven ground is least forgiving. A fence can be forgiving of a few centimeters, a gate can't. One installation guide tells installers to consider the slope so the gate does not strike the ground when opening or closing. A swing gate hinged on the uphill side of a driveway that rises toward the street will drag unless it is hung high, and hanging it high leaves a gap at the other end that defeats the point of a security gate.
The usual answers, in the order we would reach for them on a sloping driveway:
- Change the gate type. A sliding gate runs along the fence line and ignores the rise in front of it, as long as the track line is level. A swing gate can be set to open inward over a level landing, or hinged on a rising-hinge arrangement.
- Level the swing area. A government specification for roadworks asks for a nearly horizontal surface at the gate and its swing area. It is not a rule for a home, but the principle is practical: a small level pad of concrete or pavers in front of the gate solves most problems.
- Cut the bottom profile to match. A bespoke gate can be fabricated with a bottom edge that follows the driveway's crown or fall, so the gap stays even along its length.
Width interacts with all of this. The wider the leaf, the more the ground difference across it shows, so see our guide to driveway gate width for Australian homes before fixing the opening. Automation adds another layer, because motors, tracks and sensors all need a stable, level reference. We build automatic and electric gates with security and access control integrated, and the integration is planned alongside the slope rather than bolted on afterward. For accessibility requirements on gates with a gradient at the threshold, our summary of accessible gate design in Australia covers the standards.
A gate that meets a curved boundary or a corner on a slope may call for a different approach again, which is where curved fencing with custom panels comes in.
Rules, boundaries and approvals
Before ordering, confirm the boundary and what your council expects. Fence height limits, front-setback rules and approval triggers vary by council, and some treat a stepped fence differently from a raked one when height is measured. To show how local the rules get, the City of Perth's fencing local law sets a general 1,800 mm maximum unless the council approves otherwise and requires written Building Surveyor consent for a free-standing residential fence above 1,200 mm in the front setback, with some sightline and open-construction exceptions. That is a Western Australian example. Victorian councils write their own, so check yours, and your own title, before design is locked. Build the fence on the survey line, and where a retaining wall or neighbor's structure is involved, talk to the neighbor and your building surveyor early.
Architects and developers specifying slope fences and gates in plans will find our guides on specifying gates in architectural plans and permit checks for pivot gate design useful for getting levels, swing paths and approvals onto the drawings.
It also helps to think of slope work the way builders do on any hillside: the same planning logic that applies to building on sloping ground for a pergola, with levels taken first and the structure fitted to them, applies to a fence.
Perspective
On a sloping block, the fence is a piece of architecture. Every choice you make about the line, the steps, the post heights and the gate shows from the street, and a fence adapted from a flat-ground kit shows it the most.
At Gatecon we design and install luxury driveway gates and architectural fencing in Melbourne, and we start from the surveyed levels, not from a panel size. Our approach is bespoke design that complements the architecture of the building, with premium materials and artisan finishes, and automation and access control that disappear into the design instead of adding bulky hardware.
On uneven ground, that means the gate and the fence are drawn together: a sliding or swing gate chosen for the fall of the driveway, a raked frontage that flows into stepped sections where the land drops, and drainage and clearances worked out before fabrication. That is the difference between a fence that was fitted to the site and one that was forced onto it.
Rhys
Talk to us about your sloping site
If you are building or renovating a premium home, a boutique development or a commercial entry on uneven ground, we can design and install the gate and fencing as one package. Our Designer Fencing and Architectural Gates services cover residential, boutique commercial and development projects across Melbourne, from Toorak and Brighton to the eastern suburbs and the CBD.

Bring the survey, the site plan or just photos of the fall, and we will propose a layout that fits it. You can start from our Melbourne service areas page.
FAQ
Is a raked or stepped fence better on a slope?
Rake on gentle slopes, since the top line stays continuous and there are no gaps to fill. One national guide says its fences may be raked on slopes of 1 in 20 and recommends stepping or cutting infill beyond that. Steeper ground, or infill that looks best level, usually points to a stepped layout.
How deep should fence posts go on uneven ground?
It depends on the soil, not the slope alone. One guide's illustrative minimums are 400 mm in rock, 600 mm in clay and 900 mm in sand or loose fill, with more required in exposed settings. The downhill posts are also longer, because more of the post stands above the ground.
How much gap should there be under a fence on a slope?
At least 50 mm between the bottom rail and the ground, with soil and garden fill kept off the posts and rails, as the Western Australian landscape specification sets out for steel panel fencing. Plan for the final landscaped level, not the bare ground at installation.
Can I put a driveway gate on a sloping driveway?
Yes, with the right gate type and a planned swing path. A sliding gate avoids the rise in front of the opening, and a swing gate needs level ground or custom hinging so it clears the surface, as installation guidance on gates striking the ground warns. Automation should be planned with the slope from the start.
Sources
- Steel fencing installation guide, wind, soil, slope, raking, post depth and clearances
- Landscape Specification, Department of Housing and Works, effective 1 July 2025
- Fence and gate installation guide, non-cyclonic
- Fence selection and installation guide, August 2023
- Fences and Barriers, ACT Municipal Infrastructure Technical Specification, July 2019
- Technical Specification Section 707, Fencing
- City of Perth Fencing Local Law 2015
- Preventing retaining wall failure
- Drainage slope principles for paved areas
- Building on sloping ground
