Fence height rules in York, Maine
York's Zoning Ordinance sets no separate fence height limits for front or back yards. Fences 7 feet tall or less are exempt from the zoning setbacks, so they can go up to the property line. A fence taller than 7 feet must meet the same setbacks as other structures. Near street corners, fences that block sight lines aren't allowed within a 20-foot triangle, and in a historic district you need Historic District Commission approval.
| Setback exemption | Fences 7 ft tall or less are exempt from structure setbacks [1] |
| Fences over 7 ft | Must meet the zone's structure setbacks (fences are 'structures') [2] |
| Corner-lot sight triangle | No sight-obscuring fences within 20 ft of the street intersection point [3] |
| Historic districts | Changes to walls and fences need a Certificate of Appropriateness [4] |
| Front vs. side/rear height limit | None specified in the zoning ordinance [1] |
Height and setbacks
The Zoning Ordinance has no fence-specific height cap for front, side or rear yards. Instead, §5.1.5.2 exempts "fences 7 feet tall or less" from the structure setbacks in §5.2, along with items like mailboxes, flag poles, pergolas 8 ft or less and retaining walls 4 ft or less [1]. A fence counts as a structure, which York defines as anything "constructed or erected with a fixed location on or in the ground" [2]. So a fence over 7 ft has to meet the full front, side and rear setbacks for your zone.
Corner lots
To keep sight lines clear at intersections, fences that would obscure sight distance aren't allowed in a triangle at each street corner [3]. The two street sides of the triangle run 20 ft from the point where the inside edges of the streets meet (curb line or edge of pavement or gravel, not the right-of-way line). For rounded corners, measure from where the street-edge tangents intersect.
Historic districts
If your property is a designated historic landmark or site or is in a historic district, appurtenances such as walls and fences can't be altered unless the change preserves or enhances the historic character and is visually compatible with the district [4]. You need a Certificate of Appropriateness from the Historic District Commission, applied for through the Code Enforcement Officer.
Shoreland
The setback exemption in §5.1.5.2 covers the base-zone setbacks in §5.2. It doesn't mention the Shoreland Overlay's water setbacks. If your lot is near the water, ask the CEO whether a fence must meet the shoreland setback.
Permits and materials
The Zoning Ordinance doesn't say whether a building permit is needed for a residential fence, and it has no rules on materials or which side faces out for homes. Its stockade and screening-fence rules apply to commercial uses.
See how York compares with 8+ other Maine towns on fences →
Next steps
- Keep the fence 7 ft tall or less if you want to build at or near the property line; otherwise meet your zone's setbacks.
- On a corner lot, measure the 20-ft sight triangle from the street edges and keep sight-blocking fencing out of it.
- If you're in a historic district or near the water, check with York Code Enforcement before building (a Certificate of Appropriateness or shoreland review may be needed).
- Ask Code Enforcement whether your fence needs a permit, and confirm your property line (a survey helps).
Common questions
- How tall can a fence be in York, Maine?
- The Zoning Ordinance has no fence-specific height cap for front, side or rear yards. Fences 7 feet tall or less are exempt from the structure setbacks, so a fence over 7 feet must meet your zone's full setbacks.
- How close to the property line can I build a fence in York, Maine?
- A fence 7 feet tall or less can go up to the property line, since it's exempt from the zoning setbacks. If your lot is near the water, ask the Code Enforcement Officer whether the shoreland setback applies.
- Are there fence rules on corner lots in York, Maine?
- Yes. Fences that obscure sight distance aren't allowed in a triangle at each street corner, measured 20 ft along each street edge from where the street edges meet.
- Do I need approval for a fence in a York, Maine historic district?
- Yes. Walls and fences can't be altered unless the change preserves or enhances the historic character. You need a Certificate of Appropriateness from the Historic District Commission, applied for through the Code Enforcement Officer.
- Do I need a permit for a fence in York, Maine?
- The Zoning Ordinance doesn't say whether a building permit is needed for a residential fence. Ask Code Enforcement and confirm your property line.
Maine state fence laws
Maine has no statewide fence height or setback limit. Those come from your town's zoning. A few state laws still apply:
Spite fences (17 M.R.S. §2801): A fence, or anything that works like one, that is unnecessarily taller than 6 feet and is maliciously kept up to annoy the neighbors is a private nuisance. The neighbor can take legal action over it.
Boundary fences and fence viewers (30-A M.R.S. §2951 and following):
- A "legal fence" is one 4 feet high and in good repair, made of rails, timber, stone, iron or wire, or the equivalent as judged by fence viewers.
- When both neighbors' land is enclosed and in use, they share upkeep of the dividing fence equally.
- If one side won't repair their share, the other can call in the town's fence viewers. The viewers can order repairs within up to 30 days. If the repairs still aren't made, the neighbor can do the work and recover double the cost.
- These rules mostly matter for farm and pasture fencing.
Shoreland zone: The DEP's model shoreland ordinance doesn't count fences as "structures," so the water setbacks for buildings don't apply to them. Limits on clearing vegetation near the water still do.
Pools: Pool barrier requirements are covered on the Pools page.
What the ordinance says
- §5.1.5.2 Setback Exception, Zoning Ordinance (Revised through May 16, 2026), p. 94
5.1.5.2 Setback Exception. The following types of structures shall be exempt from structure setbacks established in §5.2.1, 5.2.2, and 5.2.4: sidewalks, driveways, mailboxes, septic systems, utility poles, utility lines, flag poles, fences 7 feet tall or less, pergolas 8 feet tall or less, retaining walls 4 feet tall or less and sign poles which are regulated by Article 16.
- Art. 2, Definitions: Structure, Zoning Ordinance (Revised through May 16, 2026), p. 31
STRUCTURE: Anything built for the support, shelter, or enclosure of persons, animals, goods, or property of any kind, together with anything constructed or erected with a fixed location on or in the ground, exclusive of survey boundary markers and vehicles.
- §5.1.8 Corner Clearance Setbacks, Zoning Ordinance (Revised through May 16, 2026), p. 95
To help maintain clear sight distance at street intersections, fences which would obscure sight distance shall be not be allowed within a triangle adjacent to each street corner. Such triangle shall be defined as having two sides at the inside edges of the intersecting streets (curb line, or edge of paving or gravel, not the edge of the right-of-way), with the third side being the triangle’s hypotenuse connecting these two sides. The street sides of this triangle shall be 20’ from the point of intersection, or in the case of rounded street corners, from the point of intersection of the street edge tangents.
- §12.14.2.1, Zoning Ordinance (Revised through May 16, 2026), p. 224
A building or structure classified as an historic landmark or site, or a building or structure located in a designated historic district, or an appurtenance related to such structures, buildings, or sites, including walls, fences, light fixtures, steps, paving, etc. shall not be altered, and no Certificate of Appropriateness shall be issued for such actions, unless these actions will preserve or enhance the historical and architectural character of the building or structure, and are visually compatible with the district.