Research by DoINeedAPermit Research Team · Updated May 2026
The Short Answer
Any attached deck in Martinez requires a building permit, regardless of size or height. Martinez enforces the California Building Code with no exemptions for attached structures.
Martinez sits in Contra Costa County's Bay Area, where frost depth is minimal to nonexistent on the flat coastal side (your main jurisdiction area), but the code still mandates footing depths based on local soil conditions and any hillside exposure. Unlike some inland California cities that adopt older CBC editions, Martinez tracks the current California Building Code, which means you're subject to the 2022 CBC (or the edition your city has formally adopted—confirm with the building department). What sets Martinez apart is its dual-jurisdiction reality: the city sits at the edge of the bay with Bay Mud soils in lowland areas, which means footing bearing capacity requirements are strict and inspectors will flag shallow piers on unstable fill. If your property borders a hillside or sits in the higher elevations toward Mount Diablo, frost depth can reach 12-18 inches, and that changes footing requirements. Martinez also has no blanket exemption for small attached decks under 200 square feet (unlike some California cities that have adopted local amendments)—all attached work requires plan review.

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

Martinez attached deck permits — the key details

California Building Code (CBC) Section 105.2 exempts some freestanding decks under 200 square feet and 30 inches above grade from permitting, but that exemption does NOT apply to attached decks. The moment your deck is attached to your house (bolted to the rim joist, ledger board, or foundation), you need a permit. Martinez does not adopt a local amendment that widens this exemption. The CBC also requires any deck with stairs, railings, or electrical/plumbing to be permitted, so even a small 10x12 attached deck with stairs will require review. Inspectors will focus on three critical areas: ledger flashing compliance per CBC R507.9 (the flashing detail is the most-rejected item on deck permits statewide), footing depth and bearing capacity for your soil type, and guardrail height and strength. If your deck sits on Bay Mud or other compressible soil, the inspector will require a soils report or engineer's stamp confirming bearing capacity; this adds $300–$800 to your timeline.

Ledger flashing is non-negotiable in Martinez. CBC R507.9 requires metal flashing that extends behind the rim joist and down the band board, with a moisture barrier, and the detail must be sealed with caulk or sealant rated for continuous water exposure. This is not optional, and it is the single most common reason deck plans are rejected. Many homeowners (and some contractors) try to skip this or use roofing tar instead of proper step flashing, and the inspector will not approve the framing inspection until it is corrected. Your plan set should include a detail drawing showing the ledger flashing, the rim joist, the moisture barrier, and the caulking schedule. If you are working with a contractor, ensure they are familiar with CBC R507.9; if you are owner-building, request the flashing detail from your plan designer before submitting the application.

Footing depth and bearing capacity depend on your location within Martinez. On the flat coastal side (near the waterfront or downtown), Bay Mud and bay clay soils have lower bearing capacity and may require deeper footings or helical piers; the building department may ask for a soils report (cost ~$400–$600) before approving the footing design. If you are in the hillside areas toward Mount Diablo or the eastern neighborhoods, frost depth can reach 12-18 inches in winter, and CBC R403.1.4 requires footings below the frost line. Martinez does not have a formal frost-depth map in the municipal code, so the inspector may cite the CBC default or require a geotechnical assessment. Most Bay Area jurisdictions use 12 inches as a conservative minimum for hilltop sites; when in doubt, specify 18 inches to avoid a plan revision. Your footing plan should show the frost depth assumption, the soil-bearing capacity (minimum 2,000 PSF for most Bay Area soils under normal load), and the footing size (diameter and depth). Concrete piers should be at least 12 inches in diameter and extend below frost depth; pressure-treated wood posts in contact with soil are no longer code-compliant in most jurisdictions, so concrete piers are the standard.

Guardrails, stairs, and landings are governed by CBC Chapter 10 (Means of Egress). Guardrails must be 36 inches high (measured from the deck surface to the top rail) and withstand a 200-pound horizontal load without deflection. Stair treads must be 10-11 inches deep, risers 7-8 inches high, and handrails must be installed if the deck is over 30 inches above grade. Landing dimensions are specified in R311.4; a landing at the top or bottom of stairs must be no less than 36 inches in the direction of travel. These details must be shown on your plan, and inspectors will verify them during framing and final inspection. If your deck includes more than three steps, you must also include a landing or a platform at the top that meets landing-size requirements. Missing or undersized landings are a common correction item.

