Edinburgh Castle: Scotland’s Fortress on the Volcanic Rock
Edinburgh Castle stands on a volcanic rock above the Royal Mile. Its Crown Jewels and cannon tell a thousand years of Scottish history.
Edinburgh Castle stands on Castle Rock, a plug of ancient volcanic basalt at the western end of the Royal Mile, and it has ruled the skyline of the capital of Scotland for more than a thousand years. From this rock, the castle has watched sieges, coronations and plots that shaped the whole history of Scotland, and today it is one of the most visited sights in the United Kingdom.
Inside its stone walls, Edinburgh Castle keeps the national treasures of Scotland, from the Crown of Scotland to great medieval cannon and the oldest surviving building in the city. The castle is at once a museum, a war memorial and a working military base, and every afternoon except Sunday, the sound of a gun fired at one o’clock still reminds the city of its old role as a seaport.
Quick Facts About Edinburgh Castle
| Fact | Detail |
|---|---|
| Name | Edinburgh Castle |
| Location | Western end of the Royal Mile, Old Town, Edinburgh, Scotland |
| Coordinates | 55.9487° N, 3.20073° W |
| Rock | Castle Rock, a volcanic plug formed about 340–350 million years ago |
| Height | About 130 metres above the city below |
| Managed by | Historic Environment Scotland |
| UNESCO | Part of the Old and New Towns of Edinburgh, 1995, reference 728, criteria (ii) and (iv) |
| Wikidata | Q212065, castle, museum |
Geography of Edinburgh Castle
Castle Rock and the Crag and Tail
Castle Rock is the remains of an extinct volcano, a plug of hard basalt that the glaciers of the Ice Age could not wear away. When great ice sheets moved across the land, they scoured three sides of the rock into steep cliffs, leaving only a gentle slope to the east, where the Royal Mile runs today. Geologists call this shape a crag and tail, with the hard rock as the crag and the softer rock trailing behind it as the tail.
That shape made Castle Rock a natural fortress that was almost impossible to attack from three sides, and every attacker was forced to climb from the east up a narrow slope. From the top of the rock, the view covers the whole city, the Firth of Forth to the north and the hill of Arthur’s Seat to the southeast. The position explains why people chose to settle on the rock from the late Bronze Age, around 900 BC, and why the castle became the most besieged place in Britain.
The rock rises about 130 metres above the streets below, and the climb from the Royal Mile to the castle gate is steep enough to make visitors feel the height in their legs. The stone of the walls changes colour with the light, grey in rain and golden in the evening sun, and the rock itself is visible at the base of the walls, where the basalt shows through the masonry. The castle and the rock are one structure in the eye, and it is hard to tell where nature ends and building begins.
Castle Rock is one of several volcanic remains in the city, and its neighbours help explain why Edinburgh looks the way it does. Arthur’s Seat, the extinct volcano that rises 251 metres in Holyrood Park at the eastern end of the city, is the largest of them, and the smaller crags of Calton Hill and the Salisbury Crags belong to the same ancient volcanic field. The glaciers that shaped Castle Rock also shaped these hills, leaving a landscape of ridges and valleys that no planner could have invented. The castle rock is the smallest of the group, yet it is the one that mattered most, because its position at the western end of the ridge gave it command of the whole town.
The Ridge, the Royal Mile and the City Below
Edinburgh Castle is not a castle standing apart from its city but the starting point of the Royal Mile, the main street that runs along the ridge down to the Palace of Holyroodhouse in the east. Together with the Georgian New Town to the north, this area forms the UNESCO World Heritage property of the Old and New Towns of Edinburgh, inscribed in 1995, one of the best-preserved historic centres in Europe. The castle anchors the western end of the ridge, and the palace anchors the eastern end, with a single street joining them along the spine of the hill.
From the castle terrace the ridge falls away in a long slope toward Holyrood, and the roofs step down with it, St Giles Cathedral rising from the middle of the slope. The High Street runs along the spine of that ridge, and the lanes called closes and wynds drop steeply from it on both sides. Because the ground was so narrow, the people of Edinburgh built upward instead of outward, and their tenements reached six and seven storeys, among the tallest houses of their age. The closes still carry the names of the merchants and tradesmen who lived in them, and Mary King’s Close, buried beneath the City Chambers, is the best known of the underground lanes.
To the north, the ground drops into the Waverley Valley, and on the far side the New Town spreads across the flat glacial plain, its streets drawn in straight lines around broad squares. The railway station and Princes Street Gardens fill the hollow between the two towns, and bridges link the old half of the capital with the new. From the castle rock, the pale Georgian terraces across the valley stand against the dark stone of the fortress, and the contrast between the two is what makes Edinburgh’s skyline unmistakable.
Weather, Light and the Firth of Forth
Edinburgh stands on the eastern coast of Scotland, and its castle takes the sea wind from the Firth of Forth all year round. Rain and wind are part of the climate of the city, but the constantly changing light is what makes the stone walls of the castle seem grey one hour and gold the next in the afternoon sun. On clear days, the view from the castle terrace reaches across the firth to the coast of Fife on the far side.
The weather shapes a visit to Edinburgh Castle more than to most sights, because much of the castle is outdoors, on open terraces and along the walls. A fine morning can turn to rain by noon, and the wind on the rock is stronger than in the streets below, so a jacket belongs in every bag even in summer. The low northern sun of winter gives the stone a pale gold colour in the evening, and the short days make the floodlit castle one of the sights of the city after dark.
The Firth of Forth itself is part of the story of the castle, because the One o’Clock Gun was fired each day so that ships in the firth could set their marine chronometers. The estuary below the castle was once a working waterway of ferries, fishing boats and warships, and the harbour at Leith, the port of Edinburgh, lies only a few kilometres to the north. The castle, the river and the sea belong together, and the gun that still fires at one o’clock is the last echo of that working link.
The Esplanade in front of the castle gate is the best place to stand and read the whole landscape at once, because the view from it runs east along the ridge to the palace and north across the valley to the New Town. In the evening, the sun sets behind the castle rock, and the walls stand dark against a sky that turns the firth silver. The square is also the stage for the Military Tattoo each August, when the stands rise around it and the sound of pipes fills the space between the walls. For the rest of the year it is an open yard, and the wind that crosses it is the same wind that met the ships in the firth centuries ago.

