Electrical Guide
Can a Power Outlet Be Installed Behind a Dishwasher? Code Rules and Best Spots
Can a power outlet be installed behind a dishwasher? Yes, in some cases. The NEC allows a receptacle for a plug-in dishwasher, but recent editions push it to the cabinet space next to the dishwasher, and it must stay accessible. A hardwired dishwasher needs no outlet at all. Always check the manufacturer instructions and ask your local inspector, because local code decides.
Key Takeaways
- An outlet behind a dishwasher is not banned everywhere, but newer NEC editions favor the adjacent cabinet.
- The receptacle must be accessible, so you can unplug the unit without wrecking the kitchen.
- Dishwasher circuits need GFCI protection in dwelling units under NEC 210.8.
- A hardwired dishwasher skips the outlet and uses a junction box and a disconnect.
- An outlet behind the unit never counts as a countertop receptacle under 210.52(C).
- The inspector and the dishwasher manual have the last word.

You are planning a kitchen. The dishwasher goes in a tight slot. The cord has to go somewhere.
The easy answer seems to be an outlet right behind it. It is hidden. It is close. It feels logical.
But code has opinions on this. So do installers. So do inspectors.
This guide explains what the National Electrical Code says. It covers access, GFCI rules, plug-in versus hardwired units and the best spot for the outlet. It also says plainly where local rules take over.
Can a Power Outlet Be Installed Behind a Dishwasher?
Sometimes. Older code editions allowed it, but newer editions point toward the cabinet space beside the dishwasher. Your local adopted code and inspector decide.
Here is the history in short.
Older NEC editions let the receptacle sit in the space the appliance occupies or in the space next to it. That put the outlet right behind the unit. Many homes have one there.
Later editions tightened this. The 2017 NEC and later point to the adjacent space for built-in dishwashers and trash compactors. The aim was easier access and a better cord path.
Oregon adopts the NEC through the Oregon Electrical Specialty Code, with its own amendments. The Oregon Building Codes Division publishes it. Your local jurisdiction applies it. So check which edition and which amendments apply to your permit.
What Does the NEC Say About Dishwasher Outlets?
The NEC covers dishwasher outlets mainly in Article 422 for appliances and Article 210 for branch circuits. The rules deal with cords, access, GFCI and circuit rating.
No single rule says "behind the dishwasher." Several rules work together.
NEC 422.16: Flexible Cords
Section 422.16 allows built-in dishwashers and trash compactors to connect with a cord and plug. The cord must be identified as suitable for the use. Cord length is limited. Recent editions set a minimum and a maximum length, and they place the receptacle in the adjacent space. Exact numbers have changed between editions, so read the edition your jurisdiction uses.
The cord also has to be protected from damage. It cannot be pinched or stretched.
NEC 210.8: GFCI Protection
Dishwashers in dwelling units need ground-fault circuit-interrupter protection. This covers the outlet for a plug-in unit. Newer editions also cover hardwired units. We cover this in detail below.
NEC 210.12: AFCI Protection
Kitchen branch circuits in dwellings generally need arc-fault protection in recent editions. A dual function breaker can give both AFCI and GFCI protection in one device.
NEC 210.52: Countertop and Small Appliance Rules
Section 210.52 sets where countertop and wall receptacles go. A receptacle behind a dishwasher does not count toward these. It serves only the dishwasher.
NEC 422.31 and 422.34: Disconnecting Means
An appliance needs a way to be shut off for service. For a plug-in unit, the plug itself can serve if it is accessible. For a hardwired unit, a switch or breaker within sight often serves.
| NEC section | What it covers for dishwashers |
|---|---|
| 422.16 | Cord-and-plug connection, cord length, receptacle location |
| 210.8 | GFCI protection in dwelling units |
| 210.12 | AFCI protection on kitchen circuits |
| 210.52 | Countertop and small appliance receptacle layout |
| 422.10 and 422.11 | Circuit rating and overcurrent protection |
| 422.30 to 422.34 | Disconnecting means for appliances |
| 314.29 | Boxes must remain accessible |
Does the Outlet Have to Be Accessible?
Yes. The receptacle for a plug-in dishwasher must be accessible. That means you can reach and unplug it without destroying the cabinet.
Accessible has a meaning in the NEC. It means you can reach it without removing a permanent barrier. That is different from readily accessible, which means you can reach it quickly with no tools or ladders.
Behind a dishwasher is a gray area. Can you pull the unit out and reach the plug? Many dishwashers slide out on their feet. Many do not, because water and drain lines hold them.
Inspectors disagree. Some accept an outlet you can reach by sliding the unit out. Others reject it. They want the outlet in the cabinet beside the dishwasher where you open a door and reach in.
Also remember boxes. NEC 314.29 says boxes and conduit bodies must be accessible after installation. A box buried behind a fixed unit fails that test.
Why Access Matters
- You can shut off power fast if the unit leaks.
- A service tech can unplug it safely.
- A cord that wears can be replaced without tearing out a cabinet.
- You can test the GFCI without moving the dishwasher.
Does a Dishwasher Outlet Need GFCI Protection?
Yes. NEC 210.8 requires GFCI protection for dishwasher outlets in dwelling units. Newer editions also cover hardwired dishwashers.
Kitchens mix water and electricity. A dishwasher is one of the wettest appliances in the house. A leak can reach live parts.
A GFCI senses current leaking to ground. When about 5 milliamps goes missing, it shuts the circuit off in a fraction of a second. That is fast enough to prevent a lethal shock.
The NEC added dishwasher GFCI protection in the 2014 edition. Later editions widened it. In recent editions, kitchen receptacles in dwellings need GFCI, and dishwasher outlets are named in the rule too.
Where the GFCI Can Go
You have a few options.
- GFCI breaker. Protects the whole circuit from the panel. It keeps the outlet clean and gives protection without a visible device.
- GFCI receptacle. A device at the outlet. If it sits behind the dishwasher, you cannot reach the Test button easily. That is a strong reason to avoid a GFCI receptacle behind the unit.
- Upstream GFCI. A GFCI receptacle earlier on the circuit can protect the dishwasher outlet, if it is wired through its load terminals.
Most electricians prefer a breaker for dishwashers. It avoids the access problem.
| GFCI method | Main tradeoff |
|---|---|
| GFCI breaker | Costs more, but test button is in the panel |
| GFCI receptacle at the outlet | Cheap, but hard to test behind the unit |
| GFCI receptacle upstream | Works if wired right, but protects other outlets too |
Should a Dishwasher Be Plug-In or Hardwired?
Both are allowed. Plug-in is easier to service. Hardwired removes the outlet question completely. The manufacturer instructions often say which is expected.
Many new dishwashers ship with no cord. The instructions describe hardwiring. Others ship with a cord. Some allow either. Read the manual before roughing in the wiring.
Hardwired Dishwasher
A hardwired unit connects to the circuit through a cable and a junction box, often built into the dishwasher's own wiring compartment. There is no plug.
- No outlet to hide or reach.
- Clean look with no cord loop.
- Fewer connection points to loosen.
- Needs a disconnecting means. A breaker in sight or a lockable breaker can serve.
Plug-In Dishwasher
- Easy to unplug for service.
- Works with a cord set sold for the model.
- Needs an accessible receptacle.
- Needs a cord of allowed length.
Does an Outlet Behind a Dishwasher Count as a Countertop Receptacle?
No. An outlet behind a dishwasher serves only the dishwasher. It does not count toward the countertop receptacles that 210.52(C) requires.
Countertop rules aim to put outlets where you actually use small appliances. A receptacle hidden behind a built-in unit fails that goal.
For counters, 210.52(C) requires receptacles so that no point along the wall line is more than 24 inches from one. A wall counter space 12 inches or wider needs coverage. Receptacles must be on or above the counter and no more than 20 inches above it.
Kitchens also need at least two 20 amp small appliance branch circuits. Those circuits feed countertop receptacles. A dishwasher is generally on its own circuit, as the manufacturer states, not on those.
The two circuits do not mix.
What Circuit Does a Dishwasher Need?
Most dishwashers use a dedicated 15 or 20 amp, 120 volt circuit. The nameplate and manual give the exact rating.
A dishwasher has a heater, a pump motor and a control board. It can draw around 10 to 12 amps while heating. Check the nameplate on your model.
NEC 422.10 sizes the branch circuit by the appliance rating. If the nameplate says a 15 amp circuit, use at least that. Many electricians run a 20 amp circuit with 12 gauge copper for room to spare.
Wire size must match breaker size. A 20 amp breaker needs 12 gauge copper. A 15 amp breaker can use 14 gauge.
Some kitchens share a circuit between the dishwasher and the garbage disposal. The NEC permits this in some setups. Manufacturer instructions and local rules may say otherwise. Many electricians give the dishwasher its own circuit anyway.
Where Is the Best Spot for a Dishwasher Outlet?
The best spot is usually the sink base cabinet next to the dishwasher, mounted on the side wall. You reach it by opening a cabinet door.
This spot has a long list of benefits.
- Easy access without moving the dishwasher.
- A short, tidy cord path.
- Fits recent NEC language on the adjacent space.
- Keeps the Test button reachable if you use a GFCI receptacle.
- Stays away from the supply line and drain fittings.
Placement Tips for the Cabinet Outlet
- Mount it high enough in the cabinet to stay out of splashes from the sink drain below.
- Keep it clear of the garbage disposal and its cord.
- Leave room to push the plug in fully.
- Drill a clean hole between the cabinet and the dishwasher slot for the cord.
- Use a grommet or bushing so the cord does not rub.
- Follow the cord length limits.
Other Places That May Work
The cabinet on the other side of the dishwasher can work too. So can a spot on the wall just above the dishwasher slot, but only if the code and inspector accept it.
Avoid spots beneath the sink where water could drip on the receptacle.
How Do You Install a Dishwasher Outlet Safely?
Turn off the breaker, run the circuit, mount an accessible receptacle with GFCI protection, then connect the dishwasher and have it inspected.
Where permits apply, a licensed electrician should do or supervise this work. Oregon requires permits and inspection for new circuits.
Plan
Read the manual. Confirm the code edition. Choose the outlet spot.
Power Off
Switch off the breaker. Test the wires with a meter to confirm they are dead.
Run the Cable
Pull the right gauge cable from the panel. Secure it and protect it where it passes through framing.
Mount the Box
Set a listed box in the cabinet. Keep it accessible.
Wire and Protect
Wire the receptacle. Add GFCI by breaker or device.
Then slide in the dishwasher. Check the cord is not pinched. Restore power. Test the GFCI. Run a cycle and watch for leaks.
Last, call for inspection. Do not close up walls before it passes.
How Much Room Does a Dishwasher Need Around the Cord?
Leave enough slack for the cord to bend without stress and keep it clear of water lines. The manual shows the cord zone for each model.
Dishwashers sit in a snug slot. Most are about 24 inches wide. The space behind them is tight.
A cord pinched against the wall can crack. A cord that touches the hot supply line can soften. A cord that rubs a sharp cabinet edge can cut through.
Many manuals mark a cord zone on the template. Follow it. Drill the access hole where the template says.
Dress the cord in a gentle loop. Do not tie it tight. Do not staple through it.
What Mistakes Should You Avoid With Dishwasher Outlets?
Avoid hidden boxes, extension cords, missing GFCI, undersized wire and skipping the permit.
- Burying the box behind the unit so it cannot be reached.
- Using an extension cord or power strip.
- Skipping GFCI protection.
- Using 14 gauge wire on a 20 amp breaker.
- Letting the cord touch the hot water line or drain.
- Putting the outlet under the sink drip zone.
- Sharing the circuit with countertop small appliance outlets.
- Skipping the permit.
Myth: An outlet behind the dishwasher is always illegal.
Older code allowed it, and some local rules still do. Newer editions favor the adjacent space.
Myth: A dishwasher can use the same circuit as the microwave.
Manufacturer instructions and code usually call for a separate circuit.
Myth: GFCI is only for bathrooms.
Kitchens, garages, outdoors and basements all need it. Dishwashers are named.
What If Your Home Already Has an Outlet Behind the Dishwasher?
An existing outlet is often grandfathered. But if you remodel or replace the circuit, current code can apply.
Codes mostly apply to new work. A house built under an older edition is not forced to change overnight.
Trouble starts when you do new work. Rewiring the kitchen, adding a circuit or replacing the unit may trigger updates. Your inspector will tell you.
Even if grandfathered, safety checks still help. Look at the cord. Check for heat or rust. Test any GFCI protection. If the outlet is nearly impossible to reach, consider moving it.
Frequently Asked Questions
Can you put an outlet behind a dishwasher?
Older code allowed it, but newer NEC editions favor the adjacent cabinet space. It must stay accessible. Your local code and inspector decide.
Does a dishwasher need a GFCI outlet?
Yes in dwelling units under NEC 210.8. A GFCI breaker is the easiest way to protect it without a hard-to-reach Test button.
Can a dishwasher be hardwired?
Yes. Many models are designed for it. A junction box connects the cable, and a disconnecting means is still needed.
What size circuit does a dishwasher need?
Usually 15 or 20 amps at 120 volts. Check the nameplate. Match wire size to breaker size.
Can a dishwasher share a circuit with the disposal?
The NEC can allow it in some setups, but the manufacturer instructions and local rules may not. Many electricians use a dedicated circuit.
How long can a dishwasher cord be?
NEC 422.16 sets cord length limits for built-in units, and the numbers changed between editions. Check the edition your jurisdiction uses.
Can I use an extension cord for a dishwasher?
No. Extension cords are not meant for permanent appliances and can overheat. Use the listed cord or hardwire.
Do I need a permit to add a dishwasher outlet in Oregon?
Yes, new circuits and outlets generally need an electrical permit and inspection. Check with your local building department.
The Bottom Line
Can a power outlet be installed behind a dishwasher? In some places, yes. In newer codes, the better answer is no. Put it in the cabinet next to the dishwasher.
Keep it accessible. Protect it with GFCI. Size the circuit from the nameplate.
Or hardwire the unit and skip the outlet.
Either way, read the manual, ask your inspector and pull the permit.
How this guide was written: Written by Michael Wallace, licensed electrician in Portland, Oregon. Code references come from the National Electrical Code, including Articles 210, 314, 422 and 406. Edition differences were checked against trade and inspector resources. Oregon adopts the NEC through the Oregon Electrical Specialty Code published by the Oregon Building Codes Division. Manufacturer installation instructions govern each unit. Local code and your inspector decide the final answer.