The Milky Way and Andromeda will begin merging in about 4.5 billion years. Their first close pass is projected at roughly 4 to 5 billion years from now, and the merger into a single elliptical galaxy completes around 6 to 7 billion years from today. This timetable comes from Gaia satellite measurements of Andromeda's sideways motion, published in 2012, which turned a rough guess into a quantified orbit.

That answer hides a subtler story. The collision is not a single event but a slow gravitational negotiation spanning billions of years, and the schedule depends on quantities astronomers have measured only recently and still imperfectly. What follows explains the mechanism, the numbers behind it, and where the certainty runs out.

Gravity Wins Over Cosmic Expansion

The collision is scheduled by a tug-of-war between two forces, and gravity wins locally. On the largest scales, the universe expands, and dark energy pushes galaxies apart. But that expansion is a stretching of space between distant clusters, not a force acting inside a bound pair. Two galaxies close enough to be gravitationally bound will fall toward each other regardless of what the wider cosmos does.

The Local Group is exactly that kind of bound system. It contains the Milky Way, Andromeda, and roughly a hundred smaller galaxies, all held together by their combined mass. Within a bound group, the expansion of space is not the relevant physics; the mutual gravitational attraction is. This is why Andromeda approaches us at about 110 kilometers per second (roughly 68 miles per second) even though most galaxies recede.

The approach is not a head-on dive. Andromeda's center is offset from the line of sight, and it carries sideways velocity across our view. That transverse motion is the hard part to measure, because it produces almost no Doppler shift. A galaxy moving across your line of sight barely changes the color of its light. Only precise tracking of individual stars over years reveals it.

The 2012 Gaia Measurement That Set the Clock

Before 2012, astronomers knew Andromeda was approaching but not whether it would actually hit. A large sideways velocity could have sent it sailing past in a wide, non-merging arc. The turning point was a study by Sangmo Tony Sohn and colleagues using Hubble Space Telescope observations of Andromeda's rotation and tiny proper motions, published in the Astrophysical Journal in 2012.

That work measured Andromeda's transverse velocity at roughly 17 kilometers per second, small enough to confirm a genuine collision course. The projected first pass is about 4 billion years out, with uncertainty of a few hundred million years. The merger itself, when the two galaxies' cores coalesce, follows a few billion years later.

The numbers are worth holding together. Approach speed: about 110 km/s. Transverse speed: about 17 km/s. Total relative velocity: roughly 110 km/s. First pass: about 4 to 5 billion years. Final merger: about 6 to 7 billion years. These are model outputs, not direct observations of the future. Plain language: we measured the starting conditions, then ran gravity forward.

Quantified Context: Sizes, Speeds, and Stars

Scale matters for understanding why a "collision" is mostly empty space. Andromeda is about 2.5 million light-years away. Its disk spans roughly 220,000 light-years across; the Milky Way's spans about 100,000. At 110 km/s, Andromeda covers roughly one light-year every 2,700 years, so closing 2.5 million light-years takes billions of years.

Both galaxies contain hundreds of billions of stars. Yet the space between stars is enormous compared with stellar diameters. The odds of two stars physically striking each other are vanishingly small. What collides is gas, dust, and dark matter halos, and those collisions trigger the visible fireworks.

The dark matter halos are the real architects here. Each galaxy sits inside a roughly spherical cloud of dark matter far wider than its visible disk. Those halos interact gravitationally first, long before any stars or gas meet. The halos begin distorting each other well before the first close pass, which is why the merger is better described as a prolonged process than an instant.

Here is the counterintuitive detail professionals emphasize: the merger's outcome depends more on the dark matter halos and gas content than on the stars. Stars are so sparse that they mostly pass through each other's territory without touching.

Timeline Table: What Happens and When

Time from now Event What changes
0 to 2 billion years Halos interact Dark matter halos begin to distort; no visible change yet
~2 to 4 billion years Tidal disturbance begins Andromeda's gravity starts warping the Milky Way's outer disk
~4 to 5 billion years First close pass Andromeda passes near; gas compression triggers intense star formation
~5 to 6 billion years Second pass and coalescence Cores spiral together; the merged shape becomes elliptical
~6 to 7 billion years Final merger A single elliptical galaxy forms, provisionally named "Milkomeda"
After ~7 billion years Relaxation The new galaxy settles; a supermassive black hole binary may persist

