How to Wire a Disposal and Dishwasher Under the Sink

Why this matters

The sink base is the wettest box in the house and it is wired by three trades who each assume another one finished the job. The callbacks are predictable: a dishwasher on the switched half of the receptacle that stops mid-cycle when someone flips the disposal switch off, a breaker that trips when the disposal starts while the dishwasher heater is on, a GFCI receptacle hidden behind cleaning supplies that nobody can find to reset, and a hardwired dishwasher whose only disconnect is a breaker that cannot be locked. Every one of those is decided before the first cable is pulled.

Safety first: water and power in one cabinet

De-energize every circuit that enters the sink base, not only the one you are adding. Lock and tag each breaker per 29 CFR 1910.333(b)(2), and prove each conductor dead with a CAT III or better meter tested on a known live source before and after, per NFPA 70E Article 120 (120.5 in the 2021 edition, renumbered in 2024). Kitchens are where old shared-neutral circuits live, and a neutral you open can be carrying current from the other leg.

Do not energize into a wet cabinet. If the cabinet floor is damp, the trap is dripping, or the plumber has not finished the supply and drain, stop and leave the breakers off and tagged. Water on the cabinet floor plus a cord lying in it is the exact condition GFCI protection exists for, and you do not test it with your hand.

Plumbing stays with the plumber. The supply line to the dishwasher, the drain connection to the disposal, the high loop or air gap, and the disposal's mounting to the sink flange are the plumber's work. Your work ends at the receptacle, the cord, and the junction box on the appliance.

Decision 1: cord-and-plug or hardwired

Read each appliance's installation instructions first; NEC 110.3(B) makes them part of the installation. Most disposals and many dishwashers allow either method.

Cord-and-plug is the shop default here, because the plug becomes the disconnecting means at the appliance (NEC 422.33) and the next tech can unplug a dishwasher without a trip to the panel. NEC 422.16(B) sets the conditions, in substance (check the current edition):

  • Disposal: a grounding-type cord, 18 in to 36 in long measured from the face of the plug to the plane of the rear of the disposal, the receptacle accessible and placed so the cord is not damaged.
  • Dishwasher: a grounding-type cord at least 3 ft long, measured from the face of the plug to the plane of the rear of the dishwasher. The maximum was 4 ft in older editions and was raised in recent ones to reach a receptacle in the sink base, so read the maximum from the edition your AHJ adopted. The receptacle sits in the dishwasher's space or the space adjacent to it, which in practice is the sink base.

Use the cord kit the dishwasher maker lists, with the strain relief it specifies.

Hardwired means NM cable into the appliance's junction box with a listed connector. Then the disconnecting means is the breaker, and for an appliance over 300 VA or 1/8 hp that breaker has to be within sight or capable of being locked open (NEC 422.31(B), with the lock provision in 110.25). A breaker with no lock-off accessory fails that, and so does a kitchen panel 30 ft and two walls away.

Decision 2: one split circuit or two circuits

One 20 A circuit, split by the switch. One hot feeds the dishwasher half directly and the disposal half through the wall switch, with the brass-side tab broken. It works only when the dishwasher's instructions do not demand an individual circuit and when the two loads cannot overload it together. They can: a dishwasher heating its final rinse while someone runs the disposal is a normal kitchen moment.

Two circuits. Each appliance gets its own. You can run two 12/2 cables to two receptacles, or one 12/3 multiwire branch circuit to one duplex receptacle split between its legs, which fits a crowded sink base better. The MWBC's handle-tie, neutral and protection rules belong to its own card; see related: How to Wire a Multiwire Branch Circuit to Split Receptacles.

Protection, either way. The outlet supplying a dwelling dishwasher needs GFCI protection (NEC 422.5(A), which 210.8(D) points to in the 2020 and 2023 editions; check the edition adopted), a receptacle inside the sink base is within 6 ft of the sink and needs GFCI under 210.8(A), and kitchen outlets need AFCI under 210.12(A). NEC 210.8 also requires the GFCI device to be readily accessible, and a receptacle behind a wastebasket in a sink base is one many inspectors will not accept as that. So the protection goes in the panel. See related: AFCI and GFCI by Location in a Dwelling.

 PANEL: 20A 2P breaker, AFCI + GFCI (dual function)
   |  12/3 NM: black, red, white, bare
   v
 BACKSPLASH [SWITCH BOX]  black in -> switch -> black out
   |  red and white pass through unspliced
   |  12/3 down to the sink base
 ----------------- countertop ------------------
 | SINK BASE                        | DW SPACE |
 |   +--------------------------+   |          |
 |   | top half: DISPOSAL       |<- switched black
 |   | bottom half: DISHWASHER  |<- red, always on
 |   | brass tab BROKEN         |   |          |
 |   | silver tab KEPT, white   |   |          |
 |   | pigtail to one screw     |   |          |
 |   +--------------------------+   |          |
 |   disposal cord 18 to 36 in      |          |
 |   DW cord through a side hole ------------> |

