Black FridayBlack Friday

Up to −37% on autónomo management

An Estonian company at 0% tax: does it work if you live in Spain?

Promised 0% tax with an Estonian company? If you live in Spain, watch three traps: place of effective management, permanent establishment and CFC rules.

Published

More and more ads make the same promise: "set up a company in Estonia and pay 0% tax on the profits you keep in the business." It sounds attractive, especially next to Spanish tax rates. But if you live and work in Spain, the structure may not just fail to save you money — it can leave you owing the Spanish tax agency several years of tax plus interest and penalties.

Here is where the 0% comes from, which Spanish rules can override it, and when a foreign company genuinely makes sense.

This article is for general information and is not a substitute for individual advice: the tax consequences depend on your specific structure.

Where the "0%" comes from

Estonia has an unusual corporate tax system. Tax isn't charged when a company earns profit, but when it distributes it — for example, by paying dividends. As long as the money stays in the company or is reinvested, no tax is due.

It's a legitimate, well-known system. But it works for companies that are genuinely tax resident in Estonia. And a company's tax residence doesn't depend only on where it is registered.

Trap 1: place of effective management

Article 8 of the Spanish Corporate Income Tax Act treats a company as Spanish resident if it meets any one of three tests:

  1. it was incorporated under Spanish law;
  2. its registered office is in Spain;
  3. its place of effective management (sede de dirección efectiva) is in Spain.

The third test is the decisive one. The place of effective management is where the business as a whole is run and controlled. If you are the sole director and owner, you live in Valencia and you make every decision from your laptop at home, the tax agency has grounds to treat your Estonian company as Spanish.

In practice: the company would owe Spanish corporate income tax on all its profit. If this comes to light in a review, the agency assesses the previous years with interest and a penalty.

Trap 2: permanent establishment

Even if the company remains Estonian resident, working from Spain on a regular basis can create a permanent establishment (establecimiento permanente) here — for example, if you always work from an office or from home in Spain, sign contracts on the company's behalf and serve clients from here.

Profit attributable to the permanent establishment is taxed in Spain. The Spain–Estonia double tax treaty divides taxing rights between the countries, but it doesn't remove Spanish tax on activity that actually takes place in Spain.

Trap 3: controlled foreign company rules

Spain's CFC rules (transparencia fiscal internacional), in Article 91 of the Personal Income Tax Act, target exactly this situation. Under certain conditions, the income of a foreign company controlled by a Spanish resident is taxed directly in the owner's hands — even if no dividends are paid.

They apply when, among other things:

  • the Spanish resident controls the company (alone or with related persons, 50% or more);
  • foreign tax on that income is clearly lower than Spanish tax;
  • the income is of certain types — for example, passive income or income from services provided to related parties in Spain.

EU companies have an exemption: the rules don't apply if the company was set up for valid business reasons and carries on genuine economic activity. A company that has only a mailing address in Estonia, while all the work is done from Spain, may not qualify.

A few more details

  • Dividends. When the Estonian company pays you dividends, as a Spanish resident you declare them in your Spanish income tax return as savings income.
  • Form 720. If your stake in the foreign company is worth more than €50,000, you must report it on form 720 (assets held abroad).
  • Salary and Social Security. If you pay yourself a salary from the Estonian company while working in Spain, the question of where you must be insured arises. As a rule, if you work in Spain, it's Spanish Social Security.
  • Banks and clients. Spanish clients and banks look more closely at foreign companies with no real presence in their home country.

How the tax agency finds out

Many people assume an Estonian company is "invisible" from Spain. It isn't:

  • Automatic exchange of information. EU countries share data on bank accounts and their beneficial owners. The account of an Estonian company you own will end up on the Spanish tax agency's radar.
  • Your own filings. Dividends, salary, form 720 — all of them link you to the company.
  • Clients. Spanish clients who pay a foreign company report those payments.
  • Your residence. If you are tax resident in Spain (more than 183 days a year, or your centre of interests is here), the agency will look first at where the business is actually run from.

The question isn't whether the agency will find out, but whether the structure will survive a review.

Example

Michael is a developer living in Barcelona, working for clients in Germany and the US. He set up an Estonian company with himself as sole director. He has no staff and works from home in Barcelona. This year the company makes €60,000 profit and pays no dividends.

The risk: the tax agency may treat the company as Spanish resident based on its place of effective management. It would then assess Spanish corporate tax for each year, with interest and a penalty. And Michael has already paid for the Estonian set-up: incorporation, accounting, registered address.

When it does make sense

A foreign company can be justified when there is a real reason and real management outside Spain:

  • partners and directors live in different countries and decisions are not made in Spain;
  • the company has a team and activity in Estonia;
  • the business has been international from the start, and you live in Spain only temporarily, with tax residence planned elsewhere.

For a freelancer or a small business run by one person from Spain, the structure usually brings more risk than savings. Very often it works out better to be an autónomo or set up a Spanish SL and claim expenses properly.

How Reglapp helps

Tell a Reglapp advisor how your business works. We compare your tax as an autónomo, through a Spanish SL and with a foreign company — weighing the risks, not just the rate — and help you choose a legal way to pay less.

If you already work through a foreign company, we assess the risks and tell you how to put the structure in order. You may be able to pay less without it: see our expense checklist for autónomos.

Book a consultation on WhatsApp

FAQ

Can a Spanish resident own an Estonian company?
Yes, it's legal. The question is where the company is tax resident and where its income is taxed.
What is a company's place of effective management?
It's where the company's activities as a whole are run and controlled. If that is in Spain, the company may be treated as Spanish tax resident even if it is registered abroad.
If I don't pay dividends, do I owe nothing in Spain?
Not necessarily. If the company is treated as Spanish resident or the CFC rules apply, tax can arise without any dividends being paid.
Do I have to report my stake in a foreign company?
If it's worth more than €50,000, on form 720. Dividends are declared in your income tax return.
What's best for a freelancer in Spain?
In most cases, being an autónomo or using a Spanish SL with expenses claimed properly. The exact answer comes from a calculation based on your numbers.
Back to blog

Tell us about your situation — we'll show you where to start

Message us on WhatsApp
Message us on WhatsApp
An Estonian company at 0% tax: does it work if you live in Spain?