City of Edinburgh – Edinburgh Castle Esplanade – 20230412130104 — CC BY-SA 4

Arthur’s Seat, Edinburgh — CC0

the Royal Mile, Edinburgh — CC BY-SA 2

St Giles Cathedral on the Royal Mile, Edinburgh — CC BY-SA 2
History of Edinburgh Castle
From Iron Age Fort to Royal Palace
Archaeology shows that people lived on Castle Rock from at least 900 BC, and by the Iron Age the rock already held a fort of the native people. The first royal castle clearly recorded belongs to the reign of Malcolm III, king of Scots from 1058 to 1093, and his wife Margaret, who was later made a saint. Their son David I built a small stone chapel on the highest point of the rock around 1130 in memory of his mother, and that chapel still stands today.
St Margaret’s Chapel is the oldest surviving building in Edinburgh, a small Romanesque chapel on the highest point of the rock, still used for weddings and baptisms. For centuries the castle was both a royal home and a fortress, with the kings of Scots living there, holding court and keeping their treasure within the stone walls. Mary, Queen of Scots, gave birth to her son James VI in the Royal Palace inside the castle in 1566, and the child later became James I of England.
The castle grew piece by piece, with each king adding walls, halls and towers to the rock. The Great Hall, built under James IV around 1511, is one of the finest buildings in the castle, with a hammerbeam roof and arms and armour displayed along its walls. The Royal Palace, the chapel and the hall together made the castle a place where kings were born, crowned and buried, and where the treasure of the kingdom was kept.
War and Siege
The strategic position of Edinburgh Castle made it a target in almost every war between England and Scotland. In 1296, Edward I of England took the castle after only three days of siege and carried the Stone of Scone, the coronation stone of the Scottish kings, to Westminster Abbey, where it lay beneath the coronation throne for seven centuries. During the Wars of Scottish Independence, the castle changed hands between Scots and English again and again.
Edinburgh Castle is recorded as the most besieged place in Britain, with 26 sieges in its history. The longest was the Lang Siege of 1571 to 1573, when supporters of Mary, Queen of Scots, held the castle for two years against the forces of the Regent Morton. The great cannon Mons Meg, made in Flanders in 1449 and given to James II in 1457, stands as a symbol of the artillery of that age, and it once fired stone balls weighing as much as 150 kilograms.
The sieges left their mark on the castle in the shape of its walls, its gatehouse and its batteries, because each generation of defenders rebuilt what the last siege had broken. The Portcullis Gate and the Half Moon Battery, the curved gun platform that faces the Royal Mile, belong to the age of cannon, when thick walls and low batteries mattered more than high towers. The castle that survives is therefore a record of changing war, from the stone walls of the medieval kings to the gun platforms of the 16th century and the barracks of later ages.
From Palace to Museum
After the Union of the Crowns in 1603 brought James VI to the throne of England, the kings no longer lived in Edinburgh, and the castle slowly became a military barracks and a prison. The Honours of Scotland, the crown, sceptre and sword of state, were locked in a chest and forgotten for more than a century after 1707, until the writer Walter Scott pressed for a search and they were found again in 1818. From 1819, the Honours were shown to the public, opening the romantic age of Scottish history.
The Honours of Scotland are the oldest surviving royal regalia in the British Isles. The crown was remade for James V in 1540, the sceptre was given to James IV in 1494, and all three pieces were used together by Mary, Queen of Scots, at her coronation in 1543. The Stone of Scone returned to Scotland in 1996 after exactly 700 years, and it was displayed with the Honours in the castle until 2024, when it moved to the new Perth Museum. By agreement, the stone will still be taken to Westminster Abbey for future coronations in England.
The tradition of the One o’Clock Gun began in 1861 as a time signal so that ships on the Firth of Forth could set their marine chronometers, and it is kept to this day. The Scottish National War Memorial was opened in 1927 to remember the Scots who fell in the First World War, and the first Royal Edinburgh Military Tattoo was performed on the Esplanade in 1950. The castle is still a working military base, and the soldiers who serve there share the rock with the visitors who come to see the Crown Jewels.
The castle also served as a barracks and a prison through the 18th and 19th centuries, and its vaults held French and American prisoners of war whose carved names and drawings still mark the doors. In the Jacobite rising of 1745, the castle was held by government troops while the Jacobite army occupied the town below, and the rock proved its worth once more, because the rebels never took it. The last siege of the castle was that rising, and after it the fortress settled into its long second life as a depot, a barracks and finally a museum that never stopped being a garrison.
Timeline
| Year | Event |
|---|---|
| About 900 BC | People settle on Castle Rock |
| About 1130 | David I builds St Margaret’s Chapel |
| 1296 | Edward I takes the castle and carries the Stone of Scone to Westminster |
| 1449 | Mons Meg cannon made in Flanders |
| 1457 | Mons Meg given to James II |
| About 1511 | Great Hall of James IV completed |
| 1543 | Mary, Queen of Scots, crowned with the Honours of Scotland |
| 1566 | James VI born in the Royal Palace inside the castle |
| 1571–1573 | Lang Siege, the longest siege of the castle |
| 1603 | Union of the Crowns; kings no longer live in Edinburgh |
| 1818 | Walter Scott finds the Honours of Scotland in a locked chest |
| 1861 | One o’Clock Gun tradition begins |
| 1927 | Scottish National War Memorial opened |
| 1950 | First Royal Edinburgh Military Tattoo |
| 1995 | Old and New Towns of Edinburgh inscribed by UNESCO, reference 728 |
| 1996 | Stone of Scone returns to Scotland after 700 years |
| 2024 | Stone of Scone moves to the new Perth Museum |

