Skip to main content

San Francisco · Renovation planning

Decks & pergolas in San Francisco.

In a city of small yards, the deck is often the only outdoor room. How high it sits, how close it comes to the neighbors and what shades it decide how quickly San Francisco approves it.

By Renology · Reviewed by Dror Gigi, Renovation Industry Expert · Updated

Illustrative contemporary deck and pergola beside a home

The short answer

When does a San Francisco deck need a permit and Planning review?

San Francisco sorts decks by height. Under 30 inches above natural grade, a deck needs no building permit. From 30 inches it does, and above 3 feet it also gets Planning review. Planning's deck handout puts a deck on posts on the over-the-counter route when it is under 10 feet tall and inside the buildable area, the part of the lot where the Planning Code allows building. A roof deck set 3 to 5 feet back from building edges and lightwells goes the same way. Go taller, into the required rear yard, or add a stair penthouse, and expect a pre-application meeting and 30-day neighborhood notice.

Decide how you will reach a roof deck before pricing it. A roof hatch can be approved without public notice, while a stair penthouse needs a pre-application meeting and 30-day notice.

Talk through my renovation plans →

Discuss your scope with a Renology advisor and check suitable contractor options. Free for homeowners, with no obligation.

Repair and maintain: inclusions & limits

Covers board and railing replacement, stair repair and dry rot at connections. Repairing less than 50 percent of a deck and stairs qualifies for over-the-counter review; more than 50 percent needs plans. If the existing deck does not meet today's Planning Code, Planning allows repair up to 50 percent of the building materials, and going further may need a Variance. On painted railings of a home built before 1978, federal rules call for a lead-certified firm when exterior work disturbs more than 20 square feet of paint.

Replace the deck: inclusions & limits

Includes demolition, new footings or posts, framing, the connection to the building, boards, guards and stairs. A deck that complies with the Planning Code can be replaced in full. Changing height or footprint reopens the design: a deck on posts above 10 feet, or one reaching into the required rear yard, means an intake permit, a pre-application meeting and 30-day notice. Height is measured from natural grade at the deck's location to the walking surface.

Build deck or pergola: inclusions & limits

Price structure, access, railings and any shade or wind screen as separate lines. Open railings up to 42 inches tall need no public notice. A pergola or other covering may trigger neighborhood notification; at grade, one under 8 feet tall, enclosed on no more than half its perimeter and under 60 square feet can still go over the counter.

What a deck or pergola project costs in San Francisco in 2026.

The typical San Francisco deck permit declares three times what the typical American spends on a deck. On 505 deck and pergola permits filed for single-family homes and duplexes since September 2024, owners declared a median of $15,000, and half of them landed between $7,000 and $30,000. Houzz puts the national median spend on a deck at $5,000.

$15,000

Median permit valueDeclared construction value on 505 deck and pergola permits for single-family homes and duplexes, filed September 2024 to September 2026.

The reason is what a San Francisco deck usually is. Read the permit descriptions and many are not new platforms on flat ground: they replace a rotten ledger, reset railings, or remove a deck that is pulling away from the house. A deck that sits 30 inches or more above grade needs a permit here, and those are exactly the decks that need footings, beams, a solid connection to the building and sometimes a firewall near the property line.

All the numbers and where they come from
The numbers behind this guide
Median permit value$15,000Declared construction value on 505 deck and pergola permits for single-family homes and duplexes, filed September 2024 to September 2026. Half fall between $7,000 and $30,000. (San Francisco DBI building permits, open data)
Top tenth of permits$50,000+One in ten of those permits declared $50,000 or more. (San Francisco DBI building permits, open data)
National deck median$5,000Houzz 2026 national median spend on decks in 2025. The Census survey's national median for porch, deck and patio projects was $4,750; it does not publish one for the San Francisco metro. (Houzz, 2026 U.S. Houzz and Home Study, Renovation Trends (national))
Carpenter wage$42.89 an hourMedian carpenter wage in the San Francisco-Oakland metro, May 2025. Construction laborers earned a median $34.91. Contractors bill above wages. (U.S. Bureau of Labor Statistics, May 2025 wages, San Francisco-Oakland)

