Edinburgh Castle
Inside the fortress that looms over Scotland's capital, soldiers were still billeted until 1923, and the Scottish crown jewels lay forgotten in a locked chest for over a century. Castle Rock, the plug of an extinct volcano, has been settled since about 900 BCE and was the Gododdin stronghold of Din Eidyn before the Angles took it in 638. It became Scotland's chief royal castle, the birthplace of James VI in 1566 and the scene of the Black Dinner of 1440. Researchers count some 26 sieges in about 1,100 years, which makes it the most besieged place in Britain. It was a prison for captives of many wars, the home of Mons Meg and the One O'Clock Gun, and since 1927 it holds the Scottish National War Memorial. Also known as Caisteal Dhun Eideann, the Castle of Maidens (Maidens' Castle) and Din Eidyn.
Timeline
c. 600: Occupation
Din Eidyn, the stronghold of Eidyn, is the seat of Mynyddog Mwynfawr, king of the Gododdin, and the early Welsh poem Y Gododdin sings of his warriors. They feast here for a year before riding south to a disastrous battle at Catraeth, possibly Catterick, where they are cut down. The name Edinburgh grows from this one.
638: Siege
Irish annals record the siege of Etin in 638, when Oswald of Northumbria's Angles defeat the Gododdin and take the rock. British rule here ends, and the English name of Edinburgh replaces the old one. Northumbria holds it until Lothian passes to the Scots under King Indulf in the tenth century.
c. -899 BC: Occupation
Late Bronze Age people settle on the summit of Castle Rock, the earliest sign of habitation on the site. Excavation in the early 1990s turned up evidence of occupation stretching into the early Iron Age, which makes this possibly the longest continuously occupied place in Scotland. The crag offers cliffs on three sides and only one easy approach, from the east.
November 1093: Death
Queen Margaret, widow of Malcolm III, is said to die in the castle in November 1093, days after hearing that her husband and eldest son have been killed in battle in Northumberland. Her brother-in-law Donald Bane besieges the rock, and her body is smuggled out. She is later canonised as Saint Margaret, and the castle's oldest building is raised in her memory.
c. 1130: Construction
David I builds a small chapel on the summit as a private royal place of worship, dedicated to his mother Saint Margaret. It is the one building in the castle to survive Bruce's later demolition, and today it is the oldest building in Edinburgh. Under David the castle is a royal residence and meeting place, and later in the century it holds the kingdom's state papers.
1174: Treaty
William the Lion, captured at Alnwick, buys his freedom with the Treaty of Falaise, surrendering Edinburgh, Stirling, Roxburgh and Berwick castles to the English. An English garrison holds the rock for twelve years. It is handed back in 1186 as part of the dowry of William's bride, Ermengarde de Beaumont.
1296: Siege
Edward I invades in March 1296 and the castle falls after a three-day bombardment. The English carry the Scottish records and treasures south, and the rock becomes an English garrison post for the first time in the Wars of Independence. By 1300 it holds 325 men, and Welsh master builders are brought to strengthen it.
14 March 1314: Battle
Thomas Randolph, Earl of Moray, and thirty men climb the north face of Castle Rock in the dark, guided by a local man, William Francis, who knows a secret path from his youth. They surprise the English garrison and retake the castle for Robert the Bruce. Bruce orders the defences slighted so the English can never use them again, and only the chapel is left standing. Four months later he wins at Bannockburn.
1341: Siege
The English have reoccupied the castle since 1335, but in 1341 William Douglas, Lord of Liddesdale, takes it back by trickery. His men pose as merchants from Leith with a cart of supplies and jam the gate open, and about a hundred English defenders are killed. It is the last time in the wars that the castle changes hands in this way.
c. 1367: Construction
David II, freed after eleven years of English captivity and the Treaty of Berwick of 1357, begins David's Tower, a great L-shaped tower house. It is his principal residence, and he dies in the castle in 1371. His successor Robert II completes it in the 1370s. For two centuries it is the heart of the royal stronghold and the strongest point of its defences.
24 November 1440: Other
At the Black Dinner, the young 6th Earl of Douglas and his brother David are invited to dine with ten-year-old James II. A black bull's head is placed on the table, the sign of death, and the brothers are dragged out and beheaded after a mock trial. The plot is the work of the Chancellor William Crichton, Keeper of the castle, and Sir Alexander Livingston, who wish to break Douglas power. Supporters of the Douglases besiege the castle afterwards.
1457: Transfer
Mons Meg, a Flemish bombard made in 1449 for Philip the Good of Burgundy, is sent to James II of Scotland, whose wife is Philip's niece. The huge gun weighs over six tonnes and hurls stone balls of about 150 kg. It is used in sieges at Norham in 1497 and elsewhere, and later settles in the castle as a ceremonial piece. The castle's gun foundry makes it the principal arsenal of the Scottish crown.
1479: Other
Alexander Stewart, Duke of Albany, imprisoned in David's Tower by his brother James III, gets his guards drunk and escapes by a rope from a window. In 1482 the king is held in the castle by his own nobles from July to September while Albany and Richard of Gloucester invade the country. Royal power in the castle is now as dangerous as it is secure.
c. 1511: Construction
James IV completes the Great Hall, a ceremonial hall with a hammerbeam roof and carved corbels, for feasts and state occasions. The king keeps a brilliant court here and holds tournaments, and the castle's foundry casts guns for his navy and army. After he is killed at Flodden in 1513, the town builds a wall in fear of the English.
May 1544: Siege
English forces burn Edinburgh in May 1544 in the Rough Wooing, but the castle holds out against them. The gunner Andrew Mansioun destroys the English cannon from the walls. In the following years, French engineers help build the Spur, an early angled bastion, to guard the approach.
11 June 1560: Death
Mary of Guise, the French-born regent for her daughter Mary, Queen of Scots, dies in the castle, where she has taken refuge from the Protestant Lords of the Congregation. Her death comes as English and Scottish Protestant forces besiege her French allies in Leith. The Treaty of Edinburgh follows within weeks and ends French military power in Scotland.
19 June 1566: Birth
Mary, Queen of Scots gives birth to her only child, James, in a tiny room of the royal palace. His father is Lord Darnley, who will be murdered the following year. The boy becomes James VI of Scotland and, in 1603, James I of England, uniting the crowns.
May 1568: Occupation
After Mary is forced from the throne, James Balfour hands the castle to Regent Moray, who gives the keepership to Sir William Kirkcaldy of Grange, a former Protestant ally. Kirkcaldy soon changes sides and holds the castle for the imprisoned queen. When Moray is murdered in January 1570, he stands as the main prop of her cause.
May 1571: Siege
The Lang Siege begins as Kirkcaldy, with some forty cannon and seven gunners, holds the castle for Mary against the king's party and fires on the town. His men burn a hundred houses. After a truce in 1572 expires on 1 January 1573, the king's regent, the Earl of Morton, seeks English help.
28 May 1573: Siege
Sir William Drury arrives from Berwick with about a thousand men and 27 cannon, and fires some three thousand shots in twelve days from 17 May. David's Tower is brought down, the Spur is captured on 26 May and the poisoned well fails. Kirkcaldy surrenders on 28 May to Drury, not to Morton. On 3 August he is hanged at the Mercat Cross with his brother James and two minters who made coin for Mary.
c. 1574: Construction
Regent Morton rebuilds the shattered defences, and the Half Moon Battery rises over the ruins of David's Tower, which lie buried there until 1912. The Portcullis Gate is added. The castle becomes an artillery fortress rather than a place of residence, and few older buildings are left standing.
1617: Other
James VI returns to Scotland, the only time since leaving for London in 1603, and the royal palace is refitted with state apartments and a painted ceiling for his visit. He is shown the room where he was born. The Honours of Scotland are housed in a new Crown Room beside it.
1633: Other
Charles I spends a night in the castle before his Scottish coronation at Holyrood, and no reigning monarch has slept here since. The court has long since moved to London. From here on the castle is a military post and not a royal home.
1639: Siege
Covenanters under Alexander Leslie take the castle from Charles I's garrison after a short siege, the opening of the Bishops' Wars. It is returned to the king under the Peace of Berwick, and in 1640 they retake it after a siege of three months, battering the Spur so badly that it is later demolished.
December 1650: Siege
Oliver Cromwell wins at Dunbar in September 1650 and besieges the castle for three months. Colonel Walter Dundas surrenders in December despite having supplies, a decision blamed on bribery or a change of loyalty. Cromwell's troops are quartered in the Great Hall, and the Honours of Scotland are saved only because they have been smuggled elsewhere.
30 October 1681: Other
Mons Meg fires a salute for the arrival of James, Duke of Albany and York, the future James VII and II, and bursts her barrel. It is her last shot. She is called the great iron murderer, Muckle Meg, in a 17th-century document.
1681: Other
Archibald Campbell, 9th Earl of Argyll, held for refusing the Test Act, escapes from the castle in disguise as a footman. He is recaptured after his later rebellion and executed in 1685. His name survives in the Argyle Tower and Argyle Battery.
14 June 1689: Siege
The Duke of Gordon, the Catholic governor, holds the castle for the exiled James VII against the Convention of Estates with 160 men. Viscount Dundee climbs the rock on 18 March to urge him to resist, and a blockade of some 7,000 men closes in. Gordon surrenders on 14 June after three months and the loss of seventy men.
March 1707: Other
After the Union ends the Scottish Parliament, the crown, sceptre and sword of state are locked in a chest in the Crown Room. They had been saved from Cromwell by being hidden for nine years at Kinneff church. The room is sealed and the Honours are forgotten.
September 1715: Battle
About a hundred Jacobite Highlanders under Lord Drummond try to scale the castle in the first rising, aided by bribed soldiers inside. Their rope ladder is too short and the attempt fails. Some of the garrison who had betrayed it are hanged or flogged.
September 1745: Siege
Prince Charles Edward Stuart takes Edinburgh in September 1745, but Deputy Governor General George Preston keeps the castle. His guns fire on the town and four people are killed. The Jacobites blockade the rock and give up, leaving Edinburgh in November. It is the castle's last siege.
1811: Other
Forty-nine prisoners of war escape through a hole in the south wall of the vaults, which have held captives from the Seven Years' War, the American War and the Napoleonic Wars. The vaults as a prison close in 1814 and a purpose-built military prison follows in 1842.
February 1818: Discovery
Sir Walter Scott, with the Prince Regent's permission, forces open the sealed Crown Room and finds the Honours of Scotland in an oak chest under linen cloths. The crown, sceptre and sword of state have lain unseen for 111 years. They go on display in 1819.
August 1822: Arrival
George IV visits the castle, the first reigning monarch to do so since Charles II. The visit, stage-managed by Walter Scott, marks the castle's return to the national imagination. In 1829 Mons Meg is brought back from the Tower of London.
1845: Discovery
The antiquary Daniel Wilson rediscovers St Margaret's Chapel, which had been used as a gunpowder store and forgotten. It is restored in 1851 to 1852. Later in the century, William Nelson funds the restoration of the Great Hall by Hippolyte Blanc.
1861: Founding
The One O'Clock Gun is first fired as a time signal for ships in Leith Roads, since the time ball on the Nelson Monument is useless in fog. It is fired daily except Sundays, Good Friday and Christmas Day. Its only wartime use is on 2 April 1916, when it is fired at a Zeppelin.
1912: Discovery
Workmen digging near the Half Moon Battery find the remains of David's Tower entombed in it, with the damage from the 1573 bombardment still visible. Walls survive up to 49 feet high. The 34 metre well is cleared and surveyed at the same time.
1923: Transfer
The garrison moves out to Redford Barracks, and the castle ceases to be a working barracks after centuries of military occupation. In the First World War the Red Clydesider David Kirkwood was jailed here, and in the Second World War downed Luftwaffe pilots are held. The Army still keeps the New Barracks block and its regimental museums.
14 July 1927: Commemoration
The Prince of Wales, later Edward VIII, opens the Scottish National War Memorial, which Sir Robert Lorimer built inside a converted barrack block on the site of the medieval St Mary's Church. The rolls of honour hold more than 147,000 names from the First World War, with stained glass by Douglas Strachan. About 200 Scottish artists and craftspeople contributed.
1950: Performance
The Edinburgh Military Tattoo is staged on the Esplanade in the shadow of the castle, and it becomes an annual August fixture during the Edinburgh Festival. Some 217,000 people attend each year and it is broadcast in about 30 countries. It ends with a lone piper on the battlements.
November 1996: Transfer
The Stone of Scone, the coronation stone of Scottish kings taken by Edward I in 1296, comes home to Scotland after about 700 years and is placed in the Crown Room beside the Honours of Scotland. Today the castle is the most visited paid attraction in Scotland, with over two million visitors in 2025, and it is part of the Edinburgh World Heritage Site inscribed in 1995.