STATEWIDE FENCE LAWS IN NEW HAMPSHIRE

OVERVIEW

For an ordinary residential fence, the New Hampshire building-code exemption is not over 7 feet under the 2024 residential provisions. That is not a statewide right to build to 7 feet at the street, on a lot line or beside a pool. Siting and zoning approval come from the authority governing the parcel. The limits of a public road, a deeded right-of-way, a boundary wall or protected shoreland may move the usable fence line farther into the yard.

New Hampshire also has a 5-foot figure in its spite-fence law. That law concerns a fence unnecessarily above that height and intended to annoy the adjoining owner or occupant. It is not a competing building or zoning limit.

BUILDING PERMITS, ZONING AND CODE EDITIONS

RSA chapter 155-A establishes statewide building-code coverage while preserving applicable local land-use controls. The state adopted the 2024 International Residential Code, International Building Code and International Swimming Pool and Spa Code effective July 1, 2026, with New Hampshire amendments. Applications during the six-month transition through December 31, 2026 may use the immediately preceding code or the new code, but may not mix provisions. The applicable code stays with work covered by the permit.

The state replaced the model codes’ administrative chapters. Its 2026 Building Code Review Board amendments, § 105.2 distinguish two settings:

  • Residential Code (§ 105.2.2): A fence 7 feet or lower is listed as exempt from the building permit. The same list treats retaining walls separately, measuring from the bottom of the footing to the top and excepting walls that support a surcharge. A fence and wall together should not be priced or approved as though only the panel height matters.
  • Building Code (§ 105.2.1): The fence exemption also reaches 7 feet, but expressly excludes swimming-pool barriers. For a condominium common area, multifamily development or other site outside the Residential Code’s scope, confirm the governing code before applying the residential list.
  • Zoning and permits are separate: An exemption does not legalize work that violates another law or ordinance. The municipal zoning statute allows local regulation of dimensions, yards and location. Check local zoning approvals and confirmed permit-administration rules; do not assume every municipality can rewrite the state’s technical building standards.

On a sloped lot or near a retaining wall, show the official a side view with existing grade, footing, wall and panels. Ask where the local zoning height is measured and whether the wall requires separate review. For ordinary replacements, identify what is staying and what will move; the old fence’s existence does not establish approval for a new one.

SWIMMING POOLS, SPAS AND GATES

For work under the 2024 code, Swimming Pool and Spa Code § 305 addresses barriers and access. The state’s administrative amendment replaces Chapter 1, not the technical barrier provisions of § 305. Have the building official review the actual enclosure, not just the fence panels. Where the barrier is required:

  • The top is at least 48 inches above grade, measured on the outside, away from the water. That height must be maintained around the perimeter and across the required 3-foot exterior measuring distance; a slope or raised surface outside can reduce the effective height.
  • Fence openings generally must not pass a 4-inch sphere. The bottom clearance over grass or gravel is at most 2 inches when measured on the outside. Solid surfaces, mesh, rails and other details have their own provisions; a 4-inch gap is not the answer to every opening.
  • Pedestrian access gates open away from the water and must close and latch themselves. The latch position and nearby openings matter: a gate that closes only when someone pushes it shut is not self-closing.
  • If the house forms one side, doors and operable windows in that wall must meet the applicable access safeguards. An above-ground pool wall can qualify only under the code’s conditions, including height, manufacturer permission where the wall is the barrier, and securing the access ladder or steps.
  • The code recognizes a lockable safety cover for a spa or hot tub and a powered safety cover for a swimming pool, meeting ASTM F1346, as alternatives in the circumstances described in § 305.1. A floating or ordinary winter cover is not that alternative. In-ground construction also needs temporary fencing from excavation until the permanent barrier is complete.

A public or shared pool may require environmental health approval in addition to local review. Replacing part of the fence around a working pool is a safety project even if the new fence has the same height as the old one.

UTILITY LOCATING BEFORE POST WORK

New Hampshire’s excavation law, RSA 374:48–56, expressly includes fence-post installation. For covered nonemergency excavation within 100 feet of an underground facility, notify Dig Safe at 811 at least 72 hours, but no more than 30 days, before the proposed work. Exclude Saturdays, Sundays and legal holidays from the 72-hour calculation. Permission to build and permission to start digging are not the same thing.

Before giving notice, normally mark the perimeter in white. A continuous excavation over 100 feet long does not require those white marks. Instead, rule En 805.01 calls for communicating the perimeter to the affected operators using two approved methods, such as a written description and construction plans. The project’s length and its distance from a utility are different measurements.

Use the start time on the ticket. Check responses from each notified utility and resolve a missing or inconsistent mark before digging. Utilities generally locate facilities they own, not an owner’s private electric run to a shed or equipment serving a pool. Arrange separate locating for such lines. Marks indicate approximate horizontal location, not depth. If the layout changes, marks no longer make sense or the ticket expires, obtain updated coverage rather than extending a paint line by eye.

Report damage immediately to the operator, even if power or service is still on; do not bury the damage. For a gas release, get clear and call 911.

