Medium⏱ 2h 30m📋 9 steps🛠 9 tools💲 $20-60

How to Install a Dishwasher

A stainless steel dishwasher being slid into a cabinet opening beneath a kitchen countertop
AI-generated illustration · how we make images
Max Jiang, Founder & Editor, HandymanLib
By Max JiangGuides researched against primary sources where possible: manufacturer instructions, IRC/NEC building code, and agencies like the EPA, OSHA, and university extension servicesUpdated November 26, 2026Fact-checked against the sources listed below — editorial policy

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

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.

An old white dishwasher partially pulled out from under a kitchen counter onto a sheet of cardboard
AI-generated illustration
Warning

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.

A new stainless dishwasher tipped onto its back on cardboard
AI-generated illustration
Pro Tip

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.

A braided steel water line, a ribbed drain hose
AI-generated illustration
Pro Tip

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.

A hand turning the front leveling foot of a stainless dishwasher with a wrench
AI-generated illustration
Pro Tip

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).

Hands connecting a braided stainless steel supply line to the small oval hot-water shut-off valve under a kitchen sink
AI-generated illustration
Warning

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.

A hand holding a flathead screwdriver against the side dishwasher inlet of an under-sink garbage disposal and tapping it
AI-generated illustration
Warning

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.

Hands joining black, white
AI-generated illustration
Warning

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.

A screwdriver driving a screw up through the mounting bracket tab at the top of a stainless dishwasher into the underside
AI-generated illustration
Pro Tip

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.

A freshly installed stainless dishwasher set flush under the counter in a clean kitchen
AI-generated illustration
Pro Tip

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

More Appliance Repair Guides

View all →
Ceiling-level view of a newly installed white bathroom exhaust fan grille in a bright remodeled bathroomMedium3 hrs
Electrical

How 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.

9 steps15 tools
A pair of hands holding a brand-new white GFCI receptacle with its distinctive TEST and RESET buttons clearly visibleMedium45 min
Electrical

How 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.

8 steps5 tools
A modern dual-head LED motion sensor floodlight mounted on the exterior wall of a house above a garage doorMedium1h 30m
Electrical

How 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.

9 steps8 tools

You Might Also Like