Part 3 · Title 24, CCR
California Electrical Code (CEC)
Title 24, Part 3 — the wiring, panel, grounding, GFCI/AFCI, EV-charging and solar-PV electrical-safety rules for nearly all construction in California.
Last reviewed: July 26, 2026
- Current edition
- 2025 CEC — effective January 1, 2026
- Model code
- 2023 National Electrical Code (NEC / NFPA 70), amended for California
- Applies to
- Wiring, services, branch circuits, grounding, EVSE, PV and storage
- Note
- “CEC” also abbreviates the California Energy Commission — context matters
What CEC covers
The California Electrical Code (CEC) is Part 3 of the California Building Standards Code (Title 24, California Code of Regulations). It governs the safe installation of electrical wiring, equipment, service panels, branch circuits, grounding and bonding in nearly all buildings in California. The CEC is based on the National Electrical Code (NEC / NFPA 70) — the 2025 CEC adopts the 2023 NEC — with California-specific amendments adopted by the Building Standards Commission and proposing agencies.
The 2025 California Electrical Code is the current edition, effective January 1, 2026, replacing the 2022 CEC. Because the code is adopted on a three-year cycle and local jurisdictions may add amendments, the exact requirements for your panel upgrade, EV charger or solar system depend on the edition your city or county has adopted and any local changes — which is exactly what GoCodebook reconciles for you.
A note on the abbreviation: CEC means both the California Electrical Code and the California Energy Commission, which writes the Energy Code (Part 6). In electrical drawings and permit sets it almost always means Part 3, but in energy documentation it means the agency — worth checking before acting on a citation.
What the California Electrical Code regulates
The CEC sets minimum standards for electrical safety across residential, commercial and industrial work. Core areas include wiring methods and materials, services and electrical panels, branch circuits and receptacle placement, overcurrent protection, grounding and bonding, and protection devices like GFCI (ground-fault circuit interrupters) and AFCI (arc-fault circuit interrupters). It also covers special occupancies and special equipment such as EV power transfer systems, photovoltaic (solar) systems and energy storage (battery) systems.
In dwellings, the CEC requires AFCI protection on most 120-volt, 15- and 20-amp branch circuits and GFCI protection in kitchens, bathrooms, garages, crawl spaces, outdoors and other damp or wet locations. EV charging receptacles must also be GFCI-protected. See where GoCodebook coverage is deepest for electrical questions.
EV charging, solar PV and modern electrical demands
The CEC is where the fast-growing rules for electrification live. A typical Level 2 EV charger needs a dedicated 240-volt circuit and enough panel capacity to support the breaker, which is why so many projects trigger a panel upgrade. Solar PV systems must meet CEC wiring, labeling and rapid-shutdown requirements, and battery storage systems (like a Powerwall) have specific spacing, labeling and fire-safety provisions.
These requirements interact with other parts of Title 24. New homes that must accommodate solar and EV readiness also touch the Energy Code and the California Residential Code (CRC, Part 2.5), while questions about adopted editions and who has authority are governed by the California Administrative Code (CAC, Part 1). Ask GoCodebook for the controlling NEC/CEC section with a citation.
Permits, inspections and local amendments
Most electrical work in California requires a permit and inspection — including new circuits, panel upgrades, service changes, EV chargers, solar and adding outlets. Work must comply with the adopted CEC edition and pass inspection by the local building department, which enforces the code under the procedures in the California Administrative Code.
Because the CEC starts from the NEC but adds California amendments, and because cities and counties may amend further, the controlling rule for a GFCI location, AFCI circuit or EV install can differ between jurisdictions. GoCodebook identifies the adopted edition and local amendments for your address and returns the governing provision with a citation, so you can verify the original language quickly against the CBC and sibling codes.
Panels, load calculations and the electrification squeeze
The most common residential electrical question in California is no longer about wiring methods — it is about capacity. Adding an EV charger, a heat-pump water heater, a heat-pump HVAC system or an induction range to an existing 100- or 125-amp service forces a load calculation, and often a service upgrade that the utility has to schedule.
The NEC provides tools that avoid some of those upgrades — the optional standard calculation methods, energy management systems that limit simultaneous load, load-side taps and meter-socket adapters — and California has been an early adopter of the electrification workarounds. Which are permitted in practice depends on the local amendment and the utility, not the code alone.
EV supply equipment carries its own branch-circuit, disconnect and ventilation rules, and interacts with the EV-readiness requirements in CALGreen and the CRC. Solar PV and energy storage bring rapid shutdown, labeling, disconnecting means and interconnection requirements, plus roof access pathways from the fire code.
GFCI, AFCI and the receptacle rules that drive corrections
GFCI protection has expanded in every recent NEC cycle and now reaches most kitchen, bathroom, laundry, garage, outdoor, basement and near-sink receptacles, plus a widening set of appliance outlets. AFCI protection covers most dwelling-unit branch circuits supplying habitable areas. Between them they account for a large share of residential rough and final corrections — particularly where an existing panel cannot accept the required breaker type.
Receptacle spacing, the requirement for outlets in specific locations, working clearance in front of panels, and the accessibility of disconnecting means round out the everyday list. None of these are exotic; they simply have to be laid out before drywall.
Who needs the CEC
CEC — frequently asked questions
What is the current edition of the California Electrical Code?
The 2025 California Electrical Code is current, effective January 1, 2026 (based on the 2023 National Electrical Code, NFPA 70), replacing the 2022 CEC. Local jurisdictions adopt the statewide edition and may add amendments.
Is the California Electrical Code based on the NEC?
Yes. The CEC is based on the National Electrical Code (NEC / NFPA 70) — the 2025 CEC adopts the 2023 NEC — with California amendments. It is published as Title 24, Part 3.
Where is GFCI and AFCI protection required?
GFCI protection is required in kitchens, bathrooms, garages, crawl spaces, outdoors and other damp/wet locations, plus EV charging receptacles. AFCI protection is required on most 120-volt, 15- and 20-amp branch circuits in dwelling units. Exact locations follow the adopted CEC edition.
Do I need a permit for an EV charger or panel upgrade?
Yes. EV chargers, panel upgrades, new circuits, service changes and solar require an electrical permit and inspection. A Level 2 EV charger typically needs a dedicated 240-volt circuit and sufficient panel capacity. Ask GoCodebook for the controlling section.
What does the California Electrical Code say about solar PV?
Solar PV must meet CEC wiring, labeling and rapid-shutdown requirements, and battery storage has specific spacing, labeling and fire-safety rules. Systems must also comply with utility interconnection rules. See the CRC for related residential provisions.
Which NEC edition does the 2025 California Electrical Code use?
The 2025 CEC is based on the 2023 NEC (NFPA 70) with California amendments. California has historically adopted the NEC one cycle behind, so the California edition year and the NEC edition year do not match — check both when citing a section.
Do I need to upgrade my panel to install an EV charger?
Not always. A load calculation determines whether the existing service can carry the added load. Where it cannot, options short of a service upgrade include a lower-amperage charger, an energy management system that prevents simultaneous operation, or a load-side connection — each subject to what the local jurisdiction and utility accept.
Where is GFCI protection required?
GFCI requirements expanded again in the 2023 NEC and now cover most receptacles in kitchens, bathrooms, laundry areas, garages, outdoors, basements, and within a set distance of sinks, plus a growing list of appliance outlets. Because the list changes every cycle, check the edition your jurisdiction has adopted rather than working from memory.
What is rapid shutdown for solar?
A requirement that a photovoltaic array can be de-energized to a safe voltage within the array boundary so firefighters can work on the roof. It drives module-level electronics on most residential systems, plus specific labeling and a clearly identified initiation device at the service.
Is the California Electrical Code in the Code Library?
Not yet — Part 3 has not been ingested into the verbatim reader, so this page does not link into chapter text. You can still ask GoCodebook an electrical question and get an answer with the controlling citation, and the other Title 24 parts are fully browsable.
Do local jurisdictions amend the electrical code?
Yes, though less heavily than the fire code. Common local electrical amendments cover service and meter locations, undergrounding, permit and inspection procedures, and requirements tied to local electrification ordinances. The utility's own service rules apply on top of the code and are not part of Title 24.
Where to read the CEC
California's adopted codes — including the California Electrical Code (CEC) — 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 Energy Code (Part 6)
Lighting controls, PV and battery-storage requirements.
-
CALGreen (Part 11)
EV-capable and EV-ready parking requirements.
-
California Residential Code (CRC)
Solar, storage and EV provisions for homes.
-
California Building Code (CBC)
Chapter 27 points to the CEC for electrical systems.
-
California Fire Code (CFC)
Energy-storage system siting and firefighter access.
Get cited CEC answers in seconds
Ask GoCodebook any question about the California Electrical Code (CEC) 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 2.5
California Residential Code (CRC)
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)