Outlet Spacing: The 6-Foot Rule, Worked Out

The code sets a reach, not a gap. Once you see it that way, the layout of a room stops being guesswork and becomes arithmetic.

The short answer

NEC 210.52(A)(1) requires receptacles to be installed so that no point measured horizontally along the floor line of any wall space is more than 6 ft from a receptacle outlet. That is the whole rule. It is a maximum distance from the wall to the nearest outlet, not a maximum distance between outlets, and almost every summary of it online gets that backwards.

Because each receptacle serves 6 ft in both directions, two receptacles 12 ft apart still leave every point within 6 ft of one of them. So on a straight run the practical spacing is one receptacle per 12 ft of wall, with the first and last no more than 6 ft from the ends of the run. That 12 ft figure is derived, not quoted — no sentence in the code says "12 feet." If an inspector asks, the citation is 210.52(A)(1) and the 12 ft is your arithmetic.

Minimum receptacles on one unbroken wall run, from that geometry (number = the run length divided by 12, rounded up):

Minimum receptacles on a single unbroken wall run under the 6 ft reach of NEC 210.52(A)(1) — derived, assuming each end is treated as a stopping point
Wall runMinimum receptaclesA legal placement
8 ft1one centred — 4 ft to each corner
12 ft16 ft each way, exactly at the limit
16 ft2e.g. 4 ft and 12 ft from the corner
20 ft26 ft and 16 ft, or evenly at 5 ft and 15 ft
24 ft26 ft and 18 ft — the widest legal pair
30 ft36 ft, 15 ft, 24 ft
40 ft46 ft, 15.3 ft, 24.7 ft, 34 ft

Read the 24 ft row carefully, because it is the trap. Two receptacles at 6 ft and 18 ft cover that wall exactly — not a legal inch to spare. A 25 ft wall needs three. And if the run turns a corner, a receptacle on the adjoining wall can serve around that corner, because the measurement follows the floor line; you are not required to treat every corner as a wall end.

What counts as a wall space

The 6 ft rule only applies to wall space, and NEC 210.52(A)(2) defines it tightly: any space 2 ft or more in width, unbroken along the floor line by doorways or similar openings, or by fixed cabinets that do not have work surfaces. Fixed room dividers — a free-standing bar-type counter or a railing — are also wall space. That last sentence surprises people, but it makes sense: a knee wall behind a couch is exactly where a lamp gets plugged in.

Three consequences follow, and they decide most real layouts:

Worked example — a 12 × 16 ft bedroom

One 3 ft door, centred in one of the 16 ft walls. Nothing else on the walls. Here is the count, wall by wall, using 12 ft of coverage per receptacle.

Door wall (16 ft). The door is centred, so it leaves 6.5 ft of wall on each side. Both pieces are over 2 ft, so both are wall space. Each is under 12 ft, so each needs one receptacle, placed near the middle of the piece: maximum reach from the far corner is 3.25 ft. That is 2.

Opposite wall (16 ft). Unbroken, so 16 ÷ 12 = 1.33, round up to 2. Place them at 4 ft and 12 ft from one corner: corner to first is 4 ft, gap is 8 ft (4 ft reach to the midpoint), last to the far corner is 4 ft. All inside 6 ft.

Each side wall (12 ft). 12 ÷ 12 = exactly 1, and there is only one legal position: dead centre. At 6 ft from each corner both ends land exactly on the limit, and nudge it either way and one end goes over — 5.5 ft leaves 6.5 ft on the other side, which fails. On an exactly-12 ft wall the choice is one centred receptacle or two, and most electricians install two, because a bedroom wall that short is usually a bed wall.

Total: 6 receptacles minimum for that room, before you add anything for convenience. A typical real layout puts 8 in, because a bedroom has a bed wall, a dresser, and a desk, and none of them are where the code minimum lands.

Kitchen counters: the 24-inch rule

Countertops use a tighter reach. NEC 210.52(C)(1) requires that no point along the wall line of a countertop space be more than 24 in from a receptacle. Two feet each way means a 4 ft band per receptacle, so a counter run needs one roughly every 4 ft — twice the density of a plain wall. The count is the run length divided by 4, rounded up, with the ends of the run within 2 ft.

The same section splits the kitchen into separate spaces: a countertop interrupted by a range, a sink or a refrigerator is two spaces, and each is measured on its own. Every counter space 12 in or wider gets a receptacle, and every island or peninsula with a surface at least 24 in by 12 in gets one too.

Placement is constrained as well as spacing: the receptacle must be no more than 20 in above the countertop, or no more than 12 in below it, and it may not sit under an overhang deeper than 6 in. That is why a 12 in backsplash gets an outlet at 44 in and a full-height tile splash gets one in the cabinet below.