St Margaret’s Chapel, Edinburgh Castle, Edinburgh, Scotland, April 2024 — CC BY-SA 4

the Great Hall of Edinburgh Castle — CC BY-SA 4
Travel to Edinburgh Castle
When to Go and How Long to Stay
May, June and September are the most comfortable months to visit the castle, when the weather is milder and the crowds have not reached their peak. August is the liveliest month in Edinburgh, with the Fringe Festival and the Royal Edinburgh Military Tattoo, but castle tickets and places to stay need booking weeks ahead. Winter is cold and windy, yet the castle is far less crowded, and the low winter light makes the stone walls look striking in photographs.
Allow two to three hours to see the castle well, and half a day to go slowly, listen to the audio guide and look out from the terraces. The castle opens in fixed time slots during the day, so arriving early helps avoid long queues at the gate and at the Crown Room. If only one afternoon is available in Edinburgh, spend it on the castle and the upper Royal Mile, and leave the rest of the Old Town for the next day.
Getting There and Eating Nearby
The castle stands at the western end of the Royal Mile, about a 15-minute walk from Waverley Station through the steep streets of the Old Town. City buses stop near the foot of Castlehill, and from there visitors walk up the slope across the Esplanade. Waverley Station is the main station of the capital, with trains to London and Glasgow, and the walk from the station to the castle climbs through the heart of the Old Town. The way up is cobbled and steep, so flat shoes are the best choice, and visitors with limited mobility should check the castle’s access arrangements in advance.
The Royal Mile around the castle holds traditional pubs, cafes and restaurants serving Scottish dishes such as haggis, smoked salmon and Cullen skink soup. The pubs on Castlehill and Lawnmarket are good places to rest after the visit, with local beer and single malt whisky. In the festival month of August, temporary food stalls appear along the Royal Mile, turning the street into an open-air market.
How to Visit the Castle
Book a timed ticket online before arriving, above all in summer and in August, because the castle often sells out for the day. A sensible route starts at the Esplanade and Mons Meg, then goes inside to the Great Hall, St Margaret’s Chapel and the Royal Palace with the Crown Room. Do not miss the Scottish National War Memorial and the National War Museum, which tell the military story of Scotland across many centuries. If the visit lasts until one o’clock, except on Sunday, find a good spot to hear the One o’Clock Gun fire from the battery.
The Crown Room, where the Honours of Scotland are displayed, is the busiest part of the castle, and the queue there moves slowly at peak times. The war memorial is quieter, with books of remembrance whose pages are turned each day, and the view from the terrace behind it looks across the city to the Firth of Forth. The prison vaults below, where French and American prisoners were held in the wars of the 18th and 19th centuries, still show the carved doors of the men who waited there.

