Home › Massachusetts › Sudbury › Fences

Fence height rules in Sudbury, Massachusetts

Sudbury, Middlesex County · Bylaws checked 2026-10-03 · Reviewed · 3 cited sections

Allowed

Sudbury's Zoning Bylaw lets you put fences and gates in any yard, including the front yard, with no setback from the property line. The 2023 bylaw we reviewed sets no specific fence height limit, so check with the Building Department before building a tall fence.

Where fences may goAny yard (front, side or rear); no setback stated [1]
Max heightNo specific fence height found; fences are 'subject to height limitations' [1]
Flood Plain OverlayFences allowed if accessory to a single-residence use and they don't affect watercourse flow [2]
Pool enclosuresMust meet the State Building Code [3]

Fences are allowed in any yard

Sudbury has no stand-alone fence bylaw. The Zoning Bylaw's definition of "Yard" lists fences and gates among the items that "are permitted in any yard but shall be subject to height limitations" [1]. That means a fence doesn't have to meet the building setbacks and can go up to the lot line, including in the front yard. On a corner lot, both street sides count as front yards.

Height

The bylaw doesn't say what height limit applies to fences. We found no fence-specific height cap, front-yard limit, corner sight-line rule, or "good side out" requirement in the 2023 Zoning or General Bylaws. Under the State Building Code, a fence over 7 feet needs a building permit, and a fence over 6 feet put up to annoy a neighbor can be a spite fence under state law. Confirm any local height rule with the Building Department before building.

Special situations

  • Flood plain: In the Flood Plain Overlay District, where most structures are banned, fences are still allowed if they're accessory to a single-residence use and don't affect the natural flow of any watercourse [2].
  • Pools: Pool enclosures must meet State Building Code barrier rules [3].
  • Wetlands: A fence within 100 feet of a wetland may need Conservation Commission review under Sudbury's Wetlands Administration Bylaw.
  • Historic districts: Sudbury has several local historic districts, whose rules aren't covered here.

About our sources

We reviewed the 2023 town PDF of the Zoning Bylaw. The current codification (zoning effective May 2025) is only on eCode360, which we couldn't access, so a later fence amendment can't be ruled out.

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

Next steps

  1. Call the Building Department (978-440-5461) to confirm whether any height limit or permit applies to your fence.
  2. Locate your property lines (a survey or recorded plot plan) before building at the line.
  3. If the fence is near a wetland, stream or pond, or in a historic district, check with the Conservation Commission or Historic Districts Commission first.

Common questions

Can I put a fence in my front yard in Sudbury, Massachusetts?
Yes. The Zoning Bylaw lets you put fences and gates in any yard, including the front yard, with no setback from the property line.
How tall can a fence be in Sudbury, Massachusetts?
The 2023 bylaw reviewed sets no specific height limit, though fences are subject to height limitations. Check with the Building Department before building a tall fence.
Do pool fences have special rules in Sudbury, Massachusetts?
Pool enclosures must meet the State Building Code.
Can I build a fence in a floodplain in Sudbury, Massachusetts?
In the Flood Plain Overlay District, fences are allowed if accessory to a single-residence use and they don't affect watercourse flow.

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 Sudbury's published bylaws. Section numbers are as printed in the source.

  1. Sec. 7000 Definitions, "Yard", Zoning Bylaw, Article IX (effective May 3, 2023) - town PDF, p. 192
    Yard: An open space on a lot unoccupied by a building or structure or such parts thereof; provided, however, that cornices, or eaves not exceeding eighteen inches in width, steps, unroofed porches, window sills, slanted bulkheads, fences, gates or security stations, yard accessories, ornaments and furniture, and customary summer awnings are permitted in any yard but shall be subject to height limitations.
  2. Sec. 4141 Flood Plain Overlay District, Zoning Bylaw, Article IX (effective May 3, 2023) - town PDF, p. 54
    4141. No building, wall, dam or other structure shall be erected, constructed, altered, enlarged or otherwise created or moved for any living or other purpose, provided that tents, fences, wildlife management shelters, foot paths, bicycle paths, horse paths, and foot bridges are permitted if (i) they are accessory to lawful primary uses in a single residence district and (ii) they do not affect the natural flow patterns of any watercourse.
  3. Sec. 2325, Zoning Bylaw, Article IX (effective May 3, 2023) - town PDF, p. 21
    Enclosures for swimming pools shall meet the Massachusetts State Building Code requirements.
This page summarizes Sudbury'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 Inspector / Zoning Enforcement Agent) ((978) 440-5461) before you build. Spot an error?