Gaia DR4 Explained: 2.8 Billion Sources, 23 Black Holes, and How to Query the Data

By Eoin Villarin, 2026-12-05

ESA's Gaia Data Release 4 maps 2.8 billion sources from 66 months of observations in 400 TB of data, with 23 new dormant black holes and thousands of exoplanet candidates. Here is what is new versus DR3, what the headline numbers really mean, and how to query the archive with ADQL and Python.

What is in Gaia Data Release 4?

Gaia DR4, published by ESA on December 2, 2026, contains about 2.8 billion sources from 66 months of observations, with high-quality astrometry and photometry for about 2 billion of them, in roughly 400 TB of data. For the first time it includes every individual epoch measurement, plus the largest catalogue of binary stars, about 85 million radial velocities, 23 new dormant black holes and several thousand exoplanet candidates. The data is free through the Gaia Archive using ADQL or the astroquery Python package.

Key takeaways

  • Gaia DR4 was released on December 2, 2026 with about 2.8 billion sources, about 2 billion of them with full high-quality astrometry and photometry, from July 2014 to January 2020.
  • At about 400 TB it is 40 times DR3, mostly because it publishes epoch data: 129.6 billion position and 121.8 billion brightness measurements plus spectra and images.
  • First results include a warped, wobbling galactic disc, 23 new dormant black holes (26 total, BH15 at about 37 solar masses), over 8,000 exoplanet candidates and 718 binary asteroid candidates.
  • Gaia stopped observing on January 15, 2025 and was retired on March 27, 2025; DR5, covering the full mission, is not expected before about 2030.
  • Anyone can query the data for free with ADQL at the Gaia Archive or with astroquery in Python; filter on parallax_over_error and ruwe and query epoch tables by source_id.

ESA published Gaia Data Release 4 on December 2, 2026. It covers about 2.8 billion sources in the Milky Way and beyond, with full high-quality astrometry and photometry for about 2 billion of them, built from 66 months of observations between July 2014 and January 2020. At roughly 400 terabytes it is about 40 times the size of DR3, and for the first time it includes the individual epoch measurements, meaning every single position, brightness and spectrum Gaia recorded for every star, not just the averaged result. ESA's Director of Science, Carole Mundell, said the release will have a profound impact on astronomy. This guide explains what is in Gaia DR4, why the numbers mean different things in different headlines, what the first science results are, and how developers can query the archive with ADQL and Python.

Gaia DR4 at a glance

ItemGaia DR4Gaia DR3 (2022)
Release dateDecember 2, 2026June 13, 2022
Observation span66 months (July 25, 2014 to January 20, 2020)34 months
Sources in totalAbout 2.8 billion (all_source_astrometry: 2,793,009,568 rows)About 1.8 billion
Sources with high-quality astrometry and photometryAbout 2.0 billion (gaia_source: 2,000,033,276 rows)About 1.5 billion
Data volumeAbout 400 TBAbout 10 TB
Epoch (time series) dataYes, for astrometry, photometry, spectra and imagesOnly for selected samples
Radial velocitiesTable of 312 million rows; about 85 million radial velocities per Paris ObservatoryAbout 33 million
Dormant black holes found23 new, 26 in total3
Exoplanet candidatesSeveral thousand, over 8,000 per INAF, hundreds nearly confirmedA handful
AsteroidsAbout 436,000 tracked, with 718 binary candidatesAbout 158,000
Artist's impression of the Gaia spacecraft with its large circular sunshield in front of a panoramic image of the Milky Way
Gaia scanned the whole sky repeatedly for more than ten years; DR4 covers the first 66 months. Illustration: ESA/ATG medialab, background ESA/Gaia/DPAC, CC BY-SA 3.0 IGO, via Wikimedia Commons

2.8 billion or 2 billion stars? Both headlines are right

