Skip to main content
CityRuleLookup

Gaithersburg, MD Accessory Structures: Shed & Carport Rules (2026)

Some Restrictions
Compiled from the official code textEditor Martyn O'NeillLast verified September 2026

Shed permit rules in Gaithersburg, MD, also referred to as storage shed, backyard shed, or accessory building regulations, set size limits, setbacks, and when a building permit is required.

Key Facts

Setback (200 sq ft or less)
2 feet from any lot line
Setback (over 200 sq ft)
10 feet from any lot line
Size cap
800 sq ft unless PC approves more
Height cap
15 feet
Front-yard placement
Barred for residential uses

Summary

Gaithersburg keeps accessory structures like sheds out of the front yard, sets a 2-foot setback for structures 200 square feet or smaller and 10 feet for anything larger, and caps most accessory buildings at 800 square feet and 15 feet in height, all under the zoning code's accessory-structure section.

(2)Setbacks.(a)Accessory structures two hundred (200) square feet or less in area shall not be less than two (2) feet from any lot line.(b)Accessory structures of more than two hundred (200) square feet in area shall not be less than ten (10) feet from any lot line, unless approved by the planning commission.(3)Lot coverage. All accessory structures must comply with the maximum building and impervious lot coverage requirements of the district in which they are located.(4)Size. Unless otherwise approved by the planning commission, the footprint of an accessory structure must not exceed eight hundred (800) square feet.(5)Height. The height of an accessory structure shall not exceed fifteen (15) feet.

View official code

Official source re-checked September 7, 2026: no newer edition of the code had been published (publisher’s edition: Code of Ordinances: Supplement 52 Update 1).

Full Breakdown

4 of the zoning code governs accessory structures other than accessory dwelling units, garages, carports, fences, ground-mounted solar, flagpoles, playground equipment without a footer, and sheds that do not require a footer and are not permanently affixed to the ground; those specific items sit outside this section's reach. For everything else, subsection (B) bars accessory structures from the front yard on residential lots, though non-residential uses may place them there. The setback scales with size: a structure of 200 square feet or less must sit at least 2 feet from any lot line, while anything larger than 200 square feet must sit at least 10 feet from any lot line unless the planning commission approves otherwise.

Every accessory structure must also fit within the maximum building and impervious lot coverage limits of its zoning district, and unless the planning commission approves a larger footprint, no accessory structure may exceed 800 square feet or stand taller than 15 feet. A homeowner building a small, unfooted shed avoids the building-permit trigger altogether: the residential code amendment at section 5-5(6) exempts 'one story detached accessory structures less than 200 square feet in area including, but not limited to, storage sheds, kiosks, gazebos, arbors, or playhouses' from needing a permit at all, meaning the 2-foot and 10-foot zoning setbacks still apply even when no permit is required.

Garages and carports fall under a separate set of standards in subsection (C): a 2-foot side/rear setback, a 576-square-foot footprint cap, and the same 15-foot height limit, unless the planning commission approves more.

Violations & Fines

An accessory structure built without meeting the setback, size, or front-yard placement rules is a zoning violation enforced under Article 15 of Chapter 24, punishable as a municipal infraction with fines under section 1-7 of the City Code, and the city manager or designee can require relocation, resizing, or removal, with each day of noncompliance a separate offense.

Frequently Asked Questions

How close to my property line can I put a shed in Gaithersburg?
Section 24-6.4(B)(2) requires 2 feet from any lot line for a structure of 200 square feet or less, and 10 feet from any lot line for anything larger, unless the planning commission approves a reduced setback.
What is the maximum size for a shed or accessory structure?
Section 24-6.4(B)(4) caps the footprint at 800 square feet and the height at 15 feet under section 24-6.4(B)(5), unless the planning commission approves a larger or taller structure.
Do I need a building permit for a small shed?
Not always. Section 5-5(6) of the City Code exempts one-story detached accessory structures under 200 square feet, including storage sheds, from the building permit requirement, though the zoning setbacks in section 24-6.4 still apply.

Sources & Official References

Other rules in Gaithersburg

All Gaithersburg rules

How Gaithersburg compares: Shed Permit Requirements by City·Compare Gaithersburg to another location·View the Maryland accessory structures overview

Get notified when Shed & Carport Rules in Gaithersburg, MD changes

We'll email you the moment we detect a change in the code. No spam, unsubscribe anytime.

We'll never sell or share your email. One-click unsubscribe in every email.

See something wrong?

Help us keep this page accurate. If you notice an error or outdated information, let us know.

Shed & Carport Rules in Nearby Cities

How other cities in Montgomery County handle shed & carport rules.

Rockville, MD
Some Restrictions