After being accepted into a Spanish university, student visas are usually easy to get. Foreign (non-EU) students will typically require a long-term visa to enter Spain, which can be obtained from a Spanish consulate or embassy in your country of permanent residence.