Skip to main content
CityRuleLookup

Fence Regulations in Maryland (2026)

45 rules on the books across Maryland, 13 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.

Annapolis

Some Restrictions

Annapolis caps street-facing fences at four feet in its Neighborhood Conservation districts, requires a Planning and…

Read full rule →

Anne Arundel County

Some Restrictions

Fences up to 6 feet tall are permit-exempt across unincorporated Anne Arundel County, but a permit is required…

Read full rule →

Baltimore County

Some Restrictions

In unincorporated Baltimore County, residential fences may be up to 42 inches (3.5 feet) in a front yard and 6 feet in…

Read full rule →

Carroll County

Some Restrictions

Carroll County lets fences rise up to 10 feet without a building permit, so long as they meet County, City, or Town…

Read full rule →

Charles County

Some Restrictions

Charles County caps front-yard fences at four feet (six feet if part of a coordinated project design), and rear or side…

Read full rule →

Gaithersburg

Some Restrictions

Gaithersburg limits fences and screen walls to 3 feet in any front yard or along a public or private road, 6 feet in…

Read full rule →

Harford County

Some Restrictions

In unincorporated Harford County, front-yard fences and walls on residential lots top out at 4 feet under Harford…

Read full rule →

Howard County

Some Restrictions

On a corner lot, no fence over 3 feet may sit inside the sight triangle formed by lines 25 feet back from where the…

Read full rule →

Montgomery County

Some Restrictions

Montgomery County's Zoning Ordinance limits fences, walls, and hedges on residential corner lots to 3 feet within 15…

Read full rule →

Prince Georges County

Some Restrictions

Prince George's County caps residential and rural-zone fences at 4 feet in front yards, corner-lot side yards facing…

Read full rule →

Rockville

Some Restrictions

Rockville regulates fence placement, height, and design under Chapter 25, Article 9. Electric and barbed wire fences…

Read full rule →

Washington County

Light Restrictions

Washington County's Zoning Ordinance sets no fixed maximum height for residential fences and walls. Section 23.3(c)…

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.

Annapolis

Some Restrictions

Annapolis requires a Department of Planning and Zoning permit before erecting, altering, replacing, or removing more…

Read full rule →

Baltimore County

Some Restrictions

Baltimore County caps residential fences at 42 inches in front yards and six feet in side and rear yards, but BCZR §…

Read full rule →

Gaithersburg

Some Restrictions

A Residential Fence Permit is required in Gaithersburg for all new fences and any additions or alterations to existing…

Read full rule →

Harford County

Some Restrictions

Every fence or wall built in unincorporated Harford County needs a zoning certificate before construction starts, per…

Read full rule →

Howard County

Some Restrictions

Fences that stay within the exempt heights need no zoning setback approval, but Howard County's building code requires…

Read full rule →

Montgomery County

Some Restrictions

Montgomery County requires a building permit before installing or replacing a fence, issued by the Department of…

Read full rule →

Prince Georges County

Some Restrictions

Prince George's County requires a building permit for any residential fence above four feet, per County Code Sec…

Read full rule →

Rockville

Some Restrictions

Rockville requires a fence permit from the Chief of Zoning before any fence is built in the city. Deer mesh…

Read full rule →

Anne Arundel County

Light Restrictions

Anne Arundel County requires a construction permit for any fence taller than 6 feet, and for any residential fence on…

Read full rule →

Charles County

Light Restrictions

Charles County does not require a building permit for a fence up to seven feet tall. Once a fence exceeds seven feet…

Read full rule →

Wicomico County

Light Restrictions

Fences up to eight feet high in unincorporated Wicomico County do not need a building permit under § 117-3E of the…

Read full rule →

Retaining Walls

Height limits and permit requirements for retaining walls, including engineering requirements for taller walls on sloped lots.

Annapolis

Some Restrictions

When the City orders supplemental inspections on a grading permit, retaining wall construction must be directed and…

Read full rule →

Anne Arundel County

Some Restrictions

Retaining walls up to 2 feet tall are permit-exempt in Anne Arundel County; taller walls, or any wall holding back a…

Read full rule →

Baltimore County

Some Restrictions

Baltimore County requires a retaining wall built entirely on the property causing the change whenever a graded lot…

Read full rule →

Carroll County

Some Restrictions

Carroll County requires a retaining wall taller than 30 inches, measured from finish grade to the top of the wall…

Read full rule →

Harford County

Some Restrictions

Harford County requires a zoning certificate for any retaining wall 4 feet or taller under § 267-27C(6)(f) of the…

Read full rule →

Howard County

Some Restrictions

A retaining wall in Howard County needs no building permit if it is 3 feet or less, measured from the lowest adjacent…

Read full rule →

Montgomery County

Some Restrictions

Montgomery County exempts residential retaining walls under 36 inches from permits, but any wall over 48 inches, or…

Read full rule →

Prince Georges County

Some Restrictions

Prince George's County's Zoning Ordinance limits retaining walls to 6 feet in height from finished grade, allowing up…

Read full rule →

Washington County

Some Restrictions

Washington County requires any retaining wall built in connection with land disturbance to appear on the grading plan…

Read full rule →

Gaithersburg

Light Restrictions

Gaithersburg only exempts a retaining wall from a building permit if it is 3 feet or less, measured from the lowest…

Read full rule →

Wicomico County

Light Restrictions

Retaining walls up to four feet high, measured from the bottom of the footing to the top of the wall, do not need a…

Read full rule →

Rockville

Few Restrictions

Rockville places no height cap on retaining walls that hold back earth along a lot line, they may be built to any…

Read full rule →