HomeOff-Grid Laws

Off-Grid Laws in Montana

Montana sets some helpful statewide baselines (exempt wells, Appendix Q tiny-home rules, a single-family building permit exemption, and specific greywater rules), but zoning and whether building codes even apply to your home depend heavily on your specific county or town. Always confirm with local planning, health, and the relevant state agency before committing to land or a build.

Is it legal to live off-grid in Montana?

There is no outright ban on living off-grid in Montana - it is possible, but the local rules are not all documented online. Zoning and land use are set locally and vary by area, putting a cabin, tiny home, or RV on raw land is set locally and vary by area, and building permits are set locally and vary by area. Plan around septic/wastewater (generally allowed) and disconnecting from utilities (not clearly documented online, so confirm it locally). Because these rules are set locally, confirm the specifics with Montana before you buy land or build.

Read this before you act on anything below. This is my researched starting point for Montana, not legal advice and not a guarantee. Rules change, and the deciding facts on any specific parcel (setbacks, perc results, overlay districts, deed restrictions, road frontage) live at the county or town office, not in any database. Before you buy land or build, confirm the current rules directly with the local zoning and health offices - the sources on this page tell you exactly who to call.
Primary-source verified ยท reviewed Aug 202621 government, statute, or municipal sources are linked below; the verdict card cites them where a match exists.

The verdict for Montana

  • Zoning: Varies locally
  • Dwellings, tiny homes: Varies locally
  • Building permits: Varies locally
  • Septic: Generally allowed
  • Greywater reuse: Restricted
  • Rainwater harvesting: Generally allowed
  • Private wells: Generally allowed
  • Living disconnected from utilities: Unclear - verify

The Montana framework at a glance

Zoning & raw-land occupancy
Varies locallyMontana has no statewide zoning code. Counties may adopt zoning by resolution for unincorporated areas, and towns/cities set their own zoning under state law; many rural counties remain unzoned, so this varies enormously by county. source
Dwellings, tiny homes & RVs
Varies locallyThe state adopted IRC Appendix Q (2019) giving statewide guidelines for foundation-built tiny homes, but tiny homes on wheels are generally treated as RVs and restricted to zoned areas; counties and towns set their own additional rules. source
Building permits & codes
Varies locallyThe state Building Codes Program sets a uniform code, but single-family residences are exempt from state permit jurisdiction by law unless the local county or city has become certified to enforce it themselves. source
Septic & composting toilets
Generally allowedDEQ sets statewide minimum standards for on-site wastewater treatment systems, and local health boards administer permits for individual septic systems under those standards. source
Greywater reuse
RestrictedState administrative rule allows in-home greywater reuse (e.g., toilet flushing) without a permit if disposed through a compliant system; subsurface irrigation reuse requires a permit, a specific design standard, and can't be used on food crops or in floodplains. source
Rainwater harvesting
Generally allowedNo state statute found prohibiting basic rooftop rainwater collection for personal non-potable use; larger appropriations may fall under DNRC's water rights framework. source
Private wells & water rights
Generally allowedDNRC allows small 'exempt wells' (under a flow and annual volume threshold) to be developed without a pre-drilling permit, but owners must file a notice of completion to secure the water right; some areas of the state are closed to new appropriations. source
Living disconnected from utilities
Unclear - verifyNot confirmed: no statewide statute found requiring grid connection for a private single-family home, but county subdivision/health rules may still require an approved water and wastewater plan before occupancy; ask your county health department. source

