The city featured at seventh on the list ahead of Liverpool, Belfast and Birmingham.
The study, commissioned by Royal Mail, assessed 12 cities on nine categories including access to education, green space and healthcare, cultural services and housing costs.
Royal Mail spokesman David Gold said: “This new research from Royal Mail shows there is hot competition among the UK’s leading cities to be the most attractive location for people to live and work in.”
Edinburgh topped the list, coming ahead of London, although the capital scored higher on earnings, employment and business activity. The Scottish city came first on access to education and performed well on job opportunities, business community, earnings and access to green space, which covers 28 per cent of the city.
Earnings in Edinburgh, at £578 on average per week, are second only to London and the city also has the second highest number of start-ups, while office space costs are about half that of London and the employment rate is strong at 70.8 per cent.
People in London have the highest earnings at £697 per week on average, while employment levels are strong at 73.7 per cent. However, housing affordability and office costs are the highest in the UK.
Bristol, in third place, has an employment rate of 77.3 per cent and is the top-ranking UK city for job opportunities.