Global Tax Optimization: A Legal Playbook for Remote Founders

How remote founders and freelancers lower tax legally in 2026: residency, special regimes, company location, treaties and the rules that limit them.
Global Tax Optimization: A Legal Playbook for Remote Founders

Quick answer

Global tax optimization, done legally, means arranging real facts in your favour: where you live, which regime you qualify for, where your company is managed, which treaty applies and how you pay yourself. It is not about hiding income. Since EU anti-avoidance rules, automatic exchange of bank data and controlled foreign company rules, a structure only holds if it matches where you and your business actually are. Start with personal tax residency; everything else follows from it.

Last reviewed: November 2026 · Reviewed by Stéphane Gombauld, tax expert, technologist and digital nomad

Heavnn

Optimize your tax position and get up to 100% tax savings

Discover legal tax optimization opportunities for location-independent workers and online businesses.*

* Potential savings depend on your tax residency, income structure, and eligibility under applicable tax laws.

Get my FREE digital interview 📝

Is this guide for you?

You earn internationally: you are a remote freelancer with clients in several countries, a founder running an online business from a laptop, or a small remote-first team deciding where to incorporate. You have heard about zero-tax companies, nomad regimes and offshore banks, and you want to know which of these can work legally for you in 2026, and which ones will cost you more than they save.

This is the map of the whole topic. It explains the five levers you can actually pull, the rules that limit each one, and how to combine them in the right order. Country detail sits in our linked guides.

Global tax optimization in 2026: the five levers

Every legitimate international tax plan uses some combination of the same five levers. What differs is which one does the heavy lifting.

Lever What it changes What limits it
Personal residency Which country taxes your worldwide income Domestic residence tests, treaty tie-breakers, citizenship taxation (US)
Special regimes How a new resident is taxed for a set period Eligibility conditions, application deadlines, limited duration
Company location Corporate rate and when profit is taxed Place of management, permanent establishment, CFC rules
Treaties Withholding on cross-border payments and double tax relief Residence certificates, anti-abuse clauses, treaty shopping rules
Profit extraction Salary, dividends, retained profit or reinvestment Personal tax where you live, social security, distribution tax

Why does personal tax residency come first?

Your country of residence usually taxes your worldwide income, including dividends from your own company abroad. That is why a low-tax company owned by someone living in a high-tax country often saves little: the profit is taxed when it reaches you, or earlier under anti-avoidance rules.

Changing residency is a real move, not a paperwork exercise. Each country has its own test. The UK applies its statutory residence test, under which you are resident if you spend 183 days or more in the UK in a tax year. Germany treats an unbroken stay of six months or more as a habitual abode. Spain looks at more than 183 days in the calendar year or the main base of your economic interests. When two countries claim you, treaty tie-breakers apply in order: permanent home, centre of vital interests, habitual abode, nationality, then agreement between the tax authorities, as HMRC's International Manual summarises. Our guide to relocating abroad as a remote professional covers exit and arrival step by step.

What if you are a US citizen?

The United States taxes citizens on worldwide income wherever they live, according to the IRS. Moving abroad does not end US filing. Relief comes from the foreign earned income exclusion, set at USD 132,900 for tax year 2026, and from foreign tax credits. For US founders, the residency lever is weaker and company planning must also account for US rules on foreign corporations, such as controlled foreign corporation and Subpart F income.

Can you optimise by being resident nowhere?

It is the most fragile option. Without a residence country you cannot obtain a tax residence certificate, so treaty relief is harder to claim, banks still need a country for reporting, and your last country of residence may argue you never left. We explain the trade-offs in the perpetual traveler lifestyle: freedom or financial risk?.

Which special tax regimes are open to newcomers?

Many countries attract mobile professionals with regimes for new residents. They fall into four broad families, each with its own conditions, deadlines and limited duration. The figures change often, so always check the dedicated guide before you plan around one.

Regime type How it works Examples on Heavnn University
Lump-sum or flat tax on foreign income A fixed annual amount replaces tax on foreign income Italy flat tax for new residents, Greece non-dom flat tax
Partial exemption on work income Part of employment or professional income is exempt for a period Italy impatriate regime, Portugal IFICI
Foreign income relief for new arrivals Foreign income and gains are relieved for the first years UK FIG regime, Cyprus non-dom
Territorial or no personal income tax Foreign-source income is not taxed, or there is no personal income tax Malaysia territorial tax, UAE

Two rules of thumb. First, most regimes require that you were not resident in the country for a number of prior years, and many require an application within a short window after arrival. Second, a regime only reduces tax in the country that grants it: your former country's exit rules and your company's location still apply. Browse every regime we cover in our low-tax countries overview.

