No. The currency of Spain is Euro and it does not accept US dollars. Ensure to exchange your currency upon your arrival in the country.