If you are a citizen from a non EU or non EEA country, you should obtain a student visa in your home country before arriving in Spain. You can apply for a student visa at the Spanish Embassy or Consulate closest to your place of residence. If necessary, you can find the one closest to you on Embassies and consulates - Ministerio de Asuntos Exteriores' website .
To apply for a student´s visa, among other documents, you need some proof of acceptance in a UdG study program. You can request a letter of acceptance from:
Early visa application is very important. Please bear in mind that the wait time to receive a visa differs depending on an embassy. It is recommended that you apply for a visa approx. two month in advance.
Important: A tourist visa is not sufficient to study in Spain.