Hubble, The Observatory, 48, 139-142, 1925
Hubble's Cepheids: Andromeda Is Another Galaxy
Showed in 1925 that Andromeda lies far outside the Milky Way. Edwin Hubble's Cepheid distances settled the Great Debate: spiral nebulae are galaxies.

A galaxy is a vast system of stars, gas, dust and dark matter bound by gravity. The main types, how many exist, how they formed, and the earliest yet seen.
By The Orbital Record editorial teamPublished Last reviewed
A galaxy is a gravitationally bound system of stars, gas, dust and dark matter, ranging from a few million to more than a trillion stars. The Milky Way is one of hundreds of billions, perhaps two trillion, galaxies in the observable universe, and Edwin Hubble showed in the 1920s that they are separate worlds.
This guide covers what galaxies are, how many there are, how they formed, and where the frontier sits in October 2026, from the coming encounter with Andromeda to the earliest galaxies the James Webb Space Telescope has found.
A galaxy is an island of stars held together by its own gravity, most of it supplied by an invisible halo of dark matter. The stars, gas and dust we can see are only the bright core of that halo. In the 1970s Vera Rubin and Kent Ford measured how fast gas clouds orbit in Andromeda and found the outer parts moving far too fast for the visible mass alone, one of the first strong signs of dark matter (see Rubin and Ford’s 1970 Andromeda rotation curve).
Galaxies span a huge range. Ultra-faint dwarfs contain a few thousand to a few million stars. Giant ellipticals at the centers of clusters can hold more than a trillion. Almost every large galaxy has a supermassive black hole at its center, from about 4.3 million solar masses in the Milky Way to billions in giant ellipticals.
The best answer is a range: from a few hundred billion galaxies we could in principle detect to about two trillion when faint, unseen ones are included. Nobody counts them one by one. Astronomers count galaxies in deep images of tiny patches of sky and scale up.
Galaxies come in a handful of shapes, first sorted by Edwin Hubble in 1926 into what became the “tuning fork” diagram (Hubble’s 1926 classification of extragalactic nebulae). In his sample of 400 galaxies, about 97% were regular and only about 3% irregular.
| Type | What it looks like | Stars and gas | Example |
|---|---|---|---|
| Spiral | Flat disk with spiral arms and a central bulge | Young and old stars, plenty of gas | Whirlpool Galaxy (M51) |
| Barred spiral | Spiral arms that start from a straight bar of stars | Like spirals; bars funnel gas inward | NGC 1300, the Milky Way |
| Elliptical | Smooth, round to elongated ball of stars | Mostly old stars, little cold gas | M87 in the Virgo Cluster |
| Lenticular | Disk and bulge but no arms | Old stars, little star formation | Spindle Galaxy (NGC 5866) |
| Irregular | No clear shape | Often gas-rich and forming stars | Large Magellanic Cloud |
| Dwarf | Small, faint; can be any of the above shapes | Millions to a few billion stars | Sagittarius Dwarf |
The pattern is not random. Spirals tend to be blue and still making stars; giant ellipticals tend to be red and quiet. Collisions are a big part of the reason, as the section on formation explains.
The Milky Way is a barred spiral galaxy about 100,000 light-years across, holding an estimated 100 billion to 400 billion stars. The Sun sits in a minor spiral arm about 27,000 light-years from the center and takes roughly 200 to 250 million years to complete one orbit.
At the center lies Sagittarius A*, a black hole of about 4.3 million solar masses. Andrea Ghez and Reinhard Genzel proved it was there by tracking stars on tight orbits around it (Ghez and colleagues’ 2008 stellar-orbit measurement), and the Event Horizon Telescope imaged its shadow in 2022.
Our galaxy was built by mergers. ESA’s Gaia mission revealed that the inner halo is dominated by debris from one large collision, Gaia-Enceladus, about 10 billion years ago (Helmi et al. 2018). In August 2026 a Hubble study of globular clusters pushed the record back further, to a merger with a dwarf galaxy named LKH about 11.8 billion years ago (Hubble finds the Milky Way’s earliest known merger).
The Andromeda Galaxy (M31) is the nearest large spiral, about 2.5 million light-years away, and it is approaching the Milky Way at roughly 110 kilometers per second. For more than a decade the standard forecast, based on Hubble measurements published in 2012, was a first close pass in about 4 billion years and a merger about 2 billion years later.
In June 2025 a team led by Till Sawala revised that forecast using updated Hubble and Gaia data and the pull of the Large Magellanic Cloud and the Triangulum Galaxy (M33). They found only about a 50% chance that the two galaxies merge within the next 10 billion years, and only about a 2% chance of a collision in the next 5 billion (Sawala et al. 2025). The answer is still moving: a 2026 analysis using corrected Gaia data, accepted by The Astrophysical Journal Letters, put the merger odds back up to about 90%. The full story, with the numbers, is in our explainer on the Andromeda-Milky Way collision.
Edwin Hubble proved in the 1920s that the spiral “nebulae” are galaxies far outside our own. Before that, astronomers disagreed sharply. On April 26, 1920, Harlow Shapley and Heber Curtis argued the question in public in what became known as the Great Debate: Shapley held that the Milky Way was essentially the whole universe, Curtis that spirals were separate “island universes.”
The key came from Henrietta Swan Leavitt. In 1912 she showed that Cepheid variable stars that pulse more slowly are intrinsically brighter (Leavitt’s period-luminosity relation). A Cepheid’s period therefore gives its true brightness, and comparing that with how bright it looks gives its distance.
In 1923 Hubble found a Cepheid, now called V1, in the Andromeda nebula using the 100-inch telescope on Mount Wilson. Its distance put Andromeda far beyond the edge of the Milky Way. The result was read in his absence at a meeting of the American Astronomical Society on January 1, 1925, and the known universe grew enormously. Four years later Hubble used the same method to show that galaxies recede faster the farther away they are (Hubble’s 1929 discovery of cosmic expansion).
Galaxies formed when gas cooled and collected at the centers of dark matter halos, which grew by merging over billions of years. Simon White and Martin Rees set out this two-stage picture in 1978 (White and Rees 1978), and it still frames every simulation.
The main steps, as far as we understand them:
The universe’s most productive period is long past. Star formation peaked about 3.5 billion years after the Big Bang, roughly 10 billion years ago, an epoch astronomers call “cosmic noon,” and it has declined ever since (Madau and Dickinson 2014).
The earliest galaxies confirmed so far shone less than 300 million years after the Big Bang, and they are brighter than many models predicted. In 2024 the JADES team confirmed JADES-GS-z14-0 at a redshift of 14.32 (Carniani et al. 2024). In 2025 the record passed to MoM-z14 at redshift 14.44, seen about 280 million years after the Big Bang, according to the James Webb Space Telescope team.
Redshift measures how much the expanding universe has stretched a galaxy’s light. The higher it is, the farther back in time we are looking. JWST’s infrared vision is what makes these galaxies visible at all, because their ultraviolet light now arrives stretched into the infrared.
Two puzzles came with the new data. First, early galaxies are “too bright, too early”: there are more luminous galaxies at cosmic dawn than many models expected. Second, JWST found a population of compact red sources, now called little red dots, first flagged among candidate massive galaxies in early JWST images (Labbé et al. 2023). Many appear to be growing black holes wrapped in gas. A broader roundup is in what JWST has discovered.
A quasar is the blazing center of a galaxy whose supermassive black hole is swallowing gas so fast that the surrounding disk outshines all the galaxy’s stars. The first was identified in 1963, when Maarten Schmidt recognized that the spectrum of the star-like radio source 3C 273 was shifted to a redshift of 0.158 (Schmidt’s 1963 identification of 3C 273). At that distance it had to be far more luminous than any normal galaxy.
Quasars are the brightest members of a wider family called active galactic nuclei. They are also among the most distant objects we can see. In July 2026 ESA’s Euclid mission and Keck Observatory reported 12 new quasars above redshift 7, including a new record holder at redshift 7.77, shining within the universe’s first 670 million years (Euclid and Keck double the earliest quasars).
Galaxies are not scattered at random; they gather in groups and clusters strung along a web of filaments around vast empty voids. The Milky Way belongs to the Local Group, dominated by the Milky Way and Andromeda, with the Triangulum Galaxy and dozens of dwarfs. The nearest big cluster, the Virgo Cluster, holds more than a thousand galaxies about 54 million light-years away.
On the largest scale, R. Brent Tully and colleagues mapped galaxy motions in 2014 and defined our home supercluster, Laniakea, Hawaiian for “immeasurable heaven.” It spans about 520 million light-years and holds roughly 1017 solar masses in about 100,000 galaxies, all flowing toward a region called the Great Attractor.
Superclusters were assembling early. In September 2026 a team reported COSMOS-z3.1-A, the most distant proto-supercluster known, seen when the universe was 2.1 billion years old (the most distant proto-supercluster). Surveys like the Vera C. Rubin Observatory, which began its ten-year sky survey in June 2026, and Euclid are now mapping this web over billions of light-years.
Galaxies are slowly running out of fuel. Star formation is already far below its peak, and as gas is used up or heated, more galaxies will fade from blue to red. Some quiet galaxies are switched off in other ways: in October 2026 a student reported three isolated dwarf galaxies that stopped forming stars, possibly after being flung through a giant neighbor (three “dead” backsplash dwarf galaxies).
Closer to home, the Milky Way will almost certainly absorb the Large Magellanic Cloud within about 1 to 2 billion years. A merger with Andromeda, nicknamed “Milkomeda,” is somewhere between a coin flip and likely over the next 10 billion years, depending on which analysis you trust. Beyond the Local Group, accelerating cosmic expansion will carry every other galaxy out of view on a timescale of order 100 billion years, leaving future observers with a single lonely galaxy (Krauss and Scherrer 2007). Long after that, the last stars fade. Follow that timeline in Deep Time.
For a visual sense of scale, our video library includes ESA’s Gaia animation of the Milky Way.
Nobody has counted them all. Estimates range from a few hundred billion galaxies that telescopes could in principle detect to about two trillion when faint, unseen dwarf galaxies are extrapolated, the figure from a 2016 study by Christopher Conselice and colleagues. The answer depends mostly on how small a galaxy you count.
We live in the Milky Way, a barred spiral galaxy roughly 100,000 light-years across with somewhere between 100 billion and 400 billion stars. The Sun sits about 27,000 light-years from the center, where a black hole of about 4.3 million solar masses called Sagittarius A* is found.
Astronomers sort galaxies by shape into spirals, barred spirals, ellipticals, lenticulars and irregulars, a scheme Edwin Hubble introduced in 1926. Dwarf galaxies, which can hold only millions of stars, cut across these classes. Spirals tend to be still forming stars, while large ellipticals are mostly old and quiet.
As of October 2026 the most distant confirmed galaxy is MoM-z14, at a redshift of 14.44, seen about 280 million years after the Big Bang by the James Webb Space Telescope. It took the record from JADES-GS-z14-0, confirmed at redshift 14.32 in 2024. The record is likely to fall again.
Yes. The Sun circles the galactic center once every 200 to 250 million years, and the Milky Way and its Local Group move at about 630 kilometers per second relative to the cosmic microwave background, pulled toward mass concentrations such as the Great Attractor in the Laniakea supercluster.
The closest galaxies are small satellites of our own. The Sagittarius Dwarf, about 70,000 light-years from Earth, is being torn apart by the Milky Way, and the Large Magellanic Cloud lies about 160,000 light-years away. The nearest large spiral is Andromeda, about 2.5 million light-years away.
Edwin Hubble settled the question in the 1920s. Using Henrietta Leavitt's 1912 law for Cepheid variable stars, he measured the distance to Cepheids in the Andromeda nebula and showed it lies far outside the Milky Way. His result was presented to the American Astronomical Society on January 1, 1925, and settled the 1920 Great Debate.
Hubble, The Observatory, 48, 139-142, 1925
Showed in 1925 that Andromeda lies far outside the Milky Way. Edwin Hubble's Cepheid distances settled the Great Debate: spiral nebulae are galaxies.
Hubble, The Astrophysical Journal, 64, 321, 1926
Sorted 400 galaxies in 1926 into ellipticals, spirals, barred spirals and irregulars. Edwin Hubble's scheme became the tuning fork still in use.
Toomre and Toomre, The Astrophysical Journal, 178, 623, 1972
Showed in 1972 that gravity alone carves the tails and bridges of colliding galaxies. Alar and Juri Toomre's simulations made mergers central.
White and Rees, Monthly Notices of the Royal Astronomical Society, 183, 341-358, 1978
Proposed in 1978 that galaxies form as gas cools inside larger dark matter halos. Simon White and Martin Rees set out the picture still used today.
Williams et al., The Astronomical Journal, 112, 1335, 1996
Revealed in 1996 about 3,000 galaxies in a tiny, empty-looking patch of sky. Robert Williams's Hubble Deep Field made deep fields a core tool.
Madau and Dickinson, Annual Review of Astronomy and Astrophysics, 52, 415-486, 2014
Showed in 2014 that cosmic star formation peaked 3.5 billion years after the Big Bang and has faded since. Madau and Dickinson's review is the reference.
Helmi et al., Nature, 563, 85-88, 2018
Found in 2018 that the Milky Way's inner halo is debris from one ancient galaxy, Gaia-Enceladus. Amina Helmi's team read the merger in Gaia star motions.
Labbé et al., Nature, 616, 266-269, 2023
Reported in 2023 six JWST candidates for massive galaxies 500 to 700 million years after the Big Bang. Ivo Labbé's team sparked a cosmology debate.
Carniani et al., Nature, 633, 318-322, 2024
Confirmed in 2024 two bright galaxies at redshift 14, 300 million years after the Big Bang. Stefano Carniani's JADES team set the record of the time.

An animation of the Milky Way based on Gaia data, showing a galaxy with more than two, less prominent spiral arms and a central bar unlike earlier models. Two minutes, no background needed. European Space Agency, ESA

University of Nottingham astronomers Meghan Gray and Mike Merrifield, with astrophotographer Nik Szymanek, introduce the Andromeda Galaxy, the Milky Way's nearest large neighbor. A friendly short introduction. DeepSkyVideos

Traces how the Milky Way was assembled by swallowing smaller galaxies, mergers we can still see frozen in progress across the universe. A good companion to the latest findings in galactic archaeology. PBS Space Time

Explains quasars, the blazing centers of galaxies powered by feeding supermassive black holes, and why their energy can shut down star formation in their hosts. Animated and beginner-friendly. Kurzgesagt - In a Nutshell

Examines JWST's discoveries of galaxies that look too mature for the young universe, and the competing explanations for how they formed so fast. Suits viewers following early-universe research. PBS Space Time