---
title: "Why galaxies merge even though their stars rarely meet"
description: "A close pass gives some stars a new orbit. The galaxies can lose enough orbital energy to return for another encounter."
canonical_url: "https://sandboxphysics.com/stories/galaxy-encounters/why-galaxies-merge/"
language: "en"
page_type: "story"
alternate_languages:
  zh-CN: "https://sandboxphysics.com/zh/stories/galaxy-encounters/why-galaxies-merge/"
last_modified: "2026-11-22"
---

[Galaxies in close encounters](https://sandboxphysics.com/stories/galaxy-encounters/)

# Why galaxies merge even though their stars rarely meet

Two galaxies can come together because gravity shifts energy out of their mutual orbit. Stars are far apart on the scale of their own diameters, so very few touch. Each can still feel the changing pull of the entire passing galaxy.

![Two curved tracer tails projected from a direct simulation](https://sandboxphysics.com/stories/galaxy-encounters/materials/prograde-tails.png)

Two tracer populations about 758 Myr after the start of the simulated encounter.

## The tug differs across a disk

Take a star on the side of a disk nearest the other galaxy. It gets pulled harder than the center of its own galaxy. A star on the far side is pulled less. Watch from the center as the pair sweeps by: both stars drift away from you, in different directions.

The response lasts after the galaxies part. Many stars that started near one another leave on similar paths, so a broad piece of disk can turn into a thin, curved tail. A bridge can run toward the passing galaxy at the same time.

Toomre & Toomre, Galactic Bridges and Tails (1972)

## Where the orbital energy goes

Each galaxy includes a halo, a broad cloud of gravitating matter around its bright disk. As the two haloes overlap, their particles arrange into new patterns under the passing pull. Some of the energy of the motion between the galaxies ends up in motion and deformation within them.

If the centers keep too little orbital energy to escape, they can turn back and pass again. In a fast flyby there is enough energy for the centers to separate even when the passage leaves long tails. The curve of their separation tells those stories apart.

Chandrasekhar, Dynamical Friction I (1943) · Galaxy encounter direct-sum runs and archived numerical checks

## [Try it in the Lab](https://sandboxphysics.com/labs/galaxy-encounters/)

Switch from Two long tails to Fast flyby. Take both runs through their closest pass and watch what the two bright centers do once the tails start to grow.

## Sources

- [Toomre & Toomre, Galactic Bridges and Tails (1972)](https://articles.adsabs.harvard.edu/pdf/1972ApJ...178..623T)

  Sections II–IV compare passages of disks represented by noninteracting tracers. Use the restricted method and the encounter drawings.

- [Chandrasekhar, Dynamical Friction I (1943)](https://articles.adsabs.harvard.edu/pdf/1943ApJ....97..255C)

  Section III derives drag from weak gravitational deflections. Its field-star distribution is a local approximation in our application.

- [Galaxy encounter direct-sum runs and archived numerical checks](https://sandboxphysics.com/stories/galaxy-encounters/materials/numerical-checks.json)

  Matched isolated controls, two timesteps, two particle counts and fixed local-drag comparisons for the released trajectories.

## Keep reading

Galaxies in close encounters · Reading path

### Galaxies in close encounters

1. [You are here **Why galaxies merge even though their stars rarely meet**](https://sandboxphysics.com/stories/galaxy-encounters/why-galaxies-merge/)
2. [Article **Tidal acceleration across a galaxy disk**](https://sandboxphysics.com/stories/galaxy-encounters/tidal-acceleration/)
3. [Article **How a galaxy orbit loses energy**](https://sandboxphysics.com/stories/galaxy-encounters/orbital-energy/)
4. [Article **Compare a drag orbit with a direct galaxy simulation**](https://sandboxphysics.com/stories/galaxy-encounters/compare-encounter-trajectories/)
5. [Article **Read how black-hole binaries shrink in a galaxy merger**](https://sandboxphysics.com/stories/galaxy-encounters/read-black-hole-hardening/)
