Home / Insights / Working from Spain for a US company
Case study · Tax residence · IRPF · Social security

Working from Spain for a US company: who taxes what.

A French citizen living permanently in Spain, contracted personally by a US company, taking home 6,000 euro a month. Three countries could plausibly want something. In practice only one of them gets most of it — and one contractual detail decides how much.

Review your own position ↗ Illustrative case · Not personal advice
France
Nothing
Not tax resident, no French-source income. Citizenship alone does not create a French liability.
United States
Nothing
Services performed entirely outside the US by a non-US person are generally not US-source.
Spain
Everything
Tax resident, worldwide income, IRPF plus social security. The only real question is how much.
The case

The facts we are working from.

A French national has moved to Spain and lives there permanently. He works remotely, under a contract in his own name, for a company incorporated in the United States with no presence in Spain. He never travels to the US for work. He takes home the equivalent of 6,000 euro a month, or 72,000 euro a year, and wants to know what is owed and to whom.

People in this position usually arrive with the wrong question. They ask whether they owe tax in France because they are French, or in the United States because the payer is American. Both instincts are understandable and both are largely wrong. The answer turns on residence, on where the work is physically done, and on a contractual detail most people have never thought about.

Step one: where is he tax resident?

Spain, and this is not a close call. Spanish tax residence is generally triggered by spending more than 183 days in the country in a calendar year, or by having the main centre of economic interests there. Someone who lives in Spain permanently satisfies both.

01
France no longer taxes himFrance taxes on residence, not on nationality. Once he is genuinely non-resident, France taxes only French-source income. If he has none, he owes France nothing on this contract.
02
The US does not tax him eitherHe is not a US person. Compensation for personal services is generally sourced where the services are performed, and he performs them entirely in Spain. That makes the income foreign-source for US purposes.
03
Spain taxes him on worldwide incomeA Spanish tax resident is taxed on income wherever it arises. This contract is fully within the Spanish net, and there is no treaty argument that removes it.
The French detail worth checking

Leaving French tax residence is an act, not an assumption.

Moving physically is not the same as having exited cleanly. The departure should be reflected in the French filings for the year of the move, and anyone who held a substantial shareholding on leaving should check whether French exit taxation applies to them. It is far cheaper to establish this at the time than to argue it three years later.

Step two: the detail that decides everything.

A "personal contract" with a foreign company is not one thing. Spanish tax and social security law will look through the label to the substance, and the answer falls into one of two boxes.

Box A

Employment relationship

He is an employee of the US company: fixed hours or availability, subordination, integration into the employer's organisation, tools and direction provided. His income is rendimientos del trabajo — employment income.

Box B

Independent services

He is a self-employed professional invoicing a client: his own methods, his own risk, potentially other clients. His income is rendimientos de actividades economicas, and he must register as autonomo.

Most people in this situation are placed in Box B by default, because the US company does not want the administrative burden of employing someone in Spain and simply asks for invoices. That default has consequences, and the largest of them concerns a tax regime he may otherwise have qualified for.

The Beckham problem, and why being French makes it worse.

Spain's impatriate regime — the Ley Beckham — taxes qualifying arrivals at a flat 24% on employment income up to 600,000 euro for up to six years, instead of the ordinary progressive scale. At this income level the difference is substantial. The 2022 Startups Law extended it to international teleworkers, which is exactly what our case looks like.

Two obstacles stand in the way, and together they catch a lot of EU citizens.

ObstaclePositionEffect on this case
Autonomo statusSelf-employed with a mercantile relationship generally cannot access the regimeBox B likely closes the door
Digital nomad visaAvailable only to third-country nationals, not EU, EEA or Swiss citizensAs a French citizen he cannot take that route at all
Employment contractEmployees receiving rendimientos del trabajo may qualifyBox A keeps the option open
Prior non-residenceNot Spanish tax resident in the five preceding yearsMust be checked, not assumed
Election deadlineA limited window from the qualifying start pointMissed, and the regime is gone for all six years
The trap in one sentence

The teleworker route into Beckham was built around a visa that EU citizens cannot obtain.

A non-EU remote worker gets the digital nomad visa and, with it, a clear path into the impatriate regime. An EU citizen needs no visa to live in Spain — and therefore has no visa to point at. Whether the regime remains accessible to him depends on the nature of his contract and on current administrative practice, which is precisely why this needs professional confirmation rather than an assumption in either direction.

