Aelfgifu of Shaftesbury was born to Wynflaed who had a connection to the convent which had been founded by King Alfred the Great at Shaftesbury. Details of her father are not known. Aelfgifu and her mother maintained a close connection with the convent.
Aelfgifu married King Edmund I of England. The exact date of the marriage is not known but has been estimated based on the birth dates of their children.