22/02/2026
📖👑Malcolm III, Queen Margaret, and Dunfermline.
When historians write about King Malcolm III and Queen Margaret, they rely on four major authentic sources: Vita Sanctae Margaretae (written around 1104 by Turgot, Margaret’s confessor, at the request of her daughter Matilda); The Anglo-Saxon Chronicle (completed around 1154); Symeon of Durham’s chronicles (c.1164); and John of Fordun’s Chronica Gentis Scotorum (c.1370).
Almost everything written later is based on these accounts or on the oral traditions that developed over the centuries.
So who were Malcolm and Margaret, and why does Dunfermline matter so much in their story?
Malcolm Canmore (Malcolm III), whose nickname “Cean-more” means “Great Chief,” was the son of Duncan I of Scotland. After Duncan was killed by Macbeth, young Malcolm fled to England. He grew up at the court of Edward the Confessor before eventually reclaiming the Scottish throne in 1056 or 1057 with the support of powerful allies.
In 1070, Malcolm married Margaret, an English princess with Hungarian roots. She was the daughter of Edward, son of Edmund Ironside, King of England, and the grand-niece of Edward the Confessor. After the Norman Conquest, her family fled north for safety.
The marriage took place at Dunfermline. Although medieval sources differ slightly regarding the precise year and circumstances, John of Fordun records the date as 1070, and this is generally accepted.
According to tradition, when Margaret arrived in Scotland, her ship landed at what is now known as Margaret’s Hope in North Queensferry, though it was not called that at the time. From there, she travelled overland to Dunfermline to meet Malcolm.
The Anglo-Saxon Chronicle offers an interesting time reference. In 1068, Margaret’s family sought refuge in Scotland. Her brother, Edgar Aetheling, left his mother and sisters in Malcolm’s care before travelling south in 1069, only to be driven back north by William I. If this timeline is correct, the marriage does not appear to have been a matter of urgency. Malcolm and Margaret may have known each other for up to two years before marrying. This would have allowed time for the growth of the mutual affection and for Margaret to consider her role at the Scottish court.
In later references, there are speculations that Malcolm and Margaret met during his time in exile at the English court, when Margaret was nearly twelve years old, and that a betrothal agreement was then made. This would have seemed plausible had it not been for another fact from Malcolm’s biography: his marriage to his first wife, Ingebjorg, who passed away around 1066 to 1069.
When Malcolm and Margaret’s wedding took place in Dunfermline, it elevated the status of the settlement, making it more important as a royal centre, giving it a more distinct identity and prestige, attracting merchants, tradespeople, and visitors, and transforming a small settlement into a firmly established religious town.
So what was Dunfermline like back then?
It is very likely that Malcolm already had a residence in Dunfermline prior to his second marriage. However, it is unclear where he resided with his first wife, and some historians suggest that the Dunfermline residence may originally have been a hunting lodge. Hunting is believed to have taken place in what is now Pittencrieff Park, close to the royal lodgings. John of Fordun even records a narrative of Malcolm confronting a traitorous baron while on a hunting party in what are now the woods of Pittencrieff.
Going back to the name “Dunfermline,” meaning a fort on a rocky hill beside a winding stream, the site traditionally identified as Malcolm’s Tower fits that description. But the surviving remains are small. It is difficult to picture a full royal household, especially one including Margaret’s attendants from England, living in the tower alone.
Turgot describes Margaret holding audiences in a great hall capable of accommodating up to 300 people, where she fed the poor and cared for children. Such a hall could hardly have existed within the present dimensions of Malcolm’s Tower. Either Turgot exaggerated, or there was a substantial timber-built hall elsewhere within the royal enclosure, probably near the church, as well as other buildings in the complex, such as stables, kitchens, and housing for monks and servants. Timber buildings would leave little trace after centuries of rebuilding; perhaps that is why so little is known about the early royal settlement.
Now imagine Margaret, born in Hungary and raised at the English court, arriving in this rugged royal centre. Dunfermline was no stone palace. Yet it would soon become her home.
Margaret became deeply attached to Dunfermline. She took her duties to the church and to the people seriously as the proper Scottish queen. She and Malcolm formed, over time, a strong and loving alliance with Dunfermline at its centre. What may have begun as a political alliance appears to have grown into a genuine partnership. Together, Malcolm and Margaret embarked on an ambitious effort to reshape Scotland’s religious and political landscape. They founded, or rebuilt in stone, a church dedicated to the Holy Trinity on the site of an earlier Culdee church. This was not just a building project. It was a religious transformation, aligning Scottish religious practice more closely with Roman Christianity.
Their influence spread to the Scottish Borders, where Malcolm frequently conducted raids after 1079. The Liber Vitae (Book of Life) of Durham Cathedral records both Malcolm and Margaret among those remembered in prayer. Although Malcolm was feared in England for his raids, he maintained visible connections to major religious centres.
That connection with Durham would later influence Dunfermline directly. Their son, David I, invited stonemasons from Durham when building Dunfermline Abbey, bringing architectural and religious ideas north and creating a grand and beautiful building. He enclosed his parents’ tombs within it, making it a destination for pilgrims.
Malcolm and Margaret were married for twenty-three years and had eight children between 1071 and 1084. The chronicles suggest all were born in Dunfermline, a strong sign that the couple regarded it as a principal royal residence and their home.
Interestingly, none of Malcolm’s sons was given traditional Scottish royal names. Instead, their names reflected Margaret’s Anglo-Saxon heritage and religious devotion: Edward, Edmund, Ethelred, Edgar, Alexander, and David. This tells us a great deal about her cultural influence at court.
In 1079, Malcolm launched another campaign against England. As conflict increased, Edinburgh, with its stronger natural defences, became more important as a royal base, and Queen Margaret had to relocate there.
In 1093, Malcolm was killed at the Battle of Alnwick along with his eldest son, Edward, during an ambush. Margaret, already seriously ill, died three days later after receiving the devastating news in Edinburgh.
There was never any doubt where she would be buried: in her beloved Church of the Holy Trinity at Dunfermline. Malcolm’s body was later brought there as well, around 1115.
In 1128, under their son David I, the church formally became Dunfermline Abbey. From that point onward, it became a royal burial site.
Their children, and later Scottish kings granted lands to the Abbey and chose to be buried there, no matter where they had died.
David I also built St Margaret’s Chapel in Edinburgh in memory of his mother. He continued the reforming work begun by his parents, founding abbeys across Scotland and strengthening royal administration.
Although there is little evidence that Malcolm and Margaret's children regularly lived in Dunfermline later in life, the steady flow of royal charters and gifts to the Abbey shows that the town retained immense spiritual and dynastic importance for the Scottish kings. Whatever it came to be for the later kings, we can be certain that for King Malcolm and Queen Margaret, Dunfermline was a true home.
The End of This Chapter.