Research by DoINeedAPermit Research Team · Updated May 2026
The Short Answer
Any attached deck in Foster City requires a permit from the Building Department, regardless of size. Attached decks are never exempt under California Building Code, even if they are small or ground-level.
Foster City sits in the San Francisco Bay Area with bay mud soil — a highly compressible, low-bearing-capacity clay that drains poorly and settles under load. This geological reality shapes how the City of Foster City Building Department reviews deck permits: footings must account for soil settlement, and ledger flashing (the critical connection between house rim band and deck frame) must comply with IRC R507.9 AND pass inspection by a department that has seen decades of bay mud deck failures. Unlike inland Bay Area cities on firm soil, Foster City's permit reviewers flagged bay mud footing protocols in their standard conditions — you cannot simply use the minimum 12-inch frost-depth footing shown in generic plans. Additionally, Foster City's coastal location (San Mateo County, Zone 3B-3C per climate maps) means elevated water tables year-round and potential ponding near structures; your deck drainage and ledger detail will be scrutinized more closely than in a drier climate. The City's online portal allows initial intake and plan uploads, but expect a full plan-review hold if your ledger flashing detail, soil bearing capacity notes, or footing depth fail the first look.

What happens if you skip the permit (and you needed one)

Foster City attached deck permits — the key details

The City of Foster City Building Department enforces California Building Code (CBC) and requires permits for all attached decks per CBC Section 105.2 — no exemptions exist for size or height. Unlike some inland California cities that allow freestanding ground-level decks under 200 square feet without permits, Foster City treats ALL attached decks as structural connections to the home and thus requiring engineering review and multiple inspections. An attached deck is one where the ledger board bolts directly to the house band board (rim joist); this creates a load path into your home's foundation. The ledger flashing must meet IRC R507.9, which mandates a moisture barrier (typically self-adhering metallic tape or rigid flashing) installed behind the ledger board, wrapped over the house rim, and extended down the band and under the house rim. If your ledger flashing is omitted or improperly installed, water infiltrates the rim band, causing rot and structural failure — a common failure mode in the damp Bay Area. Foster City's permit reviewers will not approve plans that show a ledger without this detail, and inspectors will red-tag the framing if flashing is installed after the deck is framed.

Bay mud footing depth is the second major Foster City consideration. Your deck footings must rest on undisturbed soil below the water table and compressible bay mud layer. Standard frost-depth calculations do not apply in Foster City's coastal bay area the way they do in the Sierra Nevada mountains — instead, the building department typically requires footings to bear on competent soil at least 2–3 feet below existing grade, or a geotechnical report confirming soil bearing capacity and settlement estimates. If you simply dig 12 inches and pour a 4x4 post base, your deck will settle and separate from the ledger within 2–3 years. Many homeowners in Foster City have discovered this the hard way: their deck pulls away from the house, ledger bolts shear, and water pours into the house. The department's permit checklist will ask for either: (1) a soil report signed by a civil engineer confirming bearing capacity and footing depth, or (2) evidence that you have hired a licensed engineer to review the footing design. Budget $300–$800 for a site-specific soils engineer consultation if your plans do not include one.

Ledger bolt spacing and size are governed by IRC R507.9.2 and must be spelled out in your permit drawings. The ledger board bolts to the house rim band (the 2x10 or 2x12 band joist that sits atop the foundation) with 1/2-inch bolts spaced every 16 inches, with bolts no more than 12 inches from either end of the ledger. Each bolt must have a washer and nut on the interior side and a washer on the exterior. If your deck is 12 feet wide, you will need at least 9 bolts. The city will not issue a permit if your plans show bolts 24 inches apart or if you propose to use lags instead of through-bolts. Additionally, if your deck is over 200 square feet or taller than 30 inches above final grade, you may need a lateral load device (such as a Simpson H-clip or equivalent angle bracket) on the top of each ledger bolt to prevent the deck from separating from the house during earthquakes — California Building Code now requires this in many regions. Check with the Building Department during the intake call to confirm if your deck's footprint and height trigger this requirement.