Martinez allows owner-builders to pull permits for decks under California Business and Professions Code Section 7044, provided you are the property owner and the work is for your own use (not for sale or lease). However, if the deck includes electrical work (outlets, lighting) or plumbing (drainage, water line), you must hire a California-licensed electrical or plumbing contractor to perform or sign off on that work; you cannot owner-build those trades. Your permit application will ask for the contractor's license number if hired, or an owner-builder declaration if you are doing it yourself. Plan review typically takes 2-4 weeks from submission; after approval, you will receive a permit that is valid for one year. Inspections are required at three stages: footing pre-pour (to verify depth, size, and soil), framing (ledger flashing, rim joist connection, guardrails, stairs), and final (all elements complete, all deficiencies corrected). Schedule inspections at least 24 hours in advance by calling the building department or using their online portal.

Three Martinez deck (attached to house) scenarios

Scenario A
12x16 attached deck, 3 feet high, composite decking, rear yard in Waterfront neighborhood (Bay Mud soil)
This is a straightforward attached deck requiring a full permit in Martinez. The 192 square feet and 3-foot height trigger CBC permitting requirements, and the Bay Mud soil in the Waterfront/downtown area requires special footing treatment. Your plan must show concrete piers (12-inch diameter minimum, extending below the bay clay stratum) set on a stable bearing layer. A geotechnical or soils engineer may be required to sign off on footing bearing capacity; budget $400–$600 for a soils report if the building department requests one. The ledger connection to your house rim joist must include CBC R507.9 flashing detail with metal flashing, moisture barrier, and caulk. Guardrails are required (deck is over 30 inches high), and must be 36 inches tall and 200-pound load-rated. A simple composite deck without stairs keeps the design simple, but you must still show the guardrail detail, post-to-beam connections (post-to-ledger bolts or hurricane ties per IRC R507.9.2), and the rim board connection. The permit fee is typically $350–$450 based on valuation (estimated $15,000–$20,000 for materials and labor). Plan review takes 2-3 weeks; after approval, footing inspection (pre-pour), framing inspection (after decking and railings installed), and final inspection. Total timeline: 4-6 weeks from submission to use.
Permit required (attached structure) | Soils report likely ($400–$600) | Footing inspection required | Ledger flashing detail mandatory (R507.9) | Guardrail 36-inch detail required | Permit fee $350–$450 | Total project cost $15,000–$25,000
Scenario B
10x10 attached deck with 2 steps, 2 feet high, rear corner lot in Alhambra Heights (hillside, 18-inch frost line)
Hillside Martinez properties have different footing requirements than the bay-side neighborhoods. Alhambra Heights sits above the 100-foot elevation and experiences freeze-thaw cycles in winter; the frost line in this area is approximately 18 inches below grade per local soil conditions. Your footing plan must show concrete piers extending to 18 inches minimum depth, or you must provide a frost-depth certification from a local geotechnical professional. The 2-foot deck height is under 30 inches, so guardrails are not technically required, but the 2-step staircase triggers CBC R311.7 stair rules: treads 10-11 inches deep, risers 7-8 inches high, landing at the bottom minimum 36 inches x 36 inches. This is a small deck (100 sq ft), but attachment to the house and the staircase make it a full permit. The building department will ask you to specify the frost-depth assumption on the footing plan; if you don't provide a professional certification, assume 18 inches and design accordingly. Ledger flashing and rim connection are the same as Scenario A—CBC R507.9 detail required. The permit fee is $200–$300 (lower valuation, ~$8,000–$12,000), but plan review may take 3-4 weeks due to the frost-depth and stair-landing details. Inspections: footing pre-pour, framing (including stair stringers and landing platform), final. Timeline: 5-7 weeks from submission.
Permit required (attached + stairs) | Frost depth 18 inches (hillside location) | Footing certification recommended | Stair landing detail required (36x36 min) | Ledger flashing (R507.9) mandatory | Permit fee $200–$300 | Total project cost $8,000–$15,000
Scenario C
14x18 ground-level attached deck (30 inches high), with electrical outlet and deck lighting, Contra Costa neighborhood
This scenario adds an electrical component, which changes who can pull the permit and how inspections are sequenced. The deck is attached and 30 inches high, so a permit is required. The electrical outlet and lighting circuit trigger California Electrical Code (per NEC standards adopted by CBC) and require a licensed California electrician to design and install the work. As the homeowner (owner-builder), you can pull the permit and frame the deck yourself, but you must hire a licensed electrician to pull a separate electrical permit for the outlet and lighting circuit, or you must have the electrician sign off on your electrical work at the framing and final inspections. This dual-trade requirement adds complexity: you'll have two permit applications (one for the deck structure, one for electrical), two sets of inspections, and two permit fees. The deck structural permit fee is $400–$500 (estimated $18,000–$25,000 valuation); the electrical permit is typically $150–$250. Your deck plan must show the rough-in location for the electrical circuit (conduit route from the house panel, outlet location, lighting fixture locations). The electrician's plan must show wire gauge, breaker size (typically 15 or 20 amp for deck outlets), and conduit type (schedule 40 PVC or rigid metal conduit per NEC 300.5). Footing and ledger flashing are standard per the previous scenarios. Total permits, plan review, and inspections timeline: 6-8 weeks. The advantage of hiring a licensed electrician is that they handle code compliance and inspection coordination; the downside is the extra cost ($1,500–$3,000 for a 2-outlet / 4-light system). If you skip the permit on the electrical side and are later discovered, fines and forced removal can run $2,000–$5,000 plus re-inspection fees.
Deck permit required (attached, 30+ inches) | Electrical permit required (separate) | Licensed electrician required (CEC compliance) | Two permit fees total ~$550–$750 | Dual inspection sequence (structure, then electrical) | Footing + ledger detail same as Scenario A | Total project cost $20,000–$30,000 including electrical

