Spain is the easiest of the Mediterranean countries to work from remotely, and not by accident. It has one of the largest remote-capable workforces in southern Europe, a fibre network that reaches almost every city street, and a residence route written specifically for people whose salary comes from abroad. The pieces fit together: you can arrive on a visa built for remote workers, elect a flat tax rate, and live in a city where a fast connection is the default rather than a selling point.
The trade-off is that “Spain” is really four or five different decisions. A remote worker in Valencia, Barcelona, Madrid, or Malaga is living in a different country in everything but the flag, from rent to climate to how much Spanish you actually need. The legal and tax framework is national, but the base you pick decides your budget and your daily life, and it is the part people get wrong when they plan from a distance.
This guide works through the numbers that matter for 2026, each one linked to the source it comes from. It covers what living costs in the main remote-worker cities, how fast the internet really is, the income threshold and the tax rate on the digital nomad route, and the practical business of healthcare and paperwork. Every statistic is checked against an official source or the recognised benchmark, and the crowd-sourced figures are labelled as such. If you are still deciding on the country, the country index compares all seven.
Plan and book
3 partners- Flights
Compare one-way and return fares into Malaga, Barcelona, Madrid, and the other Spanish airports.
Search flights - Trains and arrivals
Link the Madrid arrival with the high-speed run down to the coast in one search.
Compare routes - Somewhere to land
Rooms and apartments by city, sorted by area, price, and review score, for the first month.
Find a place
Why Spain
Spain is not a niche remote-work destination, which is exactly the point. Working from home is a normal part of the labour market here rather than a novelty: in 2025 Eurostat put the share who usually work from home at 8.0 percent, close to the European Union average of 9.0 percent. The national statistics office measures a wider slice and finds 15.6 percent of employed people worked at home in 2025 when habitual and occasional home working are counted together. That base of domestic remote work is what makes the infrastructure and the co-working culture feel grown-up rather than improvised.
The second reason is legal. Spain was the first large Mediterranean economy to build a dedicated residence permit for international teleworkers, inside the 2022 startup law, and it paired that with a well-known flat tax rate for new residents. For a remote worker deciding between Greece, Portugal, and Spain, the visa and tax framework is often what settles it, because it is designed around a foreign salary in a way that a standard tourist stay is not.
A word on method. The cost figures below come from Numbeo, which is crowd-sourced and updated by contributors, so treat them as a good planning gauge rather than an official index, and cross-check rent on the asking-price trackers before you commit. The telework, speed, and tax numbers come from official statistics offices, the European Commission, the tax agency, and Ookla, the company behind Speedtest. The date on each figure matters, because rents and published speeds move.
What it costs to live
Cost is where the choice between Spanish cities shows up fastest. In Numbeo’s October 2026 data, a one-bedroom apartment in the city centre averaged about 1,271 EUR a month in Valencia, 1,316 EUR in Malaga, 1,353 EUR in Madrid, and 1,462 EUR in Barcelona, against a national average of 896 EUR. The same data puts monthly living costs for a single person, excluding rent, at roughly 732 EUR in Valencia, 722 EUR in Malaga, 819 EUR in Madrid, and 828 EUR in Barcelona.
The pattern is consistent: Valencia and Malaga are the value end, Barcelona and Madrid the premium. That gap is not small over a year. A remote worker on the same salary is spending several thousand euros less annually on rent in Valencia than in Barcelona, and getting a beach city rather than a capital. For the official version of the rent picture, Idealista publishes an asking-rent index by province and city, which is the number Spanish landlords and tenants actually argue about.