Most news reports say 2.8 billion stars. ESA's own table says 2.8 billion processed sources, and a source is anything Gaia detected as a point of light: stars, quasars, distant galaxy cores, asteroids. The gaia_source table, which is what most people will query, holds the roughly 2 billion sources that have both high-quality astrometry (position, distance, motion) and photometry (brightness and colour). The other 800 million have lower-quality or partial solutions in the all_source tables. So "2.8 billion sources" and "nearly 2 billion stars mapped in detail" describe the same release. The observation count is even looser: outlets quote 1.5 trillion individual observations, ABC says more than a trillion, and one summary says three trillion; ESA's DR4 page gives no single figure.

What is new compared with DR3

  • Epoch astrometry. 129.6 billion rows of individual position measurements, 62 TB. This is what makes it possible to detect the tiny wobbles caused by unseen companions, from planets to black holes.
  • Epoch photometry and spectra. 121.8 billion brightness measurements (7.2 TB, or 23 TB at CCD level), plus epoch BP/RP spectra (119 TB) and RVS spectra (49 TB) and 113 TB of epoch image data.
  • Binaries and multiples. New non-single-star tables (resolved pairs, multiplicity, multiple orbits) form what ESA calls the largest catalogue of binary and multiple star systems ever assembled.
  • Radial velocities. A table of 312 million rows, with about 85 million radial velocities and 2.6 million line-broadening measurements per the Paris Observatory.
  • Variable stars. More than 400 million variable stars with time series, across about 20 vari_* tables.
  • Quasars and galaxies. A 3D quasar map and a qso_candidates table of 5.37 million rows.
  • Solar System. 436,551 asteroid entries, about double previous releases, including 718 binary asteroid candidates.
  • Nearby galaxies. The first 3D map of the Large Magellanic Cloud built from direct parallax distances, and motions for tens of thousands of stars in Andromeda and Triangulum.

The first science results

ESA and the Data Processing and Analysis Consortium (DPAC) released a set of headline findings with the data:

  1. A warped, wobbling Milky Way. The new map of nearly 2 billion stars shows the galactic disc is not flat: it is warped and wobbles, and the release includes a full-colour image of the galaxy coded by stellar age.
  2. 23 new dormant black holes. Each is a stellar-mass black hole of around five solar masses found through the orbit of a companion star, bringing the total to 26. One, called BH15, is about 37 solar masses orbiting a red giant, which consortium lead Anthony Brown of Leiden University called the most massive black hole found by Gaia so far. Another, about 650 light-years away, is the first confirmed black hole paired with a white dwarf.
  3. Thousands of exoplanet candidates. Gaia finds planets by the wobble they induce in their star's position, which favours temperate giant planets on long orbits. INAF's Matteo Pinamonti said the catalogue holds more than 8,000 candidates. They still need independent confirmation, but hundreds are described as nearly confirmed.
  4. Stellar strings. Chains of stars with a common origin, stretched out across the disc, now mapped in far greater numbers.
  5. A direct-distance LMC map. INAF's Antonella Vallenari called it the first 3D map built from direct geometric distances.
Artist's impression of the Milky Way seen face-on with spiral arms and a bright central bar, with an arrow labelled You are here pointing to the Sun's position
The Milky Way as reconstructed from Gaia data; DR4 adds enough precision to show the disc warping and wobbling. Illustration: ESA, CC BY-SA 3.0 IGO, via Wikimedia Commons

The mission behind the data

Gaia launched on December 19, 2013 and made its last science observations on January 15, 2025, when the cold gas it used to hold itself steady while scanning ran out. It was passivated and retired to a safe orbit on March 27, 2025. The telescope observed for about ten and a half years in total; DR4 covers the first five and a half. The final release, DR5, will cover the whole mission, and the coverage disagrees on timing: ABC reports it is not expected before the end of 2030, while another summary says by 2030. Either way, DR4 is the main Gaia catalogue astronomers will work with for the rest of this decade.

How to query Gaia DR4 yourself

All of the data is public and free. The main entry point is the Gaia Archive at gea.esac.esa.int/archive, which accepts ADQL, a SQL dialect for astronomy. Here is a query that returns the 20 nearest well-measured stars, using the DR4 table naming that follows DR3's gaiadr3.gaia_source convention; confirm the exact table name in the archive's table browser before running it:

