A dishwasher install is a project that lives right at the boundary of DIY scope. A direct replacement, where the old unit just slides out and the new one slides in with the same water, drain, and electrical connections, is a 90 to 150 minute job that most homeowners can handle. A first-time install, where you are putting a dishwasher into a cabinet that has never had one, is a different project entirely. It involves running a new water supply, tying into the drain plumbing, routing through to the sink area, and adding a dedicated electrical circuit, all of which collectively cross into licensed plumber and electrician territory. Here is what is actually involved at each stage, what the common failure modes are, and where the right call is to bring in a professional.
Before you buy: measure the space
Standard dishwashers are 24 inches wide, 24 inches deep, and 33.5 to 34.5 inches tall. Check:
- Cabinet opening width (should be 24 to 24.25 inches)
- Cabinet opening depth (24 to 24.5 inches, plus space behind for hoses)
- Cabinet opening height (32 to 34 inches, with adjustable feet to fit)
- Door swing clearance for the open dishwasher tub
- Distance to the sink (water supply, drain, and electrical typically route there)
Compact (18 inch) dishwashers exist for narrow kitchens. Drawer dishwashers (Fisher and Paykel) are 24 inches wide but have entirely different installation requirements.
Step 1: Cut power and water
For a replacement:
- Turn off the dishwasher circuit at the breaker panel
- Turn off the water supply at the shutoff valve under the sink (the small valve specifically for the dishwasher)
- Open the dishwasher door and verify no power by attempting to start a cycle
For a new install, you also need to plan how power and water will arrive at the cabinet, which usually means an electrician and possibly a plumber before you start.
Step 2: Disconnect the old dishwasher
Remove the kick panel at the bottom of the dishwasher (one or two screws). Beneath it you will find three connections:
- Water supply line, typically a 3/8 inch compression fitting at the inlet solenoid valve on the front left of the dishwasher base
- Drain hose, ribbed plastic, leading to the disposal or air gap
- Electrical, either a junction box on the base front-right with a wire nut connection to a Romex cable or a power cord to a dedicated outlet under the sink
Disconnect each:
- Water: unscrew the compression nut with a wrench, have a small bucket and rag ready for residual water
- Drain: loosen the hose clamp and pull the hose off
- Electrical: open the junction box cover, unscrew the wire nuts, push the cable back through the strain relief
Open the dishwasher door and look at the top of the tub. Two brackets typically screw the unit into the countertop or the cabinet sides. Remove the screws. With the door closed, gently pull the dishwasher forward. The adjustable feet need to be lowered (turn the leveling feet counterclockwise) if the unit is wedged in. Slide it out.
Step 3: Prepare the new dishwasher
Lay the new unit on its back or side per the manufacturer’s instructions (most allow either, some specify one). Locate the same three connection points:
- Water inlet on the bottom front, usually with a brass elbow fitting that you install with teflon tape
- Drain hose, typically pre-attached, that exits the back left
- Electrical junction box or pre-installed power cord
Install the water inlet elbow if not pre-attached. Wrap the threads with teflon tape, thread the elbow into the inlet valve, and tighten with a wrench. Point the elbow rearward and downward to give the supply line a smooth approach.
If you are converting between hardwire and cord, that change happens at the dishwasher’s junction box. Cord conversion kits are 15 to 25 dollars and include a strain relief that fits the box.
Step 4: Route hoses and cables to the cabinet
Before sliding the dishwasher in, fish the drain hose, water supply line, and electrical (cable or cord) through the hole in the side of the cabinet that leads to the sink cavity. The order matters: get all three through before pushing the dishwasher fully into place because afterwards there is no access.
The drain hose should be long enough to reach the disposal inlet or air gap with a high loop along the way. Use the loops or clips inside the cabinet to secure the highest point of the hose at the underside of the countertop.
Step 5: Position and level the dishwasher
Slide the dishwasher into the opening until the front is flush with the cabinet faces. Open the door and check level both side-to-side and front-to-back with a torpedo level on the bottom of the tub. Adjust the leveling feet (front feet from the kick panel area, rear feet sometimes via a screw at the front that drives a rear adjustment mechanism).
A level dishwasher is critical. An unlevel unit will not drain fully, will not seal at the door, and will rattle. Spend the few minutes here to get it right.
Step 6: Secure the dishwasher
Open the door fully. The mounting brackets at the top of the unit screw into either:
- The underside of the countertop (preferred for solid surface or laminate)
- The sides of the cabinet (preferred for stone or quartz tops where drilling is undesirable)
Use the screws provided. Do not overtighten.
Step 7: Connect water, drain, and electrical
Water:
- Connect the dishwasher supply line to the brass elbow on the dishwasher and to the shutoff valve under the sink. Use teflon tape on both ends if using compression fittings without ferrules.
- Hand-tighten the compression nuts first, then about 1/4 turn with a wrench. Over-tightening can crack the fitting.
Drain:
- Route the drain hose up to the underside of the countertop (high loop), securing it with a clamp or cable tie to the cabinet wall
- Either connect the hose directly to the disposal inlet (knock out the plug first) or route it through the air gap fitting
Electrical:
- For hardwire: feed the cable through the strain relief, connect black to black, white to white, ground to the green ground screw, and close the junction box
- For a cord: plug it into the dedicated outlet under the sink
Step 8: Restore service and test
Turn the water shutoff back on. Check for leaks at every connection. Turn the breaker back on.
Run a short cycle (rinse-only or quick wash) with the dishwasher empty. Watch:
- Fill: does water enter without leaking?
- Drain: does water exit through the high loop into the disposal or air gap without backflow?
- Cycle completion: does the unit complete without error codes?
Check under the kick panel and under the sink for any leaks during and after the cycle. Reinstall the kick panel only after confirming no leaks.
When to call a plumber or electrician
DIY scope generally covers a same-style direct replacement where existing connections work. What is outside that scope:
- First-time installs where a new water supply, drain branch, or electrical circuit needs to be added (each is permit work in most jurisdictions)
- Connections where the existing shutoff valve is stuck or leaking (replace the valve, often best done by a plumber)
- Installs in older homes with galvanized supply lines or cast-iron drains
- Any work that requires a permit and inspection, which most new circuit installs and most plumbing modifications do
A licensed plumber and electrician between them can typically rough in a new dishwasher install (water, drain, electrical) for 600 to 1200 dollars depending on region and complexity, after which the dishwasher itself can be slid in by anyone. For more on appliance installs, see our piece on garbage disposal installation and our methodology page.
Frequently asked questions
What is the difference between a high loop and an air gap?+
Both prevent contaminated water from siphoning back from the sink drain into the dishwasher. A high loop is the dishwasher drain hose secured to the underside of the countertop at its highest point, using gravity to break the siphon. An air gap is a chrome fitting mounted on the countertop where the hose passes through an open chamber, providing a physical break. Air gaps are required by code in some jurisdictions (notably California) and recommended elsewhere as a more reliable safeguard.
Can I connect the dishwasher drain directly to the disposal?+
Yes, and this is the most common configuration. The disposal has a small inlet on the side where the dishwasher hose connects, secured with a clamp. Critically, the knockout plug inside the disposal inlet must be removed before connecting the hose. New disposals ship with the plug in place and forgetting to remove it is the most common first-flush failure, the dishwasher will not drain and water will back up into the cabinet.
Why does my dishwasher need a dedicated circuit?+
Modern dishwashers draw 10 to 14 amps during the heating element cycle, which can exceed the safe shared load on a kitchen branch circuit. NEC 422.16 allows shared circuits in some configurations but most installers and inspectors prefer a dedicated 15 or 20 amp circuit. If you are doing a first-time install, the cost of running new wire is worth it for code compliance and resale documentation.
How long do dishwasher water supply lines last?+
Braided stainless steel supply hoses are rated for 8 to 12 years before the internal rubber lining can fail. Older plastic or copper supply lines last 5 to 8 years before crimping or pinhole failure. When installing or replacing a dishwasher, install a new supply line as a matter of course, the 15 dollar part is cheap insurance compared to water damage from a slow leak that goes unnoticed for weeks.
Should the dishwasher be on a GFCI or AFCI circuit?+
The 2023 NEC requires both. Kitchen circuits including dedicated appliance circuits need GFCI protection (within 6 feet of the sink), and most living-space and kitchen circuits also require AFCI. A dual-function breaker satisfies both requirements in one slot. Older installs may have neither, which is grandfathered but should be upgraded during any electrical work that requires a permit.