The day-to-day is gentler than the rent line suggests. Groceries, coffee, a menu del dia at lunch, and public transport are all closer to Portuguese or Greek prices than to French or Dutch ones, and the lunchtime set menu remains one of the best-value meals in Europe. Where Spain catches people out is the detail of a long stay: the one-month deposit plus agency fee on an apartment, the cost of getting an NIE and opening a bank account, and the fact that many landlords want proof of income before they will sign. Budget a buffer for the first month beyond the rent itself.
Internet speeds
Broadband is the quiet advantage. In the Ookla Speedtest Global Index for August 2026, Spain’s median fixed connection measured 357.92 Mbps down and 318.33 Mbps up, ranking 20th in the world, while the median mobile connection ran at 175.39 Mbps down. Ookla’s figures are gathered from consumer speed tests, so they describe real-world performance rather than advertised packages, and they should be read with the month attached, because they move. Even so, the fixed number is comfortably in the range that makes video calls, large file transfers, and cloud work a non-issue.
The practical translation is that you rarely need to ask about the connection when you look at a city apartment, because fibre to the home is the default in Barcelona, Madrid, Valencia, Malaga, and most large towns. The question shifts to the building: an old city-centre flat may still have the installation but a weak router, and a short-let may cap the speed in the listing. Co-working spaces fill the gap for people who want a desk, a meeting room, and company, and every one of the four cities above has a healthy supply, with Barcelona holding the largest cluster.
Visa and taxes
The residence route for remote workers is the international teleworker authorisation, created by the Ley 28/2022 startup law, which added a dedicated chapter to the Spanish immigration law for people who work remotely for companies outside Spain. The headline financial test is income, and it is set relative to the national minimum wage: the main applicant must show 200 percent of the SMI. For 2026, with the SMI at 1,221 EUR a month across 14 payments, that is about 2,849 EUR a month, or roughly 34,188 EUR a year. A first dependent adds 75 percent of the SMI and each further dependent another 25 percent, and the official procedure page sets out the documents.
On timing, the initial visa runs for one year, then converts to a three-year residence authorisation, renewed in two-year blocks, with permanent residence possible at five years. Applicants generally must not have lived in Spain in the previous year, must show at least three months of relationship with the foreign employer, and the company itself usually needs at least a year of activity. The permit also allows a limited slice of work for Spanish clients, capped at 20 percent of the activity, which matters if you are mixing freelance contracts.
One point to settle before anything else: this permit is for nationals of countries outside the European Union, the European Economic Area, and Switzerland. Citizens of those countries do not need it and cannot use it, because they already hold the right to live and work in Spain under European free movement rules. For a stay longer than three months they register in the Central Register of Foreigners and receive a certificado de registro and a foreigner identity number instead of a residence visa. The foreign ministry’s telework visa pages state the exclusion directly, noting that the visa does not apply to citizens of the European Union or to those to whom EU law applies. The tax regime is a separate question with its own eligibility test, so an EU or Swiss remote worker can still look at the impatriate rate without ever applying for the digital nomad visa.
The tax side is the part most people have heard of before they arrive. Under the impatriate regime, Article 93 of the personal income tax law, a qualifying new resident pays a flat 24 percent on employment income up to 600,000 EUR and 47 percent above that, for the year of relocation plus five more tax years, according to the tax agency’s own guide. The 2022 law widened eligibility, and since 2023 it has been open to international teleworkers on the digital nomad visa, not only to employees transferred by a company. The election is not automatic: you file Modelo 149 within six months of registering with Social Security or starting activity, and there is no late fix.
Two cautions. First, the regime applies to a qualifying resident, so it is not a way to stay non-resident; if you spend most of the year in Spain you are likely a tax resident, and the regime changes the rate rather than switching tax off. Second, purely self-employed freelancers can trip over permanent-establishment rules, which the flat regime does not remove. The honest advice for anyone with Spanish clients, Spanish property, or complicated income is to run the numbers with an accountant before relying on the 24 percent headline.
Choosing a base
The permit figures show where remote workers are actually going. Spain granted 25,866 initial international teleworker authorisations in 2025, counting both main applicants and family members, up from 17,459 in 2024 and 8,305 in 2023. By province, Barcelona led with 9,063 initial grants in 2025, ahead of Madrid at 4,977, Valencia at 3,060, and Malaga at 3,041. In other words, the coastal tech city and the capital dominate, and Valencia and Malaga are growing from a smaller base.

Barcelona is the deepest market: the most co-working spaces, the most international community, the sea on the doorstep, and the highest rents to match. Madrid is the business capital, with the best transport links, a drier and hotter summer, and a slightly cheaper rent line than Barcelona. Valencia is the value pick and the one to watch, with city-centre one-bedroom rents around 1,271 EUR, a long urban beach, and a growing tech scene that has turned it into Spain’s quiet success story. Malaga has the warmest winter and a Costa del Sol setting, a compact centre, and a technology park that has pulled in international offices.
If you are choosing for the first year and value flexibility, Valencia is the low-risk default: you get city services and fibre, you are a short train ride from Madrid and Barcelona, and the lower rent leaves room for the domestic-arrival costs that every long stay carries. If your work draws you to a specific community, pick the city that already has it, because the co-working and meetup scene is real but unevenly distributed.

Healthcare
Spain’s public health system is high quality and, for residents who are covered, essentially free at the point of use. The legal basis for broad access is the 2018 reform that restored universal coverage, and the practical route for a new resident is to register on the municipal padron for an empadronamiento certificate, then apply to the social security institute for recognition of the right to public healthcare if you are not covered through work. Both the residence document and the padron certificate are part of the paperwork, as the Barcelona welcome guide sets out.
Where remote workers land depends on how they are covered. If you register with Spanish Social Security, either as an employee of a Spanish entity or through the self-employed RETA regime, you are inside the public system. If you stay on your home country’s social security under an A1 certificate and are not insured in Spain, the digital nomad visa expects private health insurance with cover equivalent to the public system, and that is what most holders carry. The official procedure page lists the insurance requirement among the documents. Register the padron early, because it unlocks far more than healthcare: it is the address proof you will be asked for again and again.
Practical information
| Income threshold | 200 percent of the national minimum wage for the main applicant, about 2,849 EUR a month for 2026. A first dependent adds 75 percent of the SMI and each further dependent another 25 percent. |
|---|---|
| Permit timeline | One-year initial visa, then a three-year residence authorisation, renewed in two-year periods, with permanent residence possible at five years. Applications are checked against the SMI in force at the time. |
| EU, EEA, and Swiss citizens | Do not need the digital nomad visa. They have the right of free movement and, for stays longer than three months, register in the Central Register of Foreigners for a certificado de registro and a foreigner identity number. The impatriate tax regime is separate and its own eligibility rules apply. |
| Tax rate | The impatriate regime charges a flat 24 percent up to 600,000 EUR of employment income and 47 percent above, for the year of arrival plus five more tax years. Elect by filing Modelo 149 within six months. |
| Cost of living | City-centre one-bedroom rent around 1,271 EUR in Valencia, 1,316 EUR in Malaga, 1,353 EUR in Madrid, and 1,462 EUR in Barcelona, on October 2026 Numbeo data. Treat as a gauge and check asking rents before committing. |
| Internet | Median fixed line of 357.92 Mbps down in the August 2026 Ookla index, with fibre to the home common in cities. Check the router, not just the package, when you view a flat. |
| Healthcare | Public access via residence, empadronamiento, and an application to social security if you are not covered through work. If you remain on foreign social security, carry private insurance that meets the visa requirement. |
Disclosure. This blog post contains affiliate links. If you book through them, Mediterranean Vibes may earn a small commission at no extra cost to you; it is how the site stays up.



