Garden & Home Reviews is reader-supported. We earn affiliate commissions from qualifying purchases — how this works.

How to Install a Dishwasher

Home/Resources/DIY Plumbing/Install a Dishwasher
Wide view of a person's hands tightening a fitting under a kitchen sink with a wrench, in warm evening lamplight

Affiliate Disclosure

Some links on this page are affiliate links. As an Amazon Associate, we earn from qualifying purchases — at no extra cost to you. We do not buy, test, or physically handle the products we cover; our rankings come from aggregated owner reviews, ratings and expert consensus. Commissions never change our verdicts. How we rank · full disclosure.

Installing a dishwasher is a solid DIY job with three connections — 2 to 3 hours, no permit for a straight replacement into an existing setup. You hook up the water supply, the drain (with a high loop or air gap), and the power, then level the unit and slide it in. Replacing an old dishwasher is fully DIY. A brand-new location with no water line, drain tie-in, or circuit brings in plumbing and electrical work that is often permitted — and the new wiring is an electrician's job.

We never buy, test or physically handle the products we rank; recommendations come from aggregated owner reviews and expert consensus, described in how we rank. More at the DIY plumbing hub.

How to Add a New Dishwasher to a Kitchen — This Old House

Tools and materials

Wide view of a person's hands tightening a fitting under a kitchen sink with a wrench, in warm late-afternoon light

Step 1: Cut the power and shut off the water

Switch off the breaker for the dishwasher circuit and verify with a tester. Close the hot-water shut-off that feeds the dishwasher (dishwashers use hot water). If replacing an old unit, disconnect its water, drain and wiring, and slide it out. Fit the 90-degree brass elbow onto the new dishwasher's inlet valve with PTFE tape before you slide it in — it is far easier to reach now than under the installed machine.

Step 2: Route the drain hose

Feed the drain hose from the back of the dishwasher through to the sink cabinet. Plan a high drain loop: secure the hose up under the countertop as high as it will go before it drops to the connection, or run it to an air gap on the counter if code requires. This prevents sink water siphoning back into the dishwasher. If draining into a disposal, confirm the disposal's knockout plug is punched out and the loose disc removed.

Over-the-shoulder view of a person's hands tightening a fitting under a kitchen sink with a wrench, in soft early-morning light

Step 3: Slide in and level the dishwasher

Slide the dishwasher into the opening, feeding the hoses and wiring ahead of it so nothing kinks or pinches. Set a level on the door frame and adjust the leveling feet until it is level side to side and front to back — a unit that is not level will not seal at the door gasket and will not drain fully. Secure the mounting brackets to the underside of the countertop (or the cabinet sides on some models).

Step 4: Connect water, drain, and power

Connect the water supply line to the brass elbow on the inlet valve, hand-tight plus a wrench nudge. Clamp the drain hose to the disposal inlet or the drain tee. For power, either plug the cord into the under-sink outlet or, for a hardwired unit, connect black to black, white to white, and ground to the green screw in the junction box, then close the box. Every connection uses a washer or a clamp — confirm each is present.

Close-up detail of the material being worked in a diy plumbing project, in warm late-afternoon light

Step 5: Restore power and run a test cycle

Turn the water and breaker back on. Run a short cycle and watch: check the water inlet and drain connections for leaks, confirm the dishwasher fills, drains, and does not leak at the door. Look underneath with a flashlight during fill and drain. Tighten any weeping connection and re-level if the door does not seal.

Common mistakes

When to call a pro

Call a licensed electrician if there is no existing dedicated, GFCI-protected circuit and you need one run — that is permitted work in most places. Call a plumber if a brand-new location needs a hot-water line teed in and a drain connection added, or if your local code requires a permit and inspection for a new appliance rough-in. A straight replacement onto existing water, drain and power connections needs no permit.

Related: how to install a garbage disposal, how to replace a water shut-off valve, and how to clear a clogged kitchen sink.

Straight Answers

Frequently Asked

Can I install a dishwasher myself?

Yes, if you are replacing an existing dishwasher or installing into a spot already set up with a water line, a drain connection and power — that is a 2 to 3 hour DIY job with three connections to make. The wiring is a simple like-for-like connection when a dishwasher circuit already exists. Where it stops being fully DIY is a brand-new location with no water line, no drain tie-in, and no electrical supply, because running those is plumbing and electrical work that is often permitted and, for the wiring, best left to a licensed electrician.

Do you need an electrician to install a dishwasher?

Only if a suitable circuit is not already in place. A dishwasher needs a dedicated circuit, and in most jurisdictions bathroom and kitchen appliance circuits must be GFCI-protected. If you are replacing a dishwasher, the circuit and connection already exist and you reconnect the same way. Some dishwashers plug into an outlet under the sink; others are hardwired. If you must add a new dedicated circuit, that is licensed electrical work that may need a permit — the plumbing connections remain DIY.

What is the high drain loop and why does it matter?

The high drain loop is a rise in the dishwasher drain hose, secured up under the countertop as high as it will go before the hose drops down to the disposal or drain connection. It prevents dirty sink water from siphoning back into the clean dishwasher. Most codes require either this high loop or an air gap fitting on the countertop. Skipping it is a top cause of a dishwasher that smells, leaves standing water, or backs up — always secure the drain hose in a high loop, and add an air gap if your code requires one.

Why is my new dishwasher leaking?

Trace it to the three connections. A leak at the water supply means the fitting under the sink or at the dishwasher's inlet valve is loose or missing a washer — tighten and confirm the washer or use thread tape. A leak at the drain hose means a loose clamp at the disposal or drain tee, or a forgotten knockout plug in the disposal inlet. And a leak from the base of the door usually means the unit is not level, so the door gasket does not seal — level the dishwasher with its adjustable feet before blaming the door.

Do I need to remove the disposal knockout plug for a dishwasher?

Yes, if the dishwasher drains into a garbage disposal. New disposals ship with a solid knockout plug in the dishwasher inlet; you must punch it out with a screwdriver and hammer and remove the loose disc before connecting the dishwasher drain hose, or the dishwasher cannot drain and will back up. This is the single most commonly forgotten step when a dishwasher and disposal are installed together — if a new dishwasher will not drain, the un-punched knockout plug is the first thing to check.