A close-up photo of a stained glass depiction of St Margaret. She has gold hair and wears a gold crown.

Sometimes known as “The Pearl of Scotland,” Saint Margaret is one of the most revered figures in Scottish history. But how much do you know about the exiled English princess and Scottish queen?

Did she arrive in Scotland by accident?

Margaret was born in Hungary around 1045. Her father was Edward the Exile, an English prince who, together with his father, King Edmund, was banished from England by King Cnut. 

A stained glass depiction of St Margaret in St Margaret's Chapel, Edinburgh. She wears blue robes and a gold crown and has an open book , possibly a Bible, on her lap.

Margaret depicted in stained glass at Edinburgh Castle

In 1057, Edward was named as an heir to the English throne. He left Hungary with his wife Agatha, son Edgar and daughters Margaret and Christina. He died very shortly after arriving in England, his family left residing in the royal court.

The Norman Conquest of 1066 forced the family to flee to Northumbria. From there, Agatha planned to return with her children to the continent.

Legend has it that a storm forced their ship to re-route to the Kingdom of Scotland. The spot in Fife where it landed is today known as St Margaret’s Hope.

She had eight children, including three kings of Scotland

Having landed in Scotland in 1069, Margaret’s family sought protection from King Malcolm III.

Although it has been suggested that Margaret wished to enter a religious life rather than a royal marriage, by 1070 her wedding to Malcolm had taken place in Dunfermline.

A colour drawing of the interior of a large church building,. An elaborate golden tomb is in front of the altar. Various pilgrims are praying in front of the monument, attended to by monks.

An artist’s impression of how St Margaret’s shrine in Dunfermline may have appeared

The 23-year marriage produced six sons and two daughters. Three (Edmund, Alexander and David) went on to be Kings of Scotland.

Margaret’s eldest daughter, Matilda (also known as Edith or Mold), was crowned Queen of England at Westminster Abbey when she married Henry I in November 1100. Like her mother, Matilda was engaged in considerable charity. This led to the epithet “Mold the Good Queen.”

She established a free crossing of the Firth of Forth

Margaret was an incredibly pious Roman Catholic. One of her most significant achievements was to establish a crossing point on the Firth of Forth for pilgrims on their way to St Andrew’s Cathedral.

Boats worked the “Queen’s Ferry” from the 11th century all the way through to 1964, when the Forth Road Bridge was opened.

The villages at each side of the crossing, North Queensferry and South Queensferry, take their names from Margaret.

Small boats pictured in front of the iconic Forth Bridge from the shores of the Firth of Forth at North Queensferry

Travellers and pilgrims made the crossing to North Queensferry by boat before the Forth Bridge and Forth Road Bridge opened

She invited Benedictine monks to Dunfermline

Margaret was herself a frequent user of the Queensferry crossing, travelling between Edinburgh and Dunfermline.

Margaret helped to establish the town as one of Scotland’s most important religious centres when she converted the Holy Trinity church into a priory.

An aerial view of Dunfermline Abbey with lost parts of the building digitally added

The ghosted cloisters in this image give an impression of the scale of Dunfermline Abbey

At her encouragement, a small community of monks from Canterbury laid the foundations of the first Benedictine house in Scotland.

Margaret’s son David I raised the status of her priory to abbey in 1128. This grand building has provided a final resting place for several of Scotland’s great kings and queens, including Robert the Bruce and, fittingly, Margaret herself.

In 1199, King William the Lion was supposedly dissuaded from invading England after he saw a vision while praying at her tomb.

Two large slabs atop each other - the remains of a shrine in the ruins of Dunfermline Abbey.

St Margaret’s shrine as it appears today

Her secret cave can be found beneath a 1960s car park

An unassuming stone building in a car park in central Dunfermline marks the entrance to St Margaret’s Cave.

It is said that Margaret would often pray at a shrine in this small cave, located in the side of a steep, open valley.

After Margaret’s death and  subsequent canonisation in 1250, the cave became a popular place of pilgrimage.

St Margaret’s Cave as it appeared before a car park was built above it in the 1960s. The metal railings were added in the 1890s.

In 1962, the valley was filled in by the town council to provide space for a new car park. Thankfully, local protests ensured part of the cave was saved. It can be accessed via an 87-step tunnel descending deep below the car park.

The oldest building in Edinburgh is dedicated to her

The oldest surviving building in the Scottish capital is St Margaret’s Chapel, nestled within the walls of Edinburgh Castle. It was built around 1130 by David I and dedicated to his mother.

St Margaret’s Chapel overlooks the city of Edinburgh from Castle Rock

The chapel fell into disuse after the Scottish Reformation. In the 16th century, it was used as a gunpowder store. It was restored to its former glory in the 19th century.

Today there are always fresh flowers in the chapel. These are provided by St Margaret’s Chapel Guild whose members all share the name Margaret!

An unassuming chapel interior. Two wooden benches flank a small aisle, at the end of which an altar sits under a stone archway. A small window and a bunch of flowers can be seen behind the altar.

The interior of St Margaret’s Chapel


About Author


Samuel Wilson

Samuel works as a Digital Content Officer within Historic Environment Scotland's Communications and Media team, helping to tell stories about the organisation's work and share incredible tales from Scotland's past.