Do you need a permit for a deck in San Francisco, CA?
It depends on the details of your project.
Low platforms up to 30 in need no permit, with no size limit.
Roof decks always need a permit.
In the required rear yard, Planning limits a deck floor to 3 ft above grade on lots sloping 15% or less.
A person last checked these rules on October 22, 2026. This is guidance only, so confirm with San Francisco 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 deck drawn on your lot, an application worksheet and a permit-desk checklist. See a sample packet
Permits a deck can need in San Francisco
| Permit | When it applies |
|---|---|
| Building permit | San Francisco exempts only platforms 30 in or less above the ground that are not part of an exit and not over a basement or story below. |
| Floodplain development permit | If the lot is in a FEMA special flood hazard area, all development there needs a permit. |
Limits that apply citywide
| In the required rear yard | Decks at or below the first floor; floor no more than 3 ft above grade where the lot slopes 15% or less, and under a 45-degree plane from 3 ft at the lot lines (up to 7 ft on lots sloping more than 15%)Medium confidence |
|---|---|
| Required rear yard (RH districts) | 30% of lot depth, at least 15 ftMedium confidence |
Draw your deck on your San Francisco lot
PlanIQ finds your parcel, lets you place the deck on it, and checks the placement against the San Francisco limits above (in the required rear yard 3 ft). Draw my lot
Local details
- The 30 in exemption does not cover a platform over a basement or a story below, or one on a required accessible route.
- 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
- Check if your project needs a permit (sf.gov)
- SF Property Information Map
- Phone: (628) 652-3200
Common questions
- When does a deck need a building permit in San Francisco?
- San Francisco exempts only platforms 30 in or less above the ground that are not part of an exit and not over a basement or story below. A platform 30 in or less above the ground, not part of an exit and not over a basement or story below, needs no building permit in San Francisco.
- Where do I apply for a deck permit in San Francisco?
- Apply through Check if your project needs a permit (sf.gov), or call (628) 652-3200.
Sources
- sf.gov, Check if your construction project needs a permit (other items). Checked 2026-10-22
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 or impounding Class I, II or III-A liquids... Platforms, sidewalks, walks and driveways when not part …
- 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...
- San Francisco Planning Code § 136(c) (GoCodebook copy, current through Ord. 10-26, effective 3/16/2026). Checked 2026-10-22
(16) Decorative railings and decorative grille work, other than wire mesh, at least 75 percent open to perpendicular view [and] no more than six feet in height above grade... (13) Retaining walls that are necessary to maintain approximately the grade existi…
- San Francisco Planning Code § 134(c)(1), rear yards (American Legal, as amended by Ord. 245-25, eff. 1/12/2026). Checked 2026-10-23
(1) In RH, RM-1, RM-2, RTO-1, and RTO-M Zoning Districts, the basic rear yard shall be equal to 30% of the total depth of the lot on which the building is situated, but in no case less than 15 feet.