Electrical Outlet Code Requirements: Spacing, Types, and Protection

Electrical codes provide clear guidelines for installing outlets safely in homes, and most communities base their rules on the National Electrical Code (NEC). The code specifies how far apart outlets can be, which types belong in kitchens, bathrooms, and living rooms, and when ground-fault or arc-fault protection is required. Even a straightforward job like installing electrical outlets needs the same attention to circuit capacity, box fill, and protection, whether the wall is framed lumber or masonry.

Outlet Spacing Rules for Living Areas

The spacing rules in the NEC exist to keep extension cords out of the picture. In living rooms, bedrooms, and similar general areas, no point along the floor line of a wall can be more than 6 feet from an outlet. Because the rule applies to every point, outlets end up spaced no more than 12 feet apart along a wall. The same principles appear in residential electrical wiring code requirements that govern circuit design and installation methods for the whole house.

The 6-Foot and 12-Foot Rules

Measure along the wall at the floor line. Any point more than 6 feet from the nearest receptacle violates the rule, which in practice means an outlet every 12 feet. Doorways and fireplaces break the wall run, and measuring starts at the edge of the opening, so the outlet spacing recalculates on each side.

What Counts as Wall Space

A wall segment must be at least 2 feet wide to require an outlet. Fixed panels such as window mullions or the backs of built-in cabinets do not count as wall space for spacing purposes, and outlets behind doors or furniture still need to meet the spacing rule even if they are hard to reach.

AreaSpacing ruleNotes
Living room, bedroomOutlet within 6 ft of any point, 12 ft max between outletsMeasure along the floor line
Kitchen countertopOutlets no more than 48 in apartOne per 4 ft of counter
BathroomOne outlet within 36 in of the sinkGFCI required
Laundry roomDedicated outlet for the washing machine20-amp circuit
Hallway6-ft rule on walls 10 ft or longerCounts as general living space

Kitchen and Countertop Requirements

Kitchens have the strictest rules because they combine water, heat, and small appliances. Countertop outlets must be no farther than 48 inches apart, a spacing based on the average length of an appliance cord, so cords never have to stretch across a countertop. At least two small-appliance branch circuits, rated 20 amps, serve the countertop receptacles.

Local jurisdictions adopt the NEC with amendments, and the interpretation of those amendments varies. When the rules are ambiguous or the project is complex, a licensed electrical contractor who works in the area will know the exact requirements, and many permit offices publish their local amendments alongside the code.

The 48-Inch Countertop Rule

Measure along the wall behind the counter. Receptacles must sit no more than 48 inches apart, and no point along the counter can be more than 24 inches from a receptacle. Islands and peninsulas with counter space wider than 12 inches need their own receptacle, and outlets above the counter must be within 20 inches of the countertop surface.

Small Appliance Branch Circuits

The two required small-appliance circuits supply countertop outlets, the refrigerator, and similar kitchen loads. They cannot feed lighting or fixed appliances such as dishwashers, and they must not share a neutral with other circuits under current code. Each circuit serves a different part of the countertop so a tripped breaker does not kill every outlet at once.

Amperage and Wire Size

15-Amp vs 20-Amp Circuits

General-purpose lighting and outlet circuits are usually 15-amp with 14 AWG wire. Kitchen countertop circuits must be 20-amp, which requires 12 AWG wire and 20-amp receptacles. Never mix 15-amp receptacles onto a 20-amp kitchen circuit, because the code requires the receptacle rating to match the circuit where small appliances are served.

Bathroom, Laundry, and Utility Requirements

Bathrooms combine outlets with water, so every receptacle in the room must be GFCI-protected. At least one outlet must be within 36 inches of the sink basin, and it must be on a dedicated 20-amp circuit that serves only the bathroom. The wiring configuration follows the same rules detailed in installation guides for outlets and switches, including code requirements and advanced wiring setups.

Bathroom Receptacles

A single bathroom can share one 20-amp circuit among its receptacles, but the circuit cannot feed other rooms. Lights may share the circuit in some jurisdictions, so check the local amendment. Each receptacle needs GFCI protection, either at the device itself or upstream at the breaker.

