StateDataIndex

State Guide · Verified 2026

Fence Installation Permits in Montana

Set by local rules in Montana

Fences are governed mainly by local zoning, not a statewide building permit. Cities set height limits (commonly 3-4 ft in front yards and 6 ft in back and side yards), setbacks, and corner sight-line rules, and many require a zoning permit for any fence. Most jurisdictions exempt fences up to 7 ft from a building permit (IRC R105.2) and require one above that. Replacing a fence at the same height, material, and location usually needs no permit; a fence used as a pool barrier always does.

The Building Code in Montana

Montana statewide building code (2018 IRC-based), Building Codes Program — with a residential exemption from state permits

The Building Codes Program, within the Dept. of Labor & Industry, adopts a uniform statewide code and directly enforces it in any city, county, or town that has not established its own certified local program. But Montana state law separately exempts residential buildings under five dwelling units, along with private garages and storage buildings, from the state building permit requirement specifically. Since virtually every fence sits on this kind of exempt residential property, the practical result is that fence permitting depends almost entirely on whether the local jurisdiction runs its own certified program.

Quick Facts

State residential exemption
Homes under 5 units, garages, and storage buildings exempt from state building permits
Local certified programs
Cities/counties can adopt and enforce their own codes; where none exists, no state permit fills the gap for residential work
Missoula
All fences require a fence permit regardless of height
Billings
Planning division permit may apply even for fences between 4-6 ft
Wildland-Urban Interface (WUI)
Fire-resistant material and defensible-space rules can affect fences in these zones
Replacement rule
Most townships require a new permit even for a like-for-like fence replacement over 50% of the existing fence

A state code that mostly does not reach fences directly

Montana's exemption of single-family homes, private garages, and storage buildings from the state building permit requirement is genuinely unusual. Since a residential fence sits on exactly this kind of exempt property, the state Building Codes Program is not the practical authority most homeowners will deal with; the real permitting question shifts almost entirely to whichever city or county chooses to run its own certified program.

Missoula fills the gap completely

Missoula requires a fence permit for every fence regardless of height, an explicit local rule that closes the gap the state exemption leaves open. Retaining walls over 4 feet and fences or flag poles over 7 feet trigger additional review under the city's own code.

Billings adds an intermediate tier

Billings may require a planning division permit for fences between 4 and 6 feet, a lower threshold than the "over 6-7 feet" pattern common in most other Montana jurisdictions and most other states generally.

Wildfire exposure adds a real material constraint

Properties within a Wildland-Urban Interface zone, where developed land meets undeveloped wildland, can face requirements for fire-resistant materials, ember-resistant vents, and defensible space that extend to fences, decks, sheds, and garages alike. Homeowners should check with their local fire authority to confirm whether a specific property falls within a WUI zone.

Replacing an existing fence is not automatically exempt

In many Montana townships, replacing a fence with similar material in the same location still requires a new permit, particularly if the replacement covers more than 50% of the existing fence, a rule that catches homeowners who assume a like-for-like swap needs no paperwork.

What people get wrong

The most common mistake is assuming Montana's statewide building code means fences are covered by it the way they are in most other states. The state exemption for single-family residential property means the real answer almost always comes from the local jurisdiction, not the state code itself.

Counties With Their Own Rules

These Montana counties have verified, county-specific fence installation rules that differ from the state baseline:

Building It Yourself? Here's What You'll Need

Popular tools and materials homeowners use for a fence installation project:

As an Amazon Associate, we earn from qualifying purchases.

Official Sources

Rules change and cities within a county may differ. This guide is general information, not legal advice — always confirm with your local building department. Reviewed by the StateDataIndex Editorial Team · Updated September 2026.