Fence Permit Requirements in Montana

Quick answer

Fence permit rules in Montana vary dramatically by city. Missoula requires a fence permit for every new fence and even for repairs or replacements of 25 feet or more of an existing fence. Billings requires a planning permit for fences between 4 and 6 feet and a building permit for fences at or above 8 feet. Most cities limit front-yard fences to 4 feet and side/rear fences to 6 feet. Check with your city before building.

Montana at a glance

Building code adopted

State-adopted IRC/IBC (enforced locally; the State Building Code Bureau oversees state-owned buildings)

State authority

Montana Department of Labor and Industry — Building Codes Bureau

Common permit threshold

Varies significantly — Missoula requires a fence permit for all new fences; Billings requires permits for fences 8 feet and over plus planning permits for fences 4–6 feet

Did you know?

Montana is an open-range state — if you live near unfenced rangeland, it's your responsibility to fence livestock out, not the rancher's responsibility to fence them in. This centuries-old law still affects residential property owners in rural subdivisions across the state.

Montana's Building Code Is State-Level, But Fence Rules Are Local

Montana has a state building code administered by the Department of Labor and Industry's Building Codes Bureau. The state has adopted the International Residential Code and International Building Code, but enforcement of building codes for non-state-owned buildings happens at the city and county level. Not every county in Montana even requires building permits — some rural counties have minimal permitting infrastructure.

For fences, the practical result is a wide range of approaches. Missoula has one of the most detailed fence ordinances in the western United States, requiring a permit for every new fence. Billings uses a tiered system. Smaller cities and rural counties may have no fence-specific rules beyond general building code thresholds.

This makes Montana one of the states where checking with your specific city or county is most critical. For a broader look at how fence permit rules work across the country, see our national guide to fence permits.

The Open Range Factor

Before diving into city-by-city permit rules, there's a legal reality that makes Montana different from most states: Montana is an open-range state.

Under MCA Title 81, Chapter 4, livestock — specifically cattle — have the right to roam on unfenced land. The legal principle is "fence out," not "fence in." If your property borders open range, it's your responsibility to build a fence to keep cattle off your land. The rancher has no legal obligation to contain them.

This primarily affects homeowners in rural subdivisions adjacent to agricultural land — a surprisingly common situation in Montana, where residential development has expanded into areas that were recently ranch and farmland. If you bought a home in a subdivision outside city limits near working ranch land, you may need to fence your property to prevent livestock from wandering through your yard.

Incorporated cities and towns are classified as closed range, so this rule doesn't apply within city limits. Counties can also establish "herd districts" in unincorporated areas that function as closed range. If you're unsure whether your property is in open or closed range, contact the Montana Department of Livestock.

Montana's open-range law applies specifically to cattle. Bison, sheep, and other livestock must be fenced in by their owners regardless of the range classification.

Height Limits in Montana Cities

Across Montana's incorporated cities, the height framework is consistent with national patterns — but the details vary more than in most states.

Front yards are generally limited to 4 feet in residential zones. Missoula's ordinance defines front-yard fences as barriers "intended to contain people and pets" and "not meant for privacy or to restrict vision." Most cities require front-yard fences to be open in design.

Side and rear yards follow a 6-foot maximum in most cities. Billings caps residential fences at 6 feet. Missoula defines rear-yard fences as privacy fences "with height limitations." Bozeman, Helena, and Great Falls follow the same standard.

Commercial and industrial zones allow taller fencing. Missoula permits up to 8 feet in commercial, industrial, and agricultural areas. Billings follows a similar framework.

How Cities Handle Permits

Missoula: Permits for Everything

Missoula has the most comprehensive fence ordinance in the state. Under Missoula Municipal Code 12.31 (Ordinance 3577), a fence permit is required for:

This applies to both front and rear fences, residential and commercial. One permit is required per property, and all work must be completed within 180 days of the permit being issued.

The permit application requires the property owner to assume responsibility for installing the fence entirely on their own property — no portion of the fence, including posts and footings, can extend beyond the property line. If the property line location is unclear, Missoula recommends a retracement survey by a Montana-licensed professional land surveyor before construction.

Missoula's ordinance is also specific about prohibited materials in residential areas. No residential fence can be constructed of or contain barbed wire, razor wire, or materials that could cause injury. Electric fences are prohibited along property lines, streets, alleys, sidewalks, and public rights-of-way. A narrow exception exists for bear-deterrent electric fencing in the city's designated Bear Buffer Zone — this requires approval from the Development Services Director and must enclose the minimum area necessary.

