FENCE RULES – MONTGOMERY (COUNTY), MARYLAND

OVERVIEW

This guide addresses ordinary residential fences in areas where Montgomery County administers the relevant permit and zoning requirements. Incorporated municipalities may issue additional approvals or administer their own permits; the City of Rockville and City of Gaithersburg are not covered by the county fence-permit workflow described here.

Montgomery County generally requires a fence permit for a newly installed residential fence, including an otherwise ordinary wood, vinyl or chain-link installation. A previously permitted fence may be replaced in the same position, height, style and material without another fence permit under the county’s stated in-kind replacement treatment. The county zoning ordinance uses important height thresholds to identify setback exceptions, not a single blanket maximum fence height. Corners, street visibility, utility and drainage easements, historic status, and rural deer fencing can change the answer. A pool barrier has separate safety rules. Start with the county fence permit guidance and the fence-and-wall section of the zoning ordinance.

Quick questionMontgomery County answer
Permit or approvalA county fence permit is generally required for a new fence. In-kind replacement of a previously permitted fence with the same height, location, material and style has a stated exemption; additional municipal, historic or site approvals may apply.
Typical fence heightThe zoning ordinance uses 6½ feet (and certain 8-foot cases) as setback exceptions, not general fence-height caps. Corner sight areas have a separate 3-foot obstruction limit.
Placement & property linesCheck the boundary, lot yards, setback applicability and recorded easements. Corner lots have a 15-foot street-intersection visibility area; do not block utility or drainage access.
Common fence materialsWood: fence permit and location review apply. Vinyl/PVC: same ordinary permit process; type and appearance remain reviewable. Chain-link: ordinary permit review applies; it does not qualify as the defined deer-fence mesh.
Important local conditionsFence rules may be further affected by agricultural-use and deer fencing, historic preservation, utility/drainage easements, septic systems, floodplain or road restrictions, municipality requirements, and pool-barrier safety.
Official local resourceMontgomery County DPS fence permit and replacement guidance

This Quick Answers table summarizes the main homeowner questions; the sections below explain the governing restrictions, exceptions and the official sources. Before purchasing materials or beginning construction, read the relevant sections, check the linked rules and confirm property-specific conditions with the responsible office.

GOVERNANCE

Montgomery County’s zoning ordinance governs fence and wall placement in the county-administered zoning territory. The county zoning fence-and-wall provision, §59-6.4.3.C sets location, measurement and sight-area rules. The Department of Permitting Services fence guidance addresses the county’s fence permit workflow.

A municipal address alone does not determine which government issues permits. Some incorporated communities have separate approvals, while Rockville and Gaithersburg are outside the stated county fence permit process. County roadway, utility, well/septic, historic and floodplain reviewers can have separate functions. Maryland’s Building Performance Standards and swimming-pool provisions are distinct from county zoning.

PERMIT AND APPROVAL REQUIREMENTS

• New installations: The county advises that a new fence requires a fence permit. Submit a fence application and site plan or survey identifying the proposed placement, height and type. For a fence installed on a private property line, the application must include a letter of approval from the adjacent property owner. The county fence forum presentation explains the planning and review process.

• Replacement: The county distinguishes a previously permitted fence replaced in kind—same material, style, height and location—from a fence that was never permitted. Its stated in-kind replacement exemption does not legalize an unpermitted fence or a relocation, height increase or different installation. See official county replacement guidance.

• Agricultural use: The county permit presentation describes a qualifying fence actually used for agricultural purposes as exempt from the ordinary fence permit. Agricultural acreage alone is not the operative test; rural residences without qualifying agricultural fence use should not assume that exemption.

• Separate reviews: Historic preservation, a municipal approval, floodplain authorization, road right-of-way work, environmental/well/septic review or permission from the holder of an easement may still be needed for the affected site. A fence permit is not a grant of rights over public land or utility property.

FENCE PLACEMENT RULES

• Property and yard limits: The ordinance’s fence setback exceptions differ from the principal building setbacks. A fence outside an applicable exception must be evaluated against the underlying yard setbacks. Use a survey or recorded plat rather than a street address or the line of an old fence to establish the lot boundary.

• Easements: Drainage, utility and related easements can limit installation even when the fence is within the lot. Obtain the responsible easement holder’s approval where the ordinance or recorded instrument requires it; retain access for utilities and stormwater facilities. County guidance addresses WSSC, electric utility, storm-drain and septic constraints.

• Public frontage: Keep fences out of public rights-of-way unless specifically authorized, and account for road permits, street intersections and adjoining sidewalks. For a new fence in a side or front yard abutting a County-maintained roadway, County permit guidance requires the permittee to contact the Right of Way Inspector. An easement is not necessarily a public lot-line setback.

For fence-post excavation, Maryland’s utility-notification rules generally require a Miss Utility request before digging. Certain shallow, hand-only activity at a private residence has a narrow exception, but this is not a general fence-post exemption. See the Maryland excavation-notice law and Miss Utility Maryland.

FENCE HEIGHT AND VISIBILITY RULES

• Measurement: Under §59-6.4.3.C, fence height is measured from the lowest grade directly under the fence. A slope can make measurement differ from the grade on the higher side.

• Ordinary setback exceptions: Under §59-6.4.3.C(3)(c), the stated exception for a wall or fence other than the separately listed categories does not apply on property abutting a national historic park. Elsewhere, it covers a wall or fence 6½ feet or lower when not abutting a Commercial/Residential, Employment or Industrial zone, or 8 feet or lower when the fence abuts one of those zones, a master-planned rail-line right-of-way, or a service road accessing such a right-of-way. These are building-line and setback exemptions, not general fence-height caps or blanket height approvals.

