• Citizens of the European Union do not require a visa to enter Spain.
• For other nationalities, a visa may be required. The list of countries that require a visa to enter Spain can be found on the website of the Ministry of Foreign Affairs of Spain: Ministry of Foreign Affairs of Spain
You must submit your application to the consulate at least 15 days before your intended journey and no earlier than 6 months beforehand. You may have to book an appointment before lodging the application.
Please find all the necessary information here: https://home-affairs.ec.europa.eu/policies/schengen-borders-and-visa/visa-policy/applying-schengen-visa_en
• For countries not listed above, it may be necessary to apply for a visa through the Spanish embassy in your country. It is recommended to check the specific requirements and apply for the visa well in advance.