Missoula takes enforcement seriously. Building a fence without a permit can result in an investigation fee equal to the permit fee plus a fine of up to $500.

Billings: A Tiered Approach

Billings uses a two-tier system. Fences between 4 and 6 feet require a planning permit from the City-County Planning Division. Fences 8 feet and over require a building permit from the Building Division. The planning division reviews fence plans for zoning compliance — height, setback, materials, and visibility at intersections.

Billings's system means that even a standard 6-foot privacy fence requires a planning permit. The process involves submitting a site plan showing the fence location relative to property lines and structures. Contact the Planning Division at (406) 657-8247.

Bozeman: Fast-Growing and HOA-Heavy

Bozeman follows the standard 4-foot front / 6-foot side-rear framework, with permits required for fences exceeding standard height limits. What distinguishes Bozeman is the prevalence of planned-unit developments (PUDs) and HOA-governed communities in the rapidly growing suburbs. Many Bozeman-area subdivisions have covenants that dictate fence materials, colors, and placement more restrictively than city code.

Bozeman's building department reviews fence plans for zoning compliance, and properties in historic districts or overlay zones may face additional design review.

Helena and Great Falls

Helena and Great Falls both follow the standard height framework and don't require permits for standard residential fences under 6 feet in most zones. Both cities enforce zoning restrictions on fence placement, visibility triangles at intersections, and material standards. Helena's proximity to the state capital and its mix of historic neighborhoods and newer developments means fence rules can vary by district.

Partition Fences and Neighbor Cost-Sharing

Montana has a partition fence law with real teeth. Under MCA Section 70-16-207, if you occupy land adjoining someone else's existing fence and you connect your fence to it, you are legally required to share the cost. The existing fence owner can give you a 3-month notice demanding you pay your equal share of the fence's current value. If you refuse, they can sue for the costs plus damages.

The cost-sharing obligation also applies to maintenance. Under Section 70-16-209, if a neighbor neglects to repair their portion of a partition fence, the adjoining owner can give 60 days' written notice demanding repairs. If the neighbor still doesn't act, the complaining owner can make the repairs and recover the costs through the courts.

These provisions apply to both rural and residential properties. If you share a boundary fence with a neighbor, understand that Montana law treats it as a joint responsibility — the costs and maintenance duties are shared.

Wildlife-Friendly Fencing

Montana is one of the few states where wildlife-friendly fencing is an actual regulatory requirement in certain areas — not just a recommendation.

Missoula County's zoning regulations require wildlife-friendly fencing in riparian resource protection areas — zones near streams, rivers, and wetlands where wildlife corridors are designated. The standards are specific:

These rules are designed to allow deer, elk, and other wildlife to safely cross over or under fences. A standard 6-foot privacy fence in a riparian buffer zone would not comply.

Even where wildlife-friendly fencing isn't legally required, Montana Fish, Wildlife & Parks publishes a comprehensive guide for landowners on building fences that don't harm wildlife. Given Montana's large wildlife populations, these guidelines are widely followed — especially by rural and exurban homeowners who value living alongside wildlife.

Pool Fence Requirements

Montana follows the state building code for pool barriers. The standard requirements apply:

Pool barriers always require a building permit regardless of the fence height or the city's general fence permit threshold.

Material Restrictions

Montana cities share common restrictions on fence materials in residential zones:

Barbed wire is prohibited in residential areas in Missoula, Billings, and most other incorporated cities. Agricultural properties outside city limits are generally exempt.

Electric fences are prohibited on residential property lines in most cities. Missoula makes an exception only for bear-deterrent fencing in designated buffer zones with special approval.

Razor wire and materials designed to cause injury are prohibited in residential zones statewide.

Missoula's ordinance goes further: no residential fence adjacent to a public sidewalk can be constructed of materials that could cause injury to pedestrians. Encroaching fences in the public right-of-way face additional material restrictions — no stone, rock, masonry, pointed metal, cable, or chain.

In general, the accepted residential fence materials in Montana are wood, vinyl, chain link, wrought iron, aluminum, and composite materials.

Property Lines and Setbacks

