Do you need a permit for a retaining wall in Sunnyvale, CA?
It depends on the details of your project.
Sunnyvale exempts retaining walls up to 4 ft from the bottom of the footing.
Any retaining wall with a fence or other structure on top needs a building permit, whatever its height.
Fences on top of a wall count toward the fence height limits.
A person last checked these rules on November 3, 2026. This is guidance only, so confirm with Sunnyvale before you build.
Check your exact lot
Your zoning district sets the setbacks, and a flood zone can change the permit answer. Enter your address to see both.
The answer is free. If you need to file, the $19 permit packet adds a site plan with your retaining wall drawn on your lot, an application worksheet and a permit-desk checklist. See a sample packet
Permits a retaining wall can need in Sunnyvale
| Permit | When it applies |
|---|---|
| Building permit | Sunnyvale exempts retaining walls only up to 4 ft with nothing attached on top. |
| Floodplain development permit | Grading and walls in a FEMA special flood hazard area need a floodplain permit. |
Draw your retaining wall on your Sunnyvale lot
PlanIQ finds your parcel, lets you place the retaining wall on it, and checks the placement against the Sunnyvale limits above. Draw my lot
Local details
- Call 811 at least a few days before you dig footings or post holes. Utility locating is free.
- HOA covenants and deed restrictions can be stricter than city rules. Check yours before you build.
How to apply
Common questions
- When does a retaining wall need a building permit in Sunnyvale?
- Sunnyvale exempts retaining walls only up to 4 ft with nothing attached on top. A wall 4 ft or less from footing to top, with nothing attached, needs no permit.
- Where do I apply for a retaining wall permit in Sunnyvale?
- Apply through Sunnyvale, Work Not Requiring a Building Permit, or call 408-730-7444.
Sources
- City of Sunnyvale, Work Not Requiring a Building Permit (rev. 1/2026). Checked 2026-11-03
Building permits shall be obtained from the City's Building Safety Division before erection, construction, reconstruction, installation, moving, or alteration of any building or structure. However, the following projects do not require building permits... 2…
- City of Sunnyvale, Residential Fences handout (rev. 1/2023). Checked 2026-11-03
Fences within Front Yards (between face of building and street) Fence Height Review Process Up to 4 feet No permit required. Fence may not exceed 3.5 ft. in any vision triangles unless it is an "open fence." 4+ to 6 feet MPP Over 6 feet Use Permit required.…
- 44 CFR 59.1, definition of development (NFIP). Checked 2026-10-19
Development means any man-made change to improved or unimproved real estate, including but not limited to buildings or other structures...
- 44 CFR 60.3, floodplain management criteria. Checked 2026-10-19
Require permits for all proposed construction or other development in the community...