Skip to content
SetbackIQ

Backyard project permits in Frederick County, MD

Frederick County needs a building permit for sheds of 150 sq ft or more, needs no permit for a fence outside the towns, keeps accessory buildings 6 ft from every lot line, and allows a 1,000 sq ft ADU with the owner living on site.

A person last checked these rules on November 13, 2026. This is guidance only, so confirm with Frederick County before you build.

Check your exact lot in Frederick County

The examples below assume a typical lot. Your zoning district, lot lines and map overlays can change the answer.

Aerial close-up of one Bethesda lot with its setback zones shaded and about 1,760 square feet of buildable area for a shed highlighted60 ft from front lineSide and rear 5 ftBuildable area~1,760 sq ft
Example: where a shed can go on a real R-60 lot in Bethesda, Maryland. Your lot gets its own rules.

Local project examples

Typical projectPermit?
Shed10-by-12-foot shed, 10 ft tall, no powerYes: Zoning certificateMedium confidence
Deck160 sq ft freestanding deck, 24 in highYes: Building permitMedium confidence
Fence6-foot wood fence in the backyardNo: no permit for this exampleMedium confidence
Garage24-by-20-foot detached garage with lightsYes: Building permit, Electrical permit
ADU650 sq ft detached backyard cottageYes: Building permit, Zoning approvalMedium confidence
Pool or hot tub16-by-28-foot in-ground pool with a pumpYes: Pool permit, Electrical permit, Grading permit
Retaining wall3-foot garden retaining wall with nothing above itNo: no permit for this exampleNot verified here: model code
Patio or walkway300 sq ft paver patio on gradeNo: no permit for this exampleNot verified here: model code
Pergola, play set, or carport10-by-12-foot freestanding pergolaNo: no permit for this exampleMedium confidence
Solar panelsRooftop solar arrayYes: Building permit, Electrical permit
AC, heat pump, or generatorLike-for-like heat pump replacementYes: Mechanical permitNot verified here: model code
EV chargerLevel 2 charger on a new circuitYes: Electrical permit

Setbacks, heights and zoning

What we cover in Frederick County

  • Projects: 11 of 12 verified, 1 partial. Shed · locally verifiedDeck · locally verifiedFence · locally verifiedGarage · locally verifiedADU · locally verifiedPool or hot tub · locally verifiedRetaining wall · locally verifiedPatio or walkway · locally verifiedPergola, play set, or carport · locally verifiedSolar panels · locally verifiedAC, heat pump, or generator · partialEV charger · locally verified
  • Zoning: We read your zoning district from the official zoning map, so setbacks match your district.
  • Map overlays checked automatically: FEMA flood zones, and National Wetlands Inventory wetlands.
  • Last checked: November 13, 2026. Rule basis: Frederick County Code § 1-6-18B (2021 IRC with local amendments, Bill No. 24-04); Zoning Ordinance §§ 1-19-4.300.1 (accessory structure location), 1-19-8.240(B) (accessory structure size) and 1-19-8.212 (limited accessory dwelling units); Permits and Inspections FAQ and Expedited Permit Process guide.

Permit office

Common questions

