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
Max Jiang, Founder & Editor, HandymanLib
By Max JiangEvery guide researched against manufacturer specs, current IRC/NEC building code, and authorities like the EPA, OSHA, the CPSC, and university extension servicesLast reviewed June 17, 2026Fact-checked against manufacturer & code sources โ€” editorial policy

Installing a dishwasher yourself saves the $150 to $250 that delivery crews charge for hookup, and once the cabinet opening already has water, drain, and power, it's 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
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 โ€” most don't include one.

A new stainless dishwasher tipped onto its back on cardboard
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
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
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 (around 120 degrees), but check your manual โ€” a few models take a cold connection and heat the water internally. 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
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 the top 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
Warning

Leaving the disposal knockout plug in place is the single most common dishwasher-install mistake โ€” the machine fills, but the water has nowhere to go and won't drain. 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
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
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
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?

+

Usually not. Most 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 dishwashers connect to the hot-water supply and expect water around 120 degrees Fahrenheit, which is why the supply line ties into the hot stop valve under the sink. A few models (some Samsung units, for example) are designed for a cold connection and heat the water internally, so always check your model's manual before you plumb it in.

Do I need an air gap, or is a high loop enough?

+

It depends on your local plumbing code. Jurisdictions on the Uniform Plumbing Code (much of the western US, including California) typically require a countertop air gap, while International Plumbing Code areas generally accept a high loop fastened up under the counter. Both codes allow a high loop at least 20 inches above the floor as backflow protection, but confirm what your local inspector requires.

Why won't my newly installed dishwasher drain?

+

Nine times out of ten it's the garbage-disposal knockout plug left in place โ€” the drain hose connects to a disposal inlet that's still sealed, so the water has nowhere to go. The other common cause is a missing high loop, which lets the cycle siphon out. Pull the unit's access panel, knock out that plug, and confirm the drain hose loops high before it drops to the disposal.

Can I connect the dishwasher drain to the garbage disposal?

+

Yes โ€” it's the most common setup. 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 modern quiet model is one of the highest-impact upgrades you can make for under $150 โ€” it kills mold-causing moisture, clears steam in a minute, and runs whisper-quiet while it does it. 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 versus $120-250 for an electrician. 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 is one of the most effective and affordable security upgrades you can make โ€” it deters intruders, 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

Best Paint for Kitchen Cabinets, ComparedEasy20 min
Painting

Best Paint for Kitchen Cabinets, Compared

The four paints that actually hold up to daily kitchen use are Benjamin Moore Advance, Sherwin-Williams Emerald Urethane Trim Enamel, INSL-X Cabinet Coat, and Behr Urethane Alkyd. They all work; they each fail in different ways. This guide compares cure time, leveling, scratch resistance, and price so you pick the one that matches your skill level and timeline โ€” not the one a paint-store clerk has the most stock of.

6 steps1 tools
A wood deck divided into four visible sections each finished with a different opacity of stainEasy25 min
Painting

Best Deck Stain: Transparent vs Semi vs Solid

There is no "best" deck stain โ€” there is the right stain for your sun exposure, wood condition, and how often you want to redo the job. Transparent stains last 1-2 years but let the natural grain show. Solid stains last 4-7 years but look like paint. This guide walks the four opacity levels and the oil-vs-water choice so you pick the one that matches your deck and your tolerance for re-staining.

7 steps1 tools
How to Install a Smart ThermostatEasy45 min
HVAC

How to Install a Smart Thermostat

A smart thermostat is one of the highest-ROI upgrades you can make to your home โ€” it learns your schedule, adjusts automatically when you're away, and typically saves about 8% on heating and cooling bills โ€” the figure ENERGY STAR verifies from real-home data, roughly $50 a year โ€” so the $120-250 device usually pays for itself within a few years. If your old thermostat has labeled wires behind it, the swap takes about 30-45 minutes with nothing more than a screwdriver and your phone. This guide covers checking compatibility, labeling wires, mounting the new base, connecting everything, and walking through the app setup so your system is running smart the same day.

9 steps7 tools