Starting a Business in Dubai from Spain: Exit Tax and CFC
You can own and run a Dubai company while you live in Spain, but incorporating in Dubai does not, by itself, make your income tax-free. While you remain a Spanish tax resident, Spain taxes your worldwide income under its income tax law (BOE, Ley 35/2006, 2006). Three Spanish rules decide your real position: where your company is managed (the sede de direccion efectiva trap), the exit tax on the way out, and the controlled-foreign-company rules, the transparencia fiscal internacional. A UAE trade licence touches none of them. This guide sets out each rule, with the statute cited, so you can structure honestly rather than assume escape.
For the UAE-side mechanics of the company itself, free zone versus mainland and what the 0% rate really means, pair this with our guide on Dubai company formation: mainland, free zone or offshore.
Key Takeaways
- Spain taxes worldwide income while you stay resident: over 183 days in Spain, your main centre of economic interests in Spain, or the spouse-and-minor-children presumption (BOE, Ley 35/2006, 2006).
- A Dubai company managed from Spain can be deemed Spanish-resident through sede de direccion efectiva, which lets Spain tax its worldwide profits at Spanish rates (BOE, Ley 27/2014, 2014).
- The Spanish exit tax can tax unrealised share gains on departure when holdings exceed EUR 4,000,000, or exceed 25% participation worth over EUR 1,000,000, after 10 of the last 15 years as a resident.
- CFC rules (transparencia fiscal internacional) impute passive income from a 50%-owned foreign entity taxed below 75% of the Spanish equivalent, even if undistributed. A 0% UAE free zone is the classic trigger.
- The UAE is OFF Spain's non-cooperative-jurisdiction list, current as of 2026 and subject to change, since the 2006 treaty entered into force in 2007 (BOE, BOE-A-2007-1343, 2007), so the cuarentena fiscal does not automatically apply.
- UAE corporate tax is 0% up to AED 375,000 and 9% above, for financial years from 1 June 2023 (PwC, 2026).
Can you set up a company in Dubai from Spain while staying resident?
Yes. You can set up a company in Dubai from Spain without leaving Spain, and the UAE allows 100% foreign ownership of mainland companies for most activities since the 2021 Commercial Companies Law reform (PwC, 2026). What incorporation does not do is change where you are taxed. Spain still taxes your worldwide income while you are resident there.
The structure you choose sets your UAE-side cost and tax, not your Spanish position. A mainland company pays UAE corporate tax of 0% up to AED 375,000 and 9% above, for financial years starting on or after 1 June 2023 (PwC, 2026). A free zone company can qualify as a Qualifying Free Zone Person and pay 0% on Qualifying Income and 9% on non-qualifying income. That 0% is conditional, not a blanket tax-free zone.
Mainland, free zone or offshore
Each route serves a different purpose. Mainland suits trading inside the UAE market and gives the widest activity scope. A free zone suits an export or services business and can reach 0% on Qualifying Income if it meets every condition each year. Offshore suits pure holding, with no UAE substance and no local trade. Your activity and your clients decide the fit. We break the three apart in our guide on mainland, free zone or offshore, and the running numbers in our cost to set up a company in Dubai note.
What the free zone 0% actually requires
The 0% Qualifying Income rate carries real conditions every year. A Qualifying Free Zone Person needs adequate UAE substance, qualifying income, transfer-pricing compliance and documentation, audited financial statements, and non-qualifying revenue under the lower of AED 5,000,000 or 5% of total revenue. Breach any condition and the entity loses QFZP status for that year and the following four tax periods (PwC, 2026). For very small operators, UAE Small Business Relief sets a revenue threshold of AED 3,000,000, available for tax periods ending on or before 31 December 2029 (Ministry of Finance, announced 7 August 2026), but not for QFZPs (UAE FTA, 2026). We cover that relief in our UAE Small Business Relief guide.
A Spanish founder can set up a Dubai company without leaving Spain, with 100% foreign ownership of mainland companies for most activities since 2021 (PwC, 2026). UAE corporate tax is 0% up to AED 375,000 and 9% above, for financial years from 1 June 2023, while a free zone Qualifying Free Zone Person pays 0% on Qualifying Income, conditional and not a blanket exemption (PwC, 2026).
Do you still pay tax in Spain if your company is in Dubai?
Usually, yes. While you stay a Spanish tax resident, Spain taxes your worldwide income, so a Dubai company changes your UAE tax bill but not your Spanish one (BOE, Ley 35/2006, 2006). Residency turns on three independent tests, and meeting any one of them keeps you on the Spanish hook for income earned anywhere.
The three tests are broader than the day count most founders fixate on. You are Spanish-resident if you spend more than 183 days in Spain in the calendar year, OR if Spain is the main nucleus or base of your economic activities or interests, OR through a rebuttable presumption when your non-separated spouse and minor children reside in Spain (BOE, Ley 35/2006, 2006). Each is independent. You can sleep abroad most of the year and still be resident if your economic centre stays in Madrid.
How many days in Spain before you become resident?
The 183-day rule is one test, not the whole picture. Cross 183 days of presence in Spain in a calendar year and you are resident for that year. Sporadic absences count toward the total unless you prove tax residency elsewhere. But staying under 183 days does not make you non-resident if Spain remains your main centre of economic interests, or if the family presumption applies. Days are necessary to watch, not sufficient to win.
The centre-of-economic-interests test
This is the test that catches "digital nomad" founders. If the core of your assets, income and business decisions sits in Spain, you can be resident even below 183 days. A Dubai licence with the real management, clients and revenue still anchored to Spain does not move that centre. This is where a confident "I left Spain" plan can fall apart under scrutiny: the day count was met, the economic centre was not.
Spain taxes worldwide income while you are resident under its income tax law, which has three independent tests: over 183 days of presence, Spain as the main nucleus of your economic interests, or a rebuttable presumption when your spouse and minor children live in Spain (BOE, Ley 35/2006, 2006). A Dubai company does not, by itself, satisfy any of the exit conditions.
Does running your Dubai company from Spain make it Spanish-resident? (sede de direccion efectiva)
Yes, it can, and this is the trap most "abrir empresa en Dubai" pages never mention. Under Spain's corporate tax law, a company is Spanish-resident if it was incorporated under Spanish law, OR has its registered office in Spain, OR has its sede de direccion efectiva, its effective management, in Spain (BOE, Ley 27/2014, 2014). A Dubai-registered company directed from Madrid meets the third limb, and Spain can then tax its worldwide profits at Spanish corporate rates.
Effective management is about where decisions are really made, not where the certificate is filed. If you, sitting in Spain, sign the contracts, control the bank account, set strategy and run day-to-day operations of the Dubai entity, the company's mind and management are in Spain. The Dubai address becomes a postbox. Spain treats the company as its own resident taxpayer, and the UAE 0% or 9% headline rate stops protecting the profits.
What defeats the effective-management claim
Real UAE substance is the answer, not paperwork. To keep effective management in the UAE, the decisions, the board, the qualified staff and the operational control need to sit there, not in Spain. That means an actual office, people with authority on the ground, and board meetings held and minuted in the UAE. A passive holding company you direct from Spain does not clear this bar; a substantive operating business genuinely run from Dubai does. We cover the holding-company angle in our note on the UAE holding company.
Under Spain's corporate tax law, a company is Spanish-resident if its sede de direccion efectiva (effective management) is in Spain, even when it is registered in Dubai (BOE, Ley 27/2014, 2014). Running a Dubai company from Spain lets Spain tax its worldwide profits at Spanish corporate rates. Genuine UAE substance, with the board, staff and decisions in the UAE, is what defeats the claim.
When does the Spanish exit tax apply?
The Spanish exit tax bites only on large shareholders who genuinely cut residency. It taxes unrealised gains on shares when you cease to be a Spanish tax resident, if you held IRPF-taxpayer status for at least 10 of the last 15 tax periods and your holdings cross a value threshold (BOE, Ley 35/2006, 2006). Below the thresholds, or below 10 years of residency, it does not apply.
Two alternative thresholds trigger the charge. Threshold A: the total market value of your shares or units exceeds EUR 4,000,000. Threshold B, the alternative for concentrated stakes: your participation exceeds 25% and the market value of that stake exceeds EUR 1,000,000 (BOE, Ley 35/2006, 2006). Meet either, after the 10-of-15-years residency condition, and Spain treats your shares as sold at market value on departure and taxes the latent gain, even though you sold nothing.
Deferral: what a UAE move can and cannot get
The exit tax offers deferral routes, but the easiest one is closed to a UAE mover. Where the move is within the EU or EEA, the charge can be deferred under conditions. The UAE is neither EU nor EEA, so that automatic EU/EEA deferral is not available. One other route remains: for a temporary move to a country whose tax treaty with Spain has an exchange-of-information clause, as the Spain-UAE treaty does. In that case the tax can be deferred on request, with interest and guarantees, and it falls away if you become a Spanish taxpayer again within five years without having sold the shares. Verify the exact deferral wording with an asesor fiscal before relying on it.
Spain's exit tax taxes unrealised share gains when a large shareholder ceases to be resident, if they held IRPF-taxpayer status for at least 10 of the last 15 years and holdings exceed EUR 4,000,000, or exceed 25% participation worth over EUR 1,000,000 (BOE, Ley 35/2006, 2006). The EU/EEA deferral route does not cover a UAE move; a temporary move to the UAE can still be deferred on request, because the Spain-UAE treaty has an exchange-of-information clause.
How do CFC rules (transparencia fiscal internacional) hit a UAE company?
CFC rules can tax you on your Dubai company's profits even before you leave Spain, and even if it never pays you a dividend. Under transparencia fiscal internacional, the rule for individuals, Spain imputes the passive income of a low-taxed foreign entity you control, when you hold 50% or more and the entity's foreign tax is below 75% of the Spanish equivalent (Agencia Tributaria, 2025). A 0% UAE free zone entity sits squarely inside that trigger.
Two conditions must both be met, and a UAE structure often meets them. The ownership test counts 50% or more of capital, equity, results or voting rights, held alone or together with your spouse or relatives to the second degree. The low-tax test is met when the UAE entity pays less than 75% of the tax it would have paid under Spanish corporate rules. A QFZP at 0% clearly clears that low bar, so its passive income, dividends, interest, certain royalties, financial gains and passive real estate, gets imputed to you in Spain even if undistributed (Agencia Tributaria, 2025). The corporate equivalent sits in the corporate tax law (BOE, Ley 27/2014, 2014).
The substance escape, and its limit
Genuine economic activity limits CFC, but it does not switch it off. The regime targets passive income parked in a low-tax shell. A UAE entity with real staff and premises avoids having its whole income imputed, but its passive income (dividends, interest, certain royalties and similar) is still imputed to you unless it is less than 15% of the entity's total income. A passive holding company directed from Spain gets no such relief, and as the previous section showed, it can also be caught by effective management. The two rules reinforce each other against a hollow Dubai structure. Our UAE holding company note covers where the line falls.
Spain's CFC regime, transparencia fiscal internacional, imputes the passive income of a foreign entity you own 50% or more of when its foreign tax is below 75% of the Spanish equivalent, even if undistributed (Agencia Tributaria, 2025). A 0% UAE free zone entity trips the low-tax test; genuine economic substance stops the whole income being imputed, but passive income is still imputed unless it stays below 15% of the entity's total income.
Is Dubai a tax haven for Spain, and does the cuarentena fiscal apply?
No. The UAE is not on Spain's current non-cooperative-jurisdiction list, the formal tax-haven list, and has been off it since the Spain-UAE treaty entered into force in 2007 (BOE, BOE-A-2007-1343, 2007). The current list, Orden HFP/115/2023, does not include the UAE (Agencia Tributaria, 2026). This status is current as of 2026 and subject to change, because the list is reviewed periodically.
That off-list status disarms Spain's harshest exit default. The cuarentena fiscal keeps Spanish nationals on the IRPF hook for the year of the move plus the following four tax periods, but only when they relocate to a tax-haven jurisdiction (BOE, Ley 35/2006, 2006). Because the UAE is off the non-cooperative list, that five-year quarantine does not automatically apply to a UAE move. This is a genuine advantage over moving to a listed territory, but it is not a clean exemption.
What "off the list" does not fix
Off-list does not switch off the rules that do the real work. The CFC regime still bites a 0% UAE entity earning passive income. Effective management run from Spain still makes the company Spanish-resident. The exit tax still applies to large shareholders who leave. Off-list status removes the tax-haven penalty layer; it does not remove the company-residence, CFC and exit-tax rules. Treat it as one favourable fact among several rules you still have to clear.
The UAE is off Spain's non-cooperative-jurisdiction list, current as of 2026 and subject to change, since the 2006 treaty entered into force in 2007, and the current list Orden HFP/115/2023 excludes it (BOE, 2007; Agencia Tributaria, 2026). So the cuarentena fiscal, which holds Spanish nationals for the move year plus four more, does not automatically apply to a UAE move.
What does the Spain-UAE tax treaty actually do?
The Spain-UAE double tax treaty exists, but it does not zero out your tax, and for individuals it covers only UAE nationals who live in the UAE. It was signed on 5 March 2006, published in the BOE on 23 January 2007, and has been in force since 2 April 2007 (BOE, BOE-A-2007-1343, 2007). Its main job is to allocate taxing rights between the two countries, not to grant a blanket exemption.
The treaty's tie-breaker tests (permanent home, centre of vital interests, habitual abode and nationality) only help someone the treaty treats as resident in both countries. For an individual, the treaty counts as a UAE resident only a person who lives in the UAE and is a UAE national, so a Spanish founder who moves to Dubai cannot use it, and Spain's own residence tests decide.
The Spain-UAE double tax treaty, signed 5 March 2006 and in force since 2 April 2007, allocates taxing rights between the two countries (BOE, BOE-A-2007-1343, 2007). It does not grant a blanket exemption; for individuals it covers only UAE nationals who live in the UAE, so its tie-breaker does not help a founder who is not a UAE national.
How do you cut Spanish residency the right way?
Cutting Spanish residency takes a real move, not a flight booking, and the centre-of-interests test is the hard part. You must stop meeting all three residency tests: keep presence in Spain under 183 days, move your main centre of economic interests out of Spain, and address the family presumption if your spouse and minor children stay (BOE, Ley 35/2006, 2006). Failing any one test keeps you Spanish-resident.
On the UAE side, practitioners build the exit around real presence and proof. Practitioners pair genuine UAE presence with a Tax Residency Certificate from the Federal Tax Authority, supported by an actual home, bank and economic centre in the UAE. A treaty residence certificate requires meeting the treaty's residence conditions. The point is evidence: Spain looks at where your life and economy actually sit, so the move must be lived, not merely declared.
To cut Spanish residency you must stop meeting every Spanish residence test: presence under 183 days, your main centre of economic interests outside Spain, and the spouse-and-minor-children presumption addressed (BOE, Ley 35/2006, 2006). Practitioners pair this with genuine UAE presence and a Tax Residency Certificate; a treaty residence certificate requires meeting the treaty's residence conditions.
Frequently asked questions
Can I open a company in Dubai while living in Spain?
Yes. You can set up a Dubai company from Spain, with 100% foreign ownership of mainland companies for most activities since 2021 (PwC, 2026). But incorporation alone changes nothing about your Spanish tax: while you stay resident, Spain taxes your worldwide income, and managing the company from Spain can make it Spanish-resident too.
Do I pay tax in Spain if my company is in Dubai?
Usually yes, while you remain a Spanish tax resident. Spain taxes worldwide income (BOE, Ley 35/2006, 2006). On top of that, CFC rules can impute a 0% UAE entity's passive income to you, and effective management run from Spain can tax the company's profits at Spanish rates. A Dubai address does not remove these.
Is Dubai a tax haven for Spain?
No. The UAE is off Spain's non-cooperative-jurisdiction list, current as of 2026 and subject to change, and has been since the 2006 treaty entered into force in 2007 (BOE, BOE-A-2007-1343, 2007). Because of that, the cuarentena fiscal, which holds Spanish nationals for the move year plus four more, does not automatically apply to a UAE move.
When does the Spanish exit tax apply?
The exit tax applies when a large shareholder ceases to be a Spanish tax resident after holding resident-taxpayer status for at least 10 of the last 15 years, and holdings exceed EUR 4,000,000, or exceed 25% participation worth over EUR 1,000,000 (BOE, Ley 35/2006, 2006). It taxes unrealised share gains on departure. The EU/EEA deferral does not cover a UAE move, but a temporary move to the UAE can be deferred on request, because the Spain-UAE treaty has an exchange-of-information clause.
How does sede de direccion efectiva affect my Dubai company?
If you manage your Dubai company from Spain, the corporate tax law can treat it as Spanish-resident through its sede de direccion efectiva, its effective management, and Spain can tax its worldwide profits at Spanish rates (BOE, Ley 27/2014, 2014). Real UAE substance, with the board, qualified staff and decisions genuinely in the UAE, is what defeats the claim.
Talk to a Spanish tax adviser before you act
Setting up in Dubai from Spain can work as honest structuring and, with a genuine substance-backed relocation, as deferral. It is not an automatic route to zero tax. The four gates, your residency, your company's residency, the exit tax and CFC, each apply on their own statute, and the UAE's off-list status helps with only one of them. If a UAE foundation or holding company fits your plan, you can talk to Ancova, and weigh the structure and cost in our guides on mainland, free zone or offshore and the cost to set up a company in Dubai.
This article is general information, not tax advice. Spanish rules turn on your exact facts, and the figures and lists here are current as of 2026 and subject to change. Consult a qualified Spanish tax adviser (asesor fiscal) before you act on anything in this guide.
The Spanish rules in this guide were checked on 10 November 2026 against Spain's income tax law, corporate tax law, the Spain-UAE tax treaty, the order listing non-cooperative jurisdictions and the royal decree on tax havens, as published in the Boletín Oficial del Estado.
Sources
- BOE, "Ley 35/2006 del Impuesto sobre la Renta de las Personas Fisicas (LIRPF)," articles 8, 9 and 95 bis, retrieved 10 November 2026, https://www.boe.es/buscar/act.php?id=BOE-A-2006-20764
- BOE, "Ley 27/2014 del Impuesto sobre Sociedades (LIS)," articles 8 and 100, retrieved 10 November 2026, https://www.boe.es/buscar/act.php?id=BOE-A-2014-12328
- BOE, "Convenio entre Espana y los Emiratos Arabes Unidos (BOE-A-2007-1343)," in force 2 April 2007, retrieved 10 November 2026, https://www.boe.es/buscar/doc.php?id=BOE-A-2007-1343
- BOE, "Orden HFP/115/2023 (jurisdicciones no cooperativas)," retrieved 10 November 2026, https://www.boe.es/buscar/act.php?id=BOE-A-2023-3508
- BOE, "Real Decreto 1080/1991 (paraísos fiscales)," retrieved 10 November 2026, https://www.boe.es/buscar/act.php?id=BOE-A-1991-18119
- Agencia Tributaria, "Transparencia fiscal internacional: ambito de aplicacion," Manual practico IRPF 2025, retrieved 14 June 2026, link
- Agencia Tributaria, "Jurisdicciones no cooperativas (Orden HFP/115/2023)," retrieved 14 June 2026, link
- PwC Tax Summaries, "United Arab Emirates: Taxes on corporate income," retrieved 10 November 2026, https://taxsummaries.pwc.com/united-arab-emirates/corporate/taxes-on-corporate-income
- PwC Tax Summaries, "United Arab Emirates: Significant developments," retrieved 10 November 2026, https://taxsummaries.pwc.com/united-arab-emirates/corporate/significant-developments
- UAE Federal Tax Authority, "Small Business Relief," retrieved 14 June 2026, https://tax.gov.ae/en/taxes/corporate.tax/corporate.tax.topics/small.business.relief.23.aspx
- UAE Ministry of Finance, "Ministry of Finance Announces Extension of Small Business Relief for Corporate Tax Purposes until 31 December 2029," 7 August 2026, retrieved 10 November 2026, https://mof.gov.ae/en/news/ministry-of-finance-announces-extension-of-small-business-relief-for-corporate-tax-purposes-until-31-december-2029/