Home › Massachusetts › Needham › Fences

Fence height rules in Needham, Massachusetts

Needham, Norfolk County · Bylaws checked 2026-10-03 · Reviewed · 7 cited sections

Allowed

Needham's bylaws we reviewed set no general height limit for residential fences, and fences are exempt from zoning setbacks, so they can go on the property line. The main local limits are a 25-foot sight triangle at street corners, where nothing may block drivers' view, and a special permit for fences in the Flood Plain District.

Max fence height (front/side/rear)No height limit found in the Zoning or General By-Laws [1]
Setback from property lineNone: fences are excluded from setback measurements [1]
Accessory structure setback rule5-ft side/rear setback applies to accessory structures "excepting fences" [2]
Corner-lot sight triangle25 ft from the intersection along each street line; no fence that blocks traffic view [3]
Flood Plain DistrictSpecial permit from the Board of Appeals required for fences [4]
Retaining walls in setbacksMax 4-ft face (40% of perimeter) without special permit; fall protection may be required over 4 ft [5]

Height and placement

These rules come from the Zoning By-Law as amended to May 2025 and the General By-Laws' July 2023 compilation; later amendments may not be reflected.

Needham's Zoning By-Law doesn't set a maximum fence height for homes. Instead, it treats fences as outside the normal dimensional rules: setbacks are measured to buildings and structures but not to uncovered steps, fences or awnings [1], and the rule requiring accessory buildings and structures to stay 5 ft from side and rear lot lines applies "excepting fences" [2]. The zoning definition of a structure also excludes a fence, boundary wall or retaining wall [6]. In practice, that means a fence can generally be built up to the lot line. State law adds a few limits: fences over 7 ft need a building permit, and a fence that unnecessarily exceeds 6 ft to annoy a neighbor can be a private nuisance.

Corner lots

Under the General By-Laws, every street intersection has a clearance triangle formed by the two street side lines and a line joining points 25 ft back from where they meet. No fence, hedge, tree or similar object that blocks the view of traffic entering the intersection may be put up or kept in that area [3]. If the corner point is uncertain, the Town Engineer certifies the triangle.

Flood plain and wetlands

In the Flood Plain District, all development, explicitly including fences, sheds and storage facilities, requires a special permit from the Board of Appeals [4]. Fence work in or near wetlands may also need Conservation Commission review.

Retaining walls and pool fences

If a fence sits on a retaining wall, note that walls in a required yard setback are limited to a 4-ft face along no more than 40% of the lot's perimeter unless a special permit is granted, and walls over 4 ft may need fall protection, such as fencing, if the Building Commissioner requires it [5][7]. Pool barriers must meet the state building code (see Pools).

See how Needham compares with 8+ other Massachusetts towns on fences →

Next steps

  1. If you're on a corner lot, measure 25 ft back along each street line from the intersection and keep anything that blocks drivers' view out of that triangle.
  2. Check the town's flood plain and wetlands maps; in the Flood Plain District, apply to the Board of Appeals for a special permit before installing a fence.
  3. For a fence over 7 ft, or one on top of a retaining wall over 4 ft, contact the Building Department (781-455-7550) about a building permit.
  4. Confirm your property line (survey or plot plan) before building on or near it.

Common questions

How tall can a fence be in Needham, Massachusetts?
The bylaws reviewed set no general height limit for residential fences. The page notes the Building Department may have policy guidance, so it's worth checking.
Can I build a fence on the property line in Needham, Massachusetts?
Yes. Fences are exempt from zoning setbacks, so they can go on the property line.
Do I need a permit for a fence in Needham, Massachusetts?
The page lists a special permit from the Board of Appeals only for fences in the Flood Plain District. It doesn't describe a general fence permit requirement.
Are there fence rules at street corners in Needham, Massachusetts?
Yes. Within a 25-foot sight triangle at the intersection along each street line, no fence may block drivers' view of traffic.

Massachusetts state rules on fences

