Skip to main content
CityRuleLookup

Gaithersburg, MD Fence Regulations: Retaining Walls (2026)

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

Key Facts

Permit-exempt height
3 ft or less from lowest adjacent grade
Permit required above
Over 3 feet in height
Corner-lot exception
Allowed where street grade requires it
Floodplain retaining walls
Require diversion/erosion analysis
Enforcing office
Permits and Inspection Services

Summary

Gaithersburg only exempts a retaining wall from a building permit if it is 3 feet or less, measured from the lowest adjacent grade to the top of the wall; anything taller needs a permit under the city's amended residential code, and walls in a corner-lot sight triangle are allowed only where street grade changes make them necessary.

D.Site work:1.Paving driveways;2.Installation of patios, sidewalks, or landscaping;3.Installation of retaining walls that are 3 feet or less in height measured from the lowest adjacent grade to the top of the wall;4.Installation of flagpoles or flagpole bases.

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

The city's local amendments to the International Residential Code (2021), adopted at section 5-4 and modified at section 5-5, rewrite the code's work-exempt-from-permit list. ' Anything taller than 3 feet falls outside that exemption and requires a building permit before construction. 3(B)(1), treats retaining walls as the one exception to its corner-lot sight-triangle rule, which otherwise caps structures to 3 feet for 25 feet from a street intersection: retaining walls are permitted there specifically where changes in street grade, width, or alignment have made them necessary.

Larger commercial or site-development retaining walls tied to grading, stormwater, or floodplain work are also treated as regulated 'development' under section 4550 of the floodplain chapter, which requires an engineering analysis before a retaining wall or similar erosion-control structure is approved in a mapped floodplain, on the theory that it could divert floodwaters onto neighboring elevated structures. Because Gaithersburg's own text mixes a flat height trigger for a residential permit with a narrower sight-triangle exception, and reserves engineered review for floodplain locations, homeowners planning anything over 3 feet, or any wall near a mapped floodplain, should confirm with Permits and Inspection Services before building.

Violations & Fines

Building a retaining wall over 3 feet without a permit is enforced as a building code violation under the city's IRC amendments, subject to a stop-work order and municipal infraction fines under section 1-7 of the City Code, with continued unpermitted construction treated as a separate daily offense; unpermitted work in a mapped floodplain can also trigger a Chapter 10 floodplain enforcement action.

Frequently Asked Questions

Do I need a permit for a retaining wall in Gaithersburg?
Only above 3 feet. Section 5-5(6) of the City Code's residential code amendments exempts retaining walls 3 feet or less, measured from the lowest adjacent grade to the top of the wall, from needing a building permit; anything taller requires one.
Can a retaining wall be built inside a corner-lot sight triangle?
Yes, as the sole exception. Section 24-6.3(B)(1) otherwise caps corner-lot structures at 3 feet for 25 feet from the intersection, but retaining walls are permitted there where changes in street grade, width, or alignment make them necessary.
Are retaining walls regulated differently in a floodplain?
Yes. Under the floodplain management chapter, a retaining wall counts as regulated development and needs an analysis showing it will not harmfully divert floodwaters onto adjacent elevated structures before it can be approved.

Sources & Official References

Other rules in Gaithersburg

All Gaithersburg rules

Compare Gaithersburg to another location·View the Maryland fence regulations overview

Get notified when Retaining Walls 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.

Retaining Walls in Nearby Cities

How other cities in Montgomery County handle retaining walls.

Rockville, MD
Few Restrictions