Causes
The usual causes, most likely first
Clogged filter
Food, labels, seeds and broken glass build up in the filter until water cannot get through.
How to spot it: Slimy or packed filter; standing water right around it.
The fix: Remove and rinse it under the tap with a soft brush. Monthly cleaning prevents most drain calls.
Disposal or sink drain
The dishwasher pumps into the disposal or the sink tailpiece. If that is clogged, water backs up.
How to spot it: The sink drains slowly too, or the disposal is full.
The fix: Run the disposal; clear the sink drain.
Air gap or drain hose
A blocked air gap or a hose kinked behind the dishwasher stops flow.
How to spot it: Water spits out of the air gap; the hose is flattened.
The fix: Clean the air gap; reroute the hose with a high loop.
Drain pump blocked or failed
Broken glass, a cherry pit or a bone fragment can jam the impeller. Pumps also wear out.
How to spot it: Humming without water moving, or no sound at all during drain.
The fix: Clear the pump if it is accessible under the filter; otherwise replace it.
Check valve stuck
A small flap stops dirty water flowing back in. When it sticks, water will not leave or comes back.
How to spot it: Water returns into the tub after draining.
The fix: Clean or replace the check valve.
Control or wiring
If the control never tells the pump to run, nothing drains.
How to spot it: No pump sound at all and no drain error, or a code on the display.
The fix: Test the pump circuit and control.