A person who lived in Romania about 40,000 years ago had a Neanderthal ancestor just four to six generations back. That family story is one striking clue to how often early humans met and mixed.

Today, about 2% of the genome of most people whose ancestors came from outside Africa is Neanderthal. The DNA is a small share, but it records encounters between groups that once lived across the same parts of the world. David Reich, a genetics professor at Harvard Medical School and a human evolutionary biology professor at Harvard, says modern humans mixed with Neanderthals as they spread from Africa into the Middle East and beyond.

Neanderthals lived mainly in Europe, as well as parts of the Middle East and Central Asia. Modern humans encountered them in the Middle East while moving out of Africa, and later met more in Europe. After about 50,000 years ago, people moving out of Africa and the Middle East also entered regions inhabited by Neanderthals and Denisovans, another ancient human group.

Reich and other researchers think populations formed through mixing among all three groups became ancestors of East Asians, Native Americans and Australians. Neanderthal ancestry is at least as common in East Asia as in Europe, a pattern that may reflect those encounters along the route east. The first children of a meeting between a modern human and a Neanderthal could have had one Neanderthal parent; as descendants had children with people from other groups, the average share of Neanderthal DNA in a population would settle at a lower level.

People did not all inherit the same bits of ancient DNA. Some variants have known effects. A Neanderthal-derived variant is a strong risk factor for severe COVID-19 and is most common in South Asians. Another Neanderthal variant is linked to pigmentation. A high-altitude adaptation in Tibetans comes instead from Denisovans. Researchers do not know whether these inherited traits helped people adapt to new surroundings or spread by chance.

Other ancient DNA finds show just how close these encounters could be. A girl from Denisova Cave in central Siberia had one Neanderthal parent and one Denisovan parent. The remains of the Romanian individual, meanwhile, show that a recent Neanderthal ancestor could be part of a family tree only a few generations long. The evidence does not tell researchers whether every encounter was voluntary, but it does show that mixing happened repeatedly.

The lesson reaches beyond Neanderthal ancestry. Ancient DNA points to mixing among different ancient groups in Africa, too, even though people in Africa do not carry Neanderthal DNA in the same way non-Africans do. There was no single, untouched ancestral population. Human history is a braid of populations meeting and moving apart, and each new ancient genome can add another strand to that story.