The Coffin Texts are a collection of ancient Egyptian funerary spells and texts written on the interior of coffins, primarily from the Middle Kingdom period (circa 2055-1650 BCE) and into the Second Intermediate Period. These texts served to guide and protect the deceased in the afterlife, providing instructions, prayers, and magical spells aimed at ensuring a safe journey and favorable outcomes in the realm of the dead. They represent a significant development in Egyptian funerary literature, evolving from earlier Pyramid Texts to more personalized and accessible writings for individuals beyond royalty.