StateDataIndex

State Guide · Verified 2026

Fence Installation Permits in Massachusetts

Set by local rules in Massachusetts

Fences are governed mainly by local zoning, not a statewide building permit. Cities set height limits (commonly 3-4 ft in front yards and 6 ft in back and side yards), setbacks, and corner sight-line rules, and many require a zoning permit for any fence. Most jurisdictions exempt fences up to 7 ft from a building permit (IRC R105.2) and require one above that. Replacing a fence at the same height, material, and location usually needs no permit; a fence used as a pool barrier always does.

The Building Code in Massachusetts

Massachusetts State Building Code (780 CMR)

Massachusetts enforces a single statewide building code (780 CMR), which sets the building-permit trigger for fences at a notably high threshold. Below that, whether a fence needs any approval is a matter of local zoning bylaws — and the state's 351 municipalities vary widely, especially given the density of historic districts.

What's Different in Massachusetts

The statewide rule is generous: under 780 CMR, a building permit is required only for a fence over 7 feet tall. Most towns cap residential fences at 6 ft (rear/side) and 3-4 ft (front) through zoning. But local rules override the state floor — Lowell requires a permit over 6 ft, and Marlborough requires one for nearly all fence work. Massachusetts also has a distinctive "spite fence" statute (MGL Ch. 49 §21) giving neighbors a remedy against fences over 6 ft built maliciously. Historic districts (Beacon Hill, Back Bay, etc.) need a Certificate of Appropriateness.

Building It Yourself? Here's What You'll Need

Popular tools and materials homeowners use for a fence installation project:

As an Amazon Associate, we earn from qualifying purchases.

Official Sources

Rules change and cities within a county may differ. This guide is general information, not legal advice — always confirm with your local building department. Reviewed by the StateDataIndex Editorial Team · Updated July 2026.