How Far Can a Deck Project into a Setback in San Francisco?

Designing a new deck in San Francisco often runs straight into one big question: **“How far can my deck project into the required setback or rear yard?”**

S. N.7 months ago
How Far Can a Deck Project into a Setback in San Francisco?

For single- or two-family homes (R-3 Occupancy, Type VB construction), this is one of the most misunderstood parts of the San Francisco Planning and Building Codes. The short answer? 👉 Decks rarely get to project at all—unless they fit very narrow exceptions.

Let’s unpack what the code actually says, how Building and Fire Code rules make it even trickier, and what that means for your design.


🔹 The Planning Code Side: Setback Rules and Permitted Obstructions

The San Francisco Planning Code (§136) defines exactly which features can project into required open areas (front, side, and rear yards). If a structure isn’t listed there, it’s considered an obstruction and cannot encroach without a variance.

Here’s how the main projection types work:

FeatureMaximum ProjectionHeight LimitKey Conditions
Architectural projections (eaves, cornices, bays)4 ftMust be decorative or integral to façade
Stairways & landings6 ftNot above first occupied floorMust be minimum size necessary for access
StepsFull yard3 ft max above gradeAllowed anywhere in open space
Decks / platforms > 3 ft high❌ Not permittedRequire variance unless part of “12-ft extension”
Rear-yard extensions (“12-ft pop-out”)12 ft≤ floor of 2nd level of occupancyRequires 5-ft open side yard on both sides

That last item—the 12-foot rear-yard extension—is a specific, codified envelope allowing part of a building (including walls, floors, or decks) to project up to 12 feet into the required rear yard. But it comes with strict conditions:

  • Height limited to no higher than the second occupied floor above grade at the rear.
  • Must maintain 5-foot open side yards on each side.
  • No other obstructions allowed in those side yards (except a 3-ft-high deck).

If your deck doesn’t fit those dimensional limits, it’s treated as an encroachment and will need a variance, which the Planning Department rarely grants.


🔹 Ground-Level and Roof Decks

At grade, the rules ease slightly. Decks that are ≤ 3 feet above grade are typically allowed within setbacks because they don’t obstruct required open space. This is why many backyard patios in San Francisco can extend to the property line—so long as they stay low.

For roof decks on existing nonconforming structures, the Zoning Administrator allows them if they are flat, below the parapet, and do not increase height or bulk. But that’s a separate policy, not a general entitlement.


🔹 The Building Code & Fire Separation Side

Even if Planning Code allowed a deck projection, the California Building Code (CBC) and Fire Code may still block it due to fire separation distance requirements.

According to CBC Table 705.2, combustible projections (like wood decks or balconies) must maintain a minimum clearance from property lines:

Property Line DistanceFire Rating / Design Requirement
< 2 ftNo openings, noncombustible materials, often not permitted
2–5 ftFire-rated wall or fire-protected construction required
≥ 5 ftCombustible construction permitted (Type VB typical)

This means that in a typical San Francisco lot with 3-ft side-yard setbacks, a deck could only project about 1 foot before violating fire-clearance rules—unless it’s noncombustible or protected by a rated wall or barrier.

In short, even a Planning Code–compliant deck projection could fail at the building-permit stage due to fire separation limits.


🔹 Putting It All Together

When you overlay Planning Code setback rules with Building Code fire-safety limits, the real-world outcome looks like this:

ConditionPlanning Code AllowanceFire Code ConstraintReality Check
Front or rear yard deckUp to 3 ft (if treated like balcony) or 12 ft under “pop-out” envelopeMust be ≥ 5 ft from property lineLimited; usually only within the 12-ft rear-yard envelope
Side yard deckNot permittedRequires 2-ft min clearance from line, fire-rated if < 5 ftEffectively prohibited
Ground-level deck ≤ 3 ftAllowedMust not violate drainage/elevation codesCommon and compliant
Deck on existing noncomplying buildingCase-by-case if below parapetMust maintain existing fire protectionConditional; Planning review required

🔹 Design Takeaways

  • Decks above 3 ft high cannot extend into required setbacks unless part of a 12-ft rear-yard extension.
  • Low decks (≤ 3 ft high) are permitted anywhere in open space, including setbacks.
  • Side yards are off-limits for elevated decks.
  • Fire-separation rules may further reduce how close decks can come to property lines—especially for combustible materials.
  • Always coordinate Planning Code setbacks with Building Code fire clearances early in design to avoid redesigns during permit review.

✅ Bottom Line

For R-3, Type VB residential properties in San Francisco:

  • Standard decks are not allowed to project into setbacks.
  • Only limited projections (stairs, landings, or 12-ft rear-yard extensions) are permitted by code.
  • Even if Planning allows an encroachment, the Building Code may still prohibit it based on fire separation requirements.

So while the answer isn’t a simple “yes” or “no,” the practical takeaway is clear: 👉 In San Francisco, design your decks to stay inside the buildable envelope—or keep them under 3 feet above grade.


Key References:

  • San Francisco Planning Code §§132(b), 134, 136(c)(1), 136(c)(14), 136(c)(25)
  • California Building Code (2025) Table 705.2 – Fire separation distance for projections
  • Planning Department Bulletins & Zoning Administrator Interpretations — Decks and Permitted Obstructions

Need clarity for your site? Upload your property layout to GoCodeBook, and we’ll generate a deck setback and fire-clearance diagram specific to your zoning district, building type, and lot width—complete with code citations for your permit set.