Disclosed herein is a washing machine having an improved balancing function. The washing machine includes a cabinet, a drum disposed in the cabinet to be rotatable, a balancer installed at the drum to offset an unbalanced load generated at the drum when the drum is rotated, and at least one magnetic body disposed between the balancer and the drum.