If you are going to study at the Complutense University or at the Polytechnic, it is most often to rent your room or student apartment near the University City, or at least with good connections.
These are some of the most demanded areas with better public transport connections that you should consider:
Vallehermoso
It is just east of the University City and the journey to the university will only take 15 minutes with the metro line 6 from the Guzmán el Bueno stop.
Argüelles
It is located in the same district as the main universities (Moncloa-Aravaca) and just 17 minutes from the University City with metro line 6 from the Argüelles stop.
Cuatro Caminos
It belongs to the Tetuan district and from the stop of the same name you can reach the university in 17 minutes or in just 14 minutes from Nuevos Ministerios with line 6.
Trafalgar
This neighborhood is also well connected to the University City and the metro ride from Quevedo takes about 25 minutes.
Sol
It is one of the most sought after neighborhoods to live in Madrid, because of its central location and good connections. From here you will reach the faculty in about 26 minutes by metro.