Spain's digital nomad visa (officially for "international teleworkers") opened in January 2023 under the Startup Act. It lets non-EU remote employees and freelancers live in Spain while working for companies based abroad. Freelancers can take Spanish clients for up to 20% of their work.
Apply at a Spanish consulate and you get a one-year visa. Apply from inside Spain and you get a three-year residence permit, renewable for two years at a time. After five years you can apply for long-term residence.
You need to earn at least 200% of Spain's minimum wage, about €2,849 a month in 2026, plus more for each family member. You also need at least three months with your employer or clients, a clean criminal record, health insurance valid in Spain and Social Security registration.