Every project is different.

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

Bay Mud, hillside frost, and Martinez soil variability

Martinez sits at the intersection of two distinct soil zones that dramatically affect deck footing design. The western (bay-side) neighborhoods—Waterfront, downtown, and areas below 100-foot elevation—are underlain by Bay Mud and bay clay, remnants of the Holocene epoch when the bay extended further inland. These soils are highly compressible, low in bearing capacity (typically 1,000-1,500 PSF), and highly susceptible to liquefaction in seismic events. The eastern (hillside) neighborhoods—Alhambra Heights, areas along Vine Hill, and elevated parcels—sit on granitic alluvium, more stable soils with higher bearing capacity (2,000-2,500 PSF) but prone to frost heave in winter due to elevation and freeze-thaw cycles.

When you apply for a deck permit in Martinez, the building department will ask your address and may request a soils report to confirm bearing capacity, especially if your property is in a low-lying area near the bay or on artificial fill. A geotechnical engineer can perform a soil boring and provide a footing design recommendation for $400–$600. If you skip the report and your footing fails inspection because the soil can't support the load, you'll be required to re-excavate and re-pour to a greater depth or wider diameter, which costs $1,500–$3,000 to redo. Most inspectors in Martinez will approve a conservative design (18-inch depth, 12-inch diameter concrete piers) without a report if you live in the hills; in the bay-flat areas, they typically ask for documentation.

Frost depth is minimal on the bay side (6-8 inches in cold years) but can reach 12-18 inches in the hills. The CBC does not specify a frost-depth map for Contra Costa County, so inspectors typically rely on the Unified Soils Map or USDA hardiness zone guidance. Martinez building department staff can advise on your specific address, but the safest approach is to design for 18 inches if you're above 200 feet elevation or near known cold pockets (e.g., Alhambra Heights, Vine Hill area). If you're in doubt, ask the building department during a pre-application consultation (often free) to confirm the frost-depth expectation for your address.

Ledger flashing, moisture barriers, and the most-rejected deck detail in Martinez

CBC R507.9 specifies the ledger flashing detail, and inspectors in Martinez enforce it strictly because water intrusion at the ledger board is the primary cause of deck failure and house rot. The required detail includes: (1) metal flashing (aluminum or galvanized steel) installed behind the rim joist and extending down the exterior band board, (2) a moisture barrier (house wrap or building paper) under the flashing, (3) proper fastening (typically stainless steel bolts or lag screws spaced 16 inches on center), and (4) sealant (polyurethane caulk or silicone rated for continuous water exposure) applied to all joints and penetrations.

Many homeowners and inexperienced contractors attempt shortcuts: using roofing tar instead of proper metal flashing, or omitting the moisture barrier entirely. These will be caught at framing inspection and require correction before the deck can be used. The fix is not difficult—remove the decking, install proper flashing, and re-test—but it adds 1-2 weeks and $500–$1,000 in labor. To avoid this, include a detail drawing in your permit set that shows the ledger flashing assembly (a cross-section view of the rim joist, the metal flashing, the moisture barrier, the rim bolts, and the caulk line). If you are owner-building, ask your plan designer or engineer for a ledger detail; if you hire a contractor, verify they use proper metal flashing and moisture barrier before work begins.

Once the deck is complete and occupied, water will eventually find its way to the ledger board if the flashing is missing or compromised. Rot can progress silently for 2-3 years before you notice sagging or soft spots in the rim joist. By then, repair costs are $5,000–$15,000 and may require removal of the entire deck, replacement of the rim board, and reinstallation. Proper flashing during construction takes one day and costs $300–$500; it's the best investment in deck longevity.