Does a shed need a permit in Frederick County, MD?
Yes. For a 10-by-12-foot shed, 10 ft tall, no power: The county says a zoning certificate may be required for a shed under 150 sq ft; larger sheds get zoning review with the building permit. Approvals: Zoning certificate. Size, height, location and wiring can change the answer, so check your exact address.
Does a deck need a permit in Frederick County, MD?
Yes. For a 160 sq ft freestanding deck, 24 in high: Frederick County lowered the residential code's deck exemption from 200 to 150 sq ft; larger, higher, attached or exit-serving decks need a permit. Approvals: Building permit. Size, height, location and wiring can change the answer, so check your exact address.
Does a fence need a permit in Frederick County, MD?
Not for the typical example. For a 6-foot wood fence in the backyard: Frederick County needs no permit or zoning certificate for a fence up to 7 ft outside the city and towns. Size, height, location and wiring can change the answer, so check your exact address.
Does a detached garage need a permit in Frederick County, MD?
Yes. For a 24-by-20-foot detached garage with lights: A garage is larger than the county's 150 sq ft exemption. Approvals: Building permit, Electrical permit. Size, height, location and wiring can change the answer, so check your exact address.
Does a ADU need a permit in Frederick County, MD?
Yes. For a 650 sq ft detached backyard cottage: An ADU is a new dwelling unit, which the county's exemptions don't cover. Approvals: Building permit, Zoning approval. Size, height, location and wiring can change the answer, so check your exact address.
Does a pool or hot tub need a permit in Frederick County, MD?
Yes. For a 16-by-28-foot in-ground pool with a pump: Frederick County requires a building permit for any pool at least 24 in deep, and for hot tubs. Approvals: Pool permit, Electrical permit, Grading permit. Size, height, location and wiring can change the answer, so check your exact address.
Which addresses does SetbackIQ cover in Frederick County?
Addresses under Frederick County rules, which means unincorporated areas and towns that follow county zoning. Incorporated cities with their own zoning are not included. 11 of 12 verified, 1 partial. We confirm the jurisdiction from the parcel when you enter an address.

Sources

  1. Frederick County Code § 1-6-18B, Local amendments to the International Residential Code (2021 IRC). Checked 2026-11-13
    The county hereby adopts the International Residential Code, 2021 Edition including the amendments adopted by the State of Maryland in the Maryland Building Performance Standards (COMAR 05.02.07) with the amendments described and shown below... Subsection R…
  2. Frederick County Permits and Inspections, Frequently Asked Questions. Checked 2026-11-13
    Do I need a permit for a fence? If your property is not within an Incorporated Town or Frederick City, a permit for a fence is not required, because County Zoning regulations do not require a Zoning Certificate for a fence... Do I need a Building Permit to …
  3. 2024 IRC R105.2, Work exempt from permit (text published by the City of Benson, AZ). Checked 2026-10-19
    One-story detached accessory structures, provided that the floor area does not exceed 200 square feet. Fences not over 7 feet high. Decks not exceeding 200 square feet in area, that are not more than 30 inches above grade at any point, are not attached to a…
  4. Frederick County Zoning Ordinance § 1-19-4.300.1, Accessory structures, Location. Checked 2026-11-13
    Accessory structures include garages, tool sheds, storage buildings, barns, signs, or other similar structures. An accessory structure having any part of a wall in common with a dwelling is considered part of the main building... (A) No accessory building w…
  5. Frederick County Zoning Ordinance § 1-19-8.240(B), Accessory structure size on residential properties. Checked 2026-11-13
    (B) An accessory structure shall be limited in size when located on a residentially zoned property to the following: (1) The total square footage of all floors of the accessory structure shall not exceed that of the dwelling; (2) Except as provided in subse…
  6. Frederick County Permits and Inspections, Expedited Permit Process - Residential Uses. Checked 2026-11-13
    Deck (one level, 500 square feet or less) Roof mounted solar panels... Shed, gazebo, or other accessory structure (400 square feet or less and one level with max height 10 feet, anchor plan required) * Sheds under 150 square feet do not require a building p…
  7. Frederick County Zoning Ordinance § 1-19-8.212, Limited accessory dwelling units. Checked 2026-11-13
    The following provisions shall apply to limited accessory dwelling units in the RC, A, R1, R3, R5, R8, R12, R16, VC, MXD, PUD, and MX districts. (A) Only 1 limited accessory dwelling unit ("ADU") may be created on a lot. (B) A limited accessory dwelling uni…
  8. 2024 IRC R105.2, Work exempt from permit (other items) and E3601 / M1301 permit scope. Checked 2026-10-21
    3. Retaining walls that are not over 4 feet (1219 mm) in height measured from the bottom of the footing to the top of the wall, unless supporting a surcharge... 5. Sidewalks and driveways... 7. Prefabricated swimming pools that are less than 24 inches (610 …