Research by DoINeedAPermit Research Team · Updated May 2026
The Short Answer
Any attached deck in Danville requires a building permit. The City of Danville enforces this strictly because attached decks must tie into your home's ledger board — a connection that the California Building Code (based on IRC R507.9) treats as a structural safety issue. Skipping the permit means no inspection of that critical ledger flashing, which is the #1 source of deck-related home damage in the Bay Area.
Danville's Building Department applies the 2022 California Building Code, which adopts and modifies the IRC. A unique feature of Danville permitting is that the city's permit portal and plan-review process explicitly require ledger-board flashing details (per IRC R507.9) to be stamped by a licensed architect or engineer if the deck is over 200 square feet or elevated more than 4 feet — a threshold many Bay Area cities set at 500 square feet. Danville's footing requirements vary sharply by neighborhood: properties in the hillside zones (Blackhawk, east of I-680) sit in NEHRP seismic design category D, which triggers additional lateral-load connectors on ledger bolts; Bay-facing lots near Stone Valley Creek may fall into mapped flood zones, requiring additional waterproofing. The city's actual permit fee for a typical 12x14 deck runs $250–$450 (based on $6,000–$12,000 valuation) plus plan-review turnaround of 10–14 days for over-the-counter approval or 3–4 weeks if the project triggers a Dangerous Building Committee review. This is notably faster than some Bay Area neighbors (Alamo, Lafayette) but slower than unincorporated Contra Costa. What matters most: Danville requires a footing inspection before you pour concrete, a framing inspection before you install the decking, and a final sign-off before occupancy — and the city's inspectors are trained to flag ledger details missed by DIY permits.

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

Danville attached-deck permits — the key details