City of Martinez Building Department
Martinez City Hall, 525 Main Street, Martinez, CA 94553
Phone: (925) 372-3500 ext. building | https://www.ci.martinez.ca.us/departments/building
Monday–Friday, 8:00 AM–5:00 PM

Common questions

Do I need a permit for a small 8x10 attached deck in Martinez?

Yes. Any attached deck requires a permit in Martinez, regardless of size. Even a small 80-square-foot deck is considered an attachment to the house structure and falls under CBC Chapter 5 (Building). Freestanding decks under 200 square feet and 30 inches high are exempt (if they meet certain conditions), but once you attach it to your rim joist with bolts or a ledger board, a permit is required.

What is the frost depth requirement for deck footings in Martinez?

Frost depth varies by elevation. In bay-side neighborhoods, frost depth is minimal (6-8 inches); in hillside areas (above 100 feet elevation), design for 12-18 inches. The building department can confirm the specific requirement for your address. If you are unsure, design for 18 inches to be safe; deeper footings are rarely rejected, but shallow ones will fail inspection.

How much does a deck permit cost in Martinez?

Permit fees are typically $200–$500 depending on the estimated project valuation (construction cost). A small 10x12 deck might be $200–$300; a larger 16x20 deck with stairs and electrical could be $400–$600. Call the building department or check their online portal for the current fee schedule. Plan review is included in the permit fee and typically takes 2-4 weeks.

Can I owner-build a deck in Martinez, or do I need to hire a contractor?

You can owner-build under California B&P Code Section 7044, provided you own the property and are not building for sale or lease. If the deck includes electrical (outlets, lighting) or plumbing, you must hire a California-licensed electrician or plumber for those trades; owner-builders cannot perform electrical or plumbing work. You can frame the deck and install the decking yourself, then hire a licensed electrician to install circuits and outlets.

What is CBC R507.9 and why do inspectors focus on it?

R507.9 specifies the ledger flashing detail—the metal flashing and moisture barrier that connects the deck ledger board to the house rim joist. This detail is the most-rejected item on deck permit plans because water infiltration at the ledger causes rot. The detail must include metal flashing, a moisture barrier, proper fastening (bolts 16 inches on center), and continuous sealant. If your plan does not show this detail, the building department will reject it and ask for a revision.

Do I need a soils report for a deck in Martinez?

If your property is in a bay-side area (below 100 feet elevation) or on known bay clay or fill soils, the building department may request a soils report to confirm bearing capacity. A report costs $400–$600 and saves time if the inspector has questions about footing depth. In hillside areas, a conservative design (18-inch depth, 12-inch diameter piers) is usually approved without a report. Ask the building department during a pre-application call if a report is likely required for your address.

What happens at the footing pre-pour inspection?

The inspector will visit your property before you pour concrete to verify that the footing holes are dug to the correct depth, diameter, and location as shown on the approved plan. They will measure the depth (must be at least 18 inches in hills or below the bay clay stratum), check for proper drainage (no standing water in the hole), and verify that the hole is below the frost line. If the depth is insufficient, the inspector will fail the inspection and you'll need to dig deeper before pouring concrete.

Are guardrails required on my deck in Martinez?

Yes, if your deck is more than 30 inches above the ground. CBC Chapter 10 requires guardrails 36 inches high (measured from the deck surface to the top rail) that can withstand a 200-pound horizontal load. If your deck is exactly 30 inches high, guardrails are required; if it is 29 inches, they are not, but this is measured from the lowest point of the ground below the deck, so verify carefully. Stair rails and handrails must also be installed if there are stairs.

How long does the entire deck permit process take in Martinez from application to final inspection?

Plan review typically takes 2-4 weeks. After approval, you can begin work. Inspections (footing pre-pour, framing, final) are scheduled as you progress; allow 1-2 weeks between each inspection. Total timeline: 4-8 weeks from submission to receiving a final approval and occupancy permit. If revisions are needed (e.g., ledger flashing detail missing), add another 1-2 weeks.

What if my deck will have electrical outlets—does that require a separate permit?

Yes. Electrical work (outlets, lighting circuits) requires a separate California Electrical Code (CEC) permit pulled by a licensed electrician. You'll have two permit applications: one for the deck structure and one for electrical. The electrician must sign the electrical permit and coordinate inspections. Total permit fees for both: $350–$750. The electrical work must be inspected separately before final deck approval.

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