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:
| County | Retaining wall needs a permit |
|---|---|
| Montgomery | Over 48 inches, measured from the bottom of the footing, or supporting a surcharge |
| Prince George’s | Over 2 feet |
| Anne Arundel | Over 24 inches |
| Howard | Over 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
- Find your property line, the street right of way and any easements on your plat or survey.
- Note whether you are on a corner lot, a waterfront lot, in a floodplain or a historic district.
- Check the height your county allows in the front, side and rear yards.
- On a shared line in Montgomery County, get the neighbor’s letter.
- 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
- Maryland Code, Public Safety 12-505: the county enforces the Maryland Building Performance Standards; municipalities may enforce them in their own borders. (accessed )
- Maryland Code, Natural Resources 8-1802(a)(21)(iii): a fence or wall less than 1 foot wide built without a footer is not Critical Area lot coverage. (accessed )
- Maryland Code, Business Regulation 8-101(g)(2): building a fence on land next to a home is home improvement. (accessed )
- Montgomery County DPS, Residential Fence Permit Process: a permit for any fence, the like-for-like replacement exception, the 6 foot 6 inch limit, how height is measured, corner lots, the neighbor letter, right of way, timing and inspections. (accessed )
- Montgomery County DPS Residential Building Fees, effective July 1, 2026: the fence permit fee and the retaining wall fee. (accessed )
- Montgomery County DPS, Home Improvements list: fence repair or replacement in the same location and height, and retaining walls up to 48 inches, on the no-permit side. (accessed )
- Prince George's County DPIE, Residential Fence: the 4 foot line, historic, corner lot, Chesapeake Bay and floodplain rules, the finished side, swales, municipalities and right of way. (accessed )
- Prince George's County DPIE, When Is a Permit Required?: fences over 4 feet high with a 6 foot limit, and retaining walls over 2 feet. (accessed )
- Prince George's County Zoning Ordinance (Subtitle 27, effective April 1, 2022): Sec. 27-6602 fence location and the 25 foot corner triangle, Table 27-6603(a) fence heights, Sec. 27-6604 prohibited materials. (accessed )
- Prince George's County DPIE Fee Schedule, effective October 16, 2026: the residential fence line and the 10 percent technology fee. (accessed )
- Anne Arundel County Inspections and Permits, Do I Need a Permit?: fences over 6 feet, on corner lots and on waterfront property; retaining walls over 24 inches. (accessed )
- Anne Arundel County Bill 25-24 (effective June 23, 2024): Construction Code 105.2.1.2, the residential fence exemption and its waterfront and corner lot exceptions. (accessed )
- Anne Arundel County Permit Fees: valuation-based building permit fees, the $86 minimum and the $43 application fee. (accessed )
- Anne Arundel County Zoning FAQs: setbacks for a specific property from the Zoning Administration Section. (accessed )
- Baltimore County PAI, Fence Permit: the 42 inch trigger, the any-height locations, yard heights, corner lots, pool enclosures and easements. (accessed )
- Baltimore County PAI fence waiver packet (revised 12/5/2024): BCZR 427.1 as reproduced, including the 42 inch limit near a neighbor's front yard, and the $100 uncontested waiver fee. (accessed )
- Baltimore County Building Permit Fee Schedule, effective 07/01/26: residential fence fee and the $75 application fee. (accessed )
- Howard County Council Bill 24-2025: fence installation exempt unless over 7 feet or enclosing a swimming pool; no exemption in the floodplain; retaining walls of 3 feet or less exempt. (accessed )
- Howard County FY27 Building Permit Fee Schedule (effective July 1, 2026): fence over 7 feet high; pool permits include the fence. (accessed )
- Howard County Department of Planning and Zoning FAQ: which fences and walls are exempt from setbacks. (accessed )
- Maryland Code, Natural Resources 8-1807: the Critical Area covers land within 1,000 feet beyond the landward boundaries of tidal wetlands and the heads of tides. (accessed )
- Prince George's County DPIE, information about the permit process: 27 municipalities in the county, whose permit requirements vary. (accessed )
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
- Maryland permit pages rules by locality