Where should your company be, and where is it really managed?

Choosing a company location is the lever people talk about most, and the one most often misused. Corporate systems differ in two ways that matter to a small online business: the rate, and the moment profit is taxed. Estonia is the classic example of timing: according to the Estonian Tax and Customs Board, corporate income tax applies when profit is distributed, at 22/78 of the net distribution, while retained profit is not taxed. Our Estonia corporate income tax guide explains the mechanism, and our guide to a tax-optimized business structure compares common set-ups.

Can a company be taxed where you live?

Yes, in three ways.

This is why "incorporate in a low-tax country, keep living at home" rarely works. Company location gives the most when it matches where you live or where real substance sits: people, premises and decisions.

How do tax treaties change the bill?

A double tax treaty between two countries does three useful things for a mobile professional: it decides residence when both countries claim you, it allocates taxing rights on each kind of income, and it often caps withholding tax on dividends, interest and royalties paid across the border. Relief is then given through exemption or credit, as explained in our double taxation relief entry.

To claim treaty benefits you generally need a tax residence certificate from your country of residence, which is one more reason to be clearly resident somewhere. Routing income through a third country only to access a better treaty rate is treaty shopping, which modern treaties and EU rules are designed to deny. Our comparisons, such as Estonia vs Switzerland or Georgia vs Portugal, set two systems side by side.

How should you pay yourself?

Once residency and company are fixed, extraction is where the annual numbers move. The usual options are salary, dividends, retained profit, or reinvestment inside the company. Salary is usually deductible for the company but carries personal income tax and social security; dividends come from taxed profit and are then taxed again in your hands under your residence country's rules; retained profit may be untaxed or lightly taxed until it leaves the company. The right mix depends on how much you need to live on and where you are resident, not on a rule of thumb.

Example – Tomás, 38, SaaS founder with an Estonian OÜ, living in Lisbon

Tomás is tax resident in Portugal and owns 100% of an Estonian OÜ that sells software subscriptions worldwide. In 2026 the company makes EUR 120,000 profit. He needs EUR 60,000 net from the company to live on.

If the OÜ pays him a EUR 60,000 net dividend, Estonian corporate income tax is 60,000 × 22/78 = EUR 16,923.08. The distribution costs the company EUR 76,923.08 and EUR 43,076.92 stays in the OÜ without Estonian corporate tax. Portugal then taxes the dividend in his hands under its own rules.

The plan has one weak point: Tomás takes every decision alone from his Lisbon flat. Portugal could argue the OÜ is managed there or has a permanent establishment there, and tax its yearly profit as well. The fix is not secrecy: it is either real management in Estonia or a structure built around his Portuguese residence.

Tomás's structure works only if the facts match. Does yours?

Get your residency, company and payout plan checked together before the next dividend.

Check my business setup →

How do the levers combine for different profiles?

The same five levers produce very different plans depending on how you earn. Three profiles cover most of the readers we work with.

The solo freelancer

A designer or developer invoicing clients directly, with no staff. For this profile, personal residency and a newcomer regime do almost all the work. A company often adds cost and complexity without changing much, because the profit ends up taxed where you live anyway. The priorities are a clean exit from the old country, registration as self-employed in the new one, the right social security cover and invoices that show your new address. Our tax planning guide for freelancers and contractors goes through deductions and timing.

The online founder

A SaaS, e-commerce or agency owner with growing retained profit. Here company location and extraction become important, because profit kept for growth can be taxed differently from profit paid out. The constraint is management: the company must be run where it is resident, or the structure must be built around your own country of residence. Founders often combine a distribution-based company system with a residence country that has a clear rule for foreign dividends.

The small remote-first team

A company with a handful of people in different countries. Each team member's home can raise permanent establishment questions, payroll and social security must follow each person, and decisions are spread across borders. The lever that matters most is governance: where the board meets, who signs contracts and how that is documented. Treaties then decide how profit and withholding are allocated between the countries involved.

What rules limit international tax planning?

The limits are what separate a durable plan from an expensive one. In the EU most of them come from the Anti-Tax Avoidance Directive (Council Directive (EU) 2016/1164) and the Directive on Administrative Cooperation.

