The documentation required to travel to Spain varies according to the country of origin.
If you are a citizen of the EU, Switzerland, Norway, Iceland or Liechtenstein: you will need a valid passport or ID card.
If you come from another country:
The maximum stay in Spain is 90 days. There are a number of countries whose citizens are required to have a valid current visa in order to enter Spain. Citizens of these countries can also travel to Spain if they have a residence permit or a long-term visa issued by another country in the European Union (with the exception of the United Kingdom, Ireland, Romania, Bulgaria and Cyprus), Switzerland, Norway, Iceland and Lichtenstein.
Citizens of all other countries must be in possession of documents which justify the object and the conditions of their stay, and be in possession of sufficient economic resources for their maintenance throughout the period they are intending to remain in Spain. The documents they are required to present will vary according to the motive of the trip. You can check these on the website of the Ministry of Foreign Affairs and Cooperation .
Given that conditions may vary, we suggest that you contact the Spanish Embassy or Consulate to verify these requirements before you start your trip.