Median declared deck value by neighborhood

  • West of Twin Peaks$20,000 median, 59 permits
  • Castro and Upper Market$20,000 median, 36 permits
  • Outer Richmond$20,000 median, 32 permits
  • Noe Valley$15,500 median, 30 permits
  • Sunset and Parkside$12,500 median, 42 permits

Source: San Francisco DBI building permits, open data

Compare inclusions, not just totals
Structure and firewallsFootings, posts, beams, the connection to the building and any firewall near a shared property line.A deck within 3 to 5 feet of a neighboring property line may trigger a firewall, and a firewall over 10 feet tall adds a pre-application meeting and notice. Ask whether each bid assumes one.
Roof deck extrasRoof hatch or stair, railings, a wind screen and protection of the roof below the deck.A roof hatch can be approved without public notice, but a stair penthouse needs a pre-application meeting and 30-day notice. Waterproofing under the deck is roofing work; confirm which contractor owns it.
Design and reviewDrawings, Planning review above 3 feet, and time on the calendar if the design needs notice.During 30-day notice a neighbor can request Discretionary Review, which may mean a Planning Commission hearing that takes months. Designing to stay over the counter can protect the schedule.

For inclusions, allowances and exclusions, see how to read a contractor quote line by line. For broader benchmarks, see the Renology Cost Index.

What a deck or pergola project budget buys in San Francisco.

About $7,000

A quarter of San Francisco deck permits declare $7,000 or less. Mostly repairs: boards, railings, stairs and dry rot at the connections. Repairing less than 50 percent of a deck and its stairs can go over the counter; past 50 percent it needs plans. On painted railings of a home built before 1978, a lead-certified firm is required once more than 20 square feet of paint is disturbed.

About $15,000

The citywide median, three times the national Houzz figure of $5,000. Enough to replace a modest deck in the same footprint with new footings or posts, framing, boards and guards. Keep it under 10 feet on posts and inside the buildable area, and it stays on the over-the-counter route.

About $30,000

The top of the middle half of permits. Larger or taller decks, a new connection to the building, and a firewall when the deck comes within 3 to 5 feet of a property line. In West of Twin Peaks, Castro and Upper Market and the Outer Richmond the median permit is already $20,000.

$50,000 and up

One permit in ten declares $50,000 or more. Roof decks with a hatch or stair, wind screens, protection of the roof below, and decks that need a pre-application meeting and 30-day notice sit here. The boards are the cheap part at this level.

What a San Francisco deck bid assumes about the approval.

A San Francisco deck bid is partly a bet on the review. The permit value is declared at filing. The bid has to price labor, materials, overhead and profit, plus the rot that shows up once old boards come off.

Compare what each bid assumes. One plans a firewall near the property line, keeps a pergola under the notice limits and counts waterproofing under a roof deck as roofing work. Another leaves all three for the Permit Center or a later change order. A design that triggers 30-day notice can add months if a neighbor asks for Discretionary Review, which can mean a Planning Commission hearing. Carpenters in the San Francisco-Oakland metro earned a median $42.89 an hour in May 2025, and a contractor's rate sits on top of that.

Bring the bid checklist to every contractor so the numbers describe the same job.

Make the guide yours

Fix it, rebuild it or add a roof deck in San Francisco?

SF Planning sorts decks by type as much as by size: a low platform, a deck on posts, a deck on an existing structure and a roof deck each follow their own path. For an existing deck, the 50 percent line matters most, since it separates a simple repair from a job with plans. For a new one, height, setbacks and anything overhead decide the review.

No scope selected. The guide and checklist are available without choosing a project tier or leaving contact details.

Start with deck type, height and the neighboring homes

If the house is 45 years old or more and the deck will be visible from the street or another public right-of-way, a preservation planner may review it. Check both before you settle the deck's size and railing style.

An old deck's approval does not carry over to a bigger one. A deck that complies with today's Planning Code can be replaced in full, but a new height or footprint reopens the review.

Official starting point: San Francisco Planning: Residential Deck Guidelines.

A decision to work through · illustrative scenario

A soft rear deck on posts

The boards give underfoot and the railing moves. If the repair stays under 50 percent of the deck and its stairs, it goes over the counter. If rot turns up in the posts and beams and the work passes 50 percent, the job needs plans.

