California's electrical code is the 2025 California Electrical Code (CEC), which is the 2023 NEC with California amendments and the NEC's section numbers. In a home, GFCI protection is required for receptacles in bathrooms, kitchens, garages, outdoors, laundry areas, basements and the other places on the list in 2025 CEC §210.8, including 120/240-volt receptacles. AFCI protection covers 120-volt, 10-, 15- and 20-amp circuits in kitchens, bedrooms, living areas, hallways, closets and laundry areas, but not bathrooms or garages (2025 CEC §210.12). Wall receptacles are placed so no point along the floor line is more than 6 feet from one, and kitchen countertop receptacles so no point along the wall line is more than 24 inches from one (2025 CEC §210.52).
This guide covers the dwelling rules that trade questions are built on: GFCI and AFCI, required branch circuits, where receptacles go, protecting cable in framing, burial depth, and the two different GFCI rules for temporary power on a job site. The CEC is Part 3 of Title 24, listed in CSLB's B study guide as a reference. NFPA lets you read the 2023 NEC free online, and its section numbers are the ones cited here.
GFCI protection in homes
Where GFCI is required
In a dwelling, GFCI protection is required for all 125-volt through 250-volt receptacles on single-phase branch circuits of 150 volts or less to ground in these places (2025 CEC §210.8):
- bathrooms and kitchens;
- areas with a sink and permanent provisions for food or beverage preparation or cooking;
- within 6 feet of the top inside edge of a sink bowl;
- within 6 feet of the outside edge of a bathtub or shower stall;
- garages, and accessory buildings with a floor at or below grade that are not habitable rooms;
- outdoors;
- crawl spaces at or below grade, and basements;
- laundry areas and boathouses; and
- indoor damp and wet locations.
The 6 feet is measured the shortest way a cord could run, without passing through a floor, wall, ceiling, fixed barrier or door. The GFCI device must be readily accessible. (2025 CEC §210.8)
Because the list covers receptacles up to 250 volts, the 120/240-volt dryer receptacle in a laundry area needs GFCI protection, along with the washer receptacle. So does a 120/240-volt range receptacle in a kitchen. (2025 CEC §210.8)
Appliances and outdoor outlets
- Some appliances need GFCI protection when rated 150 volts or less to ground and 60 amps or less. In homes these include dishwashers, electric ranges, wall-mounted ovens, counter-mounted cooking units, clothes dryers, microwave ovens and sump pumps. (2025 CEC §210.8)
- Outdoor outlets at a dwelling on single-phase circuits of 150 volts or less to ground and 50 amps or less need GFCI protection. Outdoor lighting outlets are excepted. (2025 CEC §210.8)
- The receptacle required within 25 feet of heating, air-conditioning and refrigeration equipment, on the same level (2025 CEC §210.63), needs GFCI protection too (2025 CEC §210.8).
AFCI protection in homes
An AFCI cuts power when it detects a dangerous arc, which can start a fire. In a dwelling, every 120-volt, single-phase, 10-, 15- and 20-amp branch circuit supplying outlets or devices in these rooms needs AFCI protection: kitchens, family rooms, dining rooms, living rooms, parlors, libraries, dens, bedrooms, sunrooms, recreation rooms, closets, hallways, laundry areas and similar areas. (2025 CEC §210.12)
- Not on the list: bathrooms, garages and outdoor areas. (2025 CEC §210.12)
- Usual method: a listed combination-type AFCI breaker at the start of the circuit, which protects the whole circuit. An outlet-type AFCI at the first outlet is allowed with a listed breaker if the run to that first outlet is no longer than 50 feet of 14 AWG or 70 feet of 12 AWG wire, and the first box is marked. (2025 CEC §210.12)
- Remodels. When wiring in those rooms is changed, replaced or extended, the circuit gets AFCI protection, at the breaker or at the first receptacle of the existing circuit. No AFCI is needed for an extension of 6 feet or less that adds no outlets or devices. (2025 CEC §210.12)
| Location | GFCI receptacles | AFCI circuits | Source |
|---|---|---|---|
| Kitchen | Yes | Yes | 2025 CEC §§210.8, 210.12 |
| Laundry area | Yes | Yes | 2025 CEC §§210.8, 210.12 |
| Bathroom | Yes | No | 2025 CEC §§210.8, 210.12 |
| Garage | Yes | No | 2025 CEC §§210.8, 210.12 |
| Outdoors | Yes | No | 2025 CEC §§210.8, 210.12 |
| Bedroom, living room, hallway, closet | No (unless near a sink, or damp or wet) | Yes | 2025 CEC §§210.8, 210.12 |
Required branch circuits
Besides its other circuits, every dwelling unit needs (2025 CEC §210.11(C)):
- two or more 20-amp small-appliance circuits for the kitchen, pantry, breakfast room, dining room and similar areas, with the countertop receptacles fed by at least two of them;
- at least one 20-amp laundry circuit, with no other outlets;
- one or more 120-volt, 20-amp bathroom circuits, with no other outlets. One circuit may feed the receptacles of several bathrooms; a 20-amp circuit that serves only one bathroom may also feed other equipment in that bathroom; and
- at least one 120-volt, 20-amp garage circuit for an attached garage, or a detached garage with power, which may also feed outdoor receptacles.
A 20-amp circuit needs at least 12 AWG copper, and 14 AWG copper is limited to a 15-amp breaker (2025 CEC §240.4(D)).
Where receptacles go
- Walls of living rooms, bedrooms and similar rooms. No point along the floor line of any wall space is more than 6 feet from a receptacle, so on a long wall they are no more than 12 feet apart. A wall space is any wall 2 feet or wider not broken by a doorway or fireplace. Countertop receptacles do not count toward this rule. (2025 CEC §210.52(A))
- Kitchen countertops. Every counter space 12 inches or wider needs receptacles, so no point along the wall line is more than 24 inches from one, which puts them no more than 4 feet apart. They go on or above the counter, no more than 20 inches above it. (2025 CEC §210.52(C))
- Islands and peninsulas. Receptacles are not required there, but if none is installed, provisions for adding one later are required. (2025 CEC §210.52(C))
- Bathrooms. At least one receptacle within 3 feet of the outside edge of each sink, never more than 12 inches below the countertop. (2025 CEC §210.52(D)) No receptacle may be within 3 feet horizontally of a tub or shower, up to 8 feet above the rim or threshold. One exception is a single receptacle for an electronic toilet or bidet seat that is not between the toilet and the tub or shower. (2025 CEC §406.9(C))
- Outdoors. A one-family house needs at least one outdoor receptacle at the front and one at the back, readily accessible from grade and no more than 6 1/2 feet above it. A deck or porch within 4 inches of the house needs one reachable from it. (2025 CEC §210.52(E))
- Laundry, garage, hallway. One receptacle in each laundry area; at least one in each garage vehicle bay, no more than 5 1/2 feet above the floor; at least one in a hallway 10 feet or longer. (2025 CEC §210.52)
- Tamper-resistant. All 15- and 20-amp, 125- and 250-volt nonlocking receptacles in a dwelling, including garages, are listed tamper-resistant, with a few exceptions such as those more than 5 1/2 feet above the floor. (2025 CEC §406.12)
Example: A straight 11-foot counter has no sink or range in it. Each receptacle serves 24 inches on each side, or 4 feet of counter, and 11 ÷ 4 = 2.75, so it needs at least 3 receptacles, for example at 2, 6 and 9 feet from one end. With only two, at 2 and 6 feet, the last 3 feet of counter would be more than 24 inches from a receptacle.
Protecting cable in framing
- Bored holes and notches in wood. The edge of the hole must be at least 1 1/4 inches from the nearest edge of the stud or joist. If it is closer, or the cable is in a notch, cover it with a steel plate at least 1/16 inch thick, or a thinner listed plate. (2025 CEC §300.4(A))
- Running along framing. Keep cable at least 1 1/4 inches from the edge where nails or screws are likely, or protect it the same way. (2025 CEC §300.4)
- Metal studs. NM cable through holes in metal framing needs listed bushings or grommets covering all metal edges, fastened in place before the cable is pulled. (2025 CEC §300.4)
A plastic grommet does not replace the steel plate in a wood stud.
Burial depth
For 0 to 1000 volts, the minimum cover (from the top of the cable or raceway to the top of finished grade) in ordinary yard locations is (2025 CEC Table 300.5(A)):
| Wiring method | Minimum cover | Source |
|---|---|---|
| Direct-burial cable | 24 inches | 2025 CEC Table 300.5(A) |
| Rigid metal or intermediate metal conduit | 6 inches | 2025 CEC Table 300.5(A) |
| Nonmetallic raceway listed for direct burial | 18 inches | 2025 CEC Table 300.5(A) |
| Residential circuit, 120 volts or less, GFCI-protected, 20 amps or less | 12 inches | 2025 CEC Table 300.5(A) |
| Irrigation and landscape lighting, 30 volts or less | 6 inches | 2025 CEC Table 300.5(A) |
Under streets, roads and parking lots every method needs 24 inches. Under a one- or two-family dwelling's own driveway, it is 18 inches, or 12 inches for the GFCI-protected residential circuit. (2025 CEC Table 300.5(A))
Example: Rigid metal conduit needs only 6 inches of cover under a lawn, 18 inches under the house's own driveway, and 24 inches under a street.
Temporary power on the job site: two codes
Cal/OSHA and the Electrical Code both require GFCIs on temporary receptacles, with different scopes.
| Rule | Cal/OSHA (8 CCR §2405.4) | 2025 CEC §590.6 |
|---|---|---|
| Receptacles covered | 120-volt, single-phase, 15- and 20-amp outlets not part of the permanent wiring and used by employees | 125-volt, single-phase, 15-, 20- and 30-amp outlets not part of the permanent wiring and used by personnel |
| Alternative | Assured equipment grounding conductor program (tests at least every 3 months) | None for these receptacles; an assured program is allowed only for other outlets, or in industrial establishments with qualified personnel where losing power would be more hazardous |
| Small portable generator | Two-wire, single-phase, 5 kW or less, conductors insulated from the frame: exempt | Generators of 15 kW or less: GFCI on 15-, 20- and 30-amp receptacles, no small-generator exemption |
(8 CCR §2405.4, 2025 CEC §590.6)
Example: A 3 kW two-wire portable generator with its conductors insulated from the frame meets Cal/OSHA's exemption, so Cal/OSHA's GFCI rule does not apply to it. The Electrical Code still requires GFCI protection on its receptacles. When two rules apply, follow the stricter one.
Traps to watch for
- GFCI is not only for 120 volts. The dwelling list covers 125-volt through 250-volt receptacles, so the dryer receptacle in the laundry area needs it.
- GFCI and AFCI lists differ. Bathrooms and garages are GFCI but not AFCI; kitchens and laundry areas are both.
- 6 feet or 24 inches. Walls use 6 feet along the floor line; countertops use 24 inches along the wall line.
- The wire limits the breaker. A 20-amp breaker on 14 AWG copper is not allowed.
- Which generator rule? Read whether the question names Cal/OSHA or the Electrical Code.
- NEC numbers are CEC numbers. A question that cites "NEC 210.8" means the same section in the California Electrical Code.
How to use this guide
Learn the GFCI and AFCI lists side by side using the table, then the receptacle spacing numbers and the burial table. Then answer the practice questions below this guide. Box fill, NM cable, grounding and service rules are also part of the electrical subtopic in Core Trades; for the jobsite safety side, see our B exam safety notes.