SELECT TOP 20 source_id, ra, dec, parallax, parallax_error, phot_g_mean_mag, radial_velocity
FROM gaiadr4.gaia_source
WHERE parallax > 100
  AND parallax_over_error > 20
ORDER BY parallax DESC

A parallax above 100 milliarcseconds means a star within about 10 parsecs (33 light-years). The same query works from Python with astroquery, which handles the TAP login and returns an Astropy table:

from astroquery.gaia import Gaia

job = Gaia.launch_job_async(
    "SELECT TOP 20 source_id, ra, dec, parallax, phot_g_mean_mag "
    "FROM gaiadr4.gaia_source "
    "WHERE parallax > 100 AND parallax_over_error > 20 "
    "ORDER BY parallax DESC"
)
table = job.get_results()
print(table)

Practical tips from the DR3 era that still apply:

  • Use asynchronous jobs for anything over a few thousand rows; synchronous queries time out.
  • Filter on ruwe (below about 1.4) and parallax_over_error to drop poor astrometric solutions before you trust a distance.
  • Epoch tables are enormous. Query them by source_id for the objects you care about, never by sky region.
  • Mirror data centres (CDS, ARI, AIP and others listed on the ESA data-access page) can be faster than ESAC during the first weeks after a release.
  • The DR4 documentation, data model and known-issues pages are at gea.esac.esa.int/archive/documentation/GDR4 and cosmos.esa.int/web/gaia/dr4-known-issues.
A scale model of the Gaia spacecraft with its wide silver and gold sunshield and cylindrical body, displayed at an air show
A scale model of Gaia at the Paris Air Show in 2013, six months before launch. Photo: Pline, CC BY-SA 3.0, via Wikimedia Commons

Why a web developer is writing about star catalogues

Because DR4 is also one of the best public datasets for learning data engineering. It is a 400 TB, well-documented, versioned release with a standard query language, mirrored endpoints, a Python client and strict schemas. The same habits you need to use it well are the ones I apply when I build data-heavy sites: paginate big queries, filter server-side, cache results at the edge and keep the schema in version control. If you want a dashboard, visualization or data-driven feature built on an open dataset like this one, my custom web development service does exactly that, and the free tools on this site show the kind of browser-side processing that is possible today. For more space science on this blog, read the Planet X2 study beyond Neptune and the disappearing planet TOI-2535 b.

Frequently asked questions

What is Gaia DR4?

Gaia Data Release 4 is the fourth public catalogue from ESA's Gaia mission, published on December 2, 2026. It contains about 2.8 billion sources from 66 months of observations, about 400 TB of data, and for the first time the individual epoch measurements for every object.

How many stars are in Gaia DR4?

About 2.8 billion sources in total, of which about 2 billion have high-quality positions, distances, motions and brightness measurements in the main gaia_source table. Not every source is a star; the catalogue also includes quasars, galaxies and asteroids.

How big is Gaia DR4?

About 400 terabytes, roughly 40 times DR3's 10 TB. Most of it is epoch data: 129.6 billion astrometric measurements, 121.8 billion photometric ones, and over 280 TB of spectra and images.

What black holes did Gaia DR4 find?

23 new dormant stellar-mass black holes, bringing Gaia's total to 26. The most massive, BH15, is about 37 solar masses orbiting a red giant. Another, about 650 light-years away, is the first confirmed black hole paired with a white dwarf.

How many exoplanets did Gaia DR4 discover?

Several thousand candidates, more than 8,000 according to INAF, found through the astrometric wobble of their host stars. They need independent confirmation; hundreds are described as nearly confirmed.

How do I download Gaia DR4 data?

Through the Gaia Archive at gea.esac.esa.int/archive using ADQL queries, through the astroquery.gaia Python package, or from partner data centres such as CDS. Full downloads are impractical; query by sky region or source_id instead.

When is Gaia DR5?

DR5 will cover the full ten and a half years of observations. ABC reports it is not expected before the end of 2030; other summaries say by 2030.

Is Gaia still operating?

No. Gaia made its last science observations on January 15, 2025 and was retired on March 27, 2025 after its pointing gas ran out. DR4 and DR5 are built from data it already collected.

Sources

Related reading