The table reflects model projections with uncertainties of several hundred million years at each stage. The first pass is the most confidently dated event, because it depends most directly on the measured approach velocity.

Edge Cases: What Could Change the Schedule

Several edge cases could shift the timetable. The largest uncertainty is Andromeda's transverse velocity. If it is slightly larger than measured, the first pass could be wider and the merger could be delayed or, in an extreme case, avoided entirely. Current measurements make a non-merger unlikely but not impossible.

A second edge case involves the Sun's own evolution. In about 5 billion years, the Sun will exhaust its core hydrogen and expand into a red giant, likely consuming Earth. This happens on a similar timescale to the merger, which means the collision unfolds against a very different solar neighborhood than today's.

A third edge case is the fate of the Local Group's smaller galaxies. The Large Magellanic Cloud is already interacting with the Milky Way and may merge with it before Andromeda arrives. The Magellanic Clouds and other dwarfs could perturb the schedule, though their masses are too small to dominate the outcome.

A fourth edge case concerns the Triangulum galaxy, the Local Group's third-largest member. Its future path is uncertain, and its gravity could add a small perturbation. None of these edge cases overturns the broad conclusion; they refine the timing at the margins.

Misconceptions Worth Retiring

The most common misconception is that the collision will be a catastrophic smash. It will not. Stars are spaced so widely that direct stellar collisions are negligible. The dramatic effects come from gas, which compresses and ignites star formation, and from gravitational tides that reshape galactic structure.

A second misconception is that the collision happens "soon" in a human sense. Four billion years is roughly a thousand times the age of the human species. The Sun is expected to remain stable for that long, so the collision is far in the future relative to any human concern.

A third misconception is that the galaxies will "explode" or vanish. They will merge into one larger galaxy. The material is conserved; the shape and organization change. The merged galaxy's stars will orbit a new common center, and the final object will be an elliptical galaxy rather than two spirals.

A fourth misconception is that the collision is certain because Andromeda is approaching. Approach and merger are related but not identical. The merger requires the transverse velocity to be small enough relative to the approach velocity, which is what the 2012 measurement established.

Here is a professional caveat: "collision" is jargon for a gravitational merger. The two bodies never literally bounce off each other at a single point. The event is a gradual coalescence spread over billions of years.

Practical Actions: What You Can Actually Do

There is no risk to plan for, and no action protects anyone from a 4-billion-year event. The practical actions here are about understanding and verifying the science, not about safety.

Track the primary sources: the 2012 Sohn et al. proper-motion study and its follow-ups remain the basis for these projections. Distinguish model output from observation: the timetable is a forward projection, not a measured future. Treat uncertainty ranges as real: a few hundred million years at each stage is a genuine error bar. Ignore cinematic portrayals: films compress a multi-billion-year merger into minutes and misrepresent the physics. Use the tables above to keep dates and events straight; the first pass and the final merger are different milestones. Follow Gaia mission releases, which refine the Local Group's future motions.

The key threshold to remember: about 4.5 billion years to first contact, and about 6 to 7 billion years to completion. Those two numbers answer the question more precisely than any single figure.

Limitations: Where the Certainty Ends

The projections rest on measured starting conditions plus a model of gravity. They are not predictions in the sense of an observed future. The dominant uncertainty is Andromeda's transverse velocity; a small change in its value shifts the first pass by hundreds of millions of years.

The models also simplify the dark matter halos and the gas physics, both of which are hard to constrain. Different simulations of the Local Group's future do not all produce identical timetables, though they agree on the broad sequence and timescale.

Finally, the distant future involves unknowns, including the behavior of dark energy on very long times, that do not affect the local dynamics but complicate any attempt to project beyond the merger. The honest summary: the collision is very likely, on a timescale of several billion years, with meaningful uncertainty in the precise dates. That is what the evidence supports, and nothing stronger.