Most Montana cities require fences to be installed entirely within the property owner's property lines. Missoula's ordinance is explicit on this point — no post, footing, or any other component can extend beyond the boundary. If the property line location is unknown, a survey by a Montana-licensed professional land surveyor is recommended.

Corner lots face visibility restrictions in every Montana city. Fences near intersections must stay low enough to maintain driver sight lines — typically 2.5–3 feet within the sight triangle. Missoula provides a specific diagram (Figure 12.31.070-1) defining the visibility requirements.

For an overview of all building permit requirements in Montana — including decks, sheds, pools, and more — see our complete Montana building permit guide.

HOA Rules in Montana's Growth Areas

Montana's population growth has been concentrated in a few cities — Bozeman, Missoula, Kalispell, Billings, and Helena — where new subdivisions often include homeowners associations. HOA fence restrictions in these communities typically include limits on materials (cedar or composite only, no chain link), required colors, maximum heights below city code, and mandatory architectural review committee approval.

Montana doesn't have a state statute that prevents HOAs from banning fences outright. If your CC&Rs prohibit fencing, your legal options are limited. Get HOA approval in writing before building.

Consequences of Building Without a Permit

Enforcement varies by city, but Missoula's approach is representative of the stricter end:

Billings enforces fence violations on a complaint basis — code enforcement investigates when someone files a report. Violations can result in fines and removal orders.

Given that Missoula's fence permit fees are modest and the penalty for skipping the permit is steep, there's no financial reason to build without one.

If you're also planning a deck or retaining wall alongside your fence, each project has its own permit requirements. Montana's retaining walls over 4 feet require a building permit and engineering review in most cities.

City Permit threshold Typical fee Review time
Billings Varies Varies Varies
Missoula Varies Varies Varies
Great Falls Varies Varies Varies
Bozeman Varies Varies Varies
Helena Varies Varies Varies

City names link to full city-specific guides.

Fence permits in neighboring states:

Ready to build your fence?

Professional fence plans that meet Montana building code requirements. Permit-ready drawings you can submit with your application.

Get Fence Plans

Frequently asked questions

What does Montana's open range law mean for my residential fence?

Montana is an open-range state, which means livestock — specifically cattle — have the right to roam on unfenced land. If your residential property borders open range, it's your responsibility to build a fence to keep cattle out. The rancher has no obligation to fence them in. This primarily affects homeowners in rural subdivisions near agricultural land. Incorporated cities and towns are classified as closed range, so this rule doesn't apply within city limits.

Does Missoula really require a permit for every fence?

Yes. Under Missoula Municipal Code 12.31, a fence permit is required for any new fence construction and for any replacement, reconstruction, or repair involving 25 feet or more of an existing fence. The permit must be obtained before construction begins. One permit is required per property. Barbed wire, electric fences, and certain hazardous materials are prohibited in residential areas. The work must be completed within 180 days of the permit being issued.

Can my neighbor require me to pay for a shared fence in Montana?

Under certain conditions, yes. Montana Code Annotated Section 70-16-207 requires an occupant of land adjoining an existing fence to share the cost if they connect their fence to it. After connecting, you have 3 months to pay your share of the existing fence's value. If you refuse, your neighbor can sue for costs and damages. If a neighbor neglects to maintain their portion of a partition fence, you can give them 60 days' notice and then make the repairs at their expense.

Are there wildlife-friendly fencing requirements in Montana?

In some areas, yes. Missoula County's zoning regulations require wildlife-friendly fencing in riparian resource protection areas and near certain natural corridors. These fences must have a smooth top rail or wire no taller than 42 inches, with the bottom rail at least 18 inches above the ground, and a minimum 12-inch gap between horizontal members. Montana Fish, Wildlife & Parks publishes guidelines for wildlife-friendly fencing statewide, though they're only mandated by local code in specific zones.

Is barbed wire allowed on residential fences in Montana?

Not within city limits. Missoula prohibits barbed wire on residential fences outright. Billings similarly restricts it in residential zones. Electric fences face the same prohibition in residential areas in most cities, with a narrow exception in Missoula for bear-deterrent fencing in designated bear buffer zones, which requires approval from the Development Services Director.

Fence permits in Montana cities

Select your city for specific fence permit rules, fees, and application details.

Permit requirements vary by city and county. The information in this guide provides general guidance for Montana based on common local building codes. Always verify requirements with your local building department before starting your project.