FENCE RULES – DANVERS (TOWN), MASSACHUSETTS

OVERVIEW

Danvers administers fence questions through town zoning and other property-specific rules, alongside Massachusetts building and safety codes. For a typical residential fence, the state building-permit exemption is not a blanket permission to build at any height or location. Danvers has specific fence design standards within its Character-Based Zoning District and separate review requirements where floodplain, wetlands or historic protections apply. Updated November 2026.

Quick questionDanvers answer
Permit or approvalMassachusetts exempts fences not over 7 feet from the state building-code permit; exactly 7 feet is included. A new ordinary fence over 7 feet requires a building permit. A mapped floodplain project, protected wetland area or historic-district property can have a separate town approval requirement.
Typical fence heightNo townwide numerical maximum for an ordinary residential boundary fence was established from the reviewed general sources. Within the Character-Based Zoning District only: front-area fences generally have a 4-foot/50%-opacity rule; fences behind the defined frontage threshold generally have a 6-foot maximum, subject to stated exceptions.
Placement & property linesWithin that special district, a fence may be along a lot line; one placed directly on a shared side or rear line requires the adjoining owner’s consent. The district prohibits fences in existing or required drainage or utility easements. Do not assume those special-district details establish a townwide setback.
Common fence materialsWood: no townwide type prohibition established; special-district design rules still apply. Vinyl/PVC: no townwide blanket approval or prohibition established. Chain-link: a Character-Based Zoning District corner-front fence requires a Planning Board special permit; do not extend that restriction townwide.
Important local conditionsFence rules may be further affected by mapped floodplain restrictions, local wetland resource and buffer zones, the Salem Village Historic District, private swimming-pool barriers, drainage, easements and excavation requirements.
Official local resourceSee the town’s Danvers Zoning Bylaws, amended through February 3, 2025; the local design and general bylaws linked below provide additional rules for particular properties.

The sections below separate ordinary building-permit thresholds from the requirements triggered by a particular zoning district or site. The official sources explain those conditions and help identify which apply to a proposed fence.

GOVERNANCE

This guide concerns residential property within the Town of Danvers, not every address using a Danvers mailing address and not a separate Essex County fence ordinance. The Town’s zoning bylaws govern land-use districts and mapped overlay conditions. Town Inspectional Services handles state-code building-permit matters; the Planning Board’s special design regulations govern parcels in the mapped Character-Based Zoning District (CBZD); and the Conservation Commission administers the Town’s wetland protections where those laws apply.

The town’s main zoning bylaws are published as amended through February 3, 2025. Its general bylaws are revised through May 18, 2026. A district overlay or recorded restriction may change the answer for an individual property without establishing the same rule elsewhere in Danvers. Massachusetts law continues to govern applicable statewide construction, pool safety, excavation and property-rights issues.

PERMIT AND APPROVAL REQUIREMENTS

For an ordinary residential fence, distinguish a state building-code permit from a local land-use or special-area approval. Under Massachusetts’s tenth-edition residential building code, 780 CMR § R105.2, a fence not over 7 feet high is exempt from the state building-code permit. A new ordinary residential fence over 7 feet requires a building permit through Danvers Inspectional Services. The town’s Fence Requirements handout addresses building permits, but its wording about fences below 7 feet should not be used to exclude an exactly 7-foot fence from the current state exemption.

That state permit exemption does not waive the town’s zoning, mapped approvals, the applicable pool barrier code, easement conditions or work in a public right-of-way. Other town approvals depend on the property, location and work, not just the height of the fence. A replacement fence can also trigger review if its dimensions, location, grading or protected site conditions change.

• Character-Based Zoning District: The Planning Board’s CBZD zoning regulations, § 7, Fences and Walls, state that fences and walls under that district’s design rules do not require a zoning permit or building permit and are erected at the owner’s risk. Read that as a district-specific rule, not as a waiver of a later, controlling state building requirement for an over-7-foot fence or of separately applicable floodplain, conservation, historic or pool approvals. A Planning Board special permit is specified for particular CBZD chain-link frontage fencing and barbed or concertina wire.

• Floodplain Overlay District: Danvers zoning §§ 31.3–31.5 expressly include fences within “development” covered by the mapped Floodplain Overlay District and require the district’s building-permit/approval process for applicable development. The FPOD boundary and the proposed fence location matter; the rule is not a townwide floodplain assumption.

• Wetlands and historic properties: Danvers General Bylaws Chapter XXVI addresses fence construction and regulated work in or near identified wetlands and other resource areas. Commission review, a minor-project permit, or other authorization can apply under the bylaw. A property in the Salem Village Historic District can face separate historic review for exterior work; the town’s fence handout notes that historic-district conditions may differ.

