The present invention relates to a washing machine, having an actively movable balancer (300), and method of controlling the same. The washing machine according to an embodiment of the present invention includes: a tub (122); a drum (124); a balancing unit (300) moving along a circumference of the drum (124); and a transmission coil (240) provided at the tub (122), and to generate a magnetic field and transmit power wirelessly to the balancing unit (300), wherein the balancing unit (300) comprises: a reception coil (310) to generate electric power from the magnetic field formed by the transmission coil (240); and a position sensing unit to sense the magnetic field formed by the transmission coil and to generate a position signal when the balancing unit passes through the transmission coil.