<p>A washing machine with a detergent supply unit (30) that allows a user to selectively put a powdered or liquid detergent into the same detergent input space (74) and is capable of controlling flow of the detergent in the detergent input space to uniformly mix the detergent in wash water. The detergent supply unit includes a detergent container (70), at least one detergent input space (74) formed in the detergent container, and a control member (80) disposed in the detergent input space for controlling flow of a detergent in the detergent input space. Alternatively, the control member is disposed in the detergent input space for increasing or decreasing time for which the detergent stays in the detergent input space.
</p>