• Pool, grading and powered access: A fence that serves as a private swimming-pool barrier must meet the applicable state pool code and Danvers Chapter XX regardless of the ordinary permit exemption. Chapter XXXIX-A § 5(I) excludes construction, reconstruction or repair of a fence or wall from that stormwater chapter when it will not alter existing terrain or drainage patterns; it is not a waiver of other permits. Powered gates or significant earthwork can raise additional code questions outside an ordinary manual boundary fence.

FENCE PLACEMENT RULES

Locate the surveyed property boundary, actual street right-of-way, private access and utility easements, and any protected resource areas before fixing a fence line. A roadway’s paved edge is not necessarily the legal right-of-way line. The general sources reviewed did not establish one numerical side- or rear-yard fence offset for every ordinary Danvers residential lot; do not substitute setbacks for buildings or special-district rules for an ordinary fence-setback ordinance.

• CBZD lot lines: Within the mapped Character-Based Zoning District, § 7 allows fences up to or along lot lines. A fence installed directly on a shared side or rear lot line requires the abutting owner’s consent. Fence posts and rails must face inward; the finished face must face the neighboring property. The district expressly excludes fences and walls from existing or required drainage and utility easements.

• CBZD street frontage: The district’s front-area test uses the lesser of its maximum front setback and the actual distance of the building facade from the front lot line. On corner lots, the special frontage restrictions apply to both primary and secondary frontages. These are CBZD design boundaries, not an automatic rule for a Danvers home outside that zoning district.

• Wetlands and water resources: Chapter XXVI regulates changes to identified protected land and ordinarily reaches a 100-foot resource-area buffer zone, with a conditional 35-foot no-disturb zone and 50-foot no-build zone for listed resources. The Conservation Commission may authorize work or apply the bylaw’s expressly stated exceptions and minor-project route; these dimensions are not a general fence setback from all property lines. Under §6 of the wetlands bylaw, a fence up to 200 linear feet that does not block wildlife movement may qualify for minor-project review if it is in the 100-foot buffer but outside the 50-foot no-build zone, or in riverfront area at least 50 feet from the identified Mean Annual High Water Line. The location and performance tests do not guarantee approval. Work inside a more protected zone may still need specific authorization.

• Shared fences and agricultural land: Massachusetts General Laws chapter 49 may allocate maintenance of certain partition fences between adjoining occupants when its enclosed-land and continuing-improvement conditions are met; it does not automatically make neighbors split every new residential privacy fence. The Danvers wetlands bylaw has a separate exception for normal maintenance or improvement of land actually devoted to agricultural use at the relevant time; rural residential acreage by itself does not establish that use or eliminate residential land-use and pool rules.

• Postholes and Dig Safe: Before excavation, including augering or driving posts, premark the intended work area and arrange a Massachusetts Dig Safe / 811 notice normally at least 72 hours excluding Saturdays, Sundays and legal holidays and no more than 30 days before digging. A ticket lasts 30 calendar days while markings remain valid; renew with required advance notice. Check notified utilities’ responses and markings, protect them and call 811 about missing responses rather than assuming silence means clearance. Within a marked facility’s width plus 18 inches on each side, follow the applicable careful nonmechanical locating rules. Private lines and property boundaries are not identified merely by an 811 ticket.

FENCE HEIGHT AND VISIBILITY RULES

The 7-foot Massachusetts building-permit threshold is not a statewide or townwide maximum allowable fence height. The reviewed Danvers general zoning and bylaw sources do not establish a general numerical maximum for every ordinary residential fence. A proposed height still must comply with the actual district, overlays, safety rules and any applicable town review; a gap in communicated townwide dimensions is not permission for an unrestricted height.

• CBZD interior lot, front area: Under Planning Board § 7, a fence or wall located forward of the lesser front-setback/facade-distance line may be no more than 4 feet high and no more than 50% opaque.

• CBZD interior lot, behind that line: A fence or wall taller than 6 feet is prohibited unless it is required as screening. The regulation provides limited integrated architectural fence, wall and gate-post features up to 6.5 feet for side and rear fences and 4.5 feet for front fences; these exceptions do not make the entire front or rear fence that tall.

• CBZD corner lot: Both primary and secondary street frontages have the 4-foot and 50%-opaque limit forward of the same defined line. Behind that line, the district’s corner-lot fence maximum is 6 feet. The street and yard classification should be determined for the actual lot rather than by assuming that every side fence is a rear fence.

• Windows, drainage and views: CBZD fencing or walls within 4 feet of windows must be at least 70% opaque under the adopted district standard. If the same segment is also in a front area limited to 50% opacity, the two tests cannot both be met there as written. Check the layout and applicable approval with the Planning Board before choosing the fence location or design. Streets, required sight visibility, drainage/utility easements, public ways and separate historic approvals can further constrain the design; no universal intersection-sight dimension was established for all Danvers residential fences in the sources reviewed.

