Introduction
Heka was the ancient Egyptian deification of magic and magical power itself, regarded as a fundamental force present at and necessary for creation, rather than a deity with an extensive narrative mythology of his own.
Attestation
Egyptian religious texts, including material from the Coffin Texts and other ritual sources, treat Heka less as a figure with a developed personal story and more as the personification of magic as a creative and sustaining cosmic force, one said to have existed before the ordered world and to have been wielded by the sun-god Ra and other deities in performing acts of creation and maintaining order against chaos; Heka was also invoked practically in Egyptian magical and medical ritual texts, where his name functioned as an abstract principle underlying the efficacy of spells and rites performed by priests and magicians.
This entry follows ancient Egyptian religious and ritual texts for Heka's role as the personification of magic; the available sources describe Heka as a cosmic principle rather than through an extensive personal narrative.