A device to motivate an animal to leave a milking stall includes at least a first unit configured to motivate the animal to leave the milking stall by a first motivation means; a second unit configured to motivate the animal to leave the milking stall by a second motivation means which is of a different type than the first motivation means; and a control unit configured, when it is time for the animal to leave the milking stall, to activate at least one of the first and second units such that the animal in the milking stall will be motivated to leave the milking stall.