Laundry Room Outlets

The laundry room needs a dedicated 20-amp outlet for the washing machine, plus GFCI protection in most jurisdictions. If the room has a utility sink, outlets within 6 feet of the sink must also be GFCI-protected, and the dryer gets its own 240-volt circuit sized to the appliance nameplate.

Garages and Utility Rooms

  • At least one GFCI-protected outlet is required in the garage.
  • Unfinished basements and crawl spaces need GFCI-protected outlets.
  • Current code cycles add AFCI protection to unfinished basement outlets.
  • Outlets near laundry sinks and utility sinks follow the 6-foot GFCI rule.

GFCI, AFCI, and Tamper-Resistant Protection

Two protective devices are now standard in new construction. A ground-fault circuit interrupter (GFCI) shuts off power when it detects current leaking to ground, typically within 1/40 of a second, fast enough to prevent a shock. An arc-fault circuit interrupter (AFCI) detects dangerous arcing in the wiring and opens the circuit before a fire starts. Both devices install as circuit breakers or as receptacle devices and follow the same wiring methods covered in residential wiring basics.

Where GFCI Protection Is Required

The NEC requires GFCI protection in these locations:

  1. Bathrooms: every receptacle.
  2. Kitchens: countertop receptacles and any receptacle within 6 feet of the sink.
  3. Garages, unfinished basements, and crawl spaces: all receptacles.
  4. Outdoors, including at least one receptacle at the front and back of the house.
  5. Laundry and utility rooms: receptacles within 6 feet of a sink.

Where AFCI Protection Is Required

The NEC requires AFCI protection for outlets in most living spaces, including bedrooms, living rooms, family rooms, dining rooms, and hallways. Kitchens and laundry areas need combined GFCI and AFCI protection under current editions. The exact requirements vary by code cycle, so confirm the edition adopted in your jurisdiction before rough-in.

Tamper-Resistant Receptacles

How Tamper Resistance Works

Since the 2008 NEC, new and replaced receptacles in homes must be tamper-resistant. Internal shutters block the contacts unless a two-prong plug is inserted evenly, which keeps small objects out of the slots. The rule applies to replacement receptacles in existing homes in most jurisdictions, and the shutters add no noticeable effort to normal plugging.

Grounding, Permits, and Inspection

Grounding ties the whole system together. Every receptacle must be connected to the equipment grounding conductor, and grounded receptacles need a verified path back to the panel. The components of a grounding system, from electrodes to bonding conductors, are covered in dedicated guides on electrical grounding systems, and testing confirms the path is intact before the walls close.

Grounding Basics

The grounding conductor gives fault current a safe path to the earth, which lets breakers trip instead of energizing metal parts. Ungrounded receptacles in older homes can be replaced with GFCI-protected outlets marked no equipment ground, but the safer upgrade is running a new grounding conductor back to the panel.

Permits and Local Amendments

Most jurisdictions require a permit for new outlet circuits and for adding receptacles. The inspector checks box fill, wire gauge, and protection devices before the walls close, so book the inspection before drywall goes up and keep the permit card visible on site. Local amendments may tighten spacing or add protection requirements beyond the NEC baseline.

Working With an Inspector

Ask the inspector about the adopted code edition before you plan the layout. Many jurisdictions answer questions during plan review, which costs nothing and prevents a failed inspection. Keep the rough-in photo-documented so the final inspection goes quickly.

Plan a compliant outlet project in six steps:

  1. Check the local code edition and amendments at the building permit department.
  2. Draw the circuit layout, marking every outlet, switch, and fixed load.
  3. Calculate the load and choose 15-amp or 20-amp circuits with matching wire.
  4. Lay out the boxes at the required spacing and height.
  5. Pull the permit before starting the rough-in work.
  6. Schedule the inspection before covering the walls.

The wiring method carries the code requirements to the outlet. Whether you run nonmetallic cable through stud bays, metal-clad cable in exposed areas, or conduit for extra protection, the installation must follow the rules for each system, and the choice among NM cable, MC cable, and conduit systems depends on the location, the exposure, and the local code.