Step three: the numbers, three ways.

The target is 72,000 euro a year in his pocket. What has to be earned before that depends entirely on which route applies. The figures below are illustrative approximations using the general state and regional IRPF scale, ignoring personal allowances, family circumstances and regional variation — all of which move the result.

What must be earned to take home 72,000 euro
Employee under the impatriate regime, if it appliesapprox. 95,000
Employee under the ordinary progressive scaleapprox. 120,000
Autonomo, ordinary scale, after RETAapprox. 120,000–125,000 net professional income
Rounded, illustrative and deliberately imprecise. The impatriate figure assumes a flat 24% on employment income; the ordinary figures apply the general progressive scale, in which income at this level reaches the 45% band. Regional IRPF differs materially — Madrid and Catalonia are not the same country for this purpose — and social security treatment differs by route. Do not budget from this chart.

The shape is what matters. At 72,000 euro net, the gap between the impatriate regime and the ordinary scale is in the region of 25,000 euro a year, every year, for up to six years. That is why the contractual question in step two is not a formality.

Step four: social security, which nobody budgets for.

Income tax is only half the picture, and social security follows entirely separate rules from the tax treaty. Because he works in Spain, Spanish social security applies — regardless of where his employer sits.

RouteWhat happensPractical note
Autonomo (Box B)He registers in RETA and pays his own contributionsContributions are income-banded across fifteen brackets, from roughly 200 to 590 euro a month, plus the intergenerational equity charge
Employee of a foreign employer (Box A)The US company generally has to register as an employer in SpainMany US companies refuse, which is exactly why people end up in Box B
Employer of recordA third party employs him in Spain on the US company's behalfSolves the employment question at a per-head cost; check how it interacts with the impatriate regime
Spanish company of his ownHe is administrador and employee of his own SLBrings its own obligations, and its own risk — see below

Step five: what the US company should have on file.

The US side is administratively light but not empty. The payer needs documentation confirming it is paying a foreign person for services performed outside the United States, otherwise it may withhold by default.

The US paperwork
  • Form W-8BEN from him, certifying foreign status, where he is treated as an individual payee
  • A contract that states where the services are performed — this is the fact that determines sourcing
  • No US tax withholding should generally apply to non-US-source personal services income
  • Watch business travel to the US — days worked physically in the United States can create US-source income and a filing obligation
  • The US company should consider its own exposure — a worker in Spain can raise permanent establishment questions for the payer, separate from his personal position
A point the worker rarely raises and the employer should

He may be creating a taxable presence for the US company.

Someone working from Spain for a foreign employer can, depending on what they do, contribute to a permanent establishment for that employer. If he concludes contracts or plays the principal role leading to their conclusion, the US company may have a Spanish filing obligation it has never considered. That is the employer's problem, but it tends to surface at the worst possible moment.

The option people ask about, and its risk.

The idea

Invoice through his own Spanish SL

The SL contracts with the US company, pays him a salary, retains the rest and is taxed at the corporate rate rather than at his marginal personal rate. On paper this looks efficient at this income level.

The risk

The interposed professional company

Where a company exists only to receive income from personal services that one individual performs, Spanish authorities have a well-developed line of attack. The company must have real substance and the remuneration must be at market value, or the income can be reattributed to the individual with penalties.

This route is legitimate where the activity genuinely warrants a company — other clients, employees, real assets, commercial risk beyond the individual's own labour. It is not a wrapper for a single personal services contract, and treating it as one is among the more common expensive mistakes in this exact scenario.

What he should actually do, in order.

Step 01
Establish the residence position in writingConfirm Spanish residence, confirm the French exit was properly reflected, and obtain a Spanish tax residence certificate once available.
Step 02
Characterise the contract before signing anything newEmployment or services. This determines the tax head, the social security route and whether the impatriate regime is even on the table.
Step 03
Test impatriate eligibility immediatelyPrior non-residence, qualifying cause, contract type. The election window is short and there is no remedy for missing it.
Step 04
Register correctly in SpainNIE and tax registration, plus RETA if self-employed, or the appropriate employer arrangement if employed. Registration precedes the first payment, not the first return.
Step 05
Fix the US paperworkW-8BEN, a contract that states where services are performed, and a clear position on any US business travel.
Step 06
Set up quarterly complianceSpanish self-employed income carries quarterly obligations. Discovering this in the following spring is the standard and avoidable error.
Where this stops being general