Deck stairs, railings, and openings must meet IBC Section 1015 and IRC R311.7. Stair treads must be 10 to 11 inches deep, risers 7 to 8 inches tall, and handrails 34 to 38 inches above the stair nosing. If your deck is more than 30 inches above grade at any point, you must have a guardrail (also called a deck rail) that is 36 inches tall, measured from the deck surface to the top of the rail. The guardrail must have balusters (vertical posts) spaced so that a 4-inch sphere cannot pass through any opening — this prevents a child's head from becoming trapped. The city's plan review will include a visual check of your railing design against these dimensions; if your drawing does not clearly dimension the rail height or baluster spacing, the reviewer will place a hold and ask for clarification. Many homeowners attempt to save money by building a railing from 2x4 or 2x6 horizontal boards only, without balusters — this will be rejected. You must either use a commercially rated railing panel (which carries a UL or ICC report) or frame a custom railing with properly spaced balusters and then submit a detail drawing.

Electrical and plumbing add complexity and require licensed contractors in California. If your deck includes an outlet, light, ceiling fan, or hot-water feature, you must hire a licensed electrician to pull the work permit, run the conduit, and arrange inspections — you cannot do this yourself as the owner-builder. Similarly, if you plan a deck-mounted spa, outdoor shower, or fountain with plumbing, a licensed plumber must handle that. The Building Department will not issue a single permit that covers both deck construction (which you can do) and electrical/plumbing (which you cannot). Plan on a minimum of $500–$1,500 for a licensed electrician to run a 20-amp deck outlet from your house panel; add another $800–$2,000 if you are upgrading to hardwired lighting. These costs are separate from deck construction and permits.

Three Foster City deck (attached to house) scenarios