Rule What it does Who it hits
Controlled foreign company rules (ATAD Art. 7) Taxes certain undistributed income of a low-taxed foreign company in the hands of its controlling owner Residents owning more than 50% of votes, capital or profits of a low-taxed entity
General anti-abuse rule (ATAD Art. 6) Ignores arrangements that are not genuine and whose main purpose is a tax advantage Structures without valid commercial reasons that reflect economic reality
Exit taxation (ATAD Art. 5) Taxes unrealised gains when assets or a company's tax residence leave a member state Companies moving residence or assets; instalments over five years possible within the EU/EEA
Automatic exchange of information (DAC2, CRS) Banks report account information to your residence country Anyone with accounts outside their residence country
Mandatory disclosure (DAC6) Intermediaries, or sometimes taxpayers, report certain cross-border arrangements Cross-border arrangements showing specific hallmarks
Global minimum tax (Pillar Two) 15% minimum effective rate Groups with revenue of EUR 750 million or more; not small businesses

How do CFC rules work for a one-person company?

Under Article 7 of the directive, a foreign company is a CFC if you, alone or with associated enterprises, hold more than 50% of its votes, capital or profits, and the corporate tax it actually pays is lower than the difference between the tax your own country would have charged and the tax actually paid. In short: less than half of your home rate. For the passive income categories listed in the directive, the rule does not apply where the company carries on a substantive economic activity supported by staff, equipment, assets and premises. Member states can go further than the directive, so read our CFC rules glossary and your country guide.

Why does transparency matter so much now?

Under DAC2, the EU's version of the Common Reporting Standard, financial institutions report account information to the tax authority of the country where the holder is resident. An offshore account is no longer invisible; it is reported. The useful conclusion is positive: a structure that you would be comfortable explaining to both tax authorities is the only kind worth building. If yours has a beneficial owner you would not want to name, it is not optimization.

  1. Map the facts. Where you sleep, where your family lives, where clients are, where decisions are taken, where money is held. Use a day-count log for the current year.
  2. Fix personal residency. Decide where you will be resident and make the facts support it, including a proper exit from your former country.
  3. Check regimes. See whether you qualify for a newcomer regime in that country and note the application deadline.
  4. Align the company. Keep, move or open a company where its management and substance will really be, and test it against permanent establishment and CFC rules.
  5. Plan extraction. Choose salary, dividends or retention for the year based on your residence country's rules and cash needs.
  6. Document and review. Keep board decisions, contracts and residence certificates, and review every year or whenever you move.

Common mistakes (and what they cost)

  • Starting with the company, not with residency. Cost: a low-tax company whose profit is taxed in full where you live.
  • Managing a foreign company from home. Cost: the company may be treated as resident or as having a permanent establishment where you are, with tax, interest and penalties for past years.
  • Ignoring CFC rules. Cost: undistributed passive income taxed in your hands even if you never paid yourself a dividend.
  • Missing a regime application window. Cost: years at standard rates.
  • Treating offshore accounts as private. Cost: data already reported under the CRS, followed by questions you have to answer.
  • Copying someone else's structure. Cost: a set-up built for a different residence, family or income type.

Frequently asked questions

Yes, when it rests on real facts: where you live, where your company is managed and which regimes you qualify for. Arrangements whose main purpose is a tax advantage and that are not genuine can be ignored under the EU general anti-abuse rule in Article 6 of the Anti-Tax Avoidance Directive.

Does a company in a low-tax country lower my tax if I live elsewhere?

Usually not by itself. Your residence country taxes dividends you receive, may treat the company as resident if you manage it from home, and may apply CFC rules if you control more than 50% of a low-taxed company.

What is the first step in global tax planning?

Fix your personal tax residency. It decides which country taxes your worldwide income, which treaties you can use and which special regimes are open to you.

Do CFC rules apply to freelancers with one company?

They can. Under the EU directive, the test is control of more than 50% and an actual tax paid lower than the difference between your home country tax and the tax paid. A substantive economic activity with staff, equipment, assets and premises excludes the listed passive income categories.

Can US citizens use the same strategies?

Only partly. The US taxes citizens on worldwide income wherever they live. The foreign earned income exclusion of USD 132,900 for 2026 and foreign tax credits reduce double taxation, and US rules on controlled foreign corporations apply to their companies.

Does the 15% global minimum tax apply to my small business?

No. The EU Pillar Two directive applies to groups with annual revenue of EUR 750 million or more in at least two of the four preceding years.

Sources

Earning across borders?

Get your residency, company and payouts checked as one plan, not three separate guesses.

Start with Heavnn →
About the author
Heavnn

Heavnn

Heavnn is a borderless tax technology solution supporting the future of work. We assist international remote workers with the design and implementation of their global tax setups.

Welcome to Heavnn University!

Access all of our learning resources, blogs, and articles for digital nomads, remote workers, and distributed teams right here on Heavnn University. For more tailored advice, take our digital interview below!

Design Your Global Remote Setup
Heavnn University

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to Heavnn University.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.