The University of Edinburgh (University o Edinburgh, Oilthigh Dhùn Èideann; abbreviated as Edin. in post-nominals) is a public research university based in Edinburgh, Scotland. Founded by the town council under the authority of a royal charter of King James VI in 1582 and officially opened in 1583, it is one of Scotland's four ancient universities and the sixth-oldest university in continuous operation in the English-speaking world. The university played an important role in Edinburgh becoming a chief intellectual centre during the Scottish Enlightenment and contributed to the city being nicknamed the "Athens of the North."
In academic rankings, Edinburgh is positioned among the top universities in the United Kingdom and the world. It is a member of several associations of research-intensive universities, including the Coimbra Group, League of European Research Universities, Russell Group, Una Europa, and Universitas 21. In the fiscal year ending 31 July 2022, it had a total income of £1.262 billion, of which £331.6 million was from research grants and contracts. It has the third-largest endowment in the UK, behind only Cambridge and Oxford. The university occupies five main campuses in the city of Edinburgh, which include many buildings of historical and architectural significance such as those in the Old Town.
Edinburgh is the seventh-largest university in the UK by enrolment and receives over 75,000 undergraduate applications per year, making it the second-most popular university in the UK by volume of applications. Edinburgh had the eighth-highest average UCAS points amongst British universities for new entrants in 2020. The university continues to have links to the royal family, having had Prince Philip, Duke of Edinburgh as its chancellor from 1953 to 2010 and Anne, Princess Royal since March 2011.
Alumni of the university include inventor Alexander Graham Bell, naturalist Charles Darwin, philosopher David Hume, physicist James Clerk Maxwell, and writers such as Sir J. M. Barrie, Sir Arthur Conan Doyle, J.