State Guide · Verified 2026
Fence Installation Permits in Maryland
Fences are governed mainly by local zoning, not a statewide building permit. Cities set height limits (commonly 3-4 ft in front yards and 6 ft in back and side yards), setbacks, and corner sight-line rules, and many require a zoning permit for any fence. Most jurisdictions exempt fences up to 7 ft from a building permit (IRC R105.2) and require one above that. Replacing a fence at the same height, material, and location usually needs no permit; a fence used as a pool barrier always does.
The Building Code in Maryland
Maryland Building Performance Standards (2021 IBC/IRC-based, effective May 29, 2023)
Maryland sets statewide Building Performance Standards through the Department of Labor, which local jurisdictions must adopt and may amend. Fences are handled through local zoning and accessory-structure rules, so the permit trigger differs by county.
Quick Facts
Who Sets the Rules
The county is the right unit here
Unlike Pennsylvania and New Jersey, where fence permitting is entirely municipal, Maryland counties run real permitting departments with countywide authority. Baltimore County, Anne Arundel, Montgomery and Prince George's all issue their own. Note that Baltimore City is an independent jurisdiction separate from Baltimore County.
Where the trigger falls
Baltimore County requires a permit for fences over 42 inches, and for any fence at any height inside a 100-year floodplain. Anne Arundel treats a fence as an accessory structure that needs a permit. Howard County triggers at 6 feet. That range, from 42 inches to 6 feet, means a fence that is exempt in one county needs a permit in the next one over.
The Chesapeake Bay Critical Area
Maryland's Critical Area is a shoreline protection zone running along the Chesapeake Bay and its tidal tributaries. Properties inside it face additional review that does not apply elsewhere in the same county, and exemptions that hold on an inland lot often do not hold on a waterfront one. In Anne Arundel this is a large share of the county.
Front-yard limits cluster at 42 inches
Across Maryland counties, front-yard fence height commonly caps at 42 inches, which is lower than the 4-foot norm in many states. That figure comes from zoning rather than the building code, so it applies even where the fence is exempt from a permit.
Contractor licensing is state-level
The Maryland Home Improvement Commission licenses home-improvement contractors, which includes fence installers. Using an unlicensed contractor forfeits access to the state's Guaranty Fund, which can reimburse homeowners for losses caused by a licensed contractor's failure to perform. That makes verifying the MHIC number worth the two minutes it takes.
What people get wrong
The most common mistake is assuming that because Maryland has statewide performance standards, the fence rules are uniform. The state sets construction standards; counties set the permit trigger and the height limits. The second is overlooking the floodplain and Critical Area layers, which override the ordinary exemptions in the parts of Maryland where the most valuable waterfront property sits.
Counties With Their Own Rules
These Maryland counties have verified, county-specific fence installation rules that differ from the state baseline:
Check Your County
Select your county for the local rule, fees, and your building department's contact details:
Building It Yourself? Here's What You'll Need
Popular tools and materials homeowners use for a fence installation project:
As an Amazon Associate, we earn from qualifying purchases.
Official Sources
Rules change and cities within a county may differ. This guide is general information, not legal advice — always confirm with your local building department. Reviewed by the StateDataIndex Editorial Team · Updated September 2026.