The Andromeda Galaxy is approaching the Milky Way at about 110 kilometres per second (68.4 mi/s)[2][8] as indicated by blueshift. However, the lateral speed (measured as proper motion) is very difficult to measure with sufficient precision to draw reasonable conclusions. Until 2012, it was not known whether the possible collision was definitely going to happen or not.[9] Researchers then used the Hubble Space Telescope to measure the positions of stars in Andromeda in 2002 and 2010, relative to hundreds of distant background galaxies. By averaging over thousands of stars, they were able to obtain the average proper motion with sub-pixel accuracy. The conclusion was that Andromeda is moving southeast in the sky at less than 0.1 milliarc-seconds per year, corresponding to a speed relative to the Sun of less than 200 km/s towards the south and towards the east. Taking also into account the Sun's motion, Andromeda's tangential or sideways velocity with respect to the Milky Way was found to be much smaller than the speed of approach (consistent with zero given the uncertainty) and therefore it will eventually merge with the Milky Way in around five billion years.[1][2][10]
Such collisions are relatively common, considering galaxies' long lifespans. Andromeda, for example, is believed to have collided with at least one other galaxy in the past,[11] and several dwarf galaxies such as Sgr dSph are currently colliding with the Milky Way and being merged into it.
The studies also suggest that M33, the Triangulum Galaxy—the third-largest and third-brightest galaxy of the Local Group—will participate in the collision event, too. Its most likely fate is to end up orbiting the merger remnant of the Milky Way and Andromeda galaxies and finally to merge with it in an even more distant future. However, a collision with the Milky Way, before it collides with the Andromeda Galaxy, or an ejection from the Local Group cannot be ruled out.[9]