The California Building Code (2022 edition, adopted by Danville) requires a permit for any deck attached to a house, regardless of size or height. IRC R507 governs deck design, and the critical rule is IRC R507.9: the ledger board must be bolted to the rim joist with ½-inch bolts spaced 16 inches on center, with flashing that extends behind the house's moisture barrier. Danville's Building Department enforces this detail via plan review and field inspection. Most homeowners assume a small 8x10 deck is exempt — it is not. The only true exemption under California law is a freestanding deck (not attached) that is less than 200 square feet AND less than 30 inches above grade. An attached deck of any size requires a permit. The Danville permit application asks for a site plan showing lot lines and setbacks (Danville's typical rear setback is 20 feet, but this varies by neighborhood and may be waived for existing structures in infill zones). You will also need to show footing locations and depths.

Footings are where Danville's Bay Area geography becomes critical. The city spans two climate zones: the flatter Bay-side neighborhoods (Danville proper, near Crow Canyon Road) sit in USDA Frost Depth Zone 0–6 inches, meaning you can often set footings at 12 inches below grade and meet code. However, the hillside zones east of I-680 (Blackhawk, San Ramon Valley ridge) are in Frost Depth Zone 12–24 inches, requiring deeper excavation and concrete. Danville's Building Department will call out footing depth on the inspection sheet — if your pads are 12 inches deep and the lot is in the 24-inch zone, the inspector will red-tag the work. Pro tip: contact the city's permit office or hire a licensed contractor to confirm your specific frost depth before you design. Wet-season digging is also harder in Danville's clay soils (especially west of I-680), so budget extra time and cost for footings poured November–March.

Ledger-board flashing is non-negotiable in Danville's permit process. The ledger is the board bolted to your house's rim joist; it must have flashing that extends up the house's siding and behind the house's water-resistant barrier (WRB). IRC R507.9 requires the flashing to be at least 4 inches wide and bent to shed water back and down, away from the rim joist. Danville inspectors will ask to see the flashing detail on your plan — either in a cross-section drawing or in a photo of the ledger installation. If the plan doesn't show flashing, the city will issue a 'Request for Information' (RFI) and delay your approval by 5–10 days. This is one of the top reasons decks get red-tagged during framing inspection. Also, if your home has fiber-cement siding (common in newer Bay Area tract homes), the flashing must be compatible with the siding material and must not trap moisture behind it. Standard aluminum flashing can corrode fiber-cement; use stainless steel or galvanized flashing rated for that siding type.

Guardrails, stairs, and deck height add complexity. If your deck is more than 30 inches above grade (measured from grade to the deck surface), it must have a 36-inch guardrail around the perimeter (IRC R312). Danville requires the rail to be able to resist a 200-pound horizontal load at the top — a detail many DIY builders miss. Stairs attached to the deck must have a minimum 10-inch tread, 7.75-inch maximum riser height, and a landing at the bottom that is at least 3 feet by 3 feet. If the deck is over 4 feet high, you may also need a ramp if the lot slopes away, though Danville typically does not require ramps for decks (only for primary entries). Danville's permit application will flag these items if your plan shows a deck over 30 inches; the plan-review engineer will note guardrail and stair dimensions on the approval letter.

Structural design and engineer certification are required for decks over 200 square feet in Danville. This is a standard threshold across California. Your plan must show beam and joist sizing, ledger connection details (bolt spacing, flashing), footing locations and depths, and lateral-load connections if the deck is in a high-seismic zone (Danville's hillsides are). If you hire a contractor to design the deck, they will typically provide a one-page engineer's sketch or a full set of plans, depending on complexity. Owner-builders (homeowners pulling their own permits) may submit plans drawn by themselves if they are clear and to scale; however, if the city's plan reviewer has questions about load capacity or seismic bracing, the reviewer will require an architect or engineer stamp (PE or AIA). This adds $300–$800 to the cost but ensures code compliance. Danville's typical plan-review turnaround is 10–14 days for a straightforward residential deck; if engineering clarifications are needed, add 3–5 business days per round trip.

Three Danville deck (attached to house) scenarios

Scenario A
12x14 elevated deck, 4.5 feet above grade, Danville hillside (Blackhawk area), no electrical or plumbing
You're planning to build a composite-board deck off the back of your two-story home in Blackhawk, overlooking the golf course. The deck will sit 4.5 feet above grade at the house ledger (ground slopes downward as you move away from the home). Total deck area is 168 square feet, so it's under the 200-square-foot threshold, but the 4.5-foot height and attached ledger mean you absolutely need a permit. Your site plan shows the lot is in a 24-inch frost-depth zone and is in seismic category D (high). You'll need to specify footing depth at 30 inches (below frost line plus 6 inches), diameter (typically 12 inches), and bolt connection (½-inch bolts, 16 inches on center for the ledger). The plan must show ledger flashing detail (stainless-steel flashing extending 4 inches up the house and behind the WRB). Stairs are 4 feet wide with three 7.5-inch risers and a 10-inch tread; the bottom landing is 3x3 feet. Guardrail is 36 inches high, rated for 200-pound horizontal load (you'll note 2x6 balusters, 4 inches on center). The city requires an architect or engineer stamp because the deck exceeds 4 feet in height and is in seismic category D. Cost: permit fee $350–$450; engineer stamp $400–$600; materials and labor $8,000–$12,000. Timeline: submit plans, 2-week review, footing inspection (schedule 2–3 days after concrete pour), framing inspection (after ledger and beam are bolted), final inspection. Total elapsed time: 6–8 weeks from permit approval to occupancy. No electrical or plumbing simplifies the work — if you were adding a hot tub or deck lighting, you'd need a separate electrical permit and a licensed electrician.
Permit required | Seismic lateral-load connectors (Simpson LUS310 or equivalent) | 30-inch frost-depth footings | Stainless-steel ledger flashing | Engineer stamp required | Permit fee $350–$450 | Total project cost $8,500–$13,000
Scenario B
16x12 ground-level deck, 24 inches above grade, Danville proper (near Crow Canyon), HOA approval already obtained
You're building a deck in the flat, lower Danville neighborhood near Crow Canyon Road — a spot with 6-inch frost depth. The deck will be 192 square feet and 24 inches above grade (at the ledger; ground does not slope away). Because it's under 30 inches above grade AND under 200 square feet, it qualifies as an exemption under IRC R105.2(a) and California Building Code Section 106.2 — IF it is freestanding (not attached). However, your deck will be attached to the house with a ledger board. This attachment changes the classification: it is now an attached deck, and attached decks are NOT exempt from the permit requirement in California, regardless of height or area. You must pull a permit. The permit process is straightforward: site plan, ledger-flashing detail (same as Scenario A — stainless-steel flashing, ½-inch bolts 16 inches on center), footing depth at 12 inches (meets the 6-inch frost line in this zone), and a one-page framing plan. No engineer stamp is required because the deck is under 200 square feet and under 4 feet high. The city's plan review is typically over-the-counter (same-day approval) if the plan is clear; if not, expect 5–7 days. Inspections: footing (before concrete set), framing (before decking), final. The city will note on the permit that your HOA approval letter is on file, so no separate HOA variance is needed. Cost: permit fee $200–$300; materials $5,000–$8,000; no engineer fee. Timeline: 2–3 weeks from permit to occupancy, assuming no re-inspections. The key difference from Scenario A: this deck is lower, in a lower-frost zone, and in a non-seismic area, so the permit is faster and cheaper.
Permit REQUIRED (attached deck, not exempt) | 12-inch footings adequate for Bay-area frost depth | Over-the-counter plan review (typically same-day or 5-day) | Ledger flashing detail required | No engineer stamp needed | Permit fee $200–$300 | Total project $5,200–$8,300
Scenario C
10x10 freestanding deck, 18 inches above grade, no attachment to house, San Ramon Valley area
You want to build a simple platform deck in a corner of your backyard, away from the house — a standalone spot for a fire table and lounge chairs. The deck is 100 square feet, 18 inches above grade, and freestanding (no attachment to the house). This is the ONLY true exemption: freestanding decks under 200 square feet and under 30 inches above grade do not require a permit under IRC R105.2(a) and California Building Code Section 106.2. You can build it without a permit. However, there are two important caveats specific to Danville. First, the San Ramon Valley area (east of I-680) is in a 12–24 inch frost-depth zone; even though you don't need a permit, you should still excavate footings below the frost line (at least 24 inches) to prevent frost heave and deck settling. Second, if your property is in a HOA (many San Ramon Valley homes are), the HOA's architectural review committee may require approval of the deck even though the city doesn't. Check your CC&Rs; Danville's Blackhawk and Danville Oaks HOAs often require approval of any structure over 6 feet tall or larger than 100 square feet, regardless of permit status. Third, if you ever sell your home, the title company may flag the unpermitted freestanding structure on the disclosure — not a major issue, but worth knowing. Assuming no HOA and no future sale hiccup: you can DIY the footings (12-inch holes, 24 inches deep minimum in this zone, 8-inch diameter footings or 4x4 posts in concrete) and build the deck using standard lumber or composite materials. No plan, no inspection, no fee. Budget: materials only, $2,000–$4,000. Timeline: weekend project, no permitting delay.
No permit required (freestanding, under 200 sq ft, under 30 inches) | 24-inch frost-depth footings recommended | Check HOA CC&Rs for architectural approval | Title disclosure may flag unpermitted structure | Materials cost $2,000–$4,000 | No permit fees

Every project is different.

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

Ledger-board flashing: why Danville inspectors obsess over this detail

The ledger board is the single most critical connection in a deck, and it is also the hardest to inspect once the deck is built. IRC R507.9 requires metal flashing that extends at least 4 inches up the house's exterior and is bent to shed water down and away from the rim joist. If the flashing is missing, installed backwards, or trapped under caulk, water will seep into the rim joist, and over 5–10 years, you'll have a rotted band board, mold, structural damage, and a $20,000–$40,000 repair bill. Danville's inspectors are trained to catch this during framing inspection — before the decking hides the ledger. The city's typical flashing requirement is stainless-steel or hot-dipped-galvanized metal, ½-inch thick, minimum 4 inches wide, bent at a 90-degree angle at the top edge so water runs downward. The flashing must be installed with corrosion-resistant fasteners (stainless-steel screws or ring-shank nails, never pneumatic fasteners that can pucker the flashing). If your house has fiber-cement or vinyl siding, the flashing must sit on top of the house's water-resistant barrier (WRB) — typically Tyvek or similar — and must not compress or trap moisture between the flashing and the WRB. Many DIY builders skip the flashing or use cheap aluminum flashing without proper bending; the city will flag this and require a correction before final sign-off.

Danville's plan-review process explicitly asks for a cross-section detail showing the ledger flashing and bolts. If your plan is missing this detail, the city issues an RFI and delays approval by 5–10 days. This is why hiring a contractor or downloading a plan from an online deck service (like Trex or DeckBlox) is often faster than DIY — those plans come with standard flashing details already stamped. If you're pulling the permit yourself, take a photo of a quality detail from an online source (e.g., Simpson Strong-Tie or AWC guidelines) and include it on your plan sheet with a note: 'Ledger flashing per IRC R507.9, 4-inch stainless steel, bent 90 degrees at top.' This cuts review time in half.

One final Danville-specific note: if your home was built before 1995, the original ledger board may not have flashing at all. When you pull the permit for the new deck, the city may ask you to provide details on how you'll integrate the new flashing with the existing structure. If the house's siding will need to be partially removed to install the flashing, the permit cost may increase because you're doing two jobs: new deck AND remedial moisture barrier work. Budget an extra $500–$1,000 for this unexpected expense.

Footing depth, seismic bracing, and Bay Area geology in Danville

Danville's geography is split between the Bay-area flatlands (frost depth 6 inches, NEHRP seismic category C) and the hillsides (frost depth 12–24 inches, seismic category D). This matters hugely for footing design. A deck footing that is 12 inches deep will frost-heave and crack in the Blackhawk hills after the first cold winter; it will be fine on flat Crow Canyon Road. Danville's Building Department uses USDA soil maps and local frost-depth data to determine the requirement for each lot. When you pull the permit, the city will issue an approval letter that specifies 'footing depth shall be no less than [X] inches below finished grade.' If the specified depth is 24 inches and you pour at 12 inches, the inspector will red-tag the work and require removal and re-pour — a costly mistake. Action item: before you design, call the city's permit office (or ask your contractor to confirm) the exact frost depth for your address. Frost depth is not arbitrary; it's based on USDA zone maps that the city can pull up online in seconds.

Seismic bracing is a second footing-related issue in Danville's hillsides. NEHRP seismic category D zones require lateral-load connectors on the deck's ledger bolts and beam-to-post connections. A Simpson LUS310 (lateral load connector) bolts over the ½-inch ledger bolt and resists the sideways push during an earthquake. Danville's plan-review engineer will call this out if the deck is in category D; if you forget to specify it, the city will issue an RFI. Cost: $30–$50 per connector, plus installation labor. Typical deck has two or three, so $100–$200 total. This is a non-negotiable cost in the Blackhawk and San Ramon Valley zones.

Bay Area soil is also a factor. Much of Danville sits on Bay Mud (clay and silt deposits) or expansive clay soils common to the Central Valley foothills. These soils are prone to settling and heaving if footings are not deep enough or if drainage is poor. Danville's Building Department often requires footing holes to be dug 6 inches deeper than the calculated frost line, and sometimes requires drainage gravel (½-inch pea gravel) around the footing pad. This adds cost and labor, but it prevents future settling. If your deck footings are in clay soil and the holes are hand-dug or machine-dug, the inspector may require a soil engineer to verify bearing capacity — a rare but expensive requirement. Hire a local contractor familiar with Danville soils to avoid this surprise.

City of Danville Building Department
510 La Gonda Way, Danville, CA 94526
Phone: (925) 314-3300 | https://www.danvilleca.gov/government/departments/building-services
Monday–Friday, 8:00 AM–5:00 PM

Common questions

Do I need a permit for a small attached deck under 200 square feet in Danville?

Yes. Any attached deck requires a permit in Danville, regardless of size. The 200-square-foot exemption only applies to freestanding decks (not attached to the house) that are also under 30 inches above grade. Once a deck is attached to your house via a ledger board, it is a structural component and must be permitted. This is an IRC R507 requirement that California Building Code adopts without exception.

What is the permit fee for a deck in Danville, and how is it calculated?

Danville's permit fee is typically 1.5–2% of the valuation of the work. A typical 12x14 deck with footings and framing is valued at $6,000–$12,000, resulting in a permit fee of $150–$450. The Building Department calculates valuation based on square footage, materials, and labor estimates you provide on the application. Request a fee quote from the city's permit office before submitting your application; they will give you an estimate based on your design.

Can I build an attached deck without hiring an engineer in Danville?

Yes, for decks under 200 square feet and under 4 feet high in non-seismic zones. However, if your deck is over 200 square feet, over 4 feet high, or in a seismic category D zone (Blackhawk, San Ramon Valley), an architect or engineer stamp is required. The city's plan reviewer will note this on the approval letter. Owner-builders (homeowners pulling their own permits) can submit hand-drawn plans if they are clear and to scale, but the city reserves the right to require an engineer if there are questions about structural adequacy.

What happens during a deck inspection in Danville?

Danville requires three standard deck inspections: (1) Footing inspection — after footings are dug but before concrete is poured; inspector checks depth and diameter. (2) Framing inspection — after ledger is bolted, beam installed, and joists attached; inspector verifies ledger flashing, bolt spacing, beam-to-post connections, and joist spacing. (3) Final inspection — after decking, stairs, and guardrails are installed; inspector checks rail height, stair dimensions, and overall code compliance. You must schedule each inspection with the city's permit office; inspections are typically available within 2–3 business days.

Is ledger-board flashing really that important, or can I caulk the seam instead?

Flashing is absolutely critical; caulk alone is not code-compliant. Caulk cracks and fails over time, allowing water to seep into the rim joist. IRC R507.9 explicitly requires metal flashing (not caulk) to protect the ledger connection. Danville inspectors will red-tag any ledger that relies on caulk only. Install the flashing correctly the first time — it costs $50–$100 in materials and saves you $20,000+ in future rot repairs.

Do I need Danville city approval AND HOA approval for my deck?

Possibly. If your property is in a HOA (Blackhawk, Danville Oaks, etc.), you need both. The city handles building code compliance; the HOA handles architectural standards. Get HOA approval before submitting to the city — some HOAs require minor design tweaks (e.g., railing color, material finish). Provide a copy of the HOA approval letter with your city permit application; this speeds review and prevents conflicts later.

What is the frost-depth requirement for deck footings in Danville?

Danville's frost depth varies by location: 6 inches in flat Bay-area neighborhoods (Crow Canyon, central Danville) and 12–24 inches in the hillside zones (Blackhawk, San Ramon Valley). The city's permit office will specify the exact requirement for your lot on the approval letter. Footings must extend below the frost line plus an additional 6 inches (e.g., 24-inch frost line = 30-inch footing depth minimum). Confirm the requirement before you design the deck.

Can I build a freestanding deck without a permit in Danville?

Yes, if it meets both conditions: (1) under 200 square feet AND (2) under 30 inches above grade. Freestanding means no attachment to the house — just a standalone platform. Even though no permit is required, you should still excavate footings below the local frost line to prevent settling. Note: if your property is in a HOA, the HOA may still require approval. Also, when you sell your home, title insurance may flag an unpermitted structure, so disclose it.

How long does the permit process take in Danville, from application to occupancy?

Typical timeline is 6–8 weeks for a standard attached deck. Breakdown: plan review (1–2 weeks, depending on completeness), footing inspection (schedule within 3 days of permit approval), framing inspection (schedule 1 week after footing pass), final inspection (schedule 1 week after framing pass). If the city issues an RFI (Request for Information), add 5–10 days per round trip. Expedited review is not available for residential decks.

What materials should I use for ledger flashing in Danville, and where do I buy it?

Use stainless-steel or hot-dipped-galvanized metal flashing, ½-inch thick, minimum 4 inches wide, bent 90 degrees at the top. Brands like Trex, Simpson Strong-Tie, and AWC sell pre-made ledger flashing kits rated for different siding types (vinyl, fiber-cement, wood). Buy flashing from a home center (Home Depot, Lowe's) or a local supply shop like Orchard Supply Hardware (if available in your area). Cost: $30–$80 per 10 feet. Avoid cheap aluminum flashing from big-box stores; it corrodes quickly and will fail the inspection if your house has fiber-cement siding.

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 Danville Building Department before starting your project.