How to Install a Dishwasher

Once the cabinet opening already has water, drain, and power, installing a dishwasher yourself is a roughly two-hour job that comes down to three connections. The catch is the small details that cause callbacks — forgetting the disposal knockout plug, skipping the drain-hose high loop, and overtightening the fittings. This guide walks the full replacement: pull the old unit, prep the new one, make the three connections, level it, secure it, and leak-test so it runs dry and quiet the first time.
What You'll Need
🛠 Tools
📦 Materials
Safety First
- •Kill the power at the breaker before you touch any wiring, and confirm it's dead with a non-contact voltage tester. A built-in dishwasher is usually on its own circuit, and the wiring connects under the unit where you can't see it.
- •Shut the hot-water stop valve under the sink and keep a bucket and towels ready — the supply line and the dishwasher's inlet hold water that runs out when you disconnect them.
- •A dishwasher is heavy and its sharp steel base will gouge a vinyl or tile floor — slide it on a piece of cardboard rather than dragging it bare.
Step-by-Step Instructions
Cut the Power and Water, Then Remove the Old Dishwasher
Switch off the dishwasher's circuit at the breaker and close the hot-water stop valve under the sink, then pull the lower kick plate and confirm the power is dead with a voltage tester. Disconnect the water supply line and the drain hose (keep a towel ready — both hold water) and disconnect the wiring or unplug the cord. Back out the two screws holding the unit's brackets to the underside of the countertop, turn the front leveling feet down to drop it slightly, and ease the old dishwasher out onto a sheet of cardboard.

Confirm the breaker is off with a tester before opening the wire connections — don't trust a wall switch. The supply and drain lines will dribble, so keep the water off and towels under the connections.
Prep the New Dishwasher
Tip the new dishwasher onto its back on the cardboard so you can reach the bottom — these connections are nearly impossible once it's in the cabinet. Wrap the threads of the water inlet valve with thread tape and screw on the 90-degree brass elbow from the install kit, then clamp the ribbed drain hose onto the pump outlet. Open the lower access/junction-box cover so the wiring is ready, and confirm whether your model needs a separate power cord — many don't include one.

Hand-snug the brass elbow, then give it one wrench-turn past hand-tight — over-torquing cracks the plastic inlet valve, a leak you won't discover until the unit is buried in the cabinet.
Route the Lines and Slide It Into the Opening
Most sink base cabinets already have a hole on the dishwasher side for the lines. Feed the braided water supply line, the drain hose, and the power cable through that hole into the sink cabinet, then slide the dishwasher straight into the opening, keeping the lines moving ahead of it so nothing kinks or gets pinned behind the tub. Stop with the front frame flush to the cabinet faces, and make sure the drain hose isn't crushed against the back wall.

Lay a towel or piece of hardboard on the finished floor in front of the opening and walk the dishwasher in on it. The leveling feet and steel base are exactly what scratch a new floor on the way in.
Level the Dishwasher
A level dishwasher seals at the door, drains fully, and won't rock. With the unit roughly in place, set a level on the top edge of the tub or the door frame and adjust the four feet — up or down with a wrench or screwdriver — until it reads level side to side and front to back, with the top snug under the counter. Open and close the door to check it sits squarely; a tilted machine lets the door drift or leaves a gap that leaks at the gasket.

Level it before you make the final water and drain connections — raising or lowering the feet afterward tugs on the lines and can loosen a fitting you just tightened.
Connect the Water Supply Line
Run the braided stainless steel supply line from the hot-water stop valve to the brass elbow on the dishwasher, with thread tape on the threaded ends, tightening hand-tight plus about a quarter turn with a wrench. Most dishwashers run on hot water (GE Appliances, for example, calls for at least 120 degrees Fahrenheit from the hot line), but check your manual for your model's requirement. If the stop valve is corroded or won't fully close, replace it now (see how to install a shut-off valve).

