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.

Local project examples
| Typical project | Permit? |
|---|---|
| Shed10-by-12-foot shed, 10 ft tall, no power | Yes: Zoning certificateMedium confidence |
| Deck160 sq ft freestanding deck, 24 in high | Yes: Building permitMedium confidence |
| Fence6-foot wood fence in the backyard | No: no permit for this exampleMedium confidence |
| Garage24-by-20-foot detached garage with lights | Yes: Building permit, Electrical permit |
| ADU650 sq ft detached backyard cottage | Yes: Building permit, Zoning approvalMedium confidence |
| Pool or hot tub16-by-28-foot in-ground pool with a pump | Yes: Pool permit, Electrical permit, Grading permit |
| Retaining wall3-foot garden retaining wall with nothing above it | No: no permit for this exampleNot verified here: model code |
| Patio or walkway300 sq ft paver patio on grade | No: no permit for this exampleNot verified here: model code |
| Pergola, play set, or carport10-by-12-foot freestanding pergola | No: no permit for this exampleMedium confidence |
| Solar panelsRooftop solar array | Yes: Building permit, Electrical permit |
| AC, heat pump, or generatorLike-for-like heat pump replacement | Yes: Mechanical permitNot verified here: model code |
| EV chargerLevel 2 charger on a new circuit | Yes: 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
- 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…
- 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 …
- 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…
- 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…
- 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…
- 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…
- 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…
- 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 …