Fence Regulations in Massachusetts (2026)
66 rules on the books across Massachusetts, 25 cities and counties. Select a rule to read the full details.
Severity: Few Restrictions · Light Restrictions · Some Restrictions · Significant Restrictions · Heavy Restrictions
Height Limits
Maximum fence heights for front, side, and back yards, including privacy fences, corner-lot visibility rules, and how height is measured on slopes and retaining walls.
Leominster
Significant RestrictionsLeominster caps fences, walls, hedges and trees at three feet tall within the sight-triangle of any corner lot. City…
Read full rule →Attleboro
Some RestrictionsAttleboro regulates fences through its zoning ordinance. The city requires fences in certain contexts as part of…
Read full rule →Boston
Some RestrictionsBoston fence height limits vary by zoning district, with state building code requiring permits for fences over 7 feet…
Read full rule →Brockton
Some RestrictionsBrockton caps residential fences at 6 feet on the sides and rear of a lot and 4 feet across the front, under § 27-20(5)…
Read full rule →Brookline
Some RestrictionsBrookline's Zoning By-Law Sections 5.52, 5.62, and 5.74 set maximum fence heights at 6 feet in front yards and 7 feet…
Read full rule →Cambridge
Some RestrictionsWithin Cambridge's Parkway Overlay District, land the ordinance designates near arterial parkways such as the Fresh…
Read full rule →Fall River
Some RestrictionsFall River follows Massachusetts state law for fence height regulation. MGL Ch. 49 §21 addresses spite fences…
Read full rule →Fitchburg
Some RestrictionsFitchburg Zoning Ch. 181 (Dimensional Regulations) caps front-yard fences at 6 ft. Stockade-type fences max 6 ft…
Read full rule →Lowell
Some RestrictionsLowell allows a fence up to six feet in height on or near a lot line with no building permit; a fence over six feet…
Read full rule →Lynn
Some RestrictionsLynn caps fences and retaining walls at 4 feet in a lot's frontage area (both frontages on a corner lot) and 6 feet…
Read full rule →New Bedford
Some RestrictionsOn a corner lot in a New Bedford residence district, Zoning Section 2740 caps fences, walls, and structures at three…
Read full rule →Newton
Some RestrictionsNewton caps residential perimeter fences at 4 feet along the front lot line unless set back, 6 feet on side and rear…
Read full rule →Quincy
Some RestrictionsQuincy caps fences at six feet citywide, dropping to three feet within 10 feet of the front lot line under the Zoning…
Read full rule →Revere
Some RestrictionsIn Revere's residential zoning districts, no fence, wall, hedge or sign can rise above three feet within the…
Read full rule →Somerville
Some RestrictionsSomerville zoning limits fences to 4 feet in front yards and 6 feet in side and rear yards, with corner-lot…
Read full rule →Springfield
Some RestrictionsSpringfield residential fences over 6 feet need a Tier 3 Special Permit; front yards allow no fence in A/A-1 districts…
Read full rule →Taunton
Some RestrictionsTaunton caps hedges, shrubs and fences at two feet within the sight-triangle portion of a corner lot's front yard, an…
Read full rule →Waltham
Some RestrictionsWaltham zoning sets fence height limits at 6 feet in rear and side yards, and 4 feet in front yards, applied citywide…
Read full rule →Weymouth
Some RestrictionsWeymouth requires a building permit for fences over 6 feet. Fences and plantings within 30 feet of a corner street…
Read full rule →Worcester
Some RestrictionsWorcester limits residential fence heights: 4 feet in front yards and 6 feet in side and rear yards under the zoning…
Read full rule →Norfolk County
Few RestrictionsNorfolk County has no county-level fence height limits. Fence height is regulated by each municipality through local…
Read full rule →Plymouth County
Few RestrictionsPlymouth County has no fence-height ordinance; Massachusetts counties cannot zone. Height limits sit in each town's…
Read full rule →Fence Permit Requirements
Whether you need a building permit to install or replace a fence, and what the permit process and fees look like.
Boston
Significant RestrictionsBoston only requires a fence-specific permit inside its historic districts. Property under the Beacon Hill or Back Bay…
Read full rule →Springfield
Significant RestrictionsIn Springfield, Massachusetts (Hampden County), a residential fence taller than 6 feet needs a Tier 3 Special Permit…
Read full rule →Chelsea
Some RestrictionsChelsea's zoning code defines any 'fence of more than six feet in height' as a structure (§ 34-241), pulling it into…
Read full rule →Lowell
Some RestrictionsNo building permit is required for a fence up to six feet in height on or close to a lot line, but a building permit is…
Read full rule →Newton
Some RestrictionsAnyone building a perimeter fence taller than four feet in Newton must first get a fence permit from the Commissioner…
Read full rule →Revere
Some RestrictionsIn Revere, a fence counts as a regulated 'structure' under the zoning code, so no fence may be built, altered or used…
Read full rule →Taunton
Some RestrictionsTaunton requires a permit from the Municipal Council before anyone erects, places or changes a fence adjoining a public…
Read full rule →Lynn
Light RestrictionsFences up to 7 feet high in Lynn don't need a Building Permit at all, built at the owner's own risk under Section…
Read full rule →New Bedford
Light RestrictionsNew Bedford does not require a permit to build an ordinary residential fence, except within the city's Floodplain…
Read full rule →Somerville
Light RestrictionsSomerville does not require a Building Permit to put up a fence anywhere in the city; the owner installs it at their…
Read full rule →Plymouth County
Few RestrictionsNo Plymouth County permit exists for a fence; counties issue no building permits. Under the state building code, 780…
Read full rule →Neighbor Fence Rules
Rules about shared boundary fences, including who pays for construction and maintenance, and which side faces the neighbor.
Massachusetts: statewide
StatewideSome RestrictionsMassachusetts General Laws Chapter 49 establishes a statewide spite fence statute treating fences over six feet erected…
Read full rule →Brockton
Some RestrictionsBrockton requires fences to be built within the owner's property line. Massachusetts law does not require neighbors to…
Read full rule →Newton
Some RestrictionsMassachusetts MGL Chapter 49 governs boundary fences between neighbors, establishing shared maintenance where fences…
Read full rule →Norfolk County
Some RestrictionsMassachusetts state law (MGL c. 49 §§1–21) governs boundary fences between neighbors, including cost-sharing and the…
Read full rule →Quincy
Some RestrictionsMassachusetts General Law Chapter 49 provides the baseline for fence neighbor disputes. Quincy does not have specific…
Read full rule →Somerville
Some RestrictionsMassachusetts General Laws Chapter 49 governs partition fences between neighbors, and Somerville follows the state rule…
Read full rule →Waltham
Some RestrictionsMassachusetts General Laws Chapter 49 governs boundary fences, while Waltham handles disputes under local code and…
Read full rule →Weymouth
Some RestrictionsMassachusetts General Law Chapter 49 §21 governs shared fence obligations between neighbors. Weymouth does not have a…
Read full rule →New Bedford
Light RestrictionsMassachusetts law makes neighbors jointly responsible for partition fences on a shared property line, and New Bedford…
Read full rule →Attleboro
Few RestrictionsMassachusetts law under MGL Ch. 49 §21 prohibits spite fences over 6 feet erected maliciously. Massachusetts has no…
Read full rule →Bristol County
Few RestrictionsMassachusetts law under MGL Ch. 49 §21 prohibits spite fences over 6 feet erected maliciously throughout Bristol…
Read full rule →Fall River
Few RestrictionsMassachusetts law under MGL Ch. 49 §21 prohibits spite fences: fences over 6 feet erected maliciously to annoy a…
Read full rule →Plymouth County
Few RestrictionsMassachusetts imposes no general duty to split a boundary fence's cost; each owner fences their own land. The one…
Read full rule →Worcester
Few RestrictionsMassachusetts follows common law for boundary fence disputes. Worcester encourages neighbors to discuss fence plans…
Read full rule →Retaining Walls
Height limits and permit requirements for retaining walls, including engineering requirements for taller walls on sloped lots.
Newton
Significant RestrictionsIn Newton, any retaining wall 4 feet or taller needs a special permit from the City Council before construction. The…
Read full rule →Lawrence
Some RestrictionsLawrence requires every fence and retaining wall to stay firmly anchored in the ground and in good structural repair…
Read full rule →Lynn
Some RestrictionsLynn's Zoning Ordinance caps retaining walls in the frontage area at four feet, requires four feet of horizontal…
Read full rule →Somerville
Some RestrictionsSomerville caps a retaining wall in the front yard at 4 feet, with successive walls needing at least 4 feet of…
Read full rule →Springfield
Some RestrictionsBuilding a retaining wall in Springfield takes a City building permit with a $75 minimum fee, the same rate charged for…
Read full rule →Taunton
Some RestrictionsTaunton's zoning code treats any retaining wall taller than four feet as a regulated 'structure,' the same category as…
Read full rule →Plymouth County
Few RestrictionsNo county permits retaining walls. Under the state building code, 780 CMR, a retaining wall up to four feet high…
Read full rule →Material Restrictions
Specific materials that are prohibited for fencing, such as barbed wire, razor wire, or electric fencing in residential zones.
Quincy
Heavy RestrictionsQuincy, Massachusetts bans electrifying a chain-link or other conductive residential fence so that it delivers an…
Read full rule →Revere
Heavy RestrictionsRevere's zoning table bans barbed wire and any fence with pointed ends across eleven of the city's districts, covering…
Read full rule →Somerville
Heavy RestrictionsSomerville restricts barbed wire, razor wire, and electrified fencing in residential areas, with additional…
Read full rule →Bristol County
Some RestrictionsFence materials in Bristol County cities follow local zoning bylaws. Wood, vinyl, and wrought iron are standard…
Read full rule →Cambridge
Some RestrictionsCambridge prohibits barbed wire and razor wire in residential zones; historic districts restrict materials to wood…
Read full rule →Lowell
Some RestrictionsIn Lowell's transit-oriented and mixed-use development overlays, chain link fence, barbed wire, razor wire, and chicken…
Read full rule →Lynn
Some RestrictionsThe Lynn Zoning Ordinance bans barbed wire and concertina wire on any lot in the city. Section 7.B.3.b's prohibition…
Read full rule →New Bedford
Some RestrictionsNew Bedford bans barbed wire fencing in every residential zone, and on any property line touching a residential zone…
Read full rule →Newton
Some RestrictionsNewton bans barbed wire and razor wire fencing outright and requires chain-link fences to have their sharp top prongs…
Read full rule →Norfolk County
Some RestrictionsNorfolk County has no fence material ordinance. Towns regulate materials via zoning bylaws. Historic districts…
Read full rule →Springfield
Some RestrictionsSpringfield's zoning ordinance bans razor or barbed wire on any front lot line citywide and bans it outright on fences…
Read full rule →Leominster
Light RestrictionsLeominster does not ban barbed wire or electric fencing in its code, but it does restrict where solid fence materials…
Read full rule →