Don't overtighten the compression and brass fittings — snug plus a quarter turn is plenty. Cranking them distorts the ferrule or cracks the elbow and creates the slow leak you're trying to avoid.
Connect the Drain Hose (High Loop + Knockout Plug)
Route the drain hose up and fasten it to the underside of the countertop in a HIGH LOOP — as high as it will reach — before it drops to the disposal or sink tailpiece; the loop keeps dirty sink water from siphoning back into the dishwasher. If you're draining into a garbage disposal, you must knock out its inlet plug first: tap a flathead screwdriver into the side inlet with a hammer to pop the plug loose, then fish the plug out of the disposal before clamping the hose on. Some codes (UPC areas like California) require a countertop air gap instead of, or in addition to, the high loop. Skipping the knockout plug is a classic reason a newly installed dishwasher won't drain.

Maytag calls a disposal knockout plug left in place a common misdiagnosis for a dishwasher that won't drain — the machine fills, but the water has nowhere to go. If a new install won't drain, knock that plug out first.
Wire the Power (Cord or Hardwire)
With the breaker still off, make the electrical connection at the junction box under the door. For a cord-and-plug setup, join the cord kit's wires (black to black, white to white, green or bare to the ground screw) under a strain-relief clamp, then plug it into the under-sink receptacle. To hardwire, connect the house wires to the dishwasher leads the same way with wire nuts and secure the cable with a strain relief. Tuck the wires back and close the cover.

Use a strain relief (cable clamp) where the cord or cable enters the junction box — an unsecured wire chafes against the metal edge and can short out. The dishwasher belongs on its own under-sink receptacle or hardwired circuit, not a cord run across to a different outlet.
Secure the Dishwasher to the Counter
Once it's level and connected, fasten the unit so it can't tip forward when you pull out a loaded rack. Drive the two mounting-bracket screws up into the underside of the countertop through the tabs at the top of the dishwasher. If you have a stone or quartz countertop you can't screw into, use the side-mount brackets that fasten to the adjacent cabinet sides instead.

If the bracket screws can't reach the counter, the dishwasher isn't raised enough — run the leveling feet up until the top brackets meet the underside of the counter, then re-check that it's still level.
Turn It On and Run a Leak-Test Cycle
Open the hot-water valve and switch the breaker back on. Start a normal cycle and watch the connections through fill and drain — check the supply fitting, the drain-hose clamp, and the floor under the unit for any water, and confirm the dishwasher actually pumps out at the drain. Let it run at least one full fill-and-drain before you trust it, then check again an hour later for a slow weep.

