Part 2.5 · Title 24, CCR
California Residential Code (CRC)
Title 24, Part 2.5 — the construction standards for detached one- and two-family dwellings, townhouses up to three stories, ADUs and their accessory structures.
Last reviewed: July 26, 2026
- Current edition
- 2025 CRC — effective January 1, 2026
- Model code
- 2024 International Residential Code (IRC), amended for California
- Adopting agencies
- HCD, BSC, OSFM
- Applies to
- 1- & 2-family dwellings, townhouses ≤3 stories, ADUs, accessory structures
What CRC covers
The California Residential Code (CRC) is Part 2.5 of the California Building Standards Code (Title 24, California Code of Regulations). It is the dedicated code for detached one- and two-family dwellings and townhouses not more than three stories above grade plane with a separate means of egress, plus their accessory structures. The CRC is based on the International Residential Code (IRC) — the 2025 CRC tracks the 2024 IRC — with California-specific amendments adopted by HCD and other state agencies.
The 2025 California Residential Code is the current edition, effective January 1, 2026, replacing the 2022 CRC. Because the code is adopted on a three-year cycle and cities and counties may add local amendments, the exact requirements for your house, deck or ADU depend on the edition your jurisdiction has adopted and any local changes — which is exactly what GoCodebook reconciles for you.
Almost every question a homeowner or residential contractor asks lands in Chapter 3, Building Planning: room sizes and ceiling heights, egress windows, smoke and CO alarms, garage separation, glazing, guards and handrails, and wildfire construction. California renumbered much of Chapter 3 in the 2025 cycle, so citations you memorized under the 2022 CRC may point somewhere new — the chapter list below opens the adopted 2025 text.
What the California Residential Code regulates
The CRC is a self-contained code that consolidates building, energy, mechanical, plumbing and electrical provisions for low-rise homes into one document. Core areas include building planning (light, ventilation, ceiling heights, room sizes), means of egress and emergency escape and rescue openings (egress windows), smoke and carbon monoxide alarms, stairs, ramps, handrails and guards, decks and their attachment, foundations and footings, wall and roof-ceiling framing, and fire-resistant construction in wildfire areas.
Many remodels, additions, decks, re-roofs and ADUs are evaluated against the CRC. Single-family homes in California also generally require automatic fire sprinklers (NFPA 13D) and increasingly solar PV under the Energy Code. See where GoCodebook coverage is deepest for residential questions.
CRC vs. CBC — which code applies to my home?
Use the CRC when your project is a detached one- or two-family dwelling or a townhouse not more than three stories above grade plane with a separate means of egress, or an accessory structure to one of those. Once a building exceeds three stories, has more than two dwelling units, or changes to a non-residential use, it generally falls under the California Building Code (CBC, Part 2) instead. Apartment and condominium buildings are CBC, not CRC.
ADUs are usually regulated under the CRC because they are accessory to a one- or two-family dwelling. A common rule trips people up: an ADU typically only needs fire sprinklers if the primary dwelling is sprinklered. Mixing up CRC and CBC scope is one of the most frequent sources of plan-check corrections — GoCodebook tells you which code controls and cites the section.
ADUs, decks, alarms and other high-demand topics
The CRC is where homeowners and contractors find the everyday rules: emergency escape and rescue (egress) window sizing for sleeping rooms and basements, smoke alarm and carbon monoxide alarm placement (in each sleeping room, outside each sleeping area, and on every level), guard and handrail heights, stair riser and tread dimensions, and deck ledger attachment and footing requirements that have tightened in recent code cycles after deck-collapse failures.
A single residential project usually triggers more than the CRC. Larger ADUs, complex electrical work and solar often pull in the California Electrical Code (CEC, Part 3), while administrative questions about adopted editions and amendments are governed by the California Administrative Code (CAC, Part 1). Ask GoCodebook and get the controlling section with a citation.
The CRC sections that drive most plan-check corrections
Four rules account for a large share of residential corrections. Emergency escape and rescue openings (Section R319) require a compliant opening in every sleeping room and in basements, with minimum net clear opening area, minimum width and height, and a maximum sill height above the floor. Smoke alarms (Section R310) must be in each sleeping room, outside each separate sleeping area, and on every story including basements — and an addition or alteration requiring a permit generally triggers alarms throughout the existing dwelling.
Carbon monoxide alarms (Section R311) are required in dwellings with fuel-fired appliances or an attached garage. Fire-resistant construction (Section R302) covers the dwelling-to-garage separation, townhouse separation walls, and the exterior-wall fire-resistance and opening limits driven by distance to the property line — the rule that most often constrains a small-lot house or an ADU pushed close to a side yard.
Decks are their own cluster. Section R507 sets ledger attachment, fastener schedules, joist spans, post-to-beam and post-to-footing connections, and lateral-load devices — provisions that tightened across several cycles after deck-collapse failures. Guards and window fall protection are in Section R321, and handrails in Section R320.
Sprinklers, solar, EV and wildfire construction for homes
California adds requirements the base IRC does not have. Automatic sprinkler systems (Section R309) are required in new one- and two-family dwellings, installed to NFPA 13D. Solar photovoltaic systems (Section R329) and energy storage systems (Section R330) carry their own installation and access rules, layered on top of the solar mandate in the California Energy Code. Electric vehicle readiness is in Section R338.
Section R337 — Materials and Construction Methods for Exterior Wildfire Exposure is the residential counterpart to the wildfire hardening rules: Class A roofs, ember-resistant vents, ignition-resistant siding, eaves and decking for homes in a fire hazard severity zone. In the 2025 cycle those provisions were consolidated statewide into the new California Wildland-Urban Interface Code (Part 7), so check which text your jurisdiction is enforcing.
Residential work also picks up construction waste reduction (Section R334) and pollutant control (Section R340), which mirror CALGreen mandatory measures inside the residential code.
CRC sections people look up most
Each opens the verbatim 2025 text in the Code Library, with the section number you can cite on plans.
CRC R302
Fire-resistant construction
Garage separation, townhouse walls and exterior walls near the property line.
CRC R309
Automatic sprinkler systems
When a new home needs NFPA 13D sprinklers — and when an ADU does not.
CRC R310
Smoke alarms
Where alarms go, and when a remodel triggers alarms in the whole house.
CRC R311
Carbon monoxide alarms
CO alarm placement for homes with fuel-fired appliances or an attached garage.
CRC R313
Ceiling height
Minimum ceiling heights for habitable rooms, hallways and bathrooms.
CRC R317
Garages and carports
Separation, floor slope and openings between a garage and the dwelling.
CRC R319
Emergency escape and rescue openings
Egress-window size, sill height and well requirements for bedrooms.
CRC R320
Handrails
Handrail height, grip size and continuity on stairs.
CRC R321
Guards and window fall protection
Guard height, the 4-inch sphere rule, and window opening control devices.
CRC R337
Exterior wildfire exposure
Ignition-resistant materials for homes in a fire hazard severity zone.
CRC R403
Footings
Minimum footing width, depth and reinforcement for residential foundations.
CRC R507
Exterior decks
Ledger attachment, joist spans, posts, footings and lateral-load connections.
CRC R905
Requirements for roof coverings
Installation requirements by roof-covering type and minimum slope.
California Residential Code chapters — full chapter list
All 11 chapters of the California Residential Code, covering 131 sections. Open any chapter to read the adopted text.
Who needs the CRC
CRC — frequently asked questions
What is the current edition of the California Residential Code?
The 2025 California Residential Code is current, effective January 1, 2026 (based on the 2024 International Residential Code), replacing the 2022 CRC. Local jurisdictions adopt the statewide edition and may add amendments.
Is the California Residential Code based on the IRC?
Yes. The CRC is based on the International Residential Code (IRC) — the 2025 CRC tracks the 2024 IRC — with California amendments adopted by HCD and other state agencies.
When does the CRC apply instead of the CBC?
The CRC (Part 2.5) applies to detached one- and two-family dwellings and townhouses not more than three stories above grade plane with a separate means of egress, plus accessory structures. Beyond that scope, the CBC (Part 2) applies.
Does an ADU need fire sprinklers under the CRC?
Generally, an ADU only needs fire sprinklers if the primary dwelling is sprinklered. New single-family homes in California typically require automatic sprinklers (NFPA 13D), but adding an ADU to an unsprinklered existing home usually does not trigger sprinklers. Check your local amendments.
Do I need a permit for a deck or ADU in California?
Almost always yes. Decks, ADUs, additions and most structural work require a building permit reviewed against the CRC. Ask GoCodebook for the controlling section and your jurisdiction's adopted edition.
What size does an egress window have to be under the CRC?
Emergency escape and rescue openings are set in Section R319. Every sleeping room and every basement with habitable space needs one, with a minimum net clear opening area, minimum clear width and height, and a maximum sill height above the finished floor. Grade-floor and below-grade openings have their own allowances, and window wells have separate size and ladder rules.
Where are smoke alarms and CO alarms required in a house?
Smoke alarms (Section R310) go in each sleeping room, outside each separate sleeping area in the immediate vicinity of the bedrooms, and on every story including basements. Carbon monoxide alarms (Section R311) are required in dwellings with fuel-fired appliances or an attached garage. A permitted addition or alteration generally requires bringing the existing dwelling's alarms up to current requirements.
What is the minimum ceiling height in a California home?
Ceiling height is set in Section R313, with reduced heights allowed at beams, girders and in bathrooms, laundry rooms and hallways. Sloped ceilings, habitable attics and sleeping lofts (Sections R315 and R316) have their own rules, which matter for ADU conversions of attic and garage space.
Do I need a permit to build a deck?
Yes in nearly all cases. Decks are designed under Section R507, which governs ledger attachment to the house, fastener schedules, joist and beam spans, post connections and lateral-load devices. Guards are covered by Section R321 and stairs by the stair provisions in Chapter 3 — the ledger connection and the guard are the two details inspectors look at first.
How deep do footings have to be?
Footing width, depth and reinforcement are in Section R403, and the required depth below undisturbed ground is driven by frost depth and local soil conditions, which the jurisdiction sets. Expansive soils, hillside sites and seismic design category can all push a project out of the prescriptive tables and into an engineered foundation.
Does the CRC require solar panels on a new home?
The solar requirement itself lives in the California Energy Code (Part 6), not the CRC. The CRC covers how a photovoltaic system and any battery storage are installed and accessed, in Sections R329 and R330 — roof access pathways, structural support and clearances.
What are the CRC wildfire construction requirements?
Section R337 sets ignition-resistant construction for homes in a designated wildfire area: Class A roof assemblies, ember-resistant vents, ignition-resistant siding, eaves, soffits and decking, and tempered or multi-pane glazing. The 2025 cycle consolidated California's wildfire construction rules into the new WUI Code (Part 7).
How often is the California Residential Code updated?
On the same three-year cycle as the rest of Title 24, taking effect January 1 following publication, with intervening supplements mid-cycle. The 2025 CRC replaced the 2022 CRC on January 1, 2026. California also renumbered much of Chapter 3 in this cycle, so older citations may no longer match.
Can a city require more than the CRC?
Yes. Under Health and Safety Code section 17958.5 a city or county may adopt amendments more restrictive than Title 24 when it makes express findings of local climatic, geological or topographical conditions and files them with the state. Common residential examples are roof-class requirements in fire zones and lower sprinkler thresholds.
Where to read the CRC
California's adopted codes — including the California Residential Code (CRC) — are published under Title 24 and hosted on code libraries such as UpCodes (up.codes) and ICC Digital Codes from the International Code Council (ICC). Those let you read the text section by section.
GoCodebook goes further: instead of searching a code library, you ask a question and get the controlling provision for the edition and local amendments your jurisdiction adopted, with a citation to verify. See how GoCodebook compares to UpCodes and ICC.
Related codes and rules
-
California Building Code (CBC)
The code once a building exceeds CRC scope — 3+ units or 4+ stories.
-
California ADU law
State ADU standards that limit what a city can require on an ADU.
-
California Energy Code (Title 24, Part 6)
Insulation, HVAC, solar PV and battery storage for homes.
-
California WUI Code (Part 7)
Wildfire construction rules that overlap CRC Section R337.
-
California Existing Building Code
Alterations and additions to an existing home.
-
ADU rules by city
Compare ADU size, height and setback limits across California cities.
More in CRC
Get cited CRC answers in seconds
Ask GoCodebook any question about the California Residential Code (CRC) and get a plain-English answer with the exact code citation — for your jurisdiction and the adopted edition.
Start Free TrialExplore the rest of Title 24
Part 1
California Administrative Code (CAC)
Part 2
California Building Code (CBC)
Part 3
California Electrical Code (CEC)
Part 4
California Mechanical Code (CMC)
Part 5
California Plumbing Code (CPC)
Part 6
California Energy Code
Part 7
California Wildland-Urban Interface Code (CWUIC)
Part 8
California Historical Building Code (CHBC)
Part 9
California Fire Code (CFC)
Part 10
California Existing Building Code (CEBC)
Part 11
California Green Building Standards Code (CALGreen) (CALGreen)
Part 12
California Referenced Standards Code (CRSC)