The answer depends on facts a guide cannot know.

Contract wording, prior residence history, region of residence, family situation and the employer's willingness to register all change the outcome. We review the position and say plainly which route is available to you and what it costs.

Book a consultation ↗
Terms in this case
IRPF
Spanish personal income tax, applied on a progressive state plus regional scale to residents on worldwide income.
Rendimientos del trabajo
Employment income. The category that can access the impatriate regime.
Rendimientos de actividades economicas
Self-employed or professional income. Generally outside the impatriate regime.
Autonomo
Registered self-employed status, with its own registration and contribution obligations.
RETA
The self-employed social security scheme, with contributions banded by declared net income.
Ley Beckham
The special impatriate regime: broadly 24% on employment income up to 600,000 euro, for up to six years.
Modelo 149 / 151
The election form for the impatriate regime, and the annual return filed under it.
W-8BEN
The US form by which a foreign individual certifies non-US status to a US payer.
Sociedad interpuesta
An interposed company receiving income from services personally performed by its owner — a recognised area of challenge.
Frequently asked
Do I pay tax in France if I am French but live in Spain?
Generally not on this income. France taxes on residence rather than on nationality, so a genuine non-resident with no French-source income owes France nothing on foreign employment or professional income. What does need attention is that the exit from French residence was properly declared, and whether exit taxation applied if substantial shareholdings were held on departure.
Does the US company withhold American tax from my pay?
It generally should not, where you are not a US person and the services are performed entirely outside the United States, which makes the income foreign-source. The payer will normally want a Form W-8BEN on file and a contract stating where the work is done. Days physically worked in the United States are a separate question and can create US-source income.
Can I use the Beckham Law as a remote worker for a foreign company?
Sometimes, and the contract type is decisive. The regime attaches to employment income, and self-employed people with a mercantile relationship are generally excluded. The teleworker route was also built around the digital nomad visa, which is available only to third-country nationals — so an EU citizen cannot rely on that path and needs the position confirmed specifically.
Should I register as autonomo or push for an employment contract?
It depends on what the employer will accept and on whether the impatriate regime is worth pursuing. An employment contract keeps that option open but usually requires the foreign company to register as an employer in Spain or to use an employer of record. Autonomo status is simpler to arrange and, at this income level, potentially much more expensive over six years.
Is it worth setting up a Spanish company for this?
Rarely for a single personal services contract. A company that exists only to receive income from work one individual performs is a recognised target for reattribution, and the arrangement needs genuine substance and market-value remuneration to hold. Where the activity has grown into a real business with other clients and risk, the analysis changes.
How much is the difference between the routes?
At 72,000 euro net a year, the gap between the impatriate regime and the ordinary progressive scale is broadly in the region of 25,000 euro annually, before considering social security and regional variation. Over six years that is the difference between two materially different financial outcomes, which is why the question deserves proper advice rather than a forum answer.
This is an illustrative case study using invented facts, prepared as at August 2026. It is general information and not tax, legal or financial advice, and it is not a recommendation for any individual. Figures are rounded approximations that ignore personal allowances, family circumstances, deductible expenses and regional variation in Spanish income tax, all of which materially change the result. Residence, contract characterisation, impatriate regime eligibility and social security treatment are highly fact-specific and change with law and administrative practice. Anyone in a comparable position should obtain professional advice in Spain and, where relevant, in France and the United States before acting.

Three countries, one taxpayer. And one clause that decides the bill.

Book a consultation ↗
20 minutes · No commitment · Straight answers
About the author
AB

Alexander Baranov

Founder, Voixa Consultors · International corporate structuring since 2008

Seventeen years designing and delivering cross-border corporate structures — incorporation, tax, holding, banking and market entry — for founders and companies expanding into Spain and the EU. Author of professional books on entering the Spanish market.

More about Voixa and the team ↗
Market Entry to Spain book cover
Book · Kindle
Market Entry to Spain Strategy, corporate structure, tax and growth — the long-form treatment of the decisions covered here.
Read on Amazon ↗