St Andrews has been Scottish University of the Year for the second year running.
The Times and Sunday Times University Guide 2015 also puts the university at third in the UK overall.
A delighted principal and vice-chancellor Professor Louise Richardson said: “For an institution of our size and resources to rank first in Scotland and third in the UK is a terrific achievement.
“This ranking is a testament to the strength of our most important resources: the talent, creativity and dedication of our remarkable students and staff.
“We have long been recognized as the third oldest university in the UK, we are very pleased to be recognized as the third best.”
It is highest UK ranking the university has ever been given by The Times or The Sunday Times.
Revealing its results this week, the guide stated that St Andrews had moved from 4th to 3rd in the UK, that its student satisfaction rating of 86.3% was the highest in Scotland and one of the highest in the UK, its facilities spend per student was the highest in Scotland at £2346 and its graduate prospects were the second highest in Scotland.
“The Times and The Sunday Times Good University Guide 2015 provides students and their parents with an invaluable first reference point on the path to finding a university place,” the guide explained.
“The University of St Andrews, which celebrated its 600th anniversary in 2013, registers by far the best scores north of the border in the National Student Survey and remains the only Scottish university in the top 20.”
It also revealed that St Andrews was shortlisted for the title of UK University of the Year.
Earlier this month the university was also basking in success at being ranked as one of the top 100 universities in the world.
It was the eighth year that it had been placed by the QS World University Ranking.