FENCE RULES – BALTIMORE (CITY), MARYLAND

OVERVIEW

This guide covers fences within Baltimore city, an independent Maryland city with its own building-code and permit authority. It does not address the surrounding Baltimore County, which has different residential fence heights and permit thresholds.

Baltimore city regulates fences directly in building-code §3118. The usual fence height is only 42 inches, but a fence enclosing a dwelling’s side or rear yard may reach six feet. A new fence generally requires a city building permit, and a property-line fence shared with a neighbor needs written agreement submitted with the permit application. Unlike jurisdictions with only general setback rules, the city has explicit requirements for wood construction, wire/mesh strength, metal and masonry fences, sharp projections and upkeep. Pool barriers and historic property approval can impose additional requirements. Baltimore city’s rules should never be confused with Baltimore County’s separate zoning fence provisions.

Quick questionBaltimore city answer
Permit or approvalA city building permit is generally required to construct a fence. The city building code does not provide a general four- or six-foot fence-permit exemption.
Typical fence heightGeneral maximum 42 inches; a fence enclosing a dwelling in its side or rear yard may be up to 6 feet, subject to any other applicable restrictions.
Placement & property linesA fence must be on the owner’s property, or on the property line with a written adjoining-owner agreement submitted with its permit. Public streets and alleys are different from private lot lines.
Common fence materialsWood: posts must satisfy one of the decay-resistant, code-treated or good-timber-set-in-concrete alternatives. Vinyl/PVC: not named as a universally permitted standalone category in §3118. Chain-link: wire/mesh performance and post requirements may govern.
Important local conditionsFence rules may be further affected by historic landmarks and districts, streets and alleys, adjoining-owner boundary agreements, material construction standards, repair of older nonconforming fences, and pool barriers.
Official local resourceBaltimore city building-code §3118, Fences

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

Baltimore city’s Building Code §3118 contains the primary citywide fence provisions. General permit requirements are in Building Code §105. The Department of Housing and Community Development oversees city permit intake, while historic preservation and the city’s street/transportation authority may have separate jurisdiction over applicable sites.

Baltimore city is independent of Baltimore County and does not use that county’s §427.1 residential fence rules. Maryland’s state construction-code incorporation and pool code regulations also apply according to their own scope.

PERMIT AND APPROVAL REQUIREMENTS

• New fence: The city requires a building permit before construction of a new fence under §105. The City’s current building-permit guidance explains the general permit process. Approval is assessed under fence-specific construction and placement rules.

• Shared property line: If the fence is to be placed on the common property line instead of wholly on the owner’s property, §3118.1 requires a written agreement by both adjoining property owners, filed with the permit application.

• Repairs: A fence already in place is not automatically exempt from permits for substantial alteration or rebuilding. Building Code §3118 has separate treatment for repair of a lawful preexisting nonconforming fence, including a deterioration threshold; alterations should be evaluated against that provision.

• Historic and street work: Separate historic approval may apply to landmark and historic district work under the city historic-preservation ordinance. A fence or related work affecting city rights-of-way requires the applicable streets/encroachment authorization; a building permit alone does not convey that right.

FENCE PLACEMENT RULES

• Owned land: Under §3118.1, place the fence within the private owner’s property, unless the documented adjoining-owner agreement supports property-line placement. A deed or survey identifies the actual lot line; an existing fence may not be accurately placed.

• Common boundary: A property-line agreement is a filing requirement for the shared-line fence, not merely a courtesy notice. It does not replace building approval or settle future maintenance rights.

• Street and alley frontage: Fences must respect city street and alley interests; ordinary lot-line authorization does not allow a fence to block a public sidewalk, alley or street. Projects adjoining public ways can face separate grade or encroachment considerations.

• Pool and historic sites: Property-line location still must satisfy any designated historic district and private pool access/gate conditions, where applicable.

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

• Standard city height: Section 3118.2 provides a general maximum of 42 inches, measured from the high side of the fence.

• Residential dwelling exception: A fence enclosing a dwelling may reach 6 feet when located in the side or rear yard. This exception does not convert the entire street-facing front yard into a six-foot fence area.

• Combined construction: The city counts combinations of fence types together for aggregate height under its fence construction standards. Splitting a fence into separate components does not necessarily evade the height measurement.

• Road and visibility safety: Public street and alley encroachment restrictions and any applicable city traffic-visibility requirements apply separately. The city code’s residential side/rear six-foot allowance is not authorization to block a public intersection or right-of-way.

MATERIAL AND CONSTRUCTION LIMITS

• All-fence structural standard: Section 3118.3 permits materials and construction allowed by the Code for exposed structures. Every fence must meet the applicable structural provisions and resist, from any direction, a horizontal force of 20 pounds per square foot, applied normal to the fence over the lesser of its gross area or its net area plus 50% of its gross area. The material-specific rules do not replace this general performance requirement.

• Wood posts: Section 3118.3.1 regulates the posts for wood fences, not all fence lumber as a single blanket rule. It permits three alternatives: locust, heart cedar or another wood that resists decay underground; wood treated in accordance with the Code; or good timber set in concrete. Preserve the chosen alternative’s conditions and the all-fence structural standard.

• Vinyl/PVC: The fence-specific city section does not give vinyl/PVC an unrestricted, across-the-board residential exemption or approval. Proprietary plastic designs are evaluated for their actual structural and permitted-material compliance through the permit process.

• Chain-link and mesh: Under §3118.3.2, wire-mesh fences must be substantially fabricated and constructed to resist a nominal 500-pound horizontal load with no more than 6 inches of deflection. Wire-fence posts must be metal set in concrete, properly designed masonry, or wood of the type required for wood fences. Chain-link is a wire-mesh design, not a separate general six-foot height exemption; the all-fence structural standard also applies.

• Metal and masonry: Under §3118.3.3, metal fences require substantial design and construction approved by the Building Official; their posts must be concrete, masonry, or metal set in concrete or masonry. Section 3118.3.4 requires reinforced concrete or other masonry fencing to meet the provisions for reinforced concrete or freestanding masonry walls, and every masonry fence must extend at least 2 feet into the ground. A combination fence must meet the applicable requirements for each material and construction method; its total aggregate height controls the height limit.

• Dangerous components: Sharp projections and razor-wire features are prohibited or restricted by the city’s fence section. Electrified security fences are governed by narrow nonresidential conditions and are not a general residential option.

• Existing fences and upkeep: The city requires fences to be maintained in good condition. Lawful old nonconforming fences have qualified repair treatment only while they satisfy the ordinance’s conditions, including the provision concerning deterioration beyond 50 percent.

• Private pool safety: 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.

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:

• Permit and line placement: The city may review the new-fence application, height, structural method and required neighbor agreement for a property-line installation.

• Unsafe or deteriorated fences: Material defects, dangerous projections, structural disrepair and substantial reconstruction of an old nonconforming fence may involve city enforcement.

• Historic or public-way work: An affected historic property or street/alley encroachment may require its own official review beyond the ordinary fence permit.

USING THIS INFORMATION

This page provides general orientation on how residential fence rules are structured and applied within the independent City of Baltimore, 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 Baltimore City Department of Housing and Community Development 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.