PermitNotebook / Guides

Guide

Do You Need a Permit for a Fence in Maryland? Heights, Corner Lots and Fees by County

Montgomery County permits every fence. Baltimore County starts at 42 inches, Prince George's over 4 feet, Anne Arundel over 6 feet or on a corner or waterfront lot, Howard over 7 feet or around a pool. Front-yard heights, corner sight triangles, floodplain and Critical Area rules and each fee, read on the counties' own pages.

It depends on the county, and five of the state’s largest counties draw the line anywhere from zero to 7 feet. In Montgomery County every new fence needs a permit, even a low one. In Howard County a fence up to 7 feet needs none unless it surrounds a pool or stands in the floodplain. Maryland has no statewide fence rule: the county where you live (or, in some towns, the town) enforces the building code and writes its own fence exemption.

Montgomery County
Permit for any fenceSame-place, same-height replacement of a permitted fence exempt
Baltimore County
Permit at 42 inchesAny height in a floodplain, the Critical Area or a historic district
Prince George's County
Permit over 4 ftAny height on a corner lot, historic property or in the floodplain
Anne Arundel County
Permit over 6 ftAny height on a corner or waterfront lot
Howard County
Permit over 7 ft or around a poolNo exemption in the floodplain

Two other limits apply whether or not you need a permit: how tall the zoning code lets a fence be in each yard, and how close to a street corner it may stand. Both are below for each county.

The next step: note your planned height, whether the lot is a corner lot, and whether the line you are fencing is the property line itself. Those three facts decide most of the answers on this page. If you live inside an incorporated town, such as Annapolis or one of Prince George’s 27 municipalities, ask the town too; Prince George’s warns that “municipalities may also have additional limitations or requirements for approval that exceed DPIE’s requirements.”

Montgomery County: every fence, with one exception

“A permit is required to install any type of fence in Montgomery County.” The exception is narrow: “Replacement of an existing fence (installed with a fence permit) with the same kind of fence (in the same location at the same height) does not require a fence permit. If an existing fence was not installed with a fence permit, the replacement fence must have a fence permit.” Replacing an old fence that nobody ever permitted is treated as new.

The rules the permit checks:

  • Height: “The maximum permitted height of a fence or wall is 6’ 6”,” with listed exceptions, and “Fence or wall height is measured from the lowest level of the grade under the fence or abutting a wall.”
  • Corner lots: a fence “on a corner lot in a residential zone can be a maximum height of 3 feet above the curb level for a distance of 15 feet from the intersection of the front and side street lines.”
  • On the property line: the application “must be accompanied by a letter of approval from the adjacent property owner.”
  • Not in the road: “Any fence installed within the County right of way will not be permitted and will be required to be removed.” Check your plat for where the right of way ends before you set the first post.

The permit is fast and light: “Fence permits are usually issued within three days of application,” and “Fence permits are not inspected except during a complaint investigation.” The fence permit fee on the FY27 schedule is $89.54. The fence page also says “A non-refundable filing fee must be paid at the time of application,” without naming the amount, so ask DPS for the total before you apply.

Permit fee
$89.54fence permit, from the published schedule
Fee schedule in force
Official scheduleRead .
  • $89.54 flat Fence Permit fee per DPS-Fees-ResConst-FY27.pdf effective 2026-07-01;
  • a pool's own perimeter fence is bundled into the pool permit fee instead of charged separately.
  • The DPS fence permit page adds that "A non-refundable filing fee must be paid at the time of application" without stating its amount for fences.

Fees are the jurisdiction’s; we do not mark them up or estimate them.

Montgomery County fence permit page: the office, the portal and the full rule.

Prince George’s County: over 4 feet, or anywhere sensitive

“Fences taller than four (4) feet require a permit. Fences four (4) feet and under do not need a permit unless located in a HISTORICAL/PROTECTED AREA or located on a CORNER LOT.” A historic property also needs a Historical Area Work Permit, “which is separate from a building permit.” Two more cases need a permit at any height:

  • Chesapeake Bay: “If your property is located within the Chesapeake Bay Conservation Area (CBCA) Overlay, a CBCA approval and permit is required.”
  • Floodplain: a fence in the 100-year floodplain “is only permissible if a waiver is granted, and therefore, a permit is required regardless of height.”

