Understanding when a building permit is required in Montana can be complex, navigating a mix of statewide codes, local amendments, and specific exemptions for agricultural and minor structures. The state of Montana primarily enforces the 2021 International Building Code (IBC), 2021 International Residential Code (IRC), and the 2023 National Electrical Code (NEC), among others, but knowing how these apply to your project is critical for compliance.
Generally, a building permit is required for any new construction, alteration, or repair of a structure. However, there are important exemptions established by the state that can save time and money on certain projects.
Key Takeaways:
Statewide Code: Montana has a uniform state building code, primarily based on the 2021 I-Codes. Enforcement is handled either by the state's Building Codes Program or by certified local governments (cities/counties).
Permits Required For: Most new buildings, additions, remodels that alter structural elements or systems (electrical, plumbing, mechanical), detached garages over 200 sq. ft., and complete re-roofing projects.
Common Exemptions:
One-story detached accessory structures (like sheds or small garages) not exceeding 200 square feet.
Fences not over 7 feet high.
Non-structural work like painting, flooring, and cabinetry.
Certain "agricultural buildings" used exclusively for agricultural purposes with no public access.
Agricultural Buildings: This is a key exemption in Montana, but it is narrowly defined. A building loses its exemption if it is used for public events, commercial sales, or contains a residential dwelling. A simple hay barn may be exempt, but a "barndominium" or a farm stand with public access requires full code compliance.
Project Type | Permit Generally Required? | Governing Code (Primary) | Key Considerations |
|---|---|---|---|
New Single-Family Home | Yes | 2021 IRC | Full compliance for structure, energy, MEP systems. |
Shed (150 sq. ft.) | No | N/A (Exempt) | Must still meet zoning/setback requirements. |
Detached Garage (500 sq. ft.) | Yes | 2021 IRC | Foundation, fire separation, structural design. |
Agricultural Hay Barn (No Public Access) | No | N/A (Exempt) | Must meet the state's strict definition of "agricultural building." |
Pole Barn with Apartment ("Barndominium") | Yes | 2021 IRC | Entire structure must meet residential code requirements. |
Re-roofing a House | Yes | 2021 IRC | Required for full tear-off and replacement. |
Context + Why This Topic Matters
In a state as diverse as Montana, with sprawling ranches and growing cities, the building codes are designed to provide a baseline for life safety, structural integrity, and energy efficiency. For architects, engineers, and contractors, understanding the nuances of permit requirements is fundamental to project success. It dictates the level of documentation required, the timeline for approvals, and the inspection process.
The relationship between state and local authority is a critical concept in Montana. The state's Building Codes Program sets the minimum standard. However, "certified" local jurisdictions like Billings, Gallatin County, and Missoula have the authority to enforce these codes, and sometimes adopt more stringent local amendments. This means the first step in any project is to identify the Authority Having Jurisdiction (AHJ)—is it the state or the local city/county building department?
Common pitfalls often arise from misinterpreting exemptions:
The "Ag" Exemption: Assuming any building on a farm is exempt is a frequent and costly mistake. The use of the building dictates its status. A barn used as a wedding venue is a commercial assembly occupancy (Group A-2), not an exempt agricultural building.
Sheds and Setbacks: Building an exempt 200 sq. ft. shed without checking local zoning can lead to a violation if it's placed too close to a property line. A permit exemption is not a zoning exemption.
Forgetting MEP Trades: A project may seem like a simple remodel, but if it involves moving outlets, adding a sink, or altering ductwork, separate electrical, plumbing, and mechanical permits and inspections are almost always required.
What are the specific requirements, limitations, and exemptions for 'agricultural buildings' under the Montana state code, and at what point does a 'pole barn' or 'shop' lose its agricultural exemption and require full compliance with the IBC or IRC based on use or public access?
The exemption for agricultural buildings in Montana is specific and based entirely on the building's use. According to the Administrative Rules of Montana (ARM) 24.301.131 and the International Building Code (IBC) Section 202, an "Agricultural Building" is defined as a structure designed and constructed to house farm implements, hay, grain, poultry, livestock, or other horticultural products. This structure shall not be a place of human habitation or a place of employment where agricultural products are processed, treated, or packaged, nor shall it be a place used by the public.
A pole barn, shop, or other structure loses its agricultural exemption and requires a building permit with full code compliance the moment its use falls outside this strict definition.
The key triggers that void the exemption include:
Public Access: If the public is ever invited into the building for any reason—such as a retail store, a farm-to-table dinner, a wedding venue, or a community event—it is no longer an agricultural building. It becomes an Assembly (Group A) or Mercantile (Group M) occupancy, requiring full IBC compliance for egress, fire protection, accessibility, and structural integrity.
Human Habitation: Incorporating a dwelling unit, apartment, or sleeping area (creating a "barndominium") immediately subjects the entire structure to the International Residential Code (IRC). This includes requirements for insulation, ventilation, egress windows, smoke alarms, and all other life-safety provisions for a home.
Commercial/Industrial Use: A "shop" building used for a commercial purpose, such as a welding business, auto repair shop, or commercial-scale food processing, is not an exempt agricultural building. It would be classified as a Factory (Group F) or Storage (Group S) occupancy under the IBC and must be permitted and built to those standards.
Place of Employment: If the building houses employees engaged in processing or packaging agricultural products, it is considered a workplace and falls under IBC requirements. Simple farm labor within a barn is different from a production line.
In short, the exemption is for buildings that are part of the process of farming or ranching, not for buildings that commercialize the results of those activities or house people. Once the use changes, the building must be brought into compliance with the applicable IBC or IRC standards, which often requires significant and costly upgrades.
What are the building code requirements for a detached garage?
What can you ask? (Sample questions)
- How do local code amendments modify the base IBC requirements?
- What triggers the need for a building permit?
- What plan review documents are typically required?
- How do jurisdictional amendments affect fire and structural codes?
The building code requirements for a detached garage in Montana are primarily governed by the 2021 International Residential Code (IRC) for garages serving one- and two-family dwellings. While small garages may be exempt from a permit, they must still adhere to basic safety and zoning standards.
For detached garages requiring a permit (typically those over 200 square feet), the key requirements include:
Permit Exemption: Per IRC Section R105.2, a one-story detached accessory structure is exempt from a permit provided the floor area does not exceed 200 square feet. However, this does not exempt the structure from local zoning and setback rules.
Foundations: The garage must have a proper foundation system designed to support the structure and resist frost heave. In Montana, this means footings must be placed below the local frost depth, which varies significantly across the state (typically 36 to 60 inches). (IRC Chapter 4)
Fire Separation Distance: The location of the garage on the property dictates the required fire-resistance rating of its exterior walls. According to IRC Table R302.1(1):
If the garage is less than 5 feet from a lot line, the exterior wall must have a 1-hour fire-resistance rating.
If the garage is 5 feet or more from a lot line, the exterior walls are not required to be fire-rated.
Openings (windows, doors) are generally not permitted in walls located less than 3 feet from a lot line.
Structural Design: The garage must be framed to withstand local environmental loads, including snow, wind, and seismic forces, as specified in IRC Chapter 3. This is particularly important for roof structures, which must be designed for Montana's heavy snow loads.
Electrical: If electrical power is supplied, all wiring must comply with the 2023 National Electrical Code (NEC). This includes requirements for GFCI-protected receptacles, proper grounding, and dedicated circuits for specific equipment. A separate electrical permit and inspection are required.
Do I need a building permit to build a shed in Gallatin County, Montana?
No, you generally do not need a building permit to build a small shed in Gallatin County, provided it meets the state's criteria for exempt structures. Gallatin County is a certified local government that enforces the state-adopted codes, including the permit exemptions found in the 2021 International Residential Code (IRC).
The key exemption is found in IRC Section R105.2, Item 1:
"One-story detached accessory structures used as tool and storage sheds, playhouses and similar uses, provided the floor area is not more than 200 square feet (18.58 m2)."
Therefore, if your shed is a single story and 200 square feet or less in area, a building permit is not required from the Gallatin County Building Department.
However, it is critical to remember two things:
Zoning and Setbacks still apply. Even without a building permit, the shed must comply with Gallatin County's zoning regulations. This includes rules about how close the structure can be to your property lines (setbacks), how tall it can be, and where it can be placed on your lot. You must contact the Gallatin County Planning Department to verify these requirements before building.
Electrical or Plumbing work requires permits. If you plan to run electricity or plumbing to the shed, regardless of its size, you will need to obtain separate electrical and/or plumbing permits and have that work inspected.
Do I need a permit to re-roof my house in Billings?
Yes, you almost always need a building permit to re-roof your house in the City of Billings. The City of Billings is a certified local government that enforces the state-adopted building codes, and a full re-roofing project is considered an alteration that requires review and inspection to ensure safety and code compliance.
While IRC Section R105.2 exempts minor repairs, it does not exempt a complete roof replacement. The specific language in Item 2 exempts "re-roofing where the total repaired or replaced roof area does not exceed one square (100 square feet) within any 12-month period." A full re-roof far exceeds this limit.
A permit is required for a re-roofing project because the building department needs to verify several critical items from IRC Chapter 9:
Structural Integrity: If more than one layer of roofing material is already present, the old roofing must typically be removed to avoid overloading the roof structure.
Decking/Sheathing Condition: The permit process ensures that any damaged or rotted roof sheathing is replaced before new roofing is installed.
Ice Barrier: Montana's climate requires the installation of an ice barrier membrane along the eaves to prevent damage from ice dams, as required by IRC Section R905.1.2.
Proper Installation: Inspections verify that the new roofing material, underlayment, and flashing are installed according to the manufacturer's instructions and code requirements to ensure weather protection.
To obtain a permit, you will need to submit an application to the City of Billings Building Division, detailing the scope of work and the type of roofing materials to be used.
Does a pole barn in Montana need to meet the same codes as a house?
No, a pole barn does not need to meet the same codes as a house, as long as it is not used as a house. The building code is based on the use and occupancy of a structure. A traditional pole barn used for storage (a "Utility and Miscellaneous" Group U occupancy) has vastly different and less stringent requirements than a single-family dwelling (a Group R-3 occupancy).
However, if a pole barn is constructed to be a residence or includes a residential dwelling unit (a "barndominium" or "shouse"), it must meet all the requirements of the 2021 International Residential Code (IRC), just like a traditionally framed house.
Here is a comparison of the requirements:
Feature | House (IRC - Group R-3) | Pole Barn (IBC - Group U, Utility) |
|---|---|---|
Energy Code | Full compliance with 2021 IECC: insulation, air sealing, high-efficiency windows, tested for air leakage. | Generally not required to be insulated or conditioned. No energy code compliance needed. |
Egress | Strict requirements: specific door sizes, egress windows in every bedroom, smoke alarms in all sleeping areas and on each level. | Egress is minimal, typically based on occupant load which is very low. No emergency egress windows required. |
Plumbing/Mechanical | Full plumbing and mechanical systems required for sanitation, heating, and ventilation (e.g., bathrooms, kitchen, furnace). Must comply with UPC and IMC. | Not required unless specific fixtures are installed. If present, systems must be permitted and inspected. |
Interior Finishes | Drywall or other approved finishes required on walls and ceilings for fire safety and sanitation. | Exposed framing and sheathing are typically acceptable. |
Structural Loads | Designed for residential live loads (e.g., 40 psf for floors). | Designed for lower utility live loads, but must still meet the same snow, wind, and seismic loads for the location. |
Accessibility | Must meet basic visitability standards in some cases. | No accessibility requirements. |
Attempting to build a pole barn under a Group U (or agricultural) classification and then illegally converting it into a residence is a serious code violation with significant safety risks related to fire, egress, and structural stability.
Is a licensed plumber required to do work on my own home in Montana?
In Montana, you are generally not required to be a licensed plumber to perform plumbing work on your own single-family residence, provided it is your bona fide primary residence and is not for sale, rent, or lease. This is commonly known as the "homeowner exemption."
This exemption is established in the Montana Code Annotated (MCA) 37-69-302, which outlines exceptions to plumber licensing requirements. It allows a property owner to perform plumbing work on their own property.
However, this exemption from licensing does not mean the work is exempt from permits and inspections. This is a crucial distinction that is often misunderstood.
Permit Required: You must still obtain a plumbing permit from the appropriate jurisdiction (either the state or your local certified building department) before starting the work. The permit application will require a description of the work to be performed.
Inspections Required: The work you perform is subject to the same inspections as work performed by a licensed plumber. This typically includes an underground/rough-in inspection before any pipes are concealed and a final inspection after all fixtures are set. The inspector will verify that your work complies with the 2021 Uniform Plumbing Code (UPC) as adopted by Montana.
Scope Limitation: The homeowner exemption applies only to your primary residence. You cannot use this exemption to perform plumbing work on a rental property you own, a commercial building, or a house you are building to sell.
Working under the homeowner exemption means you assume full responsibility for ensuring the work is safe and code-compliant.
Additional Supporting Sections
Navigating Jurisdictional Differences in Montana
Montana's building code enforcement operates on a dual system: the state's Building Codes Program and certified local governments. This is a critical distinction for any project.
State Jurisdiction: For areas in counties or towns that do not have their own certified building department, the Montana Department of Labor & Industry's Building Codes Program is the Authority Having Jurisdiction (AHJ). All permits, plan reviews, and inspections are handled by state inspectors.
Certified Local Jurisdictions: Major cities and more populous counties have been "certified" by the state to administer and enforce the building codes locally. These include jurisdictions like:
City of Billings
City of Bozeman & Gallatin County
City of Missoula & Missoula County
City of Helena
Flathead County
Cascade County
These local departments may adopt amendments that are more restrictive than the state code. Always check with the local city or county building department first to determine who your AHJ is and what local rules may apply to your project.
Common Mistakes and Misinterpretations
Confusing "No Permit" with "No Rules": An exempt 200 sq. ft. shed still needs to comply with zoning setback requirements from property lines. A non-structural interior remodel still requires any electrical or plumbing work to be permitted and inspected.
Ignoring Energy Code Requirements: Alterations and additions to existing homes must often meet the requirements of the 2021 International Energy Conservation Code (IECC). This can include adding insulation, sealing air leaks, or upgrading windows, which can impact the project budget.
Improper Fire Separation: Forgetting or incorrectly building the required 1-hour fire-rated wall between an attached garage and the house (IRC Section R302.6) is a common and serious safety violation caught during framing inspections.
Assuming Grandfathering: Simply because an old part of a house was built to a previous code does not mean new work can ignore current standards. Significant alterations or changes of occupancy can trigger requirements to bring parts of the existing structure up to modern code.
Coordination Between Design, Permitting, and Inspection
A successful project requires seamless coordination through three key phases:
Design & Documentation: The architect or designer creates plans that explicitly show compliance with all applicable codes (IBC/IRC, IECC, ADA/ANSI A117.1, etc.). This includes detailed floor plans, elevations, structural details, and energy compliance calculations.
Permitting & Plan Review: The completed construction documents are submitted to the AHJ. A plan reviewer examines the documents for code compliance before issuing a building permit. Incomplete or non-compliant plans will result in delays and correction notices.
Construction & Inspection: The contractor builds the project according to the approved plans. At critical stages (e.g., foundation, framing, rough-in MEP, insulation, final), an inspector from the AHJ visits the site to verify the work matches the plans and meets code. Failed inspections will halt work until corrections are made.
Clear communication between the designer, contractor, and inspector is essential to avoid costly delays and ensure the final project receives its Certificate of Occupancy.
Cluster-Level FAQ Section
What building code is currently in effect in Montana?
Montana has adopted and enforces the 2021 International Building Code (IBC), 2021 International Residential Code (IRC), 2021 International Mechanical Code (IMC), 2021 Uniform Plumbing Code (UPC), 2021 International Energy Conservation Code (IECC), and the 2023 National Electrical Code (NEC), along with state-specific amendments.
Do I need a building permit to build a deck in Montana?
Yes, a permit is generally required for a deck. Per IRC Section R105.2, decks not exceeding 200 square feet in area, that are no more than 30 inches above grade at any point, are not attached to a dwelling, and do not serve the required egress door of the dwelling are exempt. Virtually all other decks require a permit.
Can I finish my basement without a permit?
No. Finishing a basement involves creating habitable space, which requires a building permit. The project will involve framing, electrical, and possibly plumbing and mechanical work, all of which must be inspected to ensure compliance with egress (windows), smoke alarm, ventilation, and insulation requirements.
What are Montana's snow load requirements for roofs?
Roof snow loads are location-specific and vary dramatically across the state based on elevation and climate. There is no single statewide value. Ground snow loads must be determined based on local data, often from the local AHJ, a structural engineer, or resources like the "Snow Loads for Structural Design in Montana" publication. These loads are critical for the safe design of roof structures.
Do I need an engineer or architect to stamp my plans?
For simple residential projects that fall within the prescriptive methods of the IRC, a stamp may not be required. However, for commercial buildings, complex residential designs, or any structure that does not follow prescriptive code paths (e.g., using engineered trusses, unconventional foundations, or located in high-wind/seismic areas), plans stamped by a Montana-licensed architect or engineer are required.
Are tiny homes on wheels regulated by the building code?
Tiny homes on wheels are typically classified as recreational vehicles (RVs) and are regulated by the RV industry standards, not the IRC. However, their long-term placement and connection to utilities (water, sewer, electric) are subject to local zoning and health department regulations. Tiny homes built on a permanent foundation must comply with the IRC, often following the guidelines in Appendix Q.
How do I find out who my building code enforcement authority is?
The best place to start is the Montana Department of Labor & Industry's Building Codes Program website. They maintain a list of all certified local governments. If your city or county is on the list, contact them directly. If not, the state is your authority.