Edinburgh Castle

Book tickets
 

History

Edinburgh Castle has witnessed many of the defining events in Scotland’s history. Sieges were fought over the mighty stronghold. Royalty lived and died within its walls. Just the sight of the Castle Rock has terrified and inspired countless generations.

Fierce Iron Age warriors defended a hill fort here, and the nation’s oldest poetry tells of a war band feasting here for a year before riding to their deaths in battle.

The castle’s royal connections go back 1,000 years, and the city’s oldest building stands on the site. David I built St Margaret’s Chapel around 1130, as a tribute to his devout mother.

Edinburgh has been besieged more than any other castle in Europe, and the Scots and English struggled over its control during the Wars of Independence. In 1314, Thomas Randolph, a relative of Robert the Bruce, led a daring night raid to reclaim it from the English.

Over the last 200 years, Edinburgh Castle has become a national icon. Today it is Scotland’s leading tourist attraction and a chief element of the Old and New Towns of Edinburgh UNESCO World Heritage Site.

Home of royalty

Scottish monarchs commissioned grand buildings here – both as secure lodgings and to show off their wealth, power and good taste. The castle’s royal role continues today.

Monarchs who sheltered here include:

  • Queen Margaret (later St Margaret), who died here in 1093
  • Mary Queen of Scots, who gave birth to James VI in the Royal Palace in 1566

Edinburgh was among Scotland’s chief royal residences during the 1400s and 1500s.

Bonnie Prince Charlie – Mary’s great-great-great grandson – captured Edinburgh but failed to take the castle during the 1745–46 Jacobite Rising.

Army headquarters

Edinburgh Castle became more important as a military base from the late 1500s onwards.

After the ‘Lang Siege’ of 1571–3, the castle’s military strength was repaired, maintained and improved. Additions included:

  • the distinctive Half Moon Battery
  • a huge garrison
  • a secure jail for prisoners of war

The military presence remains unbroken – Edinburgh Castle is still an active base today. It also houses three military museums, the Scottish National War Memorial and the Prisons of War exhibition.

Opening times

Tickets often sell out far in advance. Book your tickets online in advance for the best price and to guarantee entry.

1 Apr to 30 Sept:
Daily, 9.30am to 6pm (last entry 5pm)

1 Oct to 31 Mar:
Daily, 9.30am to 5pm (last entry 3.30pm)

The Edinburgh Castle logo, featuring a lion's head

Facilities

Download our visitor app

Discover more on the go – the Historic Scotland app lets you find out about Scotland’s most iconic places wherever you are.

Plan your visit

More than 20 of our sites are now open. Please book your tickets in advance.

Become a member

Join Historic Scotland to visit our properties free of charge for a full year and support our work at the same time.

Hire a site for filming

Use one of our fantastic locations on your next shoot for an awe-inspiring backdrop to your work.

Learning visits

Our 300+ historic places serve as creative inspiration for all sorts of learning activities – and for learners of all ages.

Search our events

See the past brought to life by the imaginative year-round programme of events at our properties.