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):
| Wall run | Minimum receptacles | A legal placement |
|---|---|---|
| 8 ft | 1 | one centred — 4 ft to each corner |
| 12 ft | 1 | 6 ft each way, exactly at the limit |
| 16 ft | 2 | e.g. 4 ft and 12 ft from the corner |
| 20 ft | 2 | 6 ft and 16 ft, or evenly at 5 ft and 15 ft |
| 24 ft | 2 | 6 ft and 18 ft — the widest legal pair |
| 30 ft | 3 | 6 ft, 15 ft, 24 ft |
| 40 ft | 4 | 6 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:
- Doorways break the run. A 3 ft door in a 16 ft wall leaves something like 6.5 ft and 6.5 ft of wall space, and each of those pieces is measured on its own — which usually means one receptacle per side rather than two spread across the full 16 ft.
- Narrow piers do not count. A 14 in strip between a door and a corner is under 2 ft, so it is not a wall space and creates no requirement of its own.
- Fixed cabinets without a work surface break the run. A full-height pantry or a built-in wardrobe wall interrupts the floor line. Base cabinets with a countertop do not, which is why kitchen counters get their own rule below.
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.
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:
- "Outlets must be no more than 6 feet apart." Wrong by a factor of two. 6 ft is the reach from the wall to the outlet; adjacent outlets can be 12 ft apart and still comply.
- "Outlets must be 48 inches apart." That is 4 ft, which is the countertop consequence of the 24 in rule — not the wall rule, and not a number that appears in the code anywhere.
- "4 feet apart on counters." Close, but it is stated as a spacing when the rule is a reach. Four-foot spacing only works if the first and last receptacles in the run are within 2 ft of the ends. Start 3 ft in and the whole run fails.
- "No limit on outlets per circuit in a house, so spacing does not matter." The first half is right (220.14(J) sets no yoke limit in a dwelling). The second half is wrong: the spacing rule is independent of circuit loading and applies regardless of how many outlets share a breaker.
Common mistakes
- Measuring in a straight line instead of along the floor line. The distance follows the baseboard, around corners and past furniture. A diagonal measurement across a room is not the measurement.
- Counting the door opening as wall. A 3 ft door is 3 ft of nothing. It breaks the wall space, and each side is measured separately — which is why a 30 ft wall with a door in the middle can end up needing four receptacles rather than three.
- Stopping at the code minimum. Six receptacles in a bedroom is legal and miserable. The minimum exists for safety, not for living; plan for where the furniture actually goes.
- Forgetting that a bar counter or railing is wall space. Free-standing dividers count under 210.52(A)(2), and they are the one place people never think to add an outlet.
- Putting the counter receptacle too high or too low. Over 20 in above the countertop or under a deep overhang and it does not count, no matter how convenient it is.
- Assuming the 3 ft bathroom rule is about the door. It is measured from the outside edge of the basin, per basin. A single receptacle between two basins on a 6 ft vanity usually does not satisfy both.
- Quoting these numbers as national law. They are the model code. Your state adopts an edition and may amend it — the California wording this page relies on is CEC, not the base NEC.
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
- Breaker size chart — NEC 240.6(A), 240.4(D) and 210.20 — the circuit side: how many outlets share a breaker, and what wire each circuit needs
- Wire ampacity chart — NEC Table 310.16 — the full current-carrying table with the derating factors
- Voltage drop & wire size calculator — for long home runs to a garage, shed or shop
- What size wire for a 100 amp subpanel? — if the new circuits are going in a detached building
- Stair math and concrete slab guide — for the framing and the floor the outlets go into
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.