Scenario A
12 x 14 attached composite deck, 36 inches above grade, rear yard, no electrical — typical Foster City home
You are building a modest rear deck on your 1970s Foster City ranch home. The deck will be 12 feet wide by 14 feet long (168 square feet), attached to the house with a ledger board bolted to the rim joist, and elevated 36 inches above final grade at the house connection. You plan to use composite decking (Trex or similar) on pressure-treated 2x10 rim and outer joists, pressure-treated 2x8 inner joists spaced 16 inches on-center, and 4x4 posts set into concrete footings. No electrical, no stairs initially. Foster City Building Department will require a permit. Your plan drawings must show: (1) deck layout with overall dimensions and footing locations; (2) ledger detail showing 1/2-inch bolts at 16-inch spacing with self-adhering flashing installed behind the ledger and wrapped over the rim band; (3) footing detail showing footings dug to a depth confirmed suitable for bay mud soil (likely 24–36 inches deep, or a soils engineer letter), with 4x4 post set 12 inches into concrete; (4) railing detail showing guardrail 36 inches tall with 4-inch baluster spacing; (5) connection details for bolts and hangers (joist hangers on the rim, post bases on the concrete footings). The permit fee will be $250–$400, based on the estimated project valuation (roughly $8,000–$12,000 for materials and labor). Plan review takes 2–3 weeks. Inspections: footing pre-pour (verify depth and soil), framing (ledger bolts, joist hangers, post connections), final (railing height, spacing, decking, skirting). Total timeline from permit to final sign-off: 4–6 weeks.
Permit required | Ledger flashing critical (IRC R507.9) | Bay mud footing depth critical (24–36 in) | 1/2-in bolts 16 in apart | 36-in guardrail with 4-in baluster spacing | Footing inspection + framing + final | $250–$400 permit fee | $8,000–$12,000 total deck cost
Scenario B
10 x 20 attached deck with built-in stairs, 42 inches at house, on lot with clay fill (non-native soil) — requires geotechnical review
You own a larger Foster City lot (near the lagoon area or a filled neighborhood) where the developer imported clay fill decades ago. You plan a 10-by-20-foot deck (200 square feet, right at the threshold), 42 inches above final grade at the house, with a single staircase down to grade. This scenario triggers an additional layer of review because your footing depth cannot be determined by eye or standard frost-depth tables. Foster City Building Department will place a hold on your permit application and require a Phase I Environmental Site Assessment or a geotechnical engineer's report confirming: (1) the depth and bearing capacity of the fill and native soils below, (2) recommended footing depth and diameter, and (3) settlement estimates under load. Budget $600–$1,200 for this engineer's report. The ledger flashing detail remains non-negotiable (same IRC R507.9 requirements). Stairs must meet IRC R311.7: treads 10–11 inches, risers 7–8 inches, handrail 34–38 inches above the nosing, and balusters 4-inch sphere spacing. The stair landing at the bottom must be at least 3 feet by 3 feet and lead to a level path (no drop-off). If the stairs sit on fill, the landing footing must also rest on undisturbed soil below the fill, or on a compacted aggregate subbase with proper drainage — the geotechnical engineer will specify this. Permit fee is $300–$500 (slightly higher because of the engineer requirement and larger footprint). Plan review takes 3–4 weeks due to the soils engineer coordination. Inspections: footing pre-pour (verify depth per engineer letter), stair framing (landing dimensions, tread/riser dimensions, baluster spacing, handrail height), ledger connection, final. Total timeline: 5–7 weeks.
Permit required | Geotechnical engineer report required (non-native fill soil) | Ledger flashing (IRC R507.9) | Stairs per IRC R311.7 (10-11 in treads, 7-8 in risers) | 3x3 ft landing minimum | 36-in guardrail + handrail 34-38 in | $300–$500 permit fee | $600–$1,200 soils engineer | $12,000–$18,000 total deck
Scenario C
8 x 16 attached deck with 20-amp outlet and LED string lights (contractor hired for electrical) — licensed contractor required
You want an 8-by-16-foot attached deck (128 square feet) with a built-in bench, low voltage LED string lights (run on a 12-volt transformer), and a 20-amp outlet for a future hot tub or power tools. You plan to build the deck yourself but hire a licensed electrician for the outlet and transformer. Foster City Building Department issues two separate permits: (1) the deck construction permit (which you can pull as owner-builder if the total deck cost under $500 in labor — unlikely here, so more likely a licensed contractor pulls it), and (2) the electrical permit (which MUST be pulled by a licensed electrician). You cannot pull the electrical permit yourself, even as owner-builder. The electrician will run 12 AWG wire in conduit from your main panel (or a subpanel near the deck) to the outlet location, with a dedicated 20-amp breaker and GFCI protection. The electrical inspection happens separately from the deck inspection. The ledger detail and footing requirements remain the same as Scenario A. The deck framing inspection will note the electrical conduit routing (it must be protected from damage, so running it under the deck or through a post is typical). Permit fees: $250–$400 for deck; $150–$250 for electrical. The electrician's labor for conduit, breaker, and outlet typically runs $800–$1,500. Plan review for both permits: 3–4 weeks total (they run in parallel). Inspections: deck footing pre-pour, deck framing, electrical (rough-in conduit before cover-up, final outlet/breaker). Total timeline: 5–7 weeks. The low-voltage LED string lights (run off the 12-volt transformer, plugged into the outlet) do not require additional inspection once the 20-amp outlet is approved.
Permit required (deck + electrical) | Licensed electrician required for outlet/transformer | Ledger flashing (IRC R507.9) | 20-amp GFCI outlet, 12 AWG wire in conduit | Bay mud footing depth | $250–$400 deck permit | $150–$250 electrical permit | $800–$1,500 electrician labor | $10,000–$15,000 total (deck + electrical)

Every project is different.

Get your exact answer →
Takes 60 seconds · Personalized to your address

Bay mud soil challenges in Foster City deck design

Foster City is built on the shores of the San Francisco Bay, in an area underlain by bay mud — a marine clay deposit left by ancient bay sediments. Bay mud is highly compressible, with low bearing capacity (typically 500–1,500 psf, compared to 2,000–3,000 psf for granular soil). When a 4x4 post sits on a small concrete pier in bay mud, the post and pier will settle (subside) over time as the mud consolidates under load. A typical settlement might be 0.5 to 1 inch per post over 5–10 years. This alone does not destroy a deck — the bigger problem is differential settlement: if one footing settles more than another (common with varying soil depths or groundwater fluctuation), the deck frame will rack and twist. The ledger connection to the house suffers most: as the deck settles away from the house, the ledger bolts become tensioned and eventually shear, and a gap opens up, allowing water to pour behind the ledger. This is a classic failure mode in the Bay Area.