How tall, under the zoning ordinance in force since April 1, 2022: 4 feet in a required front yard, a build-to zone or a corner side yard in front of the house, and 6 feet in any other required yard. Fences may stand on the property line between private lots and in any required yard.

Corner lots need the most care. DPIE’s fence page says no visual obstruction “MORE THAN THREE (3) FEET HIGH (above the curb level)” may stand within the triangle formed by the street lines and points 25 feet from the intersection. The current zoning ordinance is stricter: “fences and walls shall not be allowed within the triangle formed by the intersection of the street lines and points on the street lines 25 feet from the intersection.” Plan on keeping that triangle clear.

Two building details the county checks: “All structural (vertical and horizontal) rails/posts need to face the inside of the lot per CB-4-2016, so the ‘finished’ looking side of the fence faces outwardly,” and where a fence crosses a swale or stream, “the bottom of the fence must be raised at least six (6) inches above the bottom of the swale.” The ordinance also bars fences made of “chicken wire, corrugated metal, fabric materials, fiberboard, garage door panels, plywood, rolled plastic, sheet metal, debris, or waste materials,” unless they are recycled and reprocessed into building materials made to look like new ones, such as picket fencing from recycled plastic.

The fee on the schedule effective October 16, 2026 is a $145 permit fee plus the $66 administrative fee, a $53 grading fee and $5 for M-NCPPC, or $269, and the fence line adds a 10 percent technology fee on top.

Fee schedule in force
Official scheduleRead .

DPIE Fee Schedule, effective October 16, 2026, line item "Fence - Residential", minimum permit fee $145: "Total Fee = Administrative Fee $66 + Building Permit Fee $145 + $53 Grading Fee + $5 M-NCPPC. Plus Technology Fee 10%."

The schedule states it is the table referenced in Prince George's County Code Subtitle 2, Division 14C, Section 2-253.63.

Fees are the jurisdiction’s; we do not mark them up or estimate them.

Prince George's County fence permit page: the office, the portal and the full rule.

Anne Arundel County: over 6 feet, corners and the waterfront

Outside Annapolis, “Fences over 6 feet tall, fences on corner lots, and fences located on waterfront properties require a permit.” The rule is Construction Code 105.2.1.2 as amended by Bill 25-24, effective June 23, 2024, which exempts residential fences “not over 6 feet” high “except that permits are required for fences located on waterfront property and corner lots with intersecting streets.”

On a waterfront lot, that means every fence, including a low one around a garden. Front yard height limits and setbacks depend on your zoning district; the county’s zoning office handles that question at 410-222-7437. Building permits are priced by the value of the work, with an $86 minimum and a $43 application fee.

Fee basis
Project valuation
Fee schedule in force
Official scheduleRead .
  • Building permits are valuation-based: "$0-$3,000 | $86.00" rising to "Above $25,000 | $242.00 plus .010 times estimated cost above $25,000.00", plus "A non-refundable application fee of $43.00 will be added to all building permits."
  • Minimum Building Permit Fee $86.00, effective October 1, 2024 (Permit Fees page).
  • No fence-specific line item is published.

Fees are the jurisdiction’s; we do not mark them up or estimate them.

Anne Arundel County fence permit page: the office, the portal and the full rule.

Baltimore County: 42 inches

Baltimore County’s line is the lowest of the five that have one. Its fence page requires a permit for “Fences 42 inches or above (measured vertical to ground, even if fence is placed on top of wall).” The county’s waiver packet says “Fences higher than 42 inches require a permit,” so treat 42 inches as the trigger. A 4 foot picket fence needs a permit here.

At any height, a permit is needed for a fence in the floodplain, in the Chesapeake Bay Critical Area, in a proposed or designated historic district, or on the Baltimore County Landmarks List.

Heights the zoning regulations allow: “Maximum height of 42 inches in front yard as determined by Baltimore County Zoning Regulations, and six feet in side and rear yards at the property line. Maximum height of 10 feet in side and rear yards, provided set back two feet for every vertical foot over six feet.” Near a neighbor’s front yard the limit drops again: “The fence may not exceed 42 inches in height if situated within ten feet of the adjoining front yard property line.” Pool fences, and lots whose houses are more than 200 feet apart, are excepted from that rule. On a corner lot, nothing may be higher than three feet within 25 feet of the corner of the two streets.