Leave the kick plate off for the first full cycle so you can spot a leak immediately. Once it runs a complete cycle bone-dry, snap the kick plate on and you're finished.
Frequently Asked Questions
Do dishwashers come with a power cord?
+
Often not. Many dishwashers ship without a cord because they can be either hardwired or fitted with a plug, so you buy a manufacturer-approved power cord kit separately or hardwire the unit. Check the box before installation day — discovering there's no cord with the old one already pulled out is a classic mid-project trip to the store.
Do dishwashers use hot or cold water?
+
Most connect to the hot-water supply, which is why the supply line ties into the hot stop valve under the sink. GE Appliances, for example, says the water entering its dishwashers must be at least 120 degrees Fahrenheit and not more than 150, and that the dishwasher must be connected to the hot water line, not the cold. Requirements vary by brand, so always check your model's installation instructions before you plumb it in.
Do I need an air gap, or is a high loop enough?
+
It depends on your local plumbing code. Family Handyman reports that states requiring air gaps generally follow the Uniform Plumbing Code (UPC), including California, Washington, Hawaii, and Minnesota, while International Plumbing Code (IPC) states such as Florida and New York are more likely to permit a high loop fastened up under the counter. Whirlpool says the drain loop should be at least 20 inches from the floor, with an air gap if it is lower. Some local codes require an air gap regardless, so confirm what your inspector wants.
Why won't my newly installed dishwasher drain?
+
Maytag says most post-install drain problems trace back to simple setup details: a kinked or misrouted drain hose, a missing or low drain loop or air gap, or a disposer knockout plug that wasn't removed. Check the plug first — the drain hose connects to a disposal inlet that's still sealed, and Whirlpool notes a retained plug blocks drainage completely. Disconnect the hose, knock out the plug, fish it out of the disposal, and confirm the drain hose loops high before it drops to the disposal.
Can I connect the dishwasher drain to the garbage disposal?
+
Yes — Maytag notes that built-in dishwashers typically drain via the garbage disposal. Knock out the disposal's dishwasher inlet plug with a screwdriver and hammer, fish the loose plug out of the disposal, then clamp the drain hose onto that inlet with a high loop in the line first. If you don't have a disposal, the hose connects to a dishwasher tailpiece (branch tailpiece) on the sink drain instead.
Sources & further reading
- Newly Installed Dishwasher Not Draining — Maytag
- Checking the Drain Loop Height — Whirlpool
- Dishwasher Not Draining — Whirlpool
- Dishwasher - Correct Water Temperature — GE Appliances
- How to Install a Dishwasher: New Water, Drain & Electrical Connections — Family Handyman
- What Is the Thing Next to My Kitchen Faucet? Air Gaps Explained — Family Handyman
- How To Install a New Dishwasher to a Kitchen — This Old House
More Appliance Repair Guides
View all →
Medium3 hrsHow to Install a Bathroom Exhaust Fan
Replacing a loud, underpowered bathroom fan with a quiet, properly sized model costs under $150 in parts and clears the shower moisture that feeds mold on walls and ceilings. This guide walks you through a like-for-like replacement in an afternoon, covering CFM sizing, wiring, and ductwork so you end up with a fan that actually does its job.
Medium45 minHow to Install a GFCI Outlet
A GFCI outlet cuts power in a fraction of a second when it senses electricity leaking to ground — the exact protection code now requires in kitchens, bathrooms, garages, basements, laundry rooms, and anywhere outdoors. Installing one yourself takes about 45 minutes and costs $15-25 in parts. This guide shows you how to wire the LINE and LOAD terminals correctly so the outlet actually works the first time — and how to protect a whole string of downstream outlets from a single device.
Medium1h 30mHow to Install a Motion Sensor Light
A motion-activated floodlight switches on when someone walks into its zone, lights your path when you come home after dark, and typically costs under $40 for the fixture itself. If you're replacing an existing outdoor light, the wiring is already in place and the swap takes about 90 minutes with basic hand tools. This guide covers turning off power safely, removing the old fixture, wiring the new sensor light, mounting it, and dialing in the sensitivity and aim so it covers exactly the zone you want.
You Might Also Like
Easy40 minHow to Fix a Leaky Pipe Joint
A weeping pipe joint under the sink is usually a cheap, do-it-yourself repair. Threaded joints get resealed with Teflon tape or pipe joint compound, compression fittings need a sound ferrule, a straight fit and the right amount of tightening, and slip joints need fresh washers and careful alignment, all with a couple of wrenches.
Medium3 hrsHow to Install Gutter Guards
Cleaning gutters twice a year is the chore gutter guards exist to cut down, and the snap-in screen and micro-mesh panels at any home center install with basic tools for $1-3 per linear foot. The job is genuinely DIY-able on a single-story home: clean the gutters, fit and fasten the panels, and test with a hose. This guide covers choosing the right guard type, the ladder setup that keeps you safe, and the one installation mistake (tucking guards under shingles) that can void a roof warranty.
Easy1 hrHow to Start a Compost Bin at Home (Pile, Bin or Tumbler)
Composting converts kitchen scraps and yard waste into a free soil amendment that improves garden soil. Compare a pile, bin, tumbler, worm bin or drop-off program, then set up a bin in under an hour; once it is running, it needs little upkeep.