Edinburgh Castle crowns the black volcanic crag at the top of the Royal Mile, dominating the skyline of the Scottish capital from every direction. It has been a royal residence, a fortress, a prison and a barracks, and researchers have counted at least 23 attempts to capture it, which makes it one of the most besieged places in Europe. Today it is the most visited paid attraction in Scotland, the home of the Scottish Crown Jewels and the stage for the Royal Edinburgh Military Tattoo. This guide covers its history, the things you should not miss, and how to plan a visit.

Key facts at a glance
- Location: Castlehill, Edinburgh EH1 2NG
- Castle Rock: the plug of a volcano about 350 million years old, 130 metres above sea level
- Oldest building: St Margaret’s Chapel, about 1130
- Run by: Historic Environment Scotland
- Visitors: about 2 million a year
- Tickets: timed, and best booked in advance
- Time needed: two to three hours
A short history
The rock
People have lived on the Castle Rock since at least the Bronze Age. In about 600 it was Din Eidyn, a stronghold of the Britons of the Gododdin; the Angles of Northumbria captured it in 638, and the name became Edinburgh.
The royal castle
By the reign of Malcolm III in the 11th century it was a royal castle. His wife, the saintly Queen Margaret, died here in 1093, and their son David I built the chapel that bears her name.
The Wars of Independence
The castle changed hands several times between the Scots and the English. In 1314 Thomas Randolph, Earl of Moray, retook it for Robert the Bruce with thirty men who climbed the north face of the rock at night. Bruce then had it demolished so that it could not be used against him.
Stewart palace
The Stewart kings rebuilt it as a palace. James IV completed the Great Hall in 1511, and in 1566 Mary, Queen of Scots gave birth in the Royal Palace to the future James VI of Scotland and I of England.
The Lang Siege and after
From 1571 to 1573 supporters of the exiled Mary held the castle until English guns battered down its eastern defences, which were rebuilt as the Half Moon Battery. The last military action was in 1745, when the Jacobite army of Bonnie Prince Charlie held the city but failed to take the castle. It then became a barracks and a prison for captives from the wars with France and America.
What to see
The Honours of Scotland
The crown, sceptre and sword of state are the oldest crown jewels in Britain. The crown was made in its present form for James V in 1540. Hidden from Cromwell, then locked away in a chest after the Union of 1707, they were rediscovered in 1818 by a party that included Sir Walter Scott. The Stone of Destiny, which was displayed with them from 1996, moved to the new Perth Museum in 2024.
St Margaret’s Chapel

The tiny Norman chapel of about 1130 is the oldest building in Edinburgh. It is still used for weddings and christenings.
Mons Meg
This giant siege gun, made at Mons in Belgium in 1449 and given to James II in 1457, could fire a stone ball of 150 kg about two miles. Her barrel burst in 1681.
The One o’Clock Gun
A field gun has been fired from the castle at 1 pm every day except Sundays, Good Friday and Christmas Day since 1861, originally as a time signal for ships in the Firth of Forth.
The Great Hall
The hall of James IV keeps its magnificent hammerbeam roof of 1511, one of the finest in Britain.
The Royal Palace
See the small panelled room where James VI was born.
The Scottish National War Memorial
Opened in 1927 on the highest point of the rock, it commemorates the Scottish dead of the two world wars and later conflicts.
Prisons and museums
The vaults recreate the prisons of war of the 18th century. The castle also contains the National War Museum and the regimental museums of the Royal Scots and the Royal Scots Dragoon Guards.
The Military Tattoo
Every August the Esplanade in front of the castle is turned into an arena for the Royal Edinburgh Military Tattoo, first held in 1950. Massed pipes and drums and military bands from around the world perform nightly against the floodlit walls, and the show ends with a lone piper on the ramparts. Tickets sell out months ahead.
Visiting
- Booking: tickets are for a timed entry and often sell out in summer, so buy online in advance; it is also cheaper than buying at the gate.
- Opening times: open daily except 25 and 26 December, with longer hours in summer.
- When to go: arrive at opening time and go straight to the Crown Jewels, where the longest queues form. Be on the Mills Mount Battery by 12.45 pm for the gun.
- Access: the site is steep and cobbled; a mobility vehicle can take visitors to the top.
- Weather: it is exposed and often windy, so bring a waterproof.
- Getting there: ten minutes’ walk uphill from Waverley station.
Close by are the Scotch Whisky Experience, The Real Mary King’s Close and the National Museum of Scotland. For more on the city, read our facts you might not know about Edinburgh and our Edinburgh statistics.
Frequently asked questions
How old is Edinburgh Castle?
The oldest surviving building dates from about 1130, but the rock has been fortified for far longer.
How long do you need at Edinburgh Castle?
Two to three hours.
Do you need to book Edinburgh Castle in advance?
Yes, booking is strongly recommended, especially in summer.
What time is the gun fired at Edinburgh Castle?
At 1 pm every day except Sundays, Good Friday and Christmas Day.
Is the Stone of Destiny at Edinburgh Castle?
No. It moved to Perth Museum in 2024.
Is Edinburgh Castle built on a volcano?
Yes, on the plug of an extinct volcano.
Last updated: November 2026.