The worked job, step by step

A kitchen remodel, cabinets set, countertop in, plumber finished. The dishwasher's installation guide calls for an individual 120 V, 15 or 20 A circuit and lists a cord kit. The disposal plate reads 120 V, 8.0 A, and it shipped with no cord. The sink base is 36 in wide with the dishwasher space to its right.

1. Run one 12/3 from a two-pole 20 A dual-function breaker to a switch box in the backsplash, then on to a receptacle box in the sink base. Two circuits are required here because the dishwasher guide says individual circuit; one cable carries both. Most AHJs accept each leg of an MWBC as the dishwasher's own circuit, but the NEC defines an MWBC as one branch circuit and some inspectors read "individual" strictly against that, so ask before rough-in; the fallback is in "What would change the answer". Mount the receptacle box on the back wall of the sink base, high and toward the dishwasher side, clear of the trap and the disposal body. A box low on the back wall is where a dripping trap lands.

2. Make up the switch box. Black lands on the switch and leaves as the switched leg. Red and white pass through unspliced. If the white has to be spliced here (a switch that needs a neutral, say), splice it with a pigtail so removing the device never opens it (NEC 300.13(B) for an MWBC neutral). Place the switch on the backsplash beside the sink, never inside the sink base, where it could be reached with a hand still near the disposal opening.

3. Make up the receptacle. Break only the brass-side tab. Switched black to the top brass screw (disposal), red to the bottom brass screw (dishwasher), the white pigtail to one silver screw with the silver tab left intact so both halves share it, the bare pigtail to the green screw. Torque each screw to the value marked on the device; see related: How to Make Device Terminations That Last.

4. Cord the disposal. Fit a grounding-type cord with a listed connector at the disposal's electrical plate. Measured from the plug face to the plane of the rear of the disposal it comes to 30 in. 30 in is between 18 in and 36 in, pass. Bond the green conductor to the disposal's ground screw.

5. Cord the dishwasher. Install the maker's cord kit at the dishwasher's junction box, pass the cord through a smooth hole in the sink base side panel (bushed or sanded, at least the plug's width), and plug it into the bottom half. Measured from plug face to the plane of the dishwasher's rear the cord needs 44 in, which is more than the 3 ft minimum; on a 4 ft kit that is inside the older maximum too, so it passes under either reading. Keep the cord off the hot-water supply and out of the dishwasher's drain-hose loop.

6. Before energizing, confirm the cabinet floor is dry, the plumber's connections show no drip, and neither cord touches the trap. Then land the breaker with the panel dead, torqued to the value printed on it.

What would change the answer. If the panel line has no two-pole dual-function breaker, run two 12/2 cables on two single-pole dual-function breakers to two single receptacles; two single-pole AFCI or GFCI breakers cannot share a neutral, and an MWBC requires simultaneous disconnect anyway. If the dishwasher guide permits sharing a circuit and the combined plate currents plus a margin fit 20 A, one 12/2 split by the switch is legal, but you have built in the trip described above. If the customer wants the dishwasher hardwired, it gets a lockable breaker or a disconnect within sight, and the receptacle half it no longer uses comes out of the plan.

Finish test: the disposal obeys its switch, the dishwasher fills

  1. Remove your locks and tags, stand clear of the panel face and close the breaker. Press the breaker's test button and confirm it trips and resets.
  2. Switch off: the disposal must not run. Switch on: it starts. A disposal that runs with the switch off, or a dishwasher that dies when the switch goes off, means the halves are swapped or the tab is intact.
  3. Meter both halves of the receptacle at its face, probes in the slots, not on exposed terminals: hot to neutral about 120 V, hot to ground about 120 V, neutral to ground near zero. Red to switched black, with the switch on, should read about 240 V; a reading near zero means both legs are on one bus phase and the shared neutral is carrying the sum of both loads.
  4. Run the dishwasher into its fill, with the plumber's supply valve open. It should fill, heat and drain. Watch the supply and drain connections during the fill and look at the cabinet floor before you close the dishwasher's toe kick.
  5. Record breaker size and type, cable, cord lengths, and the readings on the ticket.

References

  • NFPA 70, National Electrical Code, 2023 edition (2020 where the section moved), as adopted by your jurisdiction: 110.3(B), 110.25, 210.8, 210.12, 300.13(B), 422.5, 422.16(B), 422.31, 422.33
  • NFPA 70E, Standard for Electrical Safety in the Workplace, current edition, Article 120; 29 CFR 1910.333
  • Dishwasher and disposal manufacturers' installation instructions
  • See related: How to Wire a Multiwire Branch Circuit to Split Receptacles; AFCI and GFCI by Location in a Dwelling; How to Make Device Terminations That Last