---
title: "Spanish and Portuguese DNA: 8,000 years of Iberian ancient origins"
description: "Iberia has the longest continuous ancient-DNA transect in Europe: foragers, farmers, a Beaker-era Y-chromosome revolution, Phoenicians and Romans, the Islamic centuries and their aftermath. What each layer left, and how to read an Iberian genome."
canonical: https://www.ancestrify.io/blog/spanish-portuguese-dna-ancient-origins
date: 2026-08-31T11:32:00+00:00
updated: 2026-09-09
author: "Andi Thomaj"
---

# Spanish and Portuguese DNA: 8,000 years of Iberian ancient origins

What are the ancient origins of Spanish and Portuguese DNA? The European trio plus two layers most of Europe lacks. The Beaker period brought roughly 40% genome-wide turnover and a near-total replacement of the male-line pool, and eastern Mediterranean and North African ancestry followed. Ancestrify models each era from your raw DNA.

Iberia is where ancient DNA does its deepest single-region work: Olalde et al. 2019 assembled an
8,000-year transect of the peninsula — hundreds of genomes from Mesolithic to medieval — and the
result is the reference example of how a modern population is built layer by documented layer.
Spanish and Portuguese ancestry is that transect's living endpoint.

> **The short answer:** Iberian ancestry stacks the standard European trio — foragers, Anatolian-
> derived farmers, and a Beaker-era steppe arrival that replaced most of the male-line pool —
> then adds what most of Europe lacks: measurable eastern-Mediterranean input from the
> Phoenician-to-Roman centuries and a North African layer, deposited both before and during the
> Islamic period, redistributed by the Reconquista. Modern structure runs north–south, and the
> Basques are the old profile preserved rather than a separate origin.

## The prehistoric stack

The peninsula's [foragers](/blog/hunter-gatherer-ancestry-test) included the last great WHG
populations of Europe's southwest (with a distinctive dual-ancestry signature in the north).
[Neolithic farmers](/blog/neolithic-farmer-ancestry-explained) arrived along the Mediterranean
~5700 BCE and largely replaced them, with the usual slow forager resurgence in the interior.

Then the peninsula's most dramatic finding: with the **Beaker period and Bronze Age**
(~2500–2000 BCE), [steppe-related ancestry](/blog/how-to-measure-steppe-ancestry-percentage)
arrived carrying roughly 40% of genome-wide turnover — and a **near-total replacement of the
Y-chromosome pool**: within a few centuries, the R1b-P312 lineages of the newcomers had displaced
almost all earlier paternal lines while mitochondrial lineages continued, a sex-biased turnover as
stark as anywhere in Europe (Olalde et al. 2019). El Argar and the later Bronze Age settled the
blend; the Iron Age's Celtiberians and Iberians were its regional dialects.

**The Basque exception proves the rule:** Basque genomes are essentially the peninsula's Iron Age
profile preserved — Beaker-descended like their neighbours (R1b included, at the highest
frequencies), but bypassed by the later Mediterranean and North African layers, which is why they
sit apart on any [PCA](/blog/g25-pca-explained). An old *retention*, not a separate species of
ancestry — the language is the relic, and
[genes and languages keep separate books](/blog/albanian-dna-ancient-origins).

## The historical layers most of Europe never got

The transect's second act is what makes Iberia distinctive. From the Iron Age onward, coastal
samples show **Phoenician/Punic and Greek** eastern-Mediterranean ancestry
([the central-Mediterranean version of that story](/blog/phoenician-punic-dna-mediterranean) is
told separately), broadened by the **Roman** centuries into the general eastern-Mediterranean
drift the empire produced everywhere it urbanised. **North African** ancestry appears in
peninsular samples *before* Islam — a Roman-era trickle — then rises sharply with the **Islamic
centuries** (711 onward): medieval samples from al-Andalus show substantial North African and
further eastern input. The **Reconquista and expulsions** did not erase that layer; they
*redistributed* it — modern samples carry North African-related ancestry averaging a few percent,
higher in the west and south (Portugal, Extremadura, western Andalusia), lower toward the
Pyrenees and the Basque country, a gradient mapped consistently by both ancient anchors and
modern fine-structure studies (Bycroft et al. 2019). Sephardic Jewish communities, meanwhile,
carried [their own Iberian signature outward](/blog/sephardic-jewish-dna-ancient-origins) after
1492.

Modern Iberian structure follows from the history: a north–south cline in the historical-era
layers over a shared Bronze Age base, Portugal grouping with western Spain, and Y-DNA dominated
everywhere by R1b-P312 with the old Mediterranean lineages (J2, E-M81's North African signal,
T) as regional seasoning.

## Reading your own results

- **[G25 distances](/lab/g25-distance):** modern era led by Iberian regional averages (with
  southern French and Italian entries nearby); ancient eras tracking the stack — Beaker-descended
  Bronze Age leaders, then increasingly Mediterranean company in the classical eras.
  [Era-by-era coherence](/blog/g25-closest-populations-explained) is the whole story here.
- **[Admixture fits](/lab/admixture):** deep-era models in southwest-European ratios (farmer
  share high, steppe share moderate, forager small); historical-era panels should offer an
  eastern-Mediterranean and a North African source — omitting them
  [forces their signal into the wrong components](/blog/g25-source-selection-overfitting), the
  classic Iberian modelling error.
- **[qpAdm](/qpadm):** the peninsula's dense sampling makes precise questions answerable: *does
  my genome require a North African source, and at what weight?* is a clean formal contrast with
  well-established references — the kind of claim that deserves
  [a standard error](/blog/how-to-read-qpadm-p-value-z-score-standard-error) rather than a
  [calculator's trace percentage](/blog/how-accurate-are-admixture-calculators).

## Frequently asked questions

### How much "Moorish" ancestry do Spaniards and Portuguese have?

North African-related ancestry averages a few percent, with a real west–south tilt — measurable,
regionally variable, and far from either extreme the argument attracts. It entered over many
centuries, not from one event, and
["Moorish" is a historical label, not a genetic category](/blog/ancient-vs-modern-admixture-calculators).

### Are the Basques genetically different from other Iberians?

Different by *retention*: the Iron Age Iberian profile with less of the later Mediterranean and
African layering, tightened by isolation. Their deep ancestry is the same Beaker-descended stack
as their neighbours'.

### Are Spanish and Portuguese genomes distinguishable?

At population scale, marginally — Portugal aligns with western Spain, and the strongest gradients
in Iberia run north–south, not along the border. For one individual, the honest answer is
[usually not](/blog/g25-vs-23andme-ethnicity-estimate).

Terms used here are defined in the [glossary](/glossary).

## Sources and further reading

1. Olalde, I. et al. (2019). The genomic history of the Iberian Peninsula over the past 8000
   years. *Science*, 363, 1230–1234.
2. Olalde, I. et al. (2018). The Beaker phenomenon and the genomic transformation of northwest
   Europe. *Nature*, 555, 190–196.
3. Bycroft, C. et al. (2019). Patterns of genetic differentiation and the footprints of
   historical migrations in the Iberian Peninsula. *Nature Communications*, 10, 551.
4. Fregel, R. et al. (2018). Ancient genomes from North Africa evidence prehistoric migrations to
   the Maghreb. *PNAS*, 115, 6774–6779.