Most fence rules in Massachusetts are local, set in your town's zoning bylaw and sometimes historic-district rules. A few state laws apply everywhere:

  • Building permit: the State Building Code (780 CMR, 10th edition) does not require a building permit for fences 7 feet high or less. Taller fences need one. Zoning height limits and setbacks still apply, and many towns cap fences at 6 feet.
  • Spite fences: under M.G.L. c. 49, §21, a fence that unnecessarily exceeds 6 feet and is maliciously put up or kept to annoy a neighbor is a private nuisance. The neighbor can sue for damages.
  • Fence viewers: every town must appoint fence viewers each year (c. 49, §1). Where adjoining owners both enclose and use their land, they share the upkeep of the partition fence equally unless they agree otherwise. If one side won't repair their share, the other can complain to the fence viewers, who can order the repair (c. 49, §§3–4). By statute, a "legal and sufficient" fence is 4 feet high and in good repair (c. 49, §2).
  • Pool fences must meet the state pool barrier rules (see Pools).
  • Wetlands: fence work in a wetland or within 100 feet of one may need Conservation Commission review.

State sources: M.G.L. c. 49, §21 (spite fences) · M.G.L. c. 49, §1 (fence viewers) · M.G.L. c. 49, §2 (legal and sufficient fences) · M.G.L. c. 49, §3 (partition fence maintenance) · M.G.L. c. 49, §4 (fence viewer proceedings) · 780 CMR 10th ed., Residential Chapter 1, R105.2 (work exempt from permit)

What the bylaw says

Exact text from Needham's published bylaws. Section numbers are as printed in the source.

  1. §1.3 Definitions (Setback), Zoning By-Law (amended to May 2025; printed November 2025), p. 20
    Setback – front, side and rear – the minimum horizontal distance from a street line or a lot line, as the case may be, to any part of a building or structure, including overhang but not: (i) uncovered steps, fences or awnings;
  2. §4.2.9 Minimum Side and Rear Line Setbacks: Accessory Structures, Zoning By-Law (amended to May 2025; printed November 2025), p. 180
    No accessory building or structure, excepting fences, shall be constructed, altered or relocated so that any part thereof shall be less than ten (10) feet from any other building or structure or less than five (5) feet from the side or rear lines of the lot on which such building or structure is located.
  3. §2.2.5.1.6 Street Intersections, General By-Laws and Charter (July 2023 Compilation), p. 13
    No fence or other structure, shrubbery, foliage, hedge, tree or the like which interferes with sight lines across such clearance area and thereby limits or obstructs the view of vehicular traffic entering such intersection shall be erected,
  4. §3.3.5 Special Permit Required for all Proposed Development in Flood Plain District, Zoning By-Law (amended to May 2025; printed November 2025), p. 77
    (a) All proposed construction or other development in the Flood Plain District, including new construction or changes to existing buildings, placement of manufactured homes, placement of agricultural facilities, fences, sheds, storage facilities or drilling, mining, paving and any other development that might increase flooding or adversely impact flood risks to other properties.
  5. §6.11.3(b) Walls Within Yard Setbacks, Zoning By-Law (amended to May 2025; printed November 2025), p. 256
    (b) Walls Within Yard Setbacks – No retaining wall shall be built within the required yard setback except a retaining wall (i) with a face not greater than four (4) feet in height at any point and a length that does not exceed forty (40) percent of the lot’s perimeter, or (ii) as allowed by a Special Permit issued in accordance with Subsection 6.11.5 of this Section.
  6. §1.3 Definitions (Structure), Zoning By-Law (amended to May 2025; printed November 2025), p. 23
    Structure – anything constructed or erected, the use of which requires a fixed location on the ground or attached to something located on the ground including an artificial or a constructed swimming pool having a depth of water of two (2) feet or more or a water surface area of at least one hundred (100) square feet when filled to capacity, but excluding a fence, boundary wall, retaining wall, public utility pole, public utility supporting device or a structure with less than one hundred square foot ground coverage and a height of less than eight (8) feet.
  7. §6.11.3(d) Fall Protection, Zoning By-Law (amended to May 2025; printed November 2025), p. 256
    (d) Fall Protection - All retaining walls over four (4) feet in height shall be required to provide fall protection if so determined by the Building Commissioner.
This page summarizes Needham's posted bylaws as of 2026-10-03. Bylaws are amended, and individual lots can have overlays, subdivision covenants, or HOA rules that are stricter. Confirm with Building Department (Building Commissioner / zoning enforcement), Public Services Administration Building, 500 Dedham Avenue (781-455-7550) before you build. Spot an error?