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.
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.
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.
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.
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.
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)