The top 30 rankings for student cities, is based on a number of factors including the concentration of top universities in a city, the local jobs market, cultural diversity and quality of life.
The survey, which represents the views of some 50,000 students, is an attempt to identify of the pros and cons of the world's cities for its undergraduates.
London has a higher concentration of world-class institutions that includes Imperial College, University College London, the London School of Economics and King's College.
Students in the capital also have access to the cultural life of museums, theatres, cinemas and restaurants.
The city is also seen as a good place to connect with employers and to get a job.
While London achieved a high score for being a very international city, with high levels of tolerance and diversity, it did less well on affordability - a key issue for students.
Ben Sowter, research director at QS, says the results show that London:
"remains a great place to study, despite eye-watering costs".
A separate annual study, published by another part of the QS group, says the two top factors for overseas students were the perceived quality of teaching and whether university locations were seen as "welcoming".
The International Student Survey, based on 67,000 prospective applicants, also warns that 39% of EU students thought that Brexit "has made me less interested in studying in the UK".
Prospective students fear Brexit will make UK universities more expensive and "less welcoming" to students from EU countries.
The best student cities of 2018
RANKING | CITY |
1 | London |
2 | Tokyo |
3 | Melbourne |
4 | Montreal |
5 | Paris |
6 | Munich |
7 | Berlin |
8 | Zurich |
9 | Sydney |
10 | Seoul |
11 | Vienna |
12 | Hong Kong |
13 | Toronto |
14 | Boston |
15 | Singapore |
16 | Edinburgh |
17 | Vancouver |
18 | New York |
19 | Kyoto-Osaka-Kobe |
20 | Taipei |
21 | Brisbane |
22 | Canberra |
23 | Auckland |
24 | Manchester |
25 | Buenos Aires |
26 | Beijing |
27 | Amsterdam |
28 | Moscow |
29 | Shanghai |
30 | Prague |