To prevent settlement failures, Foster City Building Department typically requires one of two approaches: (1) design footings to bear on competent soil (sand or firm clay) at least 2–3 feet below the existing surface, where settlement is minimal, or (2) use helical piers or driven piles that bypass the bay mud layer entirely (more expensive, but eliminates settlement risk). Most residential decks use the first approach: dig deeper until you reach firm soil, then place the footing. A soils engineer's report or a geotechnical site assessment helps you know how deep to go — trying to guess results in footings that fail. If you obtain a permit plan with 12-inch footings and the inspector arrives to find you only dug 8 inches because the soil was hard, you will be red-tagged and forced to excavate deeper. Always err on the side of depth in Foster City.

Drainage is the second concern. Bay mud holds water like a sponge. If your deck footings are in standing water or saturated soil, the concrete will wick moisture up the post, causing the wood to rot. Provide drainage around footings: slope final grade away from the deck, or install a perforated drain pipe around the footing area if the lot is naturally wet. Some Foster City homeowners have poured footings only to discover the hole immediately fills with water at high tide or after rain — this is a signal that the footing is in the saturated zone and will fail. Discuss drainage with the Building Department during the intake call.

Ledger flashing and water intrusion — why Foster City inspectors care so much

The ledger board is the single most critical detail in an attached deck permit. It is the connection between the deck and the house, and it carries half the deck load into the home's structure. If the ledger fails (bolts shear, board rots, house band separates), the deck collapses away from the home, injuring people or trapping them. More commonly, improper ledger installation allows water to infiltrate the rim band and band board, causing dry rot in the house framing — a $15,000–$40,000 repair once the rot spreads into the house walls and sill plate.

IRC R507.9 mandates a moisture barrier behind the ledger: self-adhering metal flashing, or rigid membrane flashing (such as aluminum trim with a rubber gasket), installed in a specific sequence. The flashing must be installed before the ledger is bolted on, so that the flashing wraps behind the ledger, over the top of the rim band, and down the exterior face of the band. If you bolt the ledger on first and then try to slide flashing under it, the inspector will reject it. The flashing must also have a drip edge that directs water away from the house (not back into it). Many DIY-built decks omit the flashing entirely, relying on caulk alone — this fails within 1–2 years in the Bay Area's winter rains.

Foster City's damp climate and winter rainfall make this detail even more critical than in dry inland areas. The Building Department's online permit checklist explicitly calls out ledger flashing; inspectors will photo-document the detail during the framing inspection. If flashing is not yet installed, the inspector will place a red tag ('Do Not Cover') on the band board and require you to install flashing before the deck rim board is attached. Budget time and materials for this: flashing itself costs $100–$300, but the labor to remove the rim board if you've already bolted the ledger in place can add hours or require a contractor callback. Install the flashing first, always.

City of Foster City Building Department
Foster City Community Services Department, Foster City, CA 94404 (contact city hall main number for Building Department phone and hours)
Phone: Call (650) 286-3000 or check https://www.fostercity.org for current building permit phone | Foster City permits portal: https://www.fostercity.org/permits (search 'Foster City online permit portal' to confirm current URL)
Monday–Friday, 8 AM–5 PM (verify hours on city website before visiting)

Common questions

Do I need a permit for a small 8x8 deck attached to my Foster City house?

Yes. Any attached deck in Foster City requires a permit, regardless of size. California Building Code treats attached decks as structural connections to the home, so there is no exemption for small decks. Freestanding ground-level decks under 200 square feet and under 30 inches high are exempt, but if your deck bolts to the house ledger, it requires a permit. Budget $250–$400 in fees and 4–6 weeks for permit and inspection.

How deep do I need to dig my deck footings in Foster City?

Bay mud in Foster City is compressible and typically requires footings 24–36 inches deep to reach firm soil, or a geotechnical engineer's letter confirming footing depth. Frost depth is not the limiting factor (as it is in cold climates); soil bearing capacity and settlement are. If you dig 12 inches and hit still-saturated clay, dig deeper. The Building Department will ask for either a soil report or evidence of engineer review before approving plans. Do not guess on footing depth — undersized footings will settle and collapse the ledger connection.

Can I install my own ledger flashing, or does the electrician do that?

You install the ledger flashing yourself as part of the deck framing — the electrician has no role in it. Ledger flashing is a moisture barrier (self-adhering metal tape or rigid flashing) installed behind the ledger board before it is bolted to the house rim band. IRC R507.9 requires it. Install it first, before any bolts, so the flashing wraps behind the ledger and directs water away from the house. Improper or missing flashing is the leading cause of deck-related water damage to Foster City homes.