• Street corners: On a corner lot in a Residential zone, the specified visual obstructions may not exceed 3 feet above curb level within 15 feet of the intersection of the front and side street lines. Section 59-6.4.3.C(2)(b) separately requires a deer fence on a Residential-zone corner lot to stay no closer to the street than the face of the building. A deer-fence setback exception does not erase that corner placement rule.

• Deer-fence setback exceptions: Section 59-6.4.3.C(3)(a) exempts qualifying deer fencing from building-line and setback requirements in an Agricultural or Rural Residential zone. Its separate branch for property in a non-Agricultural or non-Rural Residential zone applies behind the front building line, unless the property adjoins a national historical park. The defined deer-fence construction, corner placement and applicable permit rules remain separate.

• Park-adjoining properties: Section C(3)(d) provides an exemption for a defined rustic fence on property abutting a national historical park. Section C(3)(e) separately exempts a defined boundary fence behind the front building line if the property is within 100 feet of a parking lot in a national historical park. The distinct rustic and boundary construction definitions are given below; these are not unrestricted privacy-fence permissions.

• Farmed and agriculturally assessed property: Section C(3)(f) exempts deer fencing and other fences 8 feet or lower from building-line and setback requirements only when the property is both farmed and agriculturally assessed. Agricultural assessment or agricultural zoning alone does not satisfy both conditions. This zoning exemption is distinct from the agricultural-use permit treatment discussed above.

• Street-change retaining walls: Section C(3)(b) separately exempts a retaining wall made necessary by changes in street grade, width or alignment from building-line and setback requirements. This does not waive construction or other applicable approvals.

MATERIAL AND CONSTRUCTION LIMITS

• Wood: A wood fence is subject to permit, location and approved-plan review. Wood is not given a blanket exemption by the zoning fence provision.

• Vinyl/PVC: A vinyl or PVC fence follows the county fence permit and applicable site-review process. Countywide silence on a material detail is not confirmation that every proprietary product or privacy treatment is approved in every setting.

• Chain-link: Chain-link is treated as an ordinary fence material for permit-review purposes, not as qualifying deer-fence open mesh under the county’s special deer-fence category.

• Deer-fence construction: Under §59-1.4.2’s fence definitions, a deer fence is no more than 8 feet high, using clear-view open mesh made of heavyweight plastic or similar material, with openings ranging from 1.5 × 1.5 inches to 2 × 2.75 inches. Posts may be wood, metal or fiberglass. County guidance expressly distinguishes this category from chain-link; not every open-looking or tall mesh fence qualifies.

• Rustic and boundary forms: A defined rustic fence is no more than 4 feet high, made of unpainted wood, with no more than one post per 6 feet of fence plus one, no more than three rails between two posts, and rails leaving at least 75% of the space between posts open. A defined boundary fence is no more than 5 feet high and uses unpainted wood posts and connecting material. These definitions limit the special park-related setback exceptions above; they are not universal specifications for every residential fence.

• Pool barriers and gates: A barrier for a covered private swimming pool may have separate requirements under Maryland’s current pool/spa incorporation and state amendments to the International Swimming Pool and Spa Code. The state’s typical pool enclosure baseline is at least 48 inches high, with controlled openings and self-closing, self-latching pedestrian gates; an eligible private spa with a compliant lockable safety cover is treated differently. Pool compliance is a distinct inquiry from ordinary yard-fence height and permit exemptions.

• Maintenance and site safety: Keep gates and posts within the approved footprint and do not obstruct storm drains, access points or public walkways. Retaining walls or other integrated structures may have additional construction requirements.

PRIVATE RESTRICTIONS

A recorded deed covenant, subdivision declaration, homeowners association design standard or private easement may limit fence location, material, appearance, height or installation even where the public code would permit the work. Public permit approval does not extinguish these private obligations. A boundary survey, plat or recorded easement may be necessary to determine ownership and access rights; neither a public approval nor the presence of an old fence conclusively establishes the legal boundary. Property owners should address any shared fence, access and maintenance agreement separately from county or city approvals.

REVIEW AND ENFORCEMENT CONTEXT

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

• County permit review: A proposed new fence, altered fence location or non-in-kind replacement is checked against its application, proposed height, site and approved plan.

• Zoning and corner checks: Setback exceptions, corner-obstruction limits and rural deer-fence classification depend on the actual lot and project.

• Separate site reviews: Historic features, municipal requirements and recorded utility or drainage interests may be considered outside the ordinary county fence permit decision.

USING THIS INFORMATION

This page provides general orientation on how residential fence rules are structured and applied within the county-administered areas of Montgomery County, Maryland. Updated November 2026.

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

It is not legal advice and does not replace official statutes, ordinances, orders, permits, certificates, development approvals, applicable building-code requirements, surveys, recorded documents or professional guidance. Rules and interpretations may change, and application may vary with municipal or unincorporated location, the authority responsible for each issue, current code requirements and amendments, zoning and site conditions, subdivision or plat conditions, easements, rights-of-way, drainage and floodplain requirements, historic or design districts, pool use, agricultural or livestock conditions, fence ownership and shared-fence duties, excavation requirements, and private restrictions subject to Maryland law. Before purchasing materials or beginning construction, confirm current requirements and site-specific limitations with Montgomery County Department of Permitting Services and the responsible office for each applicable issue, and review applicable private agreements. If this page conflicts with controlling law, adopted regulations or official requirements, the controlling authorities govern. For legal advice or legal interpretation, consult a licensed attorney.