Every room in a house has its own set of wiring rules, and the rules exist because electricity gets used differently in a bathroom than in a garage. The National Electrical Code (NEC) updates every three years, and local amendments can override it, so the starting point for any project is the ground path. Electrical grounding systems, from electrodes and conductors to bonding and testing, explain why so many room rules are really ground rules: outlets near water need protected circuits, and every metal box needs a solid return path.
What Electrical Codes Are and How They Apply
Electrical codes are rules that dictate how wiring is installed in residences. The NEC is the national baseline, published in a new edition every three years to keep pace with new technology, and electrical inspectors base their reviews on its requirements. Local code always takes precedence over the NEC when the two differ, so the first call in any project goes to the local building department.
The practical effect is that code compliance is a local question with a national answer sheet. A fixture layout that passes in one county can fail in the next, and the difference is usually an amendment, not the NEC itself. Permits work the same way: some jurisdictions require one for any receptacle change, others only for new circuits.
A Code Written in Failure History
The code’s history explains the caution. The first NEC was published in 1897, a response to fires caused by the new electric lighting systems, and every edition since has added rules in reaction to a documented failure mode. The three-year update cycle keeps the code aligned with new products and materials, which is why a house built to code in 2015 can fail a 2026 inspection on outlet spacing alone.
The NEC sets the baseline, but the full picture of what applies in your house comes from the residential electrical wiring code requirements that cover circuit design and installation methods. Reading the room-by-room rules against that background makes the specific numbers easier to remember, because every spacing rule exists to prevent an overloaded outlet or an unreachable switch.
Bathroom and Kitchen Requirements
Bathrooms
Bathrooms need at least one dedicated 20-amp circuit for receptacles, and no other rooms can share it. At least one GFCI-protected receptacle must sit within three feet of each sink, and the circuit can also feed the bathroom lighting. The GFCI requirement has applied to bathroom receptacles since the 1970s, and it is non-negotiable.
- One dedicated 20-amp circuit for receptacle loads
- At least one receptacle within 3 feet of each sink
- All bathroom receptacles GFCI-protected
- Lighting and exhaust fan can share the receptacle circuit
Vanity lights over the mirror and exhaust fans draw from the same protected circuit in most layouts, and the detail inspectors check is that every receptacle in the room is downstream of a GFCI device, either the breaker or the first outlet in the chain.
Kitchens
Kitchens get two dedicated 20-amp small appliance branch circuits for countertop receptacles, and those outlets must be spaced so no point along the wall is more than 24 inches from a receptacle. That works out to a receptacle roughly every four feet. All countertop outlets need GFCI protection, and newer code editions extend the requirement to the dishwasher, disposal, and refrigerator circuits.
- Two dedicated 20-amp small appliance circuits
- Receptacles every 4 feet along the countertop wall line
- All countertop receptacles GFCI-protected
- Dedicated circuits for refrigerator, dishwasher, disposal, and range
Large appliances get their own circuits: a dedicated circuit for the refrigerator, one for the dishwasher, one for the disposal if it is not shared, and a 240-volt circuit for the range. Islands and peninsulas need at least one receptacle on the counter surface, and the lighting over the sink and cooking surface is required, not optional.
Older houses are where these rules bite hardest. A spring inspection is a good time to catch the common electrical problems that appear as circuits age, from overloaded kitchen counters to bathroom outlets without any protection, and fixing them before a remodel starts is far cheaper than correcting them after the walls close up.
Living Rooms, Dining Rooms, and Bedrooms
The 6-Foot and 12-Foot Rules
The general wall outlet rule applies in living rooms, dining rooms, bedrooms, and every other habitable room: no point along the floor line of a wall may be more than six feet from an outlet. In practical terms, outlets land every 12 feet, and any wall section two feet wide or wider needs its own receptacle. Doorways, fireplaces, and fixed panels interrupt the measurement, but the rule still forces outlets into every usable stretch of wall.
AFCI Protection for Bedrooms
Bedroom circuits have carried an arc-fault circuit interrupter (AFCI) requirement since 2002, and newer code editions extend AFCI protection to most habitable rooms. AFCI breakers detect the small arcs that loose connections produce and trip before the arc starts a fire, which is why inspectors verify the breaker type, not just the outlet count, in every bedroom. Dining rooms need at least one receptacle and a lighting outlet, and the light over the table should be controlled by a switch at the entrance.
Bedrooms also need a ceiling light or a switched receptacle for a lamp, controlled from the entrance. The idea is that nobody should have to cross a dark room to turn on a light. The same logic puts a switch at every entrance to a stairway and at the top of a basement stair.
Hanging a new fixture over the dining table follows the same path as the dining room chandelier installation guide: a box rated for the fixture weight, a circuit that matches the load, and a switch at the entrance. The code cares about the box rating because a chandelier hanging from a drywall pancake box is a failure waiting for a dinner party.
Laundry, Garage, and Utility Rooms
The laundry room gets a dedicated 20-amp circuit for the washer and a separate 30-amp, 240-volt circuit for an electric dryer. Receptacles in the laundry area need GFCI protection under current code, and the washer outlet must be within six feet of the appliance’s intended location.
Garage Circuits
Garages need at least one 120-volt, 20-amp circuit dedicated to garage receptacles, and every receptacle in the garage, including the one for the door opener, needs GFCI protection. That circuit also covers the workbench outlets, so a single 20-amp run usually handles the whole space unless you plan to run heavy tools.
- 20-amp dedicated circuit for the washer
- 30-amp, 240-volt circuit for the dryer
- GFCI protection for laundry receptacles
- GFCI for all garage receptacles, including the door opener
Utility rooms and basements follow the same pattern: GFCI-protected receptacles, a dedicated circuit for anything with a motor, and separate circuits for equipment that runs continuously.
Laundry rooms trip up many homeowners with the common laundry room design mistakes found in new construction, and the electrical fixes are usually the most expensive part of the correction. Moving a dryer outlet a few inches after the drywall is up means cutting the wall, so laying out the appliance positions before the rough-in saves real money.
Hallways, Stairways, and Closets
Hallways and Stairways
Hallways ten feet long or longer need at least one receptacle. Stairways with six or more steps need a lighting outlet controlled by a switch at each level, which is why you see three-way switches at the top and bottom of a basement stair. A single switch at one end leaves the other end dark, and that fails inspection.
- Hallway 10 feet or longer: at least one receptacle
- Stairways with 6 or more steps: a switch at each level
- Closet fixtures: 12 inches clearance for exposed bulbs, 6 inches for enclosed
- Closet switches outside the closet or on the door frame
Closet Lighting Clearances
Closet lighting has the strictest clearance rules in the house because the storage space is combustible. Surface-mounted fixtures with exposed bulbs must clear the storage area by at least 12 inches, enclosed fixtures need six inches, and recessed fixtures rated for insulation contact can sit closer. The clearance is measured from the edge of the storage shelf, not the floor. Closet light switches must sit outside the closet or on the door frame, never inside where a reaching hand can touch a live bulb.
Hallways and stairs are where poor planning shows up as tangled extension cords and dark steps, the same kind of layout thinking that prevents common living room decor mistakes that create visual clutter. Outlet placement is furniture planning: decide where the sofa, desk, and lamps go, and the code numbers stop being arbitrary.
Room-by-Room Quick Reference and Inspection Checklist
The table below summarizes the requirements inspectors check most often. Use it as a checklist before you call for an inspection.
| Room | Outlet Placement | Circuit | Protection |
|---|---|---|---|
| Bathroom | Within 3 feet of each sink | 20-amp dedicated | GFCI |
| Kitchen | Every 4 feet of countertop | Two 20-amp small appliance circuits | GFCI |
| Living, dining, bedroom | Every 12 feet of wall | 15-amp or 20-amp | AFCI |
| Laundry | Within 6 feet of the washer | 20-amp washer, 30-amp dryer | GFCI |
| Garage | At least one wall outlet | 20-amp dedicated | GFCI |
| Hallway | One outlet if 10 feet or longer | 15-amp | AFCI |
| Stairway | Lighting at each level | 15-amp | Three-way switches |
| Closet | Fixture clearances only | 15-amp | Switch outside the door |
The Walk-Through Checklist
Before you call, walk the job with this numbered checklist.
- Every receptacle is secured and wired with the correct polarity
- Every GFCI trips when you press the test button
- Every AFCI breaker is the right type for the circuit
- Every metal box has a verified ground connection
Inspectors start with the ground path because earthing is the foundation of electrical safety, and the practices covered in that guide are exactly what they verify room by room.
The checklist works for remodels too. If you are adding a bathroom or finishing a basement, lay out the receptacles on paper first and count them against the spacing rules before the electrician starts pulling wire. A receptacle added after drywall is a patch job; one planned before the rough-in costs a few dollars of wire.
Most jurisdictions allow the homeowner to pull a permit and do the work, but the inspection is the same one a contractor faces. When the layout questions outnumber the wiring questions, or the panel is full and the service needs upgrading, bring in a licensed electrician before the inspector ever sees the job.