Worked run. A 10 ft counter between the range and the sink: 10 ÷ 4 = 2.5, round up to 3. Set them at 2 ft, 5 ft and 8 ft from one end. End reaches are 2 ft, the gaps are 3 ft so the worst midpoint is 1.5 ft, and every point is inside the 24 in limit with room to spare.

Bathrooms and hallways

Bathrooms have a different rule: NEC 210.52(D) requires at least one receptacle within 3 ft of the outside edge of each basin. Note "outside edge" — the measurement starts at the edge of the sink, not the centreline, so a 36 in vanity puts the receptacle essentially beside it. A double vanity needs one within 3 ft of each basin, which usually means two.

Hallways are length-based, not spacing-based: NEC 210.52(H) requires at least one receptacle in a hallway 10 ft or more in length. A 9 ft hall can legally have none.

GFCI protection, AFCI protection and box fill are separate code topics and are not covered here. Spacing is about where the holes go; protection is about what is behind the faceplate.

The one sentence to remember: every point along the floor line must be within 6 ft of a receptacle on a general wall and within 24 in on a kitchen counter. Everything else — 12 ft apart, one per 4 ft of counter, two either side of a door — is that reach doubled and counted.

Why the advice online is wrong

The current top results for this question are blogs and forums that contradict each other, and two of them contradict the code. The claims worth correcting:

Common mistakes

Spacing is the layout half of the job. The load half — how many receptacles can share a breaker, and what size breaker and wire the circuit needs — is on the breaker size chart, which carries the 180 VA arithmetic and the per-appliance rows. If a long home run is part of the plan, check it against the voltage drop calculator before you buy cable; the resistance values come from NEC Chapter 9 Table 8, not from a rule of thumb.

Outlet spacing FAQ

How far apart should outlets be?

Six feet is the number in the code, but it is not the distance between outlets — it is the maximum distance from any point on the wall to the nearest receptacle, measured horizontally along the floor line (NEC 210.52(A)(1)). Because each outlet covers 6 ft in both directions, adjacent outlets end up no more than 12 ft apart. "No more than 6 feet apart" is the single most common misreading of this rule.

Is there a maximum spacing between outlets?

Not as a direct rule, no. The code never says "12 feet apart" — that number is the arithmetic consequence of a 6 ft reach in each direction, and pages that quote it as code text are paraphrasing. The enforceable sentence is the 6 ft one. On a straight unbroken wall the practical result is identical: one receptacle per 12 ft of wall, minimum, with the first and last no more than 6 ft from the ends.

Does a 2-foot wall need an outlet?

It is a wall space, so it counts toward the 6 ft measurement. NEC 210.52(A)(2) defines wall space as any space 2 ft or more in width, unbroken along the floor line by doorways or similar openings or by fixed cabinets that do not have work surfaces. A short pier between a door and a corner that is under 2 ft is not a wall space, so it does not create a receptacle requirement of its own — but it can still be the only route by which a neighbouring wall is reached.

How far apart do kitchen counter outlets have to be?

No point along the countertop wall line may be more than 24 in from a receptacle (NEC 210.52(C)(1)). That is 2 ft each way, so a receptacle covers a 4 ft band and a long run needs one roughly every 4 ft, with the ends of the run within 2 ft. Spaces split by a range, sink or refrigerator are treated as separate spaces, and each counter space 12 in or wider needs a receptacle, as does every island or peninsula with a surface at least 24 in by 12 in.

How many outlets can I put on a 20 amp circuit?

That is a load question, not a spacing question. In a non-dwelling occupancy NEC 220.14(I) counts each receptacle yoke at 180 VA, so 20 A × 120 V = 2,400 VA ÷ 180 VA = 13 yokes (10 if the load runs continuously). In a dwelling the 180 VA rule does not apply — 220.14(J) sends receptacle load to the 3 VA/ft² general lighting calculation and sets no yoke limit, so spacing and voltage drop decide the layout. The full table is on the breaker size chart.

Do I need a receptacle in a hallway?

In a hallway 10 ft or more in length, yes — at least one (NEC 210.52(H)). Shorter halls have no requirement, which is why a 6 ft hall can legally have no receptacle at all.

Is outlet spacing the same in every state?

The 6 ft rule is in the base model code and is near-universal, but adopted editions and local amendments vary, and some jurisdictions add requirements for specific rooms. The California wording quoted on this page comes from California Electrical Code handouts, which track NEC 2022 with state amendments. Check the edition your AHJ enforces before you cut boxes.

Related pages

Code references are to the NEC as reproduced in municipal handouts quoting the California Electrical Code (2022/2023 editions, i.e. NEC 2022 plus state amendments): City of Milpitas, Lighting, Switches, and Receptacles (Residential), rev. 8/1/2024, and City of Menifee, Electrical Requirements, rev. 1/23. The 12 ft spacing, the wall-run table and every count above are derived from 210.52(A)(1) and are labelled as arithmetic, not code text. Adopted editions and local amendments vary — check with your AHJ, and have a licensed electrician sign off the work.