A mastaba (//, // or //), also mastabah, mastabat or pr-djt (meaning "house of stability", "house of eternity" or "eternal house" in Ancient Egyptian) is a type of ancient Egyptian tomb in the form of a flat-roofed, rectangular structure with inward sloping sides, constructed out of mudbricks. These edifices marked the burial sites of many eminent Egyptians during Egypt's Early Dynastic Period and Old Kingdom. In the Old Kingdom epoch, local kings began to be buried in pyramids instead of in mastabas, although non-royal use of mastabas continued for over a thousand years. Egyptologists call these tombs mastaba, from the Arabic word مصطبة (maṣṭaba) "stone bench".
The afterlife was important in the religion of ancient Egyptians. Their architecture reflects this, most prominently by the enormous amounts of time and labour involved in building tombs. Ancient Egyptians believed the soul could live only if the body was fed and preserved from corruption and depredation.
Starting in the Predynastic era and continuing into later dynasties, the ancient Egyptians developed increasingly complex and effective methods for preserving and protecting the bodies of the dead. They first buried their dead in pit graves dug from the sand with the body placed on a mat, usually along with some items believed to help them in the afterlife. The first tomb structure the Egyptians developed was the mastaba, composed of earthen bricks made from soil along the Nile. It provided better protection from scavenging animals and grave robbers. As the remains were not in contact with the dry desert sand, natural mummification could not take place; therefore the Egyptians devised a system of artificial mummification. Until at least the Old Period or First Intermediate Period, only high officials and royalty were buried in these mastabas.
The term mastaba comes from the Arabic word for "a bench of mud". When seen from a distance, a flat-topped mastaba does resemble a bench. Historians speculate that the Egyptians may have borrowed architectural ideas from Mesopotamia, since at the time they were both building similar structures.
The above-ground structure of a mastaba is rectangular in shape with inward-sloping sides and a flat roof. The exterior building materials were initially bricks made of the sun-dried mud readily available from the Nile River. Even after more durable materials such as stone came into use, all but the most important monumental structures were built from mudbricks. Mastabas were often about four times as long as they were wide, and many rose to at least 30 feet in height. They were oriented north–south, which the Egyptians believed was essential for access to the afterlife. The above-ground structure had space for a small offering chapel equipped with a false door. Priests and family members brought food and other offerings for the soul, or ba, of the deceased, which had to be maintained in order to continue to exist in the afterlife.
Inside the mastaba, the burial chambers were cut deep, into the bedrock, and were lined with wood. A second hidden chamber called a serdab (سرداب), from the Persian word for "cellar", was used to store anything that may have been considered essential for the comfort of the deceased in the afterlife, such as beer, grain, clothes and precious items. The mastaba housed a statue of the deceased that was hidden within the masonry for its protection. High up the walls of the serdab were small openings that would allow the ba to leave and return to the body (represented by the statue); Ancient Egyptians believed the ba had to return to its body or it would die. These openings "were not meant for viewing the statue but rather for allowing the fragrance of burning incense, and possibly the spells spoken in rituals, to reach the statue".
The mastaba was the standard type of tomb in pre-dynastic and early dynastic Egypt for both the pharaoh and the social elite. The ancient city of Abydos was the location chosen for many of the cenotaphs. The royal cemetery was at Saqqara, overlooking the capital of early times, Memphis.
Mastabas evolved over the early dynastic period. During the 1st Dynasty, a mastaba was constructed simulating house plans of several rooms, a central one containing the sarcophagus and others surrounding it to receive the abundant funerary offerings. The whole was built in a shallow pit above which a brick superstructure covering a broad area. The typical 2nd and 3rd Dynasty mastabas was the 'stairway mastaba', the tomb chamber of which sank deeper than before and was connected to the top with an inclined shaft and stairs.
Even after pharaohs began to construct pyramids for their tombs in the 3rd Dynasty, members of the nobility continued to be buried in mastaba tombs. This is especially evident on the Giza Plateau, where at least 150 mastaba tombs have been constructed alongside the pyramids.
In the 4th Dynasty (c. 2613 to 2494 BC), rock-cut tombs began to appear. These were tombs built into the rock cliffs in Upper Egypt in an attempt to further thwart grave robbers. Mastabas, then, were developed with the addition of offering chapels and vertical shafts. 5th Dynasty mastabas had elaborate chapels consisting of several rooms, columned halls and 'serdab'. The actual tomb chamber was built below the south-end of mastaba, connected by a slanting passage to a stairway emerging in the center of a columned hall or court.
Mastabas are still well attested in the Middle Kingdom. Here they had a revival. They were often solid structures with the decoration only on the outside.
By the time of the New Kingdom (which began with the 18th Dynasty around 1550 BC), "the mastaba becomes rare, being largely superseded by the independent pyramid chapel above a burial chamber".