Do you need a permit for a treehouse?
Often no. A small treehouse for children, with no electricity or water, needs no building permit in places such as Winnetka, Illinois, and Prince William County, Virginia, but zoning still limits its height and where it sits on the lot. A large, enclosed, wired treehouse, one built on posts or one used for sleeping can need a permit like a shed.
Published · Updated
Editorial lead: The YesPermit team
Not sure you need a permit? Check it yourself with the Treehouse Permit & Build Standards Handbook, a 22-page PDF you download right away.
Get the handbook · $29Full refund within 14 days, no reason needed. Refund policy
Secure payment by Stripe · instant download · invoice by e-mail
Key facts
- Winnetka, Illinois, goes further in writing: tree houses supported solely and entirely by one or more trees are not subject to building codes and do not require a building permit.[1]Village of Winnetka, Illinois, Playhouses and Treehouses
- The village still encourages a zoning certificate before construction starts.[1]Village of Winnetka, Illinois, Playhouses and Treehouses
- Federal Way also notes that any work in a critical area, such as wetlands, streams, landslide hazard areas and their buffers, is not exempt, and plenty of big old trees stand near a creek.[2]City of Federal Way, Washington, Residential permit exemptions
- Morgan Hill, California, exempts one-story detached accessory structures used as tool and storage sheds, playhouses and similar uses only up to 120 square feet, and sends you to its Planning Division for setbacks and height.[3]City of Morgan Hill, California, When is a Permit Required
- Fairfax County applies its unpermitted construction rules to properties bought and sold, regardless of when the construction was done.[4]Fairfax County, Virginia, Department of Code Compliance, Unpermitted Construction

Do you need a permit for a treehouse?
The building code does not have a "treehouse" chapter, so each city fits it into a box it already has. Which box decides everything:
| How the city sees it | What usually follows | Example |
|---|---|---|
| A child's treehouse, not for occupancy | No building permit, zoning limits still apply | Prince William County, Virginia[5]; Winnetka, Illinois[1] |
| Playground equipment | Exempt from a building permit under the IRC list | IRC R105.2, as published by Federal Way, Washington[2] |
| A playhouse or small accessory structure | Exempt below a size limit, permit above it | 200 sq ft under the IRC[2]; 120 sq ft in Morgan Hill, California[3] |
Start from the most generous answer and work down. Prince William County's building official answered the question directly in a written interpretation of the Virginia Residential Code: a construction permit is not required for a treehouse, defined as a structure built in the branches of a tree for children to play in, not intended for occupancy[5]. Winnetka, Illinois, goes further in writing: tree houses supported solely and entirely by one or more trees are not subject to building codes and do not require a building permit[1].
Then read the conditions. Winnetka's exemption comes with three of them: no water or electricity, a height limit, and no treehouse in a required front or side yard. The village still encourages a zoning certificate before construction starts[1].
The IRC exemptions that can cover a treehouse
In cities that use the International Residential Code (IRC), Section R105.2 lists the work that needs no building permit. Three items on the list are relevant to a treehouse, as published by Federal Way, Washington[2]:
- one-story detached accessory structures, provided the floor area does not exceed 200 square feet;
- swings and other playground equipment;
- decks not exceeding 200 square feet, no more than 30 inches above grade at any point, not attached to a dwelling, and not serving the required exit door.
That third item is the trap. A treehouse platform is usually far more than 30 inches above grade, so if your city reads it as a deck rather than as playground equipment, the deck exemption does not cover it. Federal Way also notes that any work in a critical area, such as wetlands, streams, landslide hazard areas and their buffers, is not exempt[2], and plenty of big old trees stand near a creek.
Local thresholds are often lower than the model code. Morgan Hill, California, exempts one-story detached accessory structures used as tool and storage sheds, playhouses and similar uses only up to 120 square feet, and sends you to its Planning Division for setbacks and height[3]. Fairfax County, Virginia, lists adding detached structures exceeding 256 square feet among the common projects that need a permit[4].
For the line each of 20 big US cities draws for small accessory structures, with a model site plan and drawing of a treehouse, see the Backyard Structures Permit Guide (PDF).
Treehouse or playhouse?
Winnetka draws the line that many families miss[1]:
- a tree house is supported solely and entirely by trees: no building permit;
- a playhouse is a play structure for children fully or partially supported by the ground and enclosed by walls and a roof: building permit required, a 7-foot height limit, and it counts toward floor area and lot coverage.
The photo at the top of this page shows a common design: a cabin resting on a trunk and on angled posts set in the ground. Under Winnetka's definitions, posts in the ground move a structure toward the playhouse side of the line[1]. If your design uses posts, ask your city which category it falls in before you build, not after.

