It is the first time in 12 years that St Andrews has been placed in first spot, beating the likes of Oxford and Cambridge who came second and third respectively.
The Times and Sunday Times Good University Guide is considered the most trusted quality indicator of undergraduate study at UK universities.
St Andrews also topped the recently released 2024 Guardian University Guide, meaning it is the first time that any UK university, other than those of Oxbridge, has led both major UK higher education league tables in the same year.
All about Lady Louise
Louise, 19, is preparing to return for her second year at university. She is reading English, while her cousin Prince William graduated with a Master of Arts degree in geography in 2005 and her cousin-in-law Princess Kate with a Master of Arts degree in history of art in the same year.
Like most undergraduates, Louise spent the first year at university living in halls of residence. She will have to find her own accommodation for the remaining two years of her course.
When William and Kate first enrolled at the university in Fife, they lived at St Salvator's Halls of Residence, known as Sallies. But after the first year, William and Kate joined two of their friends in a rented two-storey Victorian terraced house – reportedly 13A Hope Street - close to the university.
And in their final year, the couple, who began dating in 2003, reportedly shared a four-bedroom cottage called Balgove House on the Strathtyrum Estate with friends.
William and Kate's love story
William and Kate have returned to their university several times since graduating, including a visit just a couple of months before their royal wedding in 2011. The pair also took a trip down memory lane at St Andrews in 2021, during their tour of Scotland.
Their mother the Duchess of Edinburgh has previously told The Sunday Times: "We try to bring them up with the understanding they are very likely to have to work for a living. Hence we made the decision not to use HRH titles. They have them and can decide to use them from 18, but I think it's highly unlikely."
Listen to HELLO!'s A Right Royal Podcast and find out why Princess Charlotte may not follow in mum Kate's footsteps when it comes to schools..