How a Dishwasher Decides How Long to Wash: From Turbidity Sensor to Drain Cycle
Share
You load the same rack the same way two nights in a row, press the same button, and one cycle finishes faster than the other. Nothing is broken. What changed is the information the dishwasher gathered during the first few minutes of the cycle — and how its control board interpreted that information before committing to a wash time, a water fill, and a number of drain-and-refill intervals.
Most modern dishwashers do not run a fixed program from start to finish. They run a feedback loop: sensors sample conditions, a controller compares those readings against expected ranges, and the machine adjusts heating, pump speed, fill volume, and cycle length accordingly. Understanding that loop explains a lot of behavior that otherwise looks random — long cycles on lightly soiled dishes, short cycles on greasy ones, extra drains, delayed starts, and the occasional pause that feels like a stall.
What the machine is actually sensing during the first fill
When you press Start, the inlet valve opens and water enters through the air gap or fill tube. A pressure switch or flow meter stops the fill at a target level. From that point, the circulation pump pushes water through the spray arms while the soil from your dishes — food particles, grease, soluble residue — begins to accumulate in the sump.
That sump water is the machine's primary source of information. Many dishwashers include a turbidity sensor, sometimes called a soil sensor, that shines light through a sample of the water. Clear water scatters little light; cloudy water scatters more. The sensor reports a relative reading, not a precise soil measurement in grams. On some models a conductivity or pressure-based soil sensor performs a similar job by detecting how much dissolved and suspended material has built up.
The controller uses that reading to make a decision. If the water looks relatively clean after the prewash, the machine may shorten the main wash, skip a rinse, or reduce the number of drain-and-refill cycles. If the water looks heavily soiled, it may extend the wash, add a pre-rinse, or drain and refill more often so the dishes are not sitting in dirty water for the entire cycle.
How that sensor reading becomes a cycle length
The control board is not making a judgment about how dirty your dishes look. It is classifying the water condition into a range and then selecting a branch of its programmed logic. That distinction matters, because it explains why the same load can produce different cycle times on different days.
Consider three common scenarios:
- Rinsed dishes, light residue. The first fill stays relatively clear. The controller may choose a shorter main wash, fewer drains, and a lower final rinse temperature target. The cycle can finish noticeably faster than the published maximum.
- Greasy dishes, no pre-rinse. The first fill becomes cloudy quickly. The controller may extend the wash time so detergent has more contact time, add a drain-and-refill to remove suspended grease, and raise the final rinse temperature to help with drying.
- Heavy baked-on starch. Starch and proteins dissolve slowly and can foam. Some machines respond by extending wash time; others shorten or pause the wash if a foam sensor or motor-load reading suggests excessive suds. That pause is often protective, not a fault.
Notice that the sensor is only one input. The controller also reads a thermistor for water temperature, a pressure switch or float for water level, and often a motor current or tachometer signal for pump behavior. If any of those readings fall outside expected values, the board may extend the cycle or abort it with an error code. That is why a cycle that suddenly runs very long may be responding to a partially blocked filter, a weak inlet valve, or a heating element that is slow to reach temperature — not to a failed sensor.
Why some cycles drain more than once
A drain-and-refill is not arbitrary. Each fill brings fresh water with fresh detergent chemistry. When the previous water is saturated with food residue and grease, continuing to circulate it just redistributes soil onto clean dishes. The controller uses the soil reading to decide whether one wash fill is enough or whether the load needs additional dilution.
This is also why the drain pump runs at specific points rather than continuously. The pump is typically a small impeller driven by a shaded-pole or permanent-magnet motor, designed for intermittent duty. Running it too long without water can damage it. The control logic therefore sequences fill, circulate, drain, and refill in a timed pattern that keeps the pump within its design envelope.
What can make the decision go wrong
Because the sensor reads water, anything that changes the water's optical or electrical properties without reflecting real soil can bias the cycle.
- A clogged filter or sump screen. Trapped debris keeps soil in circulation, so the water stays cloudy longer than it should. The machine may run an unnecessarily long cycle or repeatedly drain and refill without improving results.
- Hard water scale. Mineral film on the sensor lens or on the heater reduces sensor accuracy and slows heating. Cycle times can stretch because the thermistor takes longer to reach the target temperature.
- Too much or the wrong detergent. Excess suds can trigger foam detection and cause the machine to pause or add rinse cycles. Detergent designed for hand washing is a common culprit because it foams heavily in a dishwasher's vigorous circulation.
- Low inlet water temperature. Most dishwashers assume the water heater is supplying reasonably warm water. If it arrives cold, the element runs longer, and many cycles extend accordingly.
- A failing turbidity sensor. If the sensor drifts, the controller may choose the wrong branch of its logic. This is usually diagnosed with a service manual or a manufacturer-specific error code, not guessed at.
Note that these causes overlap. A slow cycle can be a dirty filter, a weak heater, cold supply water, or a sensor problem — sometimes more than one. The useful approach is to start with what you can observe without tools: does the filter look clean, does the water get hot, do the spray arms turn freely, and does the detergent dissolve properly. Those checks rule out the most common causes before assuming an electronic fault.
What you can safely check yourself
User-level maintenance is mostly about keeping the water path clean so the sensor sees what it expects. Remove and rinse the filter assembly according to your manual. Wipe the door gasket and the area around the sensor if it is accessible from inside the tub. Check that the spray arm holes are not blocked by food or mineral deposits. Run a hot water tap before starting the dishwasher so the inlet line is not full of cold water.
Periodic cleaning of the tub and filter with a product intended for dishwashers can help remove grease and mineral film that accumulate in the sump and on internal surfaces. If you want a ready-made option, dishwasher cleaner tablets are one category of product designed for that purpose; follow the label directions and your appliance manual rather than improvising with household chemicals. Never combine cleaning agents, and never mix bleach with acidic products such as vinegar.
Do not open the control panel or probe wiring to test sensors yourself. The interior of a dishwasher contains mains-voltage connections, and some components can retain hazardous energy even after the breaker is off. If the machine consistently runs unusually long, throws error codes, or fails to heat, that is a diagnostic task for a qualified technician with the correct service information.
What this means for everyday use
The variability you notice is largely the machine doing its job. A dishwasher that shortens a cycle on lightly soiled dishes and lengthens it on greasy ones is following sensor data, not malfunctioning. What matters is whether the dishes come out clean and whether the cycle finishes within a reasonable range for the selected program.
If clean results and reasonable times hold, the control loop is working. If they do not, the same loop tells you where to look first: the water, the filter, the heat, and the detergent. Those four factors determine what the sensor sees and how the controller responds. Everything else — drain counts, pauses, extended washes — follows from that first assessment.