Mons Meg at Edinburgh Castle — CC BY-SA 2
Notable Places in Edinburgh Castle
- St Margaret’s Chapel — the small chapel built around 1130, the oldest surviving building in Edinburgh, still used for weddings and baptisms
- Royal Palace and Crown Room — the birthplace of James VI in 1566, displaying the Honours of Scotland, the crown, sceptre and sword of state
- Great Hall — the hall of James IV completed around 1511, with a hammerbeam roof and arms and armour along its walls
- Mons Meg — the great siege cannon made in Flanders in 1449 and given to James II in 1457, once firing stone balls of up to 150 kilograms
- One o’Clock Gun — the daily gun fired at one o’clock since 1861 so ships on the Firth of Forth could set their clocks, every day except Sunday and some holidays
- Scottish National War Memorial — the memorial opened in 1927 for the Scots who fell in war, with books of names turned each day
- National War Museum — the military museum telling 400 years of the story of the Scottish army, from Highland regiments to modern wars
- Prison vaults — the vaults that held French and American prisoners in the wars of the 18th and 19th centuries, with carved doors still visible
- Portcullis Gate and Half Moon Battery — the main defensive gate of the castle and the curved gun battery facing the Royal Mile, where the One o’Clock Gun stands
- Esplanade — the wide yard before the castle gate, where the Royal Edinburgh Military Tattoo is held each August and the view runs east across the city

