Skip to content

Home Repair

How to Install a Dishwasher

Install a built-in dishwasher step by step: power (plug-in or hardwired), the water line and elbow, a proper drain loop or air gap, leveling, anchoring and the leak test.

A built-in dishwasher has only three connections: power, a water supply and a drain. Installing one is mostly careful routing — getting those lines through the cabinet, into the right places, and out of the way so nothing kinks when you slide the machine into its opening.

If you're replacing an old dishwasher, most of the hookups already exist and the job usually takes a couple of hours. A first-time installation that needs a new circuit, a new valve or a cabinet cut is a bigger project.

Power: plug-in or hardwired

Check how the old dishwasher was powered and what your new one's installation guide allows.

What you findWhat it meansWhat to do
A cord from the dishwasher plugged into an outlet in the sink cabinetPlug-in setupInstall a power cord kit on the new unit (many don't include one)
A cable running into the dishwasher's junction boxHardwired setupTurn off the breaker and connect black, white and ground in the new junction box
No outlet, no cable, or a shared circuitNew circuit neededHire a licensed electrician to add a dedicated circuit to code

Water supply and the elbow

The dishwasher connects to the hot water line under the sink. If your sink only has one hot shutoff for the faucet, replace it with a dual-outlet valve so the dishwasher has its own connection and you can shut it off independently.

Most dishwashers take a 90-degree elbow screwed into the inlet valve. On most models the valve side uses pipe thread, sealed with tape or pipe dope, and the other side takes the braided supply line's 3/4-inch hose-thread connector, sealed by its rubber washer. Some dishwashers include their own fitting, so check your manual before buying parts.

The drain: high loop or air gap

The drain hose must not simply drop to the drain. If it does, water from a clogged sink or disposal can siphon back into the dishwasher. Codes handle this two ways:

  • High loop: the hose rises and is fastened as high as possible under the countertop, then runs down to the disposal or tailpiece.
  • Air gap: a small fitting on the sink deck or countertop that physically breaks the connection. Some localities require one.

Follow your local plumbing code. Either way, the hose connects to the disposal's dishwasher inlet (after knocking out its plug) or to a sink tailpiece with a dishwasher branch. If you're also replacing the disposal, see our guide to replacing a garbage disposal.

First-run checks

Watch the first cycle closely. A drip at the elbow usually means it needs another quarter turn or fresh tape on the pipe threads. Water on the floor at the front can mean the unit isn't level and the door seal isn't meeting evenly. Standing water in the tub after a cycle almost always points to a disposal knockout that wasn't removed or a kinked drain hose. Once everything's dry, our guide to cleaning a dishwasher covers keeping it running well.

Step by step

  1. 1

    Check the opening, power and plumbing

    Measure the cabinet opening's width, height and depth and compare them with the new dishwasher's installation guide. Confirm there's a hot water shutoff, a drain connection point and power the manufacturer's requirements allow — most call for a dedicated 120-volt circuit.

  2. 2

    Shut off power and water

    Turn off the dishwasher's breaker and verify the wires or outlet are dead with a voltage tester. Close the hot water shutoff under the sink. If you're removing an old dishwasher, put a towel under it — there's always water in the lines.

  3. 3

    Remove the old dishwasher (if replacing)

    Take off the lower kick panel, disconnect the wiring at the junction box, unscrew the water line from the inlet valve and remove the drain hose from the disposal or tailpiece. Unscrew the brackets from the countertop or cabinet sides and slide the unit out on cardboard to protect the floor.

  4. 4

    Prepare the power connection

    For a plug-in setup, attach a power cord kit to the dishwasher's junction box following the manufacturer's diagram, and make sure there's an outlet in the sink cabinet the cord can reach. For a hardwired setup, leave the house cable ready to feed through a cable clamp into the junction box.

  5. 5

    Install the elbow on the inlet valve

    Wrap thread seal tape or apply pipe sealant to the elbow's tapered pipe threads only and screw it into the dishwasher's water inlet valve, pointing toward the supply line route. Don't put tape on the hose-thread end — that side seals with the rubber washer inside the supply line.

  6. 6

    Attach the supply line and drain hose to the shutoff and sink

    Feed the braided supply line and the dishwasher's drain hose (and the power cord, if used) through the hole in the cabinet side so they won't be pinched. Connect the supply line to the hot water shutoff. Run the drain hose to the disposal inlet or dishwasher tailpiece, forming a high loop or routing it through an air gap.

  7. 7

    Knock out the disposal plug (if connecting to a disposal)

    If the drain goes to a garbage disposal for the first time, the disposal's dishwasher inlet is sealed with a plug. With the disposal's power off, tap it out with a screwdriver and hammer, then fish the loose plug out of the grinding chamber. Push the drain hose on and tighten the clamp.

  8. 8

    Slide the dishwasher in

    Push the dishwasher into the opening slowly, pulling the slack lines through from the sink side as you go so nothing kinks or gets crushed under the unit. Stop when the front lines up with the cabinet faces.

  9. 9

    Level the dishwasher

    Adjust the leveling legs until the unit is level side to side and front to back, and the top sits just under the countertop. Open and close the door: it should swing smoothly without hitting the cabinets or counter.

  10. 10

    Anchor it to the countertop or cabinets

    Screw the mounting brackets to the underside of a wood or laminate countertop with short screws that won't poke through. For stone countertops, use the side-mount brackets into the cabinet sides instead. An unanchored dishwasher tips forward when the loaded rack is pulled out.

  11. 11

    Connect the water and power at the unit

    Thread the supply line onto the elbow and snug it with a wrench. Connect the wiring in the junction box — black to black, white to white, ground to the green screw — and close the cover. For a plug-in setup, plug the cord into the outlet.

  12. 12

    Restore power and water and test for leaks

    Open the water valve slowly and check the connections. Turn the breaker on, run a short cycle and watch under the unit and the sink with a flashlight. Check again after a full cycle, then reinstall the kick panel.

Common mistakes

  • Wrapping thread tape on the hose-thread side of the elbow, which can stop the rubber washer from sealing.
  • Running the drain hose straight down to the drain with no high loop or air gap, which lets dirty sink water siphon back into the dishwasher.
  • Forgetting to knock out the disposal's dishwasher plug — the dishwasher won't drain.
  • Pushing the unit in and kinking or crushing the water line or drain hose underneath.
  • Skipping the anchor brackets, so the dishwasher tips forward when the door and racks are open.
  • Connecting to a circuit already loaded by other appliances, causing nuisance breaker trips.

Frequently asked questions

Does a dishwasher need its own circuit?

Most manufacturers specify a dedicated 120-volt circuit, typically 15 or 20 amps; check your model's installation guide. Many areas also now require GFCI protection for dishwasher circuits, so check local code. If there's no suitable circuit, have an electrician add one.

Should I hardwire or plug in my dishwasher?

Either is fine if your model and local code allow it. A plug-in setup with a power cord kit and an outlet in the sink cabinet makes future service easier, because you can unplug it. Hardwiring connects the house cable directly to the dishwasher's junction box. Match whatever your kitchen is set up for.

Do I need an air gap or just a high loop?

It depends on local plumbing code. Many areas accept a high loop, where the drain hose is fastened as high as possible under the countertop before dropping to the drain. Some jurisdictions require an air gap fitting mounted on the sink or counter. Check with your local building department if you're unsure.

Can the dishwasher drain into the garbage disposal?

Yes, that's the most common setup. Connect the drain hose to the disposal's dishwasher inlet and knock out the factory plug first. Without a disposal, connect to a dishwasher tailpiece (a sink drain piece with a side inlet) above the P-trap.

Hot or cold water for a dishwasher?

Connect it to the hot water supply unless the manufacturer says otherwise. Running the kitchen faucet until it's hot before starting a cycle helps the first fill start warm.