How close to the fence can a shed be? Boundary rules in NSW, QLD, VIC and WA

Short answer
In NSW a garden shed built without approval must be at least 900 mm from every boundary (5 m in some rural zones). In Queensland a shed can go right up to a side or rear fence if it's no more than 4.5 m high, the total length of buildings within 1.5 m of that boundary is 9 m or less, and it's at least 1.5 m from a neighbour's habitable room window; otherwise the clearance is 1.5 m. In Victoria and WA a small permit-free shed can sit within 1 m of the fence only if it's no more than 2.4 m high.
Tucking the shed hard against the back fence feels like the obvious way to save lawn. Whether you can depends on your state, the shed’s height, and whether it needs approval in the first place.
Setbacks by state
The short answer: Queensland is the most generous about building close to the fence, and NSW is the strictest for sheds built without approval.
| State | How close a shed can be to a side or rear fence |
|---|---|
| NSW | Exempt shed: at least 900 mm (5 m in rural zones and zone R5). Closer needs approval |
| QLD | 1.5 m as standard. Closer, even on the boundary, if no more than 4.5 m high, total length within 1.5 m of the boundary is 9 m or less, and at least 1.5 m from a neighbour’s habitable room window |
| VIC | Permit-free shed: within 1 m only if no more than 2.4 m high (3 m elsewhere). A permitted shed can go on the boundary within limits |
| WA | Permit-free shed: within 1 m only if no more than 2.4 m high (3 m elsewhere) |
| SA, TAS, ACT, NT | Check with your council. We couldn’t confirm their setbacks from an official source |
Every state also limits sheds in front of the house, so plan for the back or side yard.
NSW: 900 mm for an exempt shed
In NSW a garden shed needs no approval only if it meets all the exempt development standards, and one of them is distance: at least 900 mm from each lot boundary, or 5 m in rural zones and zone R5. Armidale Regional Council’s summary of the rules adds that the shed can be up to 20 m² in most zones (50 m² in rural and R5 zones), no more than 3 m high, and in the rear yard.
If you want the shed closer than 900 mm, it’s no longer exempt. You’ll need a complying development certificate (available for garden sheds in some zones) or a development application. Your council or a private certifier will tell you which applies and what setback they’ll accept.
On bushfire-prone land, an exempt shed must be built of non-combustible materials. Connecting roof water to the stormwater system needs council approval under section 68 of the Local Government Act 1993.
Queensland: 1.5 m, or on the boundary with conditions
In Queensland the siting rules come from the Queensland Development Code (MP 1.1 for lots under 450 m², MP 1.2 for lots of 450 m² and over). The standard side and rear clearance is 1.5 m for a building up to 4.5 m high. A class 10a building such as a shed or garage can be closer, with no setback at all, if:
- it’s no more than 4.5 m high
- the total length of all buildings within 1.5 m of that boundary is no more than 9 m
- it’s at least 1.5 m from a window in a habitable room of the neighbour’s house
Rockhampton Regional Council’s summary of the code adds three practical points:
- A wall less than 750 mm from a boundary must be maintenance free, such as pre-finished steel sheeting or unpainted masonry, because you can’t get in to paint it.
- Anything closer than 300 mm to the boundary needs a survey of the block, so you don’t build over the line.
- Under the Building Code, a shed less than 900 mm from a side or rear boundary or a house may need to be fire rated.
Setbacks are measured to the outermost part of the shed, usually the gutter, not the wall. From the street, the usual setback is 6 m on lots of 450 m² or more and 3 to 4 m on smaller lots.
A Queensland shed only skips building approval if it’s 10 m² or less in plan area, no more than 2.4 m high (mean height 2.1 m), has no side longer than 5 m, and isn’t in a tropical cyclone area. Brisbane City Council lists boundary setbacks among the standards every shed must meet, approved or not.
Victoria: the 2.4 m rule within 1 m
In Victoria a shed needs no building permit only if it’s freestanding, 10 m² or less, no more than 3 m high, or no more than 2.4 m high within 1 m of another property, not masonry, and not further forward than existing buildings. You also can’t build over an easement or within 1 m of an authority asset without the service authority’s written consent.
Bigger sheds need a permit, and then the siting rules in the Building Regulations 2018 apply. Frankston City Council’s checklist says a shed on a side or rear boundary may be possible with:
- a 3.2 m maximum average wall height
- no more than 200 mm from the boundary, to fit the gutter
- a total length of all boundary walls of no more than 10 m plus a quarter of the boundary length beyond 10 m
- the shed at least 1 m clear of your own habitable room windows, and at least 900 mm from habitable buildings to avoid fire rating
If a boundary wall doesn’t meet these, the council can still consent to it, but the neighbours get a chance to comment first. Your building surveyor will confirm the setback for anything that isn’t on the boundary.
WA: 2.4 m within 1 m of the boundary
In WA a shed, garage or carport needs no building permit if it’s freestanding, 10 m² or less, no more than 2.4 m high within 1 m of the boundary (or 3 m high if it’s 1 m or more away), not masonry, and no closer to the street than the house. Anything else needs a building permit, and your council’s planning rules may set their own setbacks.
Gutters, roof water and the fence itself
Whatever your state, a few things catch people out:
- Measure to the gutter. In Queensland setbacks are measured to the outermost projection. Elsewhere, ask your council how it measures, and allow for the gutter if in doubt.
- Keep roof water on your side. Pipe it to your stormwater or a rainwater tank. Water spilling over the fence is a quick way to fall out with the neighbours.
- Don’t use the fence as a wall. A dividing fence is usually shared with your neighbour, so the shed should stand on its own frame and base.
- Leave room to build and maintain it. A shed 300 mm off the fence is very hard to assemble, paint or clear of leaves.
What you can do yourself, and when to call a builder or certifier
A kit shed within your state’s exempt limits is a fair weekend job for most owners: marking out the setbacks, laying the slab or base, building the frame, and fitting walls, roof and anchors to the kit’s engineering for your wind region.
Call a certifier, building surveyor or your council first when:
- you want the shed closer to the fence than the exempt setback
- it’s bigger or taller than the exempt limits
- it’s near a neighbour’s window, an easement or a sewer line
- it may need fire rating because it’s close to the boundary or your house
- you’re on bushfire-prone, flood or heritage land
For the shed size limits in each state, see how big a shed can you build without council approval.
Frequently asked questions
Can I build a shed on the boundary in QLD? Yes, if it’s no more than 4.5 m high, the total length of buildings within 1.5 m of that boundary stays at 9 m or less, and it’s at least 1.5 m from a habitable room window next door. Walls within 750 mm of the boundary must be maintenance free.
How close to the fence can a shed be in NSW? An exempt shed must be at least 900 mm from every boundary, or 5 m in rural zones and R5. To go closer, you need a complying development certificate or development application.
Do I need my neighbour’s permission to build a shed near the fence? Not for exempt development in NSW, though NSW Planning recommends telling them. In Victoria, a boundary wall that needs the council’s consent goes to the neighbours for comment. Talking to them first saves trouble everywhere.
Does the 900 mm include the gutter? Ask your council how it measures. In Queensland setbacks are measured to the outermost projection, which is usually the gutter, so measuring to the gutter is the safe choice.
How close to the fence can a shed be in Victoria? A permit-free shed (freestanding, 10 m² or less, not masonry) can be within 1 m of the boundary only if it’s no more than 2.4 m high, or 3 m high further away. With a permit, a shed can go on the boundary within limits, such as the 3.2 m maximum average wall height in Frankston’s checklist.
How close to the fence can a shed be in WA? A permit-free shed can be within 1 m of the boundary if it’s no more than 2.4 m high (3 m high if it’s 1 m or more away), 10 m² or less, freestanding and not masonry. Your council’s planning rules may set their own setbacks.
How close can a shed be to the house? Fire separation usually sets this. Rockhampton’s summary of the Queensland rules says a shed less than 900 mm from a side or rear boundary or a house may need to be fire rated, and Frankston’s checklist in Victoria says keep it at least 900 mm from habitable buildings to avoid fire rating. Your certifier or building surveyor will confirm.
Can I build my shed right against the fence? Only where your state allows it, such as Queensland with conditions or Victoria with a permit. Even then the shed needs its own frame and base, because a dividing fence is usually shared, and its roof water should be piped to your stormwater or a tank, not over the fence.
Do I need a survey to build a shed near the boundary? In Queensland, Rockhampton’s summary says anything closer than 300 mm to the boundary needs a survey of the block, so you don’t build over the line. An old fence isn’t always on the true boundary.
Sources
Every rule on this page is taken from these official sources. If a rule has changed, please tell us and we’ll fix it.
- Armidale Regional Council (NSW), Sheds, carports and studios
- NSW Planning, Garden sheds, cabanas and similar: rules for exempt development
- Queensland Legislation, Building Regulation 2021, schedule 1 (accepted building work)
- Brisbane City Council, Building a shed: approvals and requirements
- Rockhampton Regional Council (QLD), Siting requirements fact sheet
- Toowoomba Regional Council (QLD), Building near a boundary or infrastructure
- Hume City Council (VIC), Pergolas, carports, garages, verandahs and sheds
- Frankston City Council (VIC), Small prefabricated garden shed application checklist
- Alpine Shire Council (VIC), Regulation 80 report and consent application
- Town of Victoria Park (WA), Do I need a building permit?
Was this guide helpful?
Thanks. If something's missing or wrong, tell us.
This guide is general information, not legal or professional advice. Rules differ between states, councils and individual properties, and they change. Confirm with your state regulator or council before starting work, and if in doubt, get a licensed tradesperson.