Key takeaways
- A foreign company is tax resident in Spain if its place of effective management is in Spain.
- If you run the company from Spain, it can be taxed under Spanish Corporate Income Tax, not at 9%.
- Even if the company is resident abroad, a permanent establishment or Spanish CFC rules can bring income back to Spain.
- The owner’s own tax residency is the starting point of the analysis.
The idea is tempting: set up a company in Dubai, invoice through it and pay 9% — or 0% — instead of Spanish rates. The problem is that where a company is registered is only one of the factors that determine where it pays tax. If the person who runs it lives in Spain, the Spanish tax authorities may consider that the company is, in reality, Spanish.
When is a company tax resident in Spain?
Under the Spanish Corporate Income Tax Law, an entity is resident in Spain if it meets any of these three criteria:
- It was incorporated under Spanish law.
- Its registered office is in Spain.
- Its place of effective management is in Spain.
A Dubai company does not meet the first two. The third is what matters: the place of effective management is where the management and control of the business as a whole actually take place.
What “effective management” means in practice
The analysis focuses on reality, not on paperwork. Relevant questions include:
- Where are the key strategic and commercial decisions made?
- From where are contracts negotiated and signed?
- Who operates the bank accounts, and from where?
- Where do the directors and the team actually work?
- Does the company have real premises, staff and activity in the UAE?
If the answer to most of these questions is “from my home in Madrid”, the company is very likely to be managed from Spain — no matter how many documents say otherwise.
What happens if the company is managed from Spain
If the Spanish tax authorities conclude that the company is resident in Spain, it will be taxed on its worldwide profits under Spanish Corporate Income Tax, with the corresponding filing obligations — and possible surcharges, late-payment interest and penalties for the years that were not declared.
Two other ways income comes back to Spain
Permanent establishment
Even if the company is genuinely resident in the UAE, it may have a permanent establishment in Spain if it carries out its business through a fixed place in Spain or through someone who habitually concludes contracts on its behalf. The profits attributable to that establishment are taxed in Spain.
Controlled foreign company (CFC) rules
Spain’s international tax transparency rules can attribute to a Spanish resident owner certain income obtained by a controlled foreign company that pays little tax. When the company lacks sufficient material and human resources, the attribution can extend to all of its income.
Your own residency comes first
None of this can be analysed without looking at the owner. If you are tax resident in Spain, the salary and dividends you receive from the Dubai company are taxed in Spain, and the company’s management is likely to be in Spain too. That is why the first step is always to analyse your personal change of tax residency before deciding on the company.
When a Dubai company does make sense
A Dubai company works when it has real substance and is actually managed from the UAE — typically because its owner has moved there and the business operates from there. In that scenario, the UAE tax system can be applied correctly. If you are designing this step, our international tax structuring analysis compares the options with real numbers.
Frequently asked questions
Can I live in Spain and have a company in Dubai?
You can, but if you manage it from Spain, the company is likely to be considered tax resident in Spain and taxed there.
What is the place of effective management?
The place where the management and control of the company as a whole actually take place, analysed on the basis of facts rather than documents.
Does the Spain–UAE treaty protect my Dubai company?
Only if the company is genuinely managed from the UAE. If it is managed from Spain, the treaty generally points to Spain.
What if I move to Dubai?
Then the analysis changes, but you need to be able to prove that your personal tax residency has really moved and that the company is managed from the UAE.
