Ælfgifu of Shaftesbury, also known as Elgiva, was an English aristocrat and the first wife of King Edmund I. They married around 939, and she was regarded as queen until her death in 944, although contemporary evidence does not establish that she was formally consecrated. Their sons, Eadwig and Edgar, later became kings of England.
Ælfgifu’s closest known family connection was her mother, Wynflæd, who was associated with Shaftesbury Abbey. A charter records Wynflæd’s grant of an estate to the abbey, while another document suggests she reclaimed estates in Dorset from Edmund. Ælfgifu’s wider ancestry remains uncertain, and scholars have disagreed over whether her family could be linked to a will attributed to a woman named Wynflæd.
Her relationship with Shaftesbury was central to her legacy. Ælfgifu received an estate from Edmund and intended to leave it to the abbey, though her son Eadwig later required its return to the royal family. She was buried and enshrined at the nunnery after her death, which may have occurred in childbirth. By the 970s, accounts described miracles at her tomb, and her reputation as a saint endured in Anglo-Saxon England. A pre-Conquest Winchester tradition marked her feast day on May 18.