Before you compare bids: Ask for an inspection of the posts, beams and the board that ties the deck to the house, the share being repaired, and separate prices for repair and full replacement.

Measure, file, build: how a San Francisco deck gets approved

Most of a deck's timeline is settled before construction. Measure the height from natural grade and the distances to property lines first, since those decide whether the permit is same-day over the counter or an intake permit with 30-day notice to neighbors within 150 feet. Once the job card is issued, building is the quick part.

  1. 1

    Classify the deck: measure its height and its distances to property lines, and check the buildable area. If the home is 45 years old or more and the deck will be visible from a public right-of-way, a preservation planner may review it. Together these decide over-the-counter or intake permit.

  2. 2

    Get the permit: an over-the-counter deck goes to the Permit Center with two sets of plans and can be approved the same day. A deck that needs notice goes in as an intake permit, where a planner works on the design and mails 30-day notice to neighbors within 150 feet.

  3. 3

    Build and inspect: pay the fees and collect the job card before work starts, then footings and framing, boards, guards and any shade structure, with DBI inspections along the way.

Ask for separate dates for design, permit review, ordering and construction.

Five measurements to give every San Francisco deck builder

Two deck bids can look alike and assume different approvals. One plans a firewall near the property line and keeps the pergola under the notice limits; the other leaves both for the Permit Center to find. Give every builder the same five measurements, and each price will describe the same deck on the same review path.

  • Height from natural grade to the walking surface, measured at the deck's actual location
  • Distance to each property line, and whether a firewall is triggered within 3 to 5 feet
  • Buildable area and required rear yard lines drawn on the plan
  • Any pergola, wind screen or stair penthouse shown with its height and area
  • Share of the existing deck and stairs being repaired, against the 50 percent line

If you ask for help, a Renology advisor talks through your scope and checks local contractor availability. You decide whether to go ahead.

Already have a proposal? Check its scope and exclusions with the quote-review tool before your next contractor conversation.

Deck heights, roof decks and pergolas: San Francisco answers

Start with wind screens, which the permit rules treat differently at grade and on a roof. The permit, roof deck and pergola answers follow.

How tall can a wind screen be on a San Francisco deck?

At grade, Planning's deck handout says wind screens are typically allowed up to 10 feet tall without public notice. On a roof deck the usual limit is 6 feet, even above the height limit, and some roof deck screens need 30-day notice.

How much does it cost to build a deck in San Francisco?

On 505 San Francisco deck and pergola permits for single-family homes and duplexes since September 2024, owners declared a median construction value of $15,000, with half between $7,000 and $30,000. That is three times the $5,000 national median Houzz reported for decks. A $15,000 budget can replace a modest deck in the same footprint with new footings or posts, framing, boards and guards, if it stays under 10 feet on posts for over-the-counter approval.

What is the biggest deck you can build without a permit in San Francisco?

The limit is height, not area. Planning's deck handout says a deck less than 30 inches above natural grade needs no building permit; from 30 to 36 inches it needs a building permit without Planning review; above 3 feet it gets both. DBI's exempt list adds that such a platform must not sit over a basement or story below or form part of an exit.

Do I need a permit for a roof deck in San Francisco?

Yes. A roof deck needs a building permit and Planning review. It can go over the counter when it sits within the buildable area and 3 to 5 feet back from building edges and lightwells, and railings, parapets and roof hatches are approved the same way. A stair penthouse needs a pre-application meeting and 30-day notice, and Planning encourages roof decks to be set back at least 5 feet on all sides.

Does adding a pergola to a deck change the permit?

It can. Planning says a roof or covering such as a pergola may trigger neighborhood notification. On an at-grade deck, a shade structure under 8 feet tall, enclosed on no more than half its perimeter and under 60 square feet can still be approved over the counter. On a roof, on top of an addition or on a deck on posts, the covering will usually need public notice because of its height.

Check contractor credentials with California CSLB. Match the business identity and scope to the proposal.

Keep planning.

Explore the general decks & pergolas guide for project-wide ideas.

Still planning the whole yard? Compare San Francisco outdoor-living options.

Decks & pergolas in other regions

Ready to hire? See vetted San Francisco contractors →

Outside San Francisco? Choose your Bay Area jurisdiction.

Planning guidance, not a quote. Confirm current requirements for your address with the official sources linked above.