All arriving traavelers must present a PCR test result taken within 72 hours prior to arrival. The negative test result should be in Spanish or English and should be presented in original paper or electronic record, containing the name of the traveler, passport or national ID number, date of the test, and name and contact information of testing center. See more information
https://www.boe.es/diario_boe/txt.php?id=BOE-A-2020-14049
Before traveling to Spain, all passengers arriving from third countries must complete the
https://www.spth.gob.es/ and show the QR code at the Border Health Control at the airport upon arrival in Spain. The form must be completed for each passenger. Parents or legal guardians can complete the form for minors, dependents, or disabled persons. You can start the form at any time before your flight, but you can only answer health questions and finalize the form 48 hours before your arrival in Spain.
The US Embassy in Madrid, the US Consulate General in Barcelona, and the five consular agencies in Spain have resumed regular citizenship services. Visitors must have appointments and wear masks in the facilities.