Ancient Egyptian creation myths are the ancient Egyptian accounts of the creation of the world. The Pyramid Texts, tomb wall decorations, and writings, dating back to the Old Kingdom (c. 2700–2200 BCE) have provided the majority of information regarding ancient Egyptian creation myths. These myths also form the earliest religious compilations in the world. The ancient Egyptians had many creator gods and associated legends. Thus, the world or more specifically Egypt was created in diverse ways according to different parts of ancient Egypt. Some versions of the myth indicate spitting, others masturbation, as the act of creation. The earliest god, Ra and/or Atum (both being creator/sun gods), emerged from a chaotic state of the world and gave rise to Shu (air) and Tefnut (moisture), from whose union came Geb (earth) and Nut (sky), who in turn created Osiris, Isis, Set, and Nephthys. An extension to this basic framework was the Osiris myth involving Osiris, his consort Isis, and their son Horus. The murder of Osiris by Set, and the resulting struggle for power, won by Horus, provided a powerful narrative linking the ancient Egyptian ideology of kingship with the creation of the cosmos.

In all of these myths, the world was said to have emerged from an infinite, lifeless sea when the sun rose for the first time, in a distant period known as zp tpj (sometimes transcribed as Zep Tepi), "the first occasion". Different myths attributed the creation to different gods: the set of eight primordial deities called the Ogdoad, the contemplative deity Ptah, and the mysterious, transcendent god Amun. While these differing cosmogonies competed to some extent, in other ways they were complementary, as different aspects of the Egyptian understanding of creation.

Ancient Egyptian creation myths

Common elements

The different myths have some elements in common. They all held that the world had arisen out of the lifeless waters of chaos, called Nu. They also included a pyramid-shaped mound, called the benben, which was the first thing to emerge from the waters. These elements were likely inspired by the flooding of the Nile River each year; the receding floodwaters left fertile soil in their wake, and the Egyptians may have equated this with the emergence of life from the primeval chaos. The imagery of the pyramidal mound derived from the highest mounds of earth emerging as the river receded.

Ancient Egyptian creation myths

The sun was also closely associated with creation, and it was said to have first risen from the mound, as the general sun-god Ra or as the god Khepri, who represented the newly-risen sun. There were many versions of the sun's emergence, and it was said to have emerged directly from the mound or from a lotus flower that grew from the mound, in the form of a heron, falcon, scarab beetle, or human child.

Ancient Egyptian creation myths

Another common element of Egyptian cosmogonies is the familiar figure of the cosmic egg, a substitute for the primeval waters or the primeval mound. One variant of the cosmic egg version teaches that the sun god, as primeval power, emerged from the primeval mound, which stood in the chaos of the primeval sea.

Cosmogonies

The different creation accounts were each associated with the cult of a particular god in one of the major cities of Egypt: Hermopolis, Heliopolis, Memphis, and Thebes. To some degree, these myths represent competing theologies, but they also represent different aspects of the process of creation.

Hermopolis

The creation myth promulgated in the city of Hermopolis focused on the nature of the universe before the creation of the world. The inherent qualities of the primeval waters were represented by a set of eight gods, called the Ogdoad. The goddess Naunet and her male counterpart Nu represented the stagnant primeval water itself; Huh and his counterpart Hauhet represented the water's infinite extent; Kek and Kauket personified the darkness present within it; and Amun and Amaunet represented its hidden and unknowable nature, in contrast to the tangible world of the living. The primeval waters were themselves part of the creation process, therefore, the deities representing them could be seen as creator gods. According to the myth, the eight gods were originally divided into male and female groups. They were symbolically depicted as aquatic creatures because they dwelt within the water: the males were represented as frogs, and the females were represented as snakes. These two groups eventually converged, resulting in a great upheaval, which produced the pyramidal mound. From it emerged the sun, which rose into the sky to light the world.