the firing of the One o’Clock Gun at Edinburgh Castle — CC BY 2

the Scottish National War Memorial at Edinburgh Castle — CC BY-SA 2

the Portcullis Gate of Edinburgh Castle — CC BY-SA 2
Frequently Asked Questions
What does Edinburgh Castle stand on?
Edinburgh Castle stands on Castle Rock, the remains of an extinct volcano formed about 340 to 350 million years ago. Ice Age glaciers scoured three sides of the rock into steep cliffs, leaving only a gentle slope to the east, where the Royal Mile runs today. The rock rises about 130 metres above the city below, and people have settled on it since around 900 BC.
What is special about St Margaret’s Chapel?
St Margaret’s Chapel was built by David I around 1130 in memory of his mother, St Margaret, and it is the oldest surviving building in Edinburgh. The small Romanesque chapel stands on the highest point of the rock and is still used for weddings and baptisms today. Its modest size stands in contrast to the great military works around it, and its simplicity makes it one of the best-loved places in the castle.
What are the Honours of Scotland?
The Honours of Scotland are the royal regalia of Scotland, the crown, the sceptre and the sword of state, and they are the oldest surviving royal regalia in the British Isles. The crown was remade for James V in 1540, the sceptre was given to James IV in 1494, and all three were used together by Mary, Queen of Scots, at her coronation in 1543. After 1707, the Honours were locked in a chest and forgotten for more than a century, until Walter Scott found them again in 1818.
Is the Stone of Scone still at Edinburgh Castle?
No, it is not. Edward I carried the coronation stone of the Scottish kings to Westminster in 1296, and it came back to Scotland in 1996, exactly 700 years later. It stood beside the Honours of Scotland in the castle until 2024, when it moved to the new Perth Museum, under an agreement that it will travel south to Westminster Abbey whenever a future coronation requires it.
What is the One o’Clock Gun?
The One o’Clock Gun is the tradition of firing a single cannon shot at one o’clock each day, except Sunday and some holidays, begun in 1861. At first, the sound was a time signal that helped ships on the Firth of Forth set their marine chronometers so they could work out longitude at sea. Today the gun is a field gun of 105 millimetres, and visitors often gather on the Esplanade to watch and hear the shot.
Is Edinburgh Castle a World Heritage Site on its own?
Edinburgh Castle is not a separate World Heritage Site but part of the Old and New Towns of Edinburgh, inscribed by UNESCO in 1995 as reference 728. The property covers the whole medieval Old Town with the Royal Mile and the castle, together with the Georgian New Town to the north. The listing recognises the unique pairing of a medieval old town with a planned neoclassical new town.
Verified
The dates, heights and UNESCO details in this article were checked against the UNESCO World Heritage Centre page for the Old and New Towns of Edinburgh as reference 728, the English Wikipedia article on Edinburgh Castle, and the Wikidata record for Q212065, which confirms the castle at 55.9487 degrees north and 3.20073 degrees west. UNESCO inscribed the Old and New Towns in 1995 under criteria (ii) and (iv), recognising the contrast between the organic medieval Old Town and the planned Georgian New Town built between 1767 and 1890. Verified 22 November 2026.
Sources
- UNESCO World Heritage Centre, Old and New Towns of Edinburgh — https://whc.unesco.org/en/list/728/
- Wikipedia, “Edinburgh Castle” — https://en.wikipedia.org/wiki/Edinburgh_Castle
- Wikipedia, “Honours of Scotland” — https://en.wikipedia.org/wiki/Honours_of_Scotland
- Wikipedia, “Stone of Scone” — https://en.wikipedia.org/wiki/Stone_of_Scone
- Historic Environment Scotland, Edinburgh Castle — https://www.edinburghcastle.scot/
- Wikidata, Q212065 — https://www.wikidata.org/wiki/Q212065
Unverified
- Ticket prices and opening hours of Edinburgh Castle, and the state of the Crown Room after renovation, were not checked on the official edinburghcastle.scot site.
- The programme and ticket prices of the Royal Edinburgh Military Tattoo by seating class in August were not checked on the official site of the show.
- The display state of the Stone of Scone at Perth Museum and the dates on which it is taken to Westminster were not checked against the latest information.
- The real queue time at the Crown Room in peak season varies widely by day and hour and could not be confirmed from a single source.
- The number of visitors to the castle each year in recent years differs between sources and could not be matched against official statistics.
Illustrations
- Hero: Edinburgh from Salisbury Crags panosphere 20211019. Free image: https://upload.wikimedia.org/wikipedia/commons/0/05/Edinburgh_from_Salisbury_Crags_panosphere_20211019.jpg — CC BY-SA 3.
- In body, St Margaret’s Chapel: St Margaret’s Chapel, Edinburgh Castle, Edinburgh, Scotland, April 2024. Free image: https://upload.wikimedia.org/wikipedia/commons/4/47/SaintMargaretsChapelEdinburghCastle.jpg — CC BY 2.5.
- In body, Edinburgh Castle: City of Edinburgh – Edinburgh Castle Esplanade – 20230412130104. Free image: https://upload.wikimedia.org/wikipedia/commons/e/ea/City_of_Edinburgh_-Edinburgh_Castle_Esplanade-_20230412130104.jpg — CC BY-SA 4.
- In body, Arthur’s Seat: Arthur’s Seat, Edinburgh. Free image: https://upload.wikimedia.org/wikipedia/commons/1/15/Arthur%27s_Seat_2023.jpg — CC0.
- In body, The Royal Mile: the Royal Mile, Edinburgh. Free image: https://upload.wikimedia.org/wikipedia/commons/5/5b/Royal_Mile%2C_Edinburgh_-geograph.org.uk-_502544.jpg — CC BY-SA 2.
- In body, St Giles Cathedral: St Giles Cathedral on the Royal Mile, Edinburgh. Free image: https://upload.wikimedia.org/wikipedia/commons/d/df/St_Giles_Cathedral%2C_Edinburgh_-geograph.org.uk-_5416035.jpg — CC BY-SA 2.
- In body, The Great Hall: the Great Hall of Edinburgh Castle. Free image: https://upload.wikimedia.org/wikipedia/commons/7/79/Edinburgh_Castle%2C_Great_Hall%2C_fireplace.jpg — CC BY-SA 4.
- In body, Mons Meg: Mons Meg at Edinburgh Castle. Free image: https://upload.wikimedia.org/wikipedia/commons/6/66/Mons_Meg%2C_Edinburgh_Castle_-geograph.org.uk-_2718880.jpg — CC BY-SA 2.
- In body, The One o’Clock Gun: the firing of the One o’Clock Gun at Edinburgh Castle. Free image: https://upload.wikimedia.org/wikipedia/commons/4/42/Firing_of_the_One_O%27Clock_gun%2C_Edinburgh_Castle.jpg — CC BY 2.
- In body, The Scottish National War Memorial: the Scottish National War Memorial at Edinburgh Castle. Free image: https://upload.wikimedia.org/wikipedia/commons/7/70/Edinburgh_Castle_-Scottish_National_War_Memorial–geograph.org.uk-_2320793.jpg — CC BY-SA 2.
- In body, Portcullis Gate: the Portcullis Gate of Edinburgh Castle. Free image: https://upload.wikimedia.org/wikipedia/commons/d/d7/Edinburgh_Castle_Portcullis_Gate.jpg — CC BY-SA 2.