Also: “Fences cannot be built within easements, including access, drainage and utility easements,” and “Fences enclosing in-ground pools must be 48 inches high with a self-closing, self-latching gate.” If you need a taller fence than the rules allow, the county has a fence waiver; an uncontested one costs $100.

The permit fee on the schedule effective 07/01/26 is a $35.00 minimum, with $0.05 a linear foot on fences over 250 linear feet, plus the $75.00 residential application fee.

Fee schedule in force
Official scheduleRead .

Building Permit Fee Schedule effective 07/01/26 lists Fences, Residential: $35.00 + $0.05 / linear ft, Over 250 linear ft, Minimum $35.00.

A residential permit application fee of $75.00 is charged in addition.

Fees are the jurisdiction’s; we do not mark them up or estimate them.

Baltimore County fence permit page: the office, the portal and the full rule.

Howard County: 7 feet, unless there is a pool

Howard’s Council Bill 24-2025 exempts “INSTALLATION OF FENCES UNLESS THE FENCE IS OVER 7 FEET HIGH OR ENCLOSES A SWIMMING POOL,” and, like every exemption in its Section 105.2, “EXEMPTIONS DO NOT APPLY TO STRUCTURES LOCATED IN THE FLOODPLAIN.” A 6 foot privacy fence on an ordinary lot needs no building permit.

Zoning still governs placement. The county’s planning FAQ: “Essentially, closed fences, walls and retaining walls three feet in height or less, noise walls of any height, and open fences six feet in less in height are exempt from all structure and use setbacks.” A solid fence taller than 3 feet is not on that list, so before you set one on the line, ask the Department of Planning and Zoning how your district’s setbacks apply to it.

A fence over 7 feet costs $50 on the FY27 schedule, plus the 10 percent technology fee. A pool’s fence is part of the pool permit: “Permit includes fence and grading.”

Permit fee
$50fence permit, from the published schedule
Fee schedule in force
Official scheduleRead .

$50 per structure for a fence over 7 feet high, with no filing fee required (Miscellaneous Structures Accessory to Attached and Detached Single Family Dwellings, Building Permit Fee Schedule effective July 1, 2026).

The private swimming pool permit includes the fence.

Fees are the jurisdiction’s; we do not mark them up or estimate them.

Howard County fence permit page: the office, the portal and the full rule.

Retaining walls and fences on walls

A fence on top of a retaining wall is two projects, and the wall often has the lower permit line:

CountyRetaining wall needs a permit
MontgomeryOver 48 inches, measured from the bottom of the footing, or supporting a surcharge
Prince George’sOver 2 feet
Anne ArundelOver 24 inches
HowardOver 3 feet

Baltimore County measures the fence including the wall it stands on, so a 3 foot fence on a 2 foot wall is a 5 foot fence.

Near the water

The Chesapeake Bay Critical Area covers land within 1,000 feet of the landward edge of tidal waters and tidal wetlands. Baltimore County requires a permit for any fence there, Prince George’s requires a Critical Area approval and permit, and Anne Arundel requires one on any waterfront lot. One piece of state law works in a fence’s favor: Critical Area lot coverage excludes “A fence or wall that is less than 1 foot in width that has not been constructed with a footer,” so an ordinary post fence does not use up your coverage allowance the way a shed or patio does.

Hiring a fence company

A fence is home improvement under Maryland law, which names a fence among the work on land next to a home, so a contractor building one needs a Maryland Home Improvement Commission license. Check it on the Maryland license lookup before you pay a deposit, and ask who is applying for the permit where one is needed.

Before the posts go in

  1. Find your property line, the street right of way and any easements on your plat or survey.
  2. Note whether you are on a corner lot, a waterfront lot, in a floodplain or a historic district.
  3. Check the height your county allows in the front, side and rear yards.
  4. On a shared line in Montgomery County, get the neighbor’s letter.
  5. Apply if your county’s line is crossed. Montgomery says its fence permits are usually issued within three days.

Building a shed or garage inside the fence? The Maryland shed permit guide and the detached garage and pole barn guide cover the same five counties.

Sources

Get rule-change alerts

We catch permit rule and fee changes in our verification passes and post them to the rule tracker. Get them by email instead.

We may send occasional verified rule-change notes for your area; unsubscribe anytime. See our privacy policy.

Look up your locality