Beta Help us improve: share your feedback on our new website.

Important notice

The palace is currently closed, but the rest of the abbey is open to explore. The Abbey Church is a working church and opening hours may vary due to services and events. Please check the plan your visit tab for details. 

Dunfermline’s story stretches back to the 11th century – the time of Malcolm III and his queen, Margaret. Their son, David I, raised the status of the little priory to abbey in the 12th century. He endowed it richly, and brought stonemasons from Durham Cathedral to build it.

The abbey church is famous as the mausoleum of Margaret (later canonised as St Margaret), David I and Robert I. 

Late on in its history, the abbey guesthouse range became a royal palace, along with some additional buildings. The ill-fated Charles I was born here in 1600.

A drone view of the medieval abbey with its large nave, tower, and flying buttresses, surrounded by a graveyard and adjacent city buildings.

From priory to abbey

In 1070, Margaret founded a priory in Dunfermline on the site where she had married Malcolm III. She introduced a small community of Benedictine monks from Canterbury, and so laid the foundations of the first Benedictine house in Scotland.

David I made the priory an abbey in 1128. He had a new church built on a grand scale, of which the magnificent nave survives. The Romanesque pillars are similar to those of Durham Cathedral, and it’s likely that the same masons carved them.

In 1250, St Margaret’s remains were moved to an elaborate shrine at the east end of the church.

After the Protestant Reformation in 1560, the nave was converted into a parish kirk for the people of Dunfermline. The old choir was allowed to collapse. 

A new parish church was built on the site of the choir between 1818 and 1821. The Abbey Church houses the tomb of Robert I and the other royals buried here, and is home to an active Church of Scotland congregation.

Six things you might not know about St Margaret

Statement of Significance

Read our Statement of Significance for facts, figures and further reading about the abbey and palace.

Read more

The Bruce at Dunfermline

After Edward I badly damaged Dunfermline Abbey in 1303, Robert I financed its rebuilding. It was a move that showed confidence in the affluence and self-reliance of his kingdom following the Wars of Independence with England.

The most impressive of the new buildings was the monks’ refectory, a soaring structure with an elaborate façade, which took full advantage of the sloping site.

Robert I was interred before the high altar in 1329. His heart was taken on crusade before eventually being buried at Melrose Abbey.

The question of what Bruce might have looked like has been pondered by historians and scientists for centuries. In 2024, on the 750th anniversary of Bruce’s birth, Dunfermline Abbey was the fitting venue for the display of a previously unseen 3D model of Bruce's face, built using advanced facial reconstruction techniques and CGI technology,

Read more about the many faces of Robert the Bruce

A child leans over a display stand to look at a 3D reconstruction of Robert the Bruce's head, which is adorned with a crown and chainmail.
A man stands beside a detailed historical reconstruction of Robert the Bruce's head, face and shoulders. Bruce has a short beard, and wears a medieval helmet with a decorative crown and chainmail/.

Dunfermline Palace

Medieval abbeys typically had several grades of accommodation, and it’s likely that the guesthouse was a royal residence right from the start.

After the Reformation, a new palace was created out of the guesthouse and the west range of the abbey. Dunfermline Palace became the personal residence of James VI’s queen, Anna of Denmark.

The future Charles I was born here in 1600, the last monarch to be born in Scotland. Royal interest in Dunfermline waned when James and Anna left for London in 1603, and the palace fell into disrepair.

Warm evening light illuminates palace ruins with arched openings, set beside a paved path and grassy lawn.
The ruins of the palace are currently closed but can be seen from street level.
A long stretch of stone palace ruins with tall, narrow arched window openings, bordered by metal railings and surrounded by grass and trees.

Conservation work at the abbey

In 2025, we carried out high-level masonry inspections to review the condition of the historic stone work at Dunfermline Abbey.

Specialist teams with a head for heights used a number of different methods to access the abbey's towering spire to carefully check masonry by hand. This included abseiling and deploying a 73-metre Mobile Elevating Work Platform, or MEWP.

At roughly 40 metres high, the abbey's spire was one of the tallest structures inspected as part of the nationwide programme.

How we look after the places in our care

A high-angle drone view of a large stone abbey, with a tall lift raised to the tower for external inspection work. Surrounding streets, trees, and nearby buildings are visible.
Two workers in safety gear operate a raised mechanical platform beside the steep stone tower of an abbey.
A worker in high-visibility protective gear stands in a raised platform, examining the stone surface of an abbey tower with a long pointing tool.

Our archives and collections

Get a further glimpse into Dunfermline Abbey and Palace's history by exploring archive images and collections objects on trove.scot, your companion to researching Scotland’s past.

Aerial view of Dunfermline with abbey on right
General view of well-preserved abbey ruin with still operating main body of abbey in distance
Floor plan showing ground plan of church