Three countries have a plausible claim on the same salary. Two of them will not get it, one will take considerably more than the person expected, and the arrangement creates a risk for the employer that nobody in the chain has thought about. This is a worked case study of a situation we are asked about almost weekly.
The facts, which we'll keep fixed throughout: a Brazilian citizen holds a Portuguese residence permit and lives in Lisbon. He works remotely, full time, for a company incorporated in the United States. He is not a US citizen and does not hold a green card. He has no US clients of his own, no Portuguese clients, and he has not set foot in the United States during the tax year.
Almost everyone gets this case wrong in the same direction: they assume that because the employer is American and the money originates in America, some part of the tax belongs to America. It doesn't. But the correct answer is not the comfortable one either.
Everything follows from tax residence, and tax residence has nothing to do with citizenship. His Brazilian passport is irrelevant to the analysis. What matters is where he physically is and where his life is centred.
Portugal treats an individual as tax resident if they spend more than 183 days in the country in any twelve-month period, or if they maintain a dwelling in Portugal in circumstances suggesting an intention to keep it as a habitual residence. Living in Lisbon on a residence permit satisfies this comfortably. He is a Portuguese tax resident, and Portuguese residents are taxed on worldwide income.
That single sentence — worldwide income — is where most of the confusion resolves. Portugal is not asking whether the money came from America. It is asking whether he lives in Portugal.
Tax residence is a question about a person, not about a payment. Once Portugal has the person, the origin of the salary stops being the interesting question.
Even so, the source matters, because it determines whether a second country can also tax the same income and whether relief is available.
The governing principle for employment income in essentially every tax treaty, including the Portugal–US treaty, is that salary is taxable in the country where the work is physically performed. Not where the employer is registered. Not where the payroll runs. Not where the bank account sits. Where the person's body is when they do the work.
He performs the work in Lisbon. The salary is Portuguese-source employment income. The fact that it arrives from a Delaware corporation via a US bank changes nothing about that characterisation.
The US taxes non-resident aliens on income from US sources. Compensation for personal services is sourced to the place where the services are performed — a rule that works in his favour here. Services performed entirely in Portugal are foreign-source income from the US perspective, and foreign-source income of a non-resident alien is outside US taxing jurisdiction.
Practically, this means the employer should not be withholding US federal income tax, and the individual should have a valid Form W-8BEN on file certifying his non-US status. Where things go wrong is administrative rather than legal: a US payroll department that treats him like a domestic employee, withholds, and issues a W-2. The money is recoverable, but recovering it means filing a US non-resident return to claim a refund of tax that was never owed — a year of hassle caused by a form nobody completed at the start.
One qualifier that changes the entire analysis: if he were a US citizen or green card holder, the United States would tax him on worldwide income regardless of where he lives, and the whole structure would need rebuilding around foreign earned income exclusions and foreign tax credits. He isn't. But it is the first question worth asking of anyone presenting this fact pattern, because people volunteer their current passport and forget to mention a second one.
Brazil taxes its residents on worldwide income, and Brazilian tax residence does not end because you bought a plane ticket. It ends when you formally declare it ended.
The mechanism is the Declaração de Saída Definitiva do País — the definitive exit declaration, accompanied by a communication of departure. Filed correctly, it terminates Brazilian tax residence from the date of departure and Brazil stops claiming his worldwide income.
Not filed — and this is the single most common defect we see in Brazilian client files — and Brazil continues to regard him as resident. He is then simultaneously resident in Brazil and in Portugal, with both countries taxing the same salary. The Brazil–Portugal double tax treaty contains tie-breaker rules that will eventually resolve the conflict in favour of one country, usually Portugal on these facts. But "eventually" involves invoking a treaty, proving the tie-breaker, and possibly a mutual agreement procedure between two tax administrations. It is an expensive way to fix a filing that would have cost him an afternoon.
Worth noting for anyone with a more complicated version of this case: Brazil and the United States have no income tax treaty. If US-source income were genuinely in play, there would be no treaty mechanism to prevent double taxation between those two. On our facts it doesn't arise. On slightly different facts it would matter a great deal.
So Portugal taxes the whole salary as employment income. At what rate?
Portuguese personal income tax (IRS) is progressive, reaching roughly 48% at the top bracket, with an additional solidarity surcharge on very high incomes. For a well-paid remote engineer on a US salary, a substantial part of the income lands in the upper brackets. The effective rate is meaningfully lower than 48% because the progression applies band by band — but the marginal rate is what people feel, and it is high.
At this point every client asks the same question, and it is the right question: what about the special regime?
Portugal's non-habitual resident regime closed to new entrants and was replaced by IFICI — the tax incentive for scientific research and innovation, informally "NHR 2.0". It offers a flat 20% on qualifying employment and self-employment income for ten years. On the surface, a highly-qualified tech professional moving to Lisbon looks like exactly the intended beneficiary.
He almost certainly doesn't qualify, and the reason is structural rather than marginal.
IFICI attaches not only to what you do but to who employs you. Eligible employment must be with a qualifying Portuguese entity: a company certified as a startup under Portuguese law, a recognised technology or innovation centre, an entity benefiting from certain Portuguese investment incentives, or a company deriving a defined share of its turnover from exports. A US corporation with no Portuguese establishment is none of these things.
The consequence is precise and counterintuitive: the same developer, doing the same work at the same salary, would potentially qualify for 20% if hired by a certified Portuguese startup, and does not qualify at all when employed directly by a foreign company. The regime was designed to attract talent into the Portuguese economy, not to subsidise foreign employers. Whether that is good policy is a separate argument; it is what the rules say.
The old NHR regime, by contrast, would often have helped this profile. Anyone who obtained NHR status before it closed and remains within their ten-year window is in a materially different position — and should check the terms of their grant before assuming the change affects them.
Social security is a separate system from income tax, with separate rules, and it is where remote arrangements most often turn out to be structured wrongly.
The threshold question is whether he is genuinely an employee or a contractor. Many US companies "hire" internationally by paying an invoice, which makes the individual self-employed in Portugal — a trabalhador independente. He then registers with Portuguese social security and pays contributions himself, at a materially different rate from an employee, with a limited exemption in the first months of activity.
If the relationship has the substance of employment — fixed hours, direction and control, exclusivity, integration into a team — then labelling it a contract does not make it one. Portugal, like most European jurisdictions, looks at substance. A misclassified relationship can be recharacterised, with contributions and penalties attaching to the employer.
Where the individual is properly an employee of the US entity, the Portugal–United States totalisation agreement governs which country's social security system applies and prevents contributions being owed twice. Which system applies depends on the arrangement's structure and expected duration, and it is worth establishing at the outset rather than discovering later.
Everything above concerns the individual. There is a second exposure sitting entirely with the American company, and it is usually the reason a US employer eventually says no.
An employee working habitually from Portugal can create a permanent establishment for the employer — a taxable presence in Portugal. The risk is low for a purely internal role with no customer-facing authority. It rises sharply where the individual negotiates contracts, concludes sales, or otherwise habitually exercises authority to bind the company. A remote salesperson in Lisbon is a considerably more dangerous proposition for a US employer than a remote back-end developer.
Where a permanent establishment exists, Portugal can tax the profits attributable to it, and the US company acquires Portuguese filing obligations it never contemplated. This is why an employer of record, or a properly structured Portuguese subsidiary, is often the answer for arrangements that are going to last — not because the individual's tax position is unclear, but because the company's is.
Now change one variable. Same Brazilian citizen, same US employer, same work — living in Madrid instead of Lisbon.
The first half of the analysis is identical. Spain treats an individual as tax resident on more than 183 days or where their centre of economic interests lies. Employment income is sourced to where the work is performed, so Spain has the taxing right, and the United States still has none. Ordinary Spanish rates run to roughly 47%.
The difference is what Spain offers on top.
Spain's special regime for inbound workers — the "Beckham Law" — was extended by the Startups Law to cover exactly this profile: people who move to Spain to work remotely for a foreign employer. Qualifying individuals are taxed at a flat 24% on employment income up to €600,000, for the year of arrival plus the following five.
The conditions are real and unforgiving:
The comparison is uncomfortable for Portugal on this specific fact pattern. Portugal's incentive requires a qualifying Portuguese employer, which a remote worker for a US company by definition does not have. Spain's incentive requires a foreign employer, which is precisely what he has. The two regimes are close to mirror images, and this individual falls on the wrong side of one and the right side of the other.
None of which makes Spain the answer. The Spanish regime is time-limited and ends after six years; social security, cost of living, the practicalities of the visa and where the person actually wants to live all matter, and several of those cut the other way. If the Spanish route is worth examining for your situation, our Spanish practice handles it directly at voixa.es.
Three things, none of them about Portugal specifically.
The employer's location is nearly irrelevant. People organise their thinking around where the money comes from. Tax authorities organise theirs around where the person is. Once you internalise that inversion, most cross-border remote work questions become tractable.
Special regimes are drafted narrowly and on purpose. The gap between "Portugal has a 20% flat tax regime" and "this person can use it" is the entire substance of the analysis. Countries design these regimes to attract something specific — capital, employers, sectors — and a remote worker paid by a foreign company frequently isn't what they were trying to attract.
The exit is as important as the entry. The most expensive defect in this file has nothing to do with Portugal, the United States, or any incentive regime. It is an unfiled Brazilian exit declaration — a piece of administration that costs nothing at the time and produces a dual-residence conflict that costs a great deal later.
For anyone in this position, the sequence that works is unglamorous: establish residence cleanly in one country, terminate it cleanly in the other, confirm the employer's withholding treatment before the first payment rather than after the twelfth, resolve social security deliberately rather than by default, and check whether the employer has a permanent establishment problem before it becomes their reason for ending the arrangement.
Tell us the passports, the days, the employer and the contract. We will map the residence position, the withholding treatment and the employer's exposure across every country involved.