Do I need a licensed contractor to build my deck, or can I do it myself in Foster City?

California law (Business and Professions Code § 7044) allows owner-builders to perform construction work on their own property without a license, provided no contractor license is otherwise required by the type of work. In practice, you can frame your own deck (lumber work) if you pull the owner-builder permit yourself. However, if your deck includes electrical (outlet, lights, wiring), a licensed electrician must pull the electrical permit and do that work — you cannot do it yourself. Similarly, if plumbing is involved, a licensed plumber is required. Deck framing only: you can do it. Deck framing + electrical or plumbing: hire licensed trades for those portions.

What inspections will the Building Department require for my attached deck?

Three main inspections: (1) Footing pre-pour inspection — the inspector verifies that holes are dug to the approved depth (per your plan or the engineer letter) and that the soil below is suitable. Schedule this before pouring concrete. (2) Framing inspection — ledger bolts, joist hangers, post bases, guardrail height and spacing, and stair dimensions are checked. Do not cover up the bolts or connections before this inspection. (3) Final inspection — decking installed, railing complete, and the entire deck is safe. If you have electrical, the electrician's rough-in (conduit and wiring before cover-up) and final (breaker and outlet) inspections happen separately.

Do I need a geotechnical engineer report for my deck in Foster City?

Not always, but likely. If your lot is on native bay mud and you can verify footing depth through the Building Department's standard conditions (typically 24–36 inches to firm soil), you may not need a formal report. However, if your lot has fill, if the soil is unclear, or if the footing depth is uncertain, the Building Department will place a hold and require an engineer's letter or Phase I assessment. Budget $600–$1,200 for a geotechnical engineer if needed. It is cheaper than digging out and replacing footings that are too shallow.

Can I extend my deck ledger under my house eaves, or does the entire ledger have to be in the open?

The entire ledger must be accessible for bolting and flashing installation, so it cannot be completely hidden under eaves. However, if your eaves overhang slightly (less than 12 inches), the ledger can sit under the drip edge as long as the flashing and bolts remain accessible for installation and future inspection. If your eaves overhang significantly or if the ledger location is blocked by siding or trim, the Building Department will ask you to move the ledger to an accessible location or to frame a cutout that exposes the rim band. The inspector must be able to see and verify the flashing and bolt connections.

What is the permit fee for my Foster City deck, and how is it calculated?

Permit fees in Foster City are typically $150–$500, based on the valuation of the project. The city calculates valuation using a cost-per-square-foot estimate (often $40–$60 per square foot for deck construction in the Bay Area). A 12x14-foot deck (168 sq ft) at $50/sq ft = $8,400 valuation; permit fee is usually 1.5–3% of that, or $125–$250. If you have electrical work, add $150–$250 for the electrical permit. Call the Building Department to request a pre-construction estimate of permit fees for your specific deck size and scope.

How long does the deck permit process take in Foster City, from application to final inspection?

Typical timeline is 4–6 weeks for a standard deck, and 5–7 weeks if a geotechnical report is required. Plan review takes 2–3 weeks. Once approved, you can begin construction and schedule the footing pre-pour inspection (1–2 days after calling). Framing inspection follows after framing is complete (1–2 days). Final inspection happens after decking and railings are finished. If the reviewer has questions or needs clarification (e.g., unclear ledger detail), add 1–2 weeks for resubmission and re-review.

My neighbor built a deck without a permit — what should I know?

If you suspect unpermitted work, you can call the Foster City Building Department's enforcement hotline to file a complaint. The city will investigate and may issue a stop-work order, require the homeowner to obtain a retroactive permit, or demand removal if the work is unsafe or not remediable. Unpermitted work often fails inspection upon retrofit (e.g., footings too shallow, ledger bolts missing, flashing absent), leading to costly fixes. The homeowner may also face resale disclosure issues and insurance denial. For your own deck, obtain the permit upfront — it costs far less than fixing a failed deck or battling insurance denial.

Disclaimer: This guide is based on research conducted in May 2026 using publicly available sources. Always verify current deck (attached to house) permit requirements with the City of Foster City Building Department before starting your project.