STATEWIDE FENCE LAWS IN IDAHO
OVERVIEW
Two different rules often get quoted as “the Idaho fence law.” One is a 7-foot building-permit exemption for ordinary fences under the residential code. The other describes fences strong enough to turn livestock. Neither tells you how tall a privacy fence may be next to your front sidewalk. For that answer, use the city or unincorporated county guide at Fence Rules in Idaho.
State law does answer other practical questions: who must call before posts are dug, when two neighbors have to share a partition fence, and whether a gate may cross an irrigation easement. Start with the rules that match the fence’s purpose and the part of the property where it will stand.
FENCE PERMITS, HEIGHT AND LOCAL ZONING
Under Idaho’s building-code rules, section 600, the residential code for one- and two-family homes is based on parts of the 2018 International Residential Code, with Idaho amendments. You may see it called the Idaho Residential Code, 2020 Edition. In the incorporated residential code, section R105.2, Building item 2, exempts fences 7 feet high or less from a building permit. The state amendments change other entries, not this fence entry.
A building-permit exemption does not set the allowed height or excuse other permits. Idaho’s Local Land Use Planning Act gives local government zoning authority. For example, Nampa’s ordinance, section 10-1-8.A, requires a building permit before anyone constructs or places a fence within city limits. For your address, ask what height is allowed in each yard, where it is measured from on sloping ground, and whether a raised base, masonry retaining wall, lattice top or powered gate changes the answer. Tell the office if the fence runs along two streets or beside a driveway.
BEFORE DIGGING OR DRIVING POSTS
The person doing the excavation is responsible for the locate request. For ordinary planned excavation, contact 811 at least two and no more than ten business days before work, unless a different schedule is agreed to in writing as allowed by law. The two full business days exclude the request day, weekends and holidays. Mark the planned excavation area in white as required. Wait for the legal start time and check that the operators on the ticket have responded. If a response or a known line is missing, request follow-up; an unmarked strip of lawn is not an all-clear. See the Idaho Damage Prevention Board.
- Marks show horizontal location, not depth. Within 24 inches of a marked facility, determine its exact position by hand digging. Move a post if necessary rather than relying on a shallow hole.
- Not everything in a yard is marked by 811. Irrigation facilities and owner-installed lines, such as power to a detached shop, may need a separate locate. Ask the irrigation operator or arrange a private locator before digging.
- If the work changes, protect the marks and check the ticket. An unexpected facility is a reason to stop work in its vicinity and notify the operator or one-number service. The state’s safe-digging guide explains remarking, incident reporting and when to call 911.
SWIMMING POOLS, SPAS AND ACCESS FROM THE HOUSE
Under the adopted residential code, section R326.1 directs pool and spa design and construction to the International Swimming Pool and Spa Code. The state’s modification to the prefabricated-pool entry in the permit list does not waive this separate barrier provision. Confirm the rules enforced for your pool before reusing an old yard fence.
Where the 2018 pool code’s section 305 applies as written, the barrier top must be at least 48 inches above grade on the side away from the pool. The barrier generally must not let a 4-inch ball pass through it. Climbable rails, fence mesh and clearance beneath the fence have additional limits. A pedestrian gate must swing away from the water, close by itself and latch by itself. If the house completes one side, doors and low operable windows giving access need a protection method the code accepts.
The code recognizes a qualifying ASTM F1346 powered safety cover for a pool or lockable safety cover for a spa or hot tub in place of the specified barrier provisions. An ordinary cover is not equivalent. If a pool is shared by multiple households or serves paying guests, confirm its classification rather than relying on the private backyard standard. A state-licensed daycare has separate water and play-area safeguards, including a 4-foot minimum fence to prevent access when the premises adjoin a body of water.
SHARED FENCES: BUILDING, REPAIR AND REMOVAL
A fence along a boundary is not automatically a joint purchase. Under Idaho Code title 35, chapter 1, section 35-103 applies when adjoining owners’ lands are enclosed by one fence and a partition between them is necessary to protect a party’s rights or interests. The division is to be on, or as close as practicable to, their common line. If a notified owner does not build their half within six months after written notice, the owner giving notice may build the whole partition and seek half the cost under the statute.
- Which half? Under section 35-104, stand on your own tract facing the other one: the half to your left is generally yours to build and repair. A different agreement, previous arrangement or an owner’s choice to leave land unenclosed can change the result. Hog-tight upgrades have separate cost rules, including when a neighbor later pastures certain animals without a herder.
- Enclosing later: An owner who later uses a neighbor’s existing division fence to complete an enclosure owes half its value under section 35-105. That is not necessarily half the price of a brand-new fence. If the parties cannot agree on the work or its division, section 35-106 provides for a magistrate to appoint three fence viewers on five days’ notice.
- Taking a fence down: Removing a share to open an enclosure or make a passage can require six months’ written notice under section 35-111. Sections 35-107 through 35-110 also protect standing crops, provide a payment opportunity in covered cases and address a fence built by mistake. For a good-faith mistake, the one-year removal period generally runs from discovery; the survey and notice procedure matters. Establish title and the applicable procedure before removing anything.
A permit cannot settle a boundary dispute. Check the deed, plat and survey before treating a long-standing fence as the legal line. Consider easement access for both properties as well as subdivision covenants. In Millard v. Talburt, the Idaho Supreme Court upheld removal of a fence that cut off access and applied its spite-fence rule: an otherwise useless structure erected solely to injure a neighbor. There is no special height at which a useful privacy fence automatically becomes a spite fence.
LIVESTOCK, OPEN RANGE AND SPECIAL ENCLOSURES
Idaho’s lawful-fence statutes describe stock barriers, including specified stone, rail, board and wire designs and natural obstacles suitable to turn livestock. For example, a statutory wire design calls for a 47-inch minimum, along with construction and spacing requirements. That is not a minimum or maximum for an ordinary house lot. Idaho also addresses fallen or strewn barbed wire where it endangers animals running at large; the law is not a general license to use barbed wire in a residential zone.
The Idaho Department of Agriculture’s herd-district map and statutes distinguish open range from a county-created herd district. For the cattle-highway rule in section 25-2118, open range is unenclosed land outside cities, villages and herd districts where cattle graze or roam by custom or legal authority. The county commissioners can confirm a district’s order, boundary, season and animals covered. Non-swine livestock drifting in from open range have specific liability conditions under section 25-2402, including lawful border fencing and gates or cattle guards. Do not assume all rural homeowners must fence cattle out, or all cattle owners must fence them in.
A different enclosure may be needed for a dog adjudged dangerous or at risk. Under Idaho Code section 25-2810, a court may order secure, locked outdoor confinement that prevents escape and accidental entry by others. Follow the actual order and the local animal ordinance; this is not a requirement to lock every pet owner’s yard.
IRRIGATION DITCHES AND BURIED WATER LINES
A deed that includes the ditch bank does not give an owner the right to block it. Idaho Code sections 42-1102 and 42-1205 protect access needed to operate, inspect and maintain irrigation and drainage facilities. Section 42-1205 expressly includes fences and gates among encroachments that need the written permission of the listed irrigation or drainage entity controlling the easement. Permission is not to be unreasonably withheld. An unapproved fence that materially or unreasonably interferes can have to be moved at the responsible person’s expense.
A buried conduit may need surface access for excavation. A gate wide enough for a person may still block the equipment that cleans a ditch. Ask the operator where that access runs before setting posts. As the Idaho Department of Water Resources explains in its current canals and laterals guide, many ditch easements are not recorded. There is no single statewide distance to measure from the water’s edge.
ROADS, RAILROADS, FLOODPLAINS AND SHORELINES
- Road frontage: A road right-of-way can extend beyond the pavement and roadside ditch. For a state highway, the Idaho Transportation Department’s encroachment rules govern structures in the corridor; unauthorized encroachments can be removed. For a local road, confirm the boundary with the city, county or highway district and keep sight lines clear. Do not assume a private gate or cattle guard may cross a public route.
- Railroad frontage: Idaho Code section 62-406 addresses the railroad’s duty to build and maintain lawful fencing at least 4 feet high where the railroad runs through or alongside the specified cultivated fields or enclosed land. Openings, gates and farm crossings are part of that rule. It is not authority to enter railroad property or move its fence.
- Flood-prone property: If panels, a continuous base or grading lie in a mapped floodplain, ask the local floodplain administrator about a development permit. A fence that catches debris can affect floodwater even if its posts occupy little ground. The state’s floodplain management resources distinguish local regulation from the state model ordinance.
- Waterfront property: Altering a natural stream channel can require advance review by the Department of Water Resources. An encroachment on a navigable lake, such as stabilization beneath the fence, can require a separate Department of Lands permit. The right to post private upland does not extinguish lawful public passage on navigable water.
HIRING A FENCE CONTRACTOR
Idaho normally requires registration of construction contractors. The Contractor Registration Act exempts qualifying casual, minor or inconsequential work only if its combined price for labor, materials and other items is less than $2,000. Work that is part of a larger project cannot qualify under that exemption by splitting the contract. Check the business through the Idaho Contractors Board and ask which licensed trade will wire a powered gate. A registration is not a warranty or proof of permission for the proposed fence.
USING THIS INFORMATION
Use the local guide for permitted height and placement; use this page when a pool, livestock, nearby road, waterway or shared property right changes the project. Before ordering materials, keep the survey or layout, any written permission for easement access, and the local approval together. Official law, the applicable local code and the property’s legal documents control. This guide is general information, not legal advice. Updated November 2026.