• Neighbor nuisance: Massachusetts General Laws chapter 49, §21 treats a fence or similar structure as a private nuisance if it unnecessarily exceeds six feet and is maliciously erected or maintained to annoy an adjoining owner or occupant. That is not a general fence-height cap.

MATERIAL AND CONSTRUCTION LIMITS

Danvers’s reviewed general townwide sources do not establish a blanket rule affirmatively approving or banning wood, vinyl/PVC or chain-link on every ordinary residential lot. Choose a material only after checking the actual property district, a required design approval, the permitted frontage openness and any pool or preservation conditions. A material not individually prohibited in the reviewed text is not guaranteed lawful for every site.

• Wood: Ordinary wood privacy or picket construction is not subject to a verified townwide material ban in the reviewed sources. On CBZD parcels it still must meet the district’s front opacity, height, lot-line and finished-face requirements.

• Vinyl/PVC: The reviewed sources do not establish either a townwide vinyl-panel prohibition or a blanket local approval. Opaque privacy panels can conflict with the CBZD front-area 50%-opacity limit, whatever material they use.

• Chain-link and wire: Within the CBZD, chain-link fences forward of the defined frontage line on a corner lot need a Planning Board special permit; this is not a prohibition of chain-link throughout Danvers. CBZD barbed wire and concertina wire require a Planning Board special permit. The code does not turn those narrow exceptions into an unrestricted permission for other districts.

• Orientation and integration: CBZD posts and supporting rails face inward toward the fenced property, with the finished face outward toward the neighbor. A fence near a CBZD window, an existing drainage easement or a wetland buffer must also meet the separate applicable rules described above. Gates should not obstruct access or enter a public way without an applicable right.

• Private swimming pools: Danvers General Bylaws Chapter XX §1 requires a suitable fence, equivalent enclosure or protection as defined by the Massachusetts building code, at least 4 feet high with a self-latching gate, for permanently installed private pools and other pools capable of holding over 2 feet of water. The current state-adopted 2021 International Swimming Pool and Spa Code (with Massachusetts amendments) also governs when applicable, including its generally 48-inch minimum barrier height, opening/climb-resistance and self-closing/self-latching gate rules. The ordinary 7-foot state building-permit exemption does not remove pool-barrier duties; a decorative boundary fence is not automatically a compliant pool barrier.

• Installing a pool: The Town residential pool permit guide asks for a plan and fence, gate and lock details, calls for lockable outward-opening gates, and directs applicants to show a perimeter fence even if the aboveground pool has a top-mounted barrier. Those are the published application instructions, not a repeal of the bylaw’s equivalent-protection language; the guide quotes an older depth threshold, so use the current bylaw above. The guide also calls for a temporary barrier once the pool is excavated, kept secure until the permanent barrier is installed, and permanent fencing within seven days of pool completion.

PRIVATE RESTRICTIONS

Recorded deeds, easements, condominium or association declarations, and agreements with neighbors can affect a fence’s location, materials, appearance, access gates or maintenance even where the town would otherwise allow the design. A municipal permit or state permit exemption does not settle a contested boundary, grant an easement or cancel a recorded private restriction. A fence placed partly on a shared boundary is different from a fence wholly inside the surveyed owner’s land.

REVIEW AND ENFORCEMENT CONTEXT

Fence issues are typically reviewed during permit or approval review when required, and through complaint-based code enforcement. Examples include:

• Building and mapped review: Town review of a fence above the state building-permit exemption or a project within the mapped Floodplain Overlay District.

• Special district: Planning Board consideration of CBZD frontage, chain-link, barbed-wire or architectural design provisions where that district applies.

• Protected sites: Conservation Commission consideration of fencing near wetland resources and any applicable historic-district review.

• Neighbor and site concerns: Questions about lot-line consent within the CBZD, drainage easements, pool enclosures and disputed private boundaries, each handled under its own public or private authority.

USING THIS INFORMATION

This page provides general orientation on how residential fence rules are structured and applied within the Town of Danvers, Massachusetts. Updated November 2026.

In addition to local fence rules, certain Massachusetts laws apply statewide. See Statewide Fence Laws in Massachusetts.

It is not legal advice and does not replace official statutes, regulations, ordinances, orders, permits, surveys, recorded documents or professional guidance. Rules and interpretations may change. Applicable requirements depend on the property’s actual location, the authority responsible for each issue, current adopted codes and amendments, zoning and site conditions, rights-of-way, easements, drainage and floodplain conditions, historic or design districts, pool and home uses, agricultural and livestock conditions, shared-fence rights, excavation and private restrictions. Government approval does not resolve ownership, private agreements or recorded access rights. If this page conflicts with controlling law or official requirements, the controlling authorities govern.