Egypt

Egypt was a country in northeastern Africa.

BC
Around 5000 BC, the Osirians visited Egypt during their battle with Sutekh and were worshipped as gods. (TV: Pyramids of Mars) One Osirian, Thoueris, attempted to capitalise on this by demanding tributes from the natives, and feeding those who did not comply to crocodiles. She was later defeated and killed by crocodiles under the Eighth Doctor's control. (COMIC: The Power of Thoueris!) Khnum may have been a Dæmon or a race memory of one. (TV: The Dæmons)

Circa 3500 BC, Sontaran Field Major Styx arrived in Egypt, where he was briefly worshipped as the god Sontar before being entombed. (COMIC: The Gods Walk Among Us)

Circa 2650 BC, the First Doctor was pursued by the Daleks and the Monk to Egypt, during the construction of a pyramid. (TV: The Daleks' Master Plan)

Circa 2000 BC, Nyssa was sealed in an Egyptian sarcophagus. (PROSE: The Sands of Time)

Circa 1400 BC, the Fifth Doctor and Peri saved Egypt from an alien threat, and were joined on their travels by Erimem. (AUDIO: The Eye of the Scorpion)

Circa 1366 BC, Ace spent some time in Egypt after fleeing from Robot Ants. (PROSE: Set Piece)

In 1334 BC, the Eleventh Doctor stopped what he described as a "weapons bearing giant alien locust attack" in ancient Egypt. He met Queen Nefertiti during this adventure. She was attracted to the Doctor, and travelled with him along with Riddell, Amy Pond, Rory Williams, and Brian Williams, to the Silurian Ark in 2367 (TV: Dinosaurs on a Spaceship)

The Second Doctor, Ben Jackson and Polly visited Egypt, where Ben pretended to be Tut-Ankh-Amen and frightened off some grave-robbers. (PROSE: The King of Golden Death)

In 41 BC, the Sixth Doctor and Peri watched Cleopatra's barge on the River Nile. (PROSE: State of Change)

18th century
In 1798, Benny aided archeologist Vivant Denon during an Egyptian dig after fleeing from Robot Ants. (PROSE: Set Piece)

19th century
In 1880, the Second Doctor, John and Gillian arrived in Egypt, where the TARDIS was captured by Arabs. (COMIC: Egyptian Escapade)

20th century
In 1911, an archaeological expedition led by Marcus Scarman unearthed the tomb of Sutekh. (TV: Pyramids of Mars)

In 1926, an archaeological expedition unearthed the tomb of Sontar. (COMIC: The Gods Walk Among Us)

In 1983, Sarah Jane Smith and K9 visited Warren Martyn's archaeological expedition in Egypt, where they discovered an underground city of Silurians and Sea Devils. (COMIC: City of Devils)

In an alternate timeline, penguins lived on the Nile. (TV: The Big Bang)

21st century
Between 2007 and 2009, Donna Noble went to Egypt for two weeks in a failed attempt to bring excitement to her life after her encounter with the Tenth Doctor. She described Egypt as "tourism, guidebooks, don't drink the water, and back home." (TV: Partners in Crime)

In the wake of Miracle Day, protestors in Egypt rioted, attacking the 'Western Miracle'. (TV: Dead of Night)

Unknown dates
On an unspecified date during the time of the pharaohs, the Eleventh Doctor, Amy Pond and Rory Williams visited Egypt and captured an alien posing as the pharaoh's vizier. (COMIC: Assimilation²)

An unknown amount of time before 1979, Scaroth was worshipped by the Egyptians, appearing in hieroglyphs. (TV: City of Death)

Some time before 2007, the Doctor's TARDIS also became represented in some Egyptian hieroglyphs. (TV: Love & Monsters)

In the 44th century on Christmas Eve, the Eleventh Doctor, Kazran Sardick and Abigail Pettigrew travelled through time and space in the Doctor's TARDIS, visiting Egypt on an unspecified date. (TV: A Christmas Carol)

Behind the scenes

 * According to the non-narrative based book, The Brilliant Book 2012, in 1881, Madame Vastra helped a group of archaeologists to excavate a tomb, with the intention of eating any mummies that were found inside.