Montana doesn't have one law that says "yes" or "no" to off-grid living. Instead, you're dealing with a patchwork: a few state agencies (DEQ for wastewater, DNRC for water rights, the Dept. of Labor & Industry's Building Codes Program for construction and electrical) set baseline rules, while counties and towns hold most of the real power over zoning and whether building permits even apply to your project. Montana is one of the states where counties can opt in or out of zoning and code enforcement, so what's true in Flathead County may not be true two counties over. Everything below should be confirmed locally before you buy land or build.

Zoning and living on raw land. There's no statewide zoning code in Montana. County commissioners can adopt zoning by resolution for unincorporated areas, and cities/towns have their own authority under state law (MCA 76-2-302) to divide themselves into zoning districts and decide what's allowed, including tiny homes. Many rural Montana counties simply haven't adopted zoning, which is part of why the state attracts off-grid buyers, but you have to check the specific county, not assume the whole state works this way.

Tiny homes, RVs, and dwellings. Montana adopted IRC Appendix Q in 2019, which gives a statewide framework for tiny houses on permanent foundations (capping them around 400 square feet with a minimum ceiling height). That's a real, state-level rule. But it only covers foundation-built tiny homes. A tiny house on wheels is generally treated like an RV for occupancy purposes, meaning permanent living in one is restricted to areas zoned for it. Beyond Appendix Q, each county and municipality still writes its own building codes and zoning for tiny homes, so the state framework is a floor, not the whole answer.

Building permits. Here's a quirk that surprises people: the state's Building Codes Program (under the Dept. of Labor & Industry) sets Montana's uniform building code, but single-family residences are exempt from needing a state building permit by law. Local governments can choose to get certified and take over enforcement for single-family homes in their jurisdiction, so whether you need a permit for your house depends entirely on whether your county or city opted in. Electrical work is different, the Montana Electrical Code applies statewide and is enforced by state electrical inspectors, with no local amendments. Small sheds and similar structures under a modest size are generally permit-exempt under state administrative rule.

Septic and composting toilets. The Department of Environmental Quality sets statewide minimum standards for on-site wastewater treatment systems, under the Sanitation in Subdivisions Act and DEQ's subdivision rules. Local health boards, mandated by state law, actually administer and enforce these standards day to day, including issuing individual septic permits. Larger systems (well beyond typical single-home flow) may need a state groundwater discharge permit from DEQ.

Greywater. Montana actually has specific rules here, which is unusual. Under state administrative rule, reusing greywater inside your home, say for toilet flushing, doesn't need a permit as long as it's eventually disposed of through a compliant wastewater system. Using greywater for subsurface irrigation is allowed but does require a permit, must follow a specific DEQ design circular, can't be used on food crops touching the ground (fruit and nut trees are okay), and can't be sited in a floodplain.

Rainwater harvesting. I didn't find a Montana statute that blocks basic rooftop rainwater collection for personal, non-potable use. DNRC oversees water rights generally, and larger water-harvesting setups could brush up against that framework, but for a simple barrel-and-gutter system, I found nothing suggesting the state stands in your way. Confirm specifics with DNRC if you're planning anything large-scale.

Wells and water rights. Since 1973, Montana has required a water right for essentially all new water uses. The good news for off-gridders: small domestic wells usually qualify as "exempt wells," meaning groundwater use under a certain flow and annual volume threshold doesn't need a permit before drilling. But you're not done once the well is in, DNRC requires you to file a notice of completion to actually secure the water right; a driller's well log by itself isn't sufficient. Some parts of the state are closed to new water appropriations, so check with your regional DNRC office before you count on a well being straightforward.

Cutting the utility cord. I didn't find a statewide law that forces a private single-family home to stay connected to grid power or gas, and the single-family building permit exemption mentioned above supports that. That said, county subdivision and health rules can still require an approved wastewater and water plan before a home can be occupied, so "off-grid" doesn't mean "off the radar" of local health departments.

The honest bottom line: Montana's state-level rules give you real openings (exempt wells, no statewide zoning, SFR permit exemptions, workable greywater rules), but county government is where your actual project lives or dies. Call before you build.

Sources

Primary sources (statutes, agencies, municipal documents)

Secondary sources (universities, regional bodies)

Only government, statute, municipal, university, and regional-planning sources are listed. Pages used to find an issue but not to substantiate it are not cited. See how this database is researched.

Live here? Help keep Montana accurate.

Residents, landowners, builders, and town officials: confirm what is right or tell me what is wrong. Every note is checked before it appears. Two minutes, no account.

This page is

FAQ

Common questions about off-grid living in Montana

Is it legal to live off-grid in Montana?

There is no outright ban on living off-grid in Montana - it is possible, but the local rules are not all documented online. Zoning and land use are set locally and vary by area, putting a cabin, tiny home, or RV on raw land is set locally and vary by area, and building permits are set locally and vary by area. Plan around septic/wastewater (generally allowed) and disconnecting from utilities (not clearly documented online, so confirm it locally). Because these rules are set locally, confirm the specifics with Montana before you buy land or build.

Does Montana have statewide zoning that controls where I can live off-grid?

No. Montana has no statewide zoning code. Counties can adopt zoning by resolution and towns set their own under state law, but many rural counties remain unzoned. You have to check your specific county or town.

Do I need a building permit to build my own off-grid home in Montana?

Maybe not, at the state level single-family residences are exempt from needing a state building permit. But your county or city may have opted in to enforce building codes locally, so check with them directly.

Can I collect rainwater in Montana?

Basic rooftop collection for personal, non-potable use appears to be legal with no state statute blocking it. Larger systems may intersect with Montana's water rights framework, so check with DNRC if you're scaling up.

Can I drill my own well without a permit?

Small domestic wells generally qualify as 'exempt wells' under Montana law and don't need a permit before drilling, but you must file a notice of completion afterward with DNRC to actually secure the water right.

Is it legal to reuse greywater in Montana?

Yes, with conditions. Using greywater inside the home (like for toilet flushing) needs no permit if it's ultimately disposed of properly. Using it for irrigation requires a permit and must follow state design rules, and it can't touch food crops or floodplains.