PARTITION FENCES, FENCE VIEWERS AND FARM USE

RSA chapter 473 starts with adjoining lands under improvement. Their owners must build and repair the partition fence in equal shares. It does not say that every neighbor must pay half of any decorative or privacy fence the other household decides to buy.

  • Find the existing division. A written division recorded with the town binds successors. A division may also be established by 20 years of usage and acquiescence. If neither agreement nor an established division settles it, a landowner can apply to the town’s fence viewers, the officials who examine and divide responsibility for these fences.
  • Sufficiency depends on purpose. A qualifying fence must be reasonably high enough for its purpose and in good repair. Section 473:5 lists materials such as boards, stone and wires, and lets fence viewers assess equivalent natural features. The list does not authorize electric or barbed wire at every residential location.
  • A repair claim has a procedure. If a section is insufficient, the viewers can inspect it and set a time for the responsible owner to put it right. Notice, default and appraisal are part of the statutory recovery route. Before paying a contractor, establish who is responsible and which process applies. If someone stops improving the land, written notice can affect future repair duties without authorizing removal of an existing partition fence.
  • Farming is a separate question. RSA 674:32-c preserves generally applicable site requirements for new, re-established or expanded agricultural operations, with a waiver process in specified circumstances. A livestock use can matter to an application, but “rural” is not a blanket setback or shoreland exemption.

BOUNDARY STONES, PRIVATE RIGHTS AND SPITE FENCES

A stone wall can be both a physical barrier and a legally protected boundary marker. Under RSA 472:6, knowingly and purposely defacing, moving or removing a boundary stone wall, monument or marked tree can be a misdemeanor. The law has specific exceptions, including agreement of all affected landowners, government authorization for more accurate placement, a final court order or authority under another law. It does not turn every decorative stone wall into a survey monument.

Before widening a gate in an old wall, check deeds and recorded plans and ask a licensed land surveyor to identify the line if it is unclear. Record any rights of passage, drainage or utility access that cross the proposed route. A building official does not settle title, and an owner’s agreement to move stones does not waive a public road or scenic-road restriction.

Under RSA chapter 476, a fence or fence-like structure unnecessarily exceeding 5 feet can be a private nuisance when erected or maintained to annoy an adjoining owner or occupant. The statute provides a civil remedy for an affected owner or occupant; do not treat it as permission to remove someone else’s fence. A useful privacy screen is not automatically a spite fence because it is tall or a neighbor dislikes it.

HIGHWAYS, BARBED WIRE AND RAILROADS

RSA 236:15 treats a fence built or kept on or over a highway as a public nuisance. Ask the state or local road authority to locate the limits of the highway right-of-way, which can extend past the pavement. Driveway access permits can govern cuts through a roadside stone wall. For work connected to a designated scenic road, confirm whether RSA 231:158 or local scenic-road protections apply; the state law distinguishes highway and utility work from work entirely on the owner’s property.

Barbed wire has a narrower roadside restriction. Where a fence adjoins or is adjacent to a street or highway in the compact part of a town, in a village district, or in a city, barbed wire within 6 feet of the ground makes that fence a public nuisance under RSA 236:15. The six feet describes the wire’s height above ground, not a setback from the road, a height limit for wooden fences or a statewide ban on agricultural wire.

Beside a railroad, RSA 246:30–34 assigns the railroad fencing and cattle-guard duties, with different treatment at public highway crossings. Existing agreements, notice and the condition of the fence matter. Resolve a missing trackside fence with the railroad; the statute is not general permission to enter the corridor to install a private gate.

PROTECTED SHORELAND, WETLANDS AND FLOODPLAINS

New Hampshire’s Shoreland Water Quality Protection Act generally reaches 250 feet landward from the statutory reference line of covered lakes, rivers and coastal waters. A narrower 50-foot jurisdiction applies to certain designated smaller river segments. The reference line itself depends on the waterbody. These are review areas, not fence setbacks for every lake or stream.

There is a useful fence-specific distinction: Env-Wq 1406.04(d)(4) lists fence construction or installation using hand-held tools among activities not requiring a state shoreland permit. It does not authorize a cleared equipment lane, separate filling or grading, removal of protected vegetation or interference with water quality. If the installer plans to use a tractor-mounted auger or cut a line through the waterfront buffer, ask the Department of Environmental Services about the whole project before it starts.

Wetlands permitting under RSA 482-A:3 is separate. Work involving excavation, fill or structures in protected wetlands or banks can need its own authorization even where shoreland hand installation qualifies. In a mapped floodplain, take the proposed open or solid fence, gates and any fill to the local floodplain administrator. A lakefront address need not trigger every one of these rules, and an inland address does not rule out wetlands or flood hazards.

USING THIS INFORMATION

Use Fence Rules in New Hampshire to find the local guide for your site. Take the fence layout to the zoning office, check any separate building or pool review, and resolve easements, boundary markers and utility locating before digging. This is general information, not a survey or advice about a particular dispute.