Height and setbacks: zoning still applies
No permit does not mean no rules. Winnetka's zoning standards for treehouses are a clear example[1]:
| Rule | Winnetka, Illinois |
|---|---|
| Treehouse with a roof and/or walls | Up to 15 feet from adjacent grade to the highest point |
| Open platform with safety railings | Up to 35 feet from adjacent grade |
| Front and side yard setbacks | Not allowed |
| Rear yard setback | Allowed |
| Water or electricity | Not permitted |
Measure height the way the city does: Winnetka measures from adjacent grade to the highest point of the structure, typically the top of the roof[1]. On a sloping yard, the downhill side counts.
The written treehouse rules of 17 cities, villages and counties side by side, how each one measures height, what to do when the tree stands near the property line, and the guard and stair numbers for a raised platform are in our Treehouse Permit & Build Standards Handbook (PDF).
When a treehouse clearly needs a permit
The exemptions above stop applying, in at least one of the cities quoted, when:
- the treehouse has water or electricity (Winnetka does not allow either in an unpermitted treehouse)[1];
- it is supported by the ground, fully or partly, and enclosed, which makes it a playhouse in Winnetka[1];
- it is bigger than the local accessory structure limit, such as 120 square feet in Morgan Hill[3] or 200 square feet under the IRC[2];
- it is built in a critical area such as a stream buffer in Federal Way[2];
- it is intended for occupancy rather than children's play, which takes it outside Prince William County's definition[5].
What a treehouse permit application looks like
Where a permit is required, the file is close to a shed or deck permit: a site plan showing the treehouse on the lot with its distances to the property lines, a framing plan, an elevation showing the height, and the platform guards. If the treehouse is for children, the U.S. Consumer Product Safety Commission's home playground handbook is the reference to design to: guardrails or barriers around any platform more than 30 inches above the surface below, and openings either smaller than 3½ inches or larger than 9 inches so a child's head cannot be trapped[6].
Building without a permit
A treehouse is hard to hide: it sits high, in plain view of the street and the neighbors. And the structure outlives the childhood it was built for. Fairfax County applies its unpermitted construction rules to properties bought and sold, regardless of when the construction was done[4].
The treehouse permit kit: rules, drawings and the checklist in one PDF
If your city's answer is "it depends", the Treehouse Permit & Build Standards Handbook (PDF) puts what you need in one file:
- The written rules of 17 cities, villages, townships and counties, side by side: when a treehouse needs a permit, how tall it may be, how each one measures height and which setbacks apply.
- Sample drawings to adapt: a site plan, a framing plan, an attachment detail and an elevation, the four sheets a reviewer reads when a permit is required.
- The application step by step, with two letter templates, the reasons treehouse files come back, and the guard, barrier and stair numbers for a platform more than 30 inches up, from the International Residential Code and the CPSC playground handbook[6].
It does not size bolts or beams for your tree and does not judge the tree's health: the hardware maker, an engineer or a certified arborist does that.
Get the treehouse permit handbook
Get the answer for your address
For one city the answer is "no permit, stay out of the side yard". For the next it is "playhouse permit, 7 feet maximum". The All-in, until approved offer ($499) gives you the rule that applies to your address with the links, and, when a permit is needed, the site plan, drawings, forms, a review before you file and our follow-up until the city approves it.
Common questions
Does a treehouse need a permit?
It depends on the city and the design. Winnetka, Illinois, and Prince William County, Virginia, do not require a building permit for a treehouse used by children, but Winnetka still caps its height and keeps it out of front and side setbacks. Larger, enclosed or wired treehouses are treated as accessory structures in many places.
How tall can a treehouse be?
There is no national limit; zoning sets it. In Winnetka, Illinois, a treehouse with a roof or walls may be up to 15 feet from adjacent grade to its highest point, and an open platform with railings up to 35 feet.
Can a treehouse have electricity?
Not in every city without a permit. Winnetka, Illinois, does not allow water or electricity in a treehouse because treehouses there are not subject to building code compliance. Adding wiring generally brings an electrical permit and inspection.
Do treehouse building codes and permits vary by area?
Yes, a lot. Prince William County, Virginia, requires no construction permit for a children's treehouse not intended for occupancy; Winnetka, Illinois, exempts a tree house supported only by trees but requires a permit for a ground-supported playhouse; Morgan Hill, California, exempts small playhouses only up to 120 square feet.
Is a treehouse a playhouse under the building code?
Not always. Winnetka, Illinois, defines a treehouse as supported solely and entirely by one or more trees, and a playhouse as supported fully or partially by the ground; the playhouse needs a building permit, the treehouse does not. A treehouse on posts can fall on the playhouse side.
Rather hire a contractor to build it?Tell us about the job: we pass your request to partner treehouse contractors in your area. No cost to ask, no obligation to hire.
Sources
- Village of Winnetka, Illinois, Playhouses and Treehouses. Checked October 13, 2026.
- City of Federal Way, Washington, Residential permit exemptions (International Residential Code, Section R105.2). Checked October 13, 2026.
- City of Morgan Hill, California, When is a Permit Required. Checked October 13, 2026.
- Fairfax County, Virginia, Department of Code Compliance, Unpermitted Construction (September 2024). Checked October 13, 2026.
- Prince William County, Virginia, Building Official Interpretation 2021-01 (treehouse, pergola, fire pit, outdoor fireplace, gazebo). Checked October 13, 2026.
- U.S. Consumer Product Safety Commission, Outdoor Home Playground Safety Handbook (Publication 324). Checked October 13, 2026.