Other Washing Machine Fill Problems
If both hot and cold water seem to be entering the washer with good pressure, water may be draining out prematurely during the fill cycle through siphoning action. Be sure the drain hose’s connection to the standpipe is at least 34 inches above the floor (otherwise, discuss the problem with a plumber). An air gap between the drain hose and standpipe that prevents backflow is also good to have.
Another reason for the washer not filling may be that the water-level switch, timer, or temperature selector is broken.
If your washer is overfilling, you may have a defective water-inlet valve or water-level switch.
A broken water-inlet valve will often cause water to leak into the clothes tub. A faulty water-level switch cannot detect the correct water level in the tub and signal the water to turn off, resulting in overflow.
These repairs are best handled by an appliance repair person.
For other washing machine repairs, see Washing Machine Troubleshooting & Repairs.