
Fence Height and Permit Rules in Missoula and the Bitterroot
Reviewed by Justin Johnson, ISA Certified Arborist (RM-8889A)
Fence rules in western Montana depend on which side of a city limit you are on. The City of Missoula requires a permit for nearly every fence and caps heights by yard. Hamilton has its own code and permit. Missoula County zoning sets fence standards in some situations, and most of rural Ravalli County has no zoning at all unless a citizen-initiated district covers the parcel. This guide summarizes what each official code said when we checked it on 2 November 2026. Codes change, so confirm with the office named before you build, and check your HOA covenants as well.
Do you need a permit to build a fence in Missoula?
Inside the City of Missoula, yes. The city's fence FAQ says a fence permit is required for any new fence, and for repairing or replacing 25 feet or more of an existing fence. Development Services administers the fence rules, which now sit in Title 22, Article 6.4 of the Missoula Unified Development Code. Applications go through the city's online permit portal with a site plan, and the fee is paid when you apply.
The FAQ also says that fence work done without an approved permit can bring an investigation fee and a fine. The permit is not a formality either: by applying, the owner accepts responsibility for keeping the fence on their own property, maintaining it, and the liability for it, under Division 6.4.01 of the code.
How tall can a fence be in Missoula?
Under Section 6.4.03-B, front yard fences in residential areas have a maximum height of 4 feet and rear yard fences a maximum of 6 feet. The city's FAQ lists 4 feet for front and side yard fences. Front yard height is measured from the ground next to the fence or from the adjacent sidewalk grade to the top of the fence and posts; rear yard height is measured from the ground next to the fence.
The code decides front and back by the front door, not the street. From the front door forward to the street or front property line is the front yard; from the front door back to the alley or rear line is the back yard. Where a house sits farther back than its neighbors, a front yard fence may be built at the average front yard depth of the parcels on that block face. Fences over 7 feet need a city building permit and engineering in addition to the fence permit, and the City Engineer can approve height exceptions in unusual circumstances.
What other limits apply inside Missoula city limits?
Several, and they are where projects get redesigned. No residential fence may contain broken glass, barbed wire or razor wire, and fences next to a public sidewalk may not have sharp points or protrusions. A fence built on or right behind a retaining wall is measured from the grade of the retained ground, so the wall does not buy extra height. No fence may obstruct sight visibility at corners and driveways under Missoula Municipal Code 12.28.
Placement rules matter too. Every part of the fence, including posts and footings, must be inside the property line. Where sidewalks exist, fences must be at least 1 foot from the back of the sidewalk, and where none exist, at least 2 feet behind where the City Engineer expects a future sidewalk. Fences in the floodplain need floodplain review first, nothing may be built in a levee, and fences in easements can be removed at any time without notice. A fence partly in the public right-of-way needs a separate encroachment permit with its own design limits.
Can you build a deer fence or an electric fence in Missoula?
A deer fence, within limits. Section 6.4.03-B allows wildlife fences up to 8 feet to keep deer or elk out of residential gardens, in the rear yard only, enclosing the minimum area needed to protect the planted area, with no more than 10 percent opacity, woven wire or high-tensile wire or mesh, gaps no larger than 18 inches between horizontal strands, no barbed wire, and a high-visibility top rail. The FAQ is explicit that this is for garden planting areas, not whole yards. Our guide to deer and elk fencing covers design.
Electric fencing is a narrower case. The FAQ says electric fences are not permitted in residential areas. The code does allow the City Engineer to approve electric fences to deter bears from things like beehives, fruit trees, gardens, coops and garbage, inside the city's Bear Buffer Zone or where a bear incident is documented, enclosing only what needs protecting and not along streets or property lines. A hedge is the other route: the FAQ says a living fence needs no fence permit and has no 4 or 6 foot limit.
What are the fence rules in Missoula County outside the city?
The Missoula County Zoning Regulations, effective in 2022 with later updates, cover zoned parts of the county outside city limits. Chapter 6 sets fence and wall standards that apply to fences installed as required screening or fences subject to a building permit. For those, Table 11 caps residential and mixed-use districts at 4 feet in the front or street-side setback and 6 feet in side and rear setbacks. Open land and agricultural districts allow 8 feet for deer or elk garden fences with no gaps over 18 inches, no barbed wire and a visible top rail, and allow barbed wire otherwise.
The county regulations also list allowed fence materials (wood, masonry, wrought iron or decorative metal, composite, PVC vinyl and others the Zoning Officer approves), ban discarded materials such as tires and car doors, and limit unbroken fence planes to 100 feet. Chapter 4 lets fences project into required setbacks but keeps fences and plantings from blocking visibility between 2.5 and 10 feet high in sight triangles, including a 20 by 20 foot triangle where a driveway meets a street. Because not every county fence falls under Table 11, ask the county's Planning, Development and Sustainability office what applies to your parcel.
What are the fence rules in Hamilton?
Hamilton requires a fence permit for all fence construction within city boundaries, under Hamilton Municipal Code 17.20.040, which the city prints on its fence permit application. On the front property line, sight-obstructing fences may not exceed 4 feet and non-sight-obstructing fences 6 feet. Along the side line, sight-obstructing fences are limited to 4 feet for the first 10 feet back from the front property line, and non-sight-obstructing fences to 6 feet. On the rear line, fences may not exceed 6 feet.
Sight-obstructing means the fence blocks 25 percent or more of clear visibility through it, so a solid privacy fence is sight-obstructing and an open picket or wire fence usually is not. Fences on a front or rear property line must be set back 6 inches from it, fences over 6 feet need a variance from the Zoning Board of Adjustment, fences in rights-of-way, streets and alleys are prohibited, and the owner must provide proof of property boundaries. The application asks for a site plan showing boundaries, easements and the fence height and type, and says review takes ten working days.
Does rural Ravalli County regulate fences?
Ravalli County's zoning is done through citizen-initiated zoning districts, which landowners create by petition under Montana's county zoning law. The county's zoning page lists the recorded districts by name and says a petition needs signatures from at least 60 percent of the freeholders and a district of at least 40 acres. If your land is inside one, its regulations may say something about fences. If it is not, the fence rules that matter are usually your covenants, any easements on the plat, and state fence law; see Montana fence law.
Towns are separate. Stevensville is an incorporated town with its own code, so call the town before building inside its limits. Florence, Corvallis and Victor residents should check whether they are inside an incorporated limit, a citizen-initiated district, or neither. Subdivision covenants often say more about fences than any government does; our guide to HOA landscape and fence approval covers that process.
What should you check before you build?
Use this order. First, confirm the jurisdiction: city, county zoning district, or neither. Second, read your plat and covenants for easements and fence rules. Third, find the property line; Missoula and Hamilton both put the burden on the owner, and our guide to fences and property lines explains surveys. Fourth, pick a height and style that fits the rule for each side of the yard, remembering that solid and open fences are treated differently in Hamilton. Fifth, apply for any permit, and call 811 for utility locates before anyone digs.
If the fence is for a dog or for wildlife, the height limits shape the design; see fencing a yard for dogs and wildlife-friendly fencing. If you are weighing materials, see wood, vinyl, metal or composite fencing.
How HJ handles permits and rules
We build fences across Missoula and Ravalli counties and design every job around the rules at that address. We will flag height, setback and visibility issues before posts go in, and we can help you put together the site plan details a permit asks for. Boundary questions go to a licensed land surveyor and legal questions to an attorney. See our custom fencing page for the fence types we install, and the rest of our Montana Landscaping, Lawn & Irrigation Guide for related projects.
Call HJ Property Care & Tree Service at (406) 215-7319 or request a free fence estimate and we will walk the line with you.
Need help?
HJ Property Care & Tree Service is locally owned and ISA-certified. Call for a free estimate.
This article is part of the Montana Landscaping, Lawn & Irrigation Guide, our complete guide for western Montana property owners.
Explore our custom fencing.
Sources
We cite primary sources: Montana State University Extension, the City of Missoula, and the ISA, so you can verify anything here yourself.
- Fence Permit Information (Development Services) (City of Missoula). Last checked November 2, 2026.
- Fence FAQs (City of Missoula). Last checked November 2, 2026.
- Missoula Unified Development Code, Title 22 Article 6.4 Fences (City of Missoula). Last checked November 2, 2026.
- Zoning Regulations (Development Review) (Missoula County). Last checked November 2, 2026.
- Missoula County Zoning Regulations, Chapter 6 Site Design Standards (fence and wall standards, Table 11) (Missoula County). Last checked November 2, 2026.
- Missoula County Zoning Regulations, Chapter 4 General Regulations (setback projections, sight triangles) (Missoula County). Last checked November 2, 2026.
- Fence Permit Application, with Hamilton Municipal Code 17.20.040 Fences (City of Hamilton, MT Planning Department). Last checked November 2, 2026.
- Zoning (Citizen-Initiated Zoning Districts) (Ravalli County). Last checked November 2, 2026.
Ready to transform your outdoor space?
Get a free, no-obligation estimate within 48 hours. Locally owned and ISA-certified.
