A washing machine inducting a detergent supply device to supply a detergent together with water to a tub. The detergent supply device includes a detergent housing installed within the main body and a detergent accommodation box movably installed within the detergent housing, and the detergent accommodation box is divided into automatic detergent accommodation parts to accommodate a detergent to be supplied automatically and manual detergent accommodation parts to accommodate a detergent to be supplied manually, and the detergent supply device supplies the detergents through an automatic detergent supply method and a manual detergent supply method.