Moving to Spain After Selling Your UK Business: When Do You Become Tax Resident?
Planning to relocate to Spain after selling your company? The timing of your business sale and your move could have significant Spanish tax consequences.
Selling a business is often the beginning of a new chapter. For many entrepreneurs, particularly those relocating from the UK, that next chapter involves moving to Spain, purchasing a property and enjoying a different lifestyle.
However, one important question is frequently overlooked: when exactly do you become tax resident in Spain, and could Spain tax the proceeds from a business you sold before moving?
The answer is not always straightforward. Spanish tax residency is determined by specific legal criteria, and the timing of a business sale, the date of relocation and the applicable double taxation treaty can all affect the outcome.
For business owners contemplating a significant disposal, understanding these rules before relocating is essential.
1. When Do You Become Tax Resident in Spain?
Under Article 9 of the Spanish Personal Income Tax Law (Ley 35/2006), an individual is generally considered tax resident in Spain when either of the following conditions is met:
- The 183-day rule: You spend more than 183 days in Spanish territory during a calendar year. Certain temporary absences may also be counted unless you can demonstrate tax residency elsewhere.
- Centre of economic interests: Your principal economic activities or interests are based in Spain, directly or indirectly.
There is also a rebuttable presumption of Spanish tax residency where your legally recognised spouse and dependent minor children habitually reside in Spain.
Importantly, these criteria operate independently.
This means that spending fewer than 184 days in Spain does not necessarily guarantee that you will be treated as a non-resident, particularly where your principal economic interests are already located in the country.
Once an individual becomes Spanish tax resident under the ordinary rules, they are generally subject to Spanish income tax on their worldwide income and capital gains, subject to any applicable double taxation treaty.
2. Spain Does Not Generally Recognise Split-Year Tax Residency
One of the most important differences between Spain and certain other countries, including the UK, is how tax residency operates during the year of relocation.
In Spain, the tax year runs from the 1st of January to the 31st of December.
Unlike the UK, which provides for split-year treatment in certain circumstances, Spanish domestic income tax legislation generally treats an individual as either resident or non-resident for the entire calendar year.
Consider the following example. An entrepreneur living in the UK sells their business in March 2026, generating a substantial capital gain.
They subsequently relocate to Mallorca in May 2026 and remain in Spain for the rest of the year.
Although the business was sold before their physical relocation, they may qualify as Spanish tax resident for the entirety of 2026 under Spanish domestic law.
Consequently, the capital gain realised in March could potentially fall within the scope of Spanish income tax.
Whether Spain can ultimately tax that gain will also depend on the applicable double taxation treaty and the individual's circumstances at the time of the disposal.
The important point is that completing a business sale before physically arriving in Spain does not, by itself, guarantee that the proceeds will escape Spanish taxation.
3. What Happens If You Sell Your Business Before Moving to Spain?
For entrepreneurs planning a relocation, the timing of the disposal deserves particular attention.
Consider two different scenarios.
Scenario A: Selling in March and moving in May
A UK entrepreneur sells their shares in March 2026 and relocates to Spain in May.
By spending more than 183 days in Spain during 2026, they would ordinarily become Spanish tax resident for that calendar year. The capital gain may consequently be subject to Spanish taxation, although the applicable double taxation treaty must be examined before reaching a definitive conclusion.
Scenario B: Selling in March and moving in September
The same entrepreneur sells their shares in March 2026 but postpones their relocation until September. Assuming they do not satisfy Spain's economic interests or family residency criteria, and no other relevant circumstances apply, they would generally remain non-resident in Spain for 2026.
Their first year of Spanish tax residency would ordinarily be 2027, assuming they satisfy the relevant residency requirements in that year.
In that case, the earlier disposal of shares in a foreign company would generally fall outside the scope of Spanish personal income tax, subject to any Spanish-source taxation rights and other applicable rules.
These examples illustrate why the relocation date can be just as important as the date of the business sale.
4. How Does Spain Tax the Sale of a Foreign Company?
Where an individual is Spanish tax resident under the ordinary income tax regime, capital gains realised from the sale of shares in a foreign company are generally included in their Spanish savings tax base (base imponible del ahorro).
For 2026, the applicable progressive tax rates are:
- 19% on the first €6,000.
- 21% on amounts between €6,000 and €50,000.
- 23% on amounts between €50,000 and €200,000.
- 27% on amounts between €200,000 and €300,000.
- 30% on amounts exceeding €300,000.
These rates apply progressively rather than as a single flat rate on the entire gain. For an entrepreneur selling a business worth several million euros, the potential Spanish tax liability can therefore be considerable. It is important to distinguish between the sale price and the actual taxable gain.
In a straightforward share disposal, the capital gain will generally be calculated by reference to the difference between the acquisition value and the disposal value, taking into account the applicable Spanish valuation rules and allowable transaction costs.
Another important distinction is whether the entrepreneur is selling their shares in the company or whether the company itself is selling its business or assets.
These are legally and fiscally different transactions. An asset sale may generate taxation at company level, while a subsequent distribution of the proceeds to the shareholder can create separate personal tax consequences.
5. Does the Date You Receive the Money Matter?
Business sales are not always completed through a single payment.
It is common for sale agreements to include deferred consideration, instalments, retention amounts or additional payments linked to the future performance of the business.
Under the general Spanish income tax rules, capital gains are attributed to the tax year in which the relevant change in ownership occurs, rather than simply when the proceeds arrive in the seller's bank account.
However, Article 14 of the Spanish Personal Income Tax Law provides special rules for certain instalment transactions, potentially allowing gains to be attributed proportionately as payments become due where the statutory conditions are met.
The treatment of earn-outs and contingent consideration can also require separate analysis.
As a result, receiving the proceeds after relocating to Spain does not necessarily mean that the gain arose after relocation, just as receiving payment before moving does not automatically prevent Spanish taxation.
The wording of the sale agreement, the date on which ownership transfers and the structure of the consideration are all relevant.
6. What About Double Taxation Treaties?
Another essential consideration is the double taxation treaty between Spain and the country from which the entrepreneur is relocating.
For example, the Spain–UK Double Taxation Convention contains specific provisions governing tax residency and capital gains.
Under Article 13, gains from the disposal of ordinary company shares are generally taxable only in the country in which the seller is resident for treaty purposes, although important exceptions apply, particularly to certain property-rich companies and interests connected with immovable property.
Where an individual is considered tax resident in both countries under their respective domestic laws, Article 4 provides rules for resolving dual residency, including consideration of their permanent home, centre of vital interests and other relevant circumstances.
In the year of relocation, it may therefore be necessary to determine the individual's treaty residence at the time of the disposal, rather than relying exclusively on their year-end position under Spanish domestic law.
Where both countries are entitled to tax the same gain, double taxation relief may be available, subject to the treaty and domestic legislation.
For UK entrepreneurs, particular attention should also be paid to the UK's Statutory Residence Test, split-year treatment and any relevant rules concerning temporary non-residence.
These provisions can materially affect the overall tax position and should be considered together with the Spanish rules.
7. Why Planning Before Relocating Matters
For entrepreneurs considering moving to Spain following the sale of a business, international tax planning should ideally begin before the transaction is completed.
Several questions deserve attention:
- When will the business sale legally complete? The date of the disposal may be more important than the date payment is received.
- When will you become Spanish tax resident? This requires reviewing your anticipated days in Spain, family circumstances and economic interests.
- Which country will have the right to tax the capital gain? Domestic tax legislation must be considered alongside the relevant double taxation treaty.
- How is the transaction structured? Share sales, asset sales, deferred payments and earn-outs can produce different outcomes.
- What happens to the sale proceeds after relocation? Significant financial assets may also create wealth tax or foreign asset reporting obligations once Spanish tax residency is established.
It is also worth considering the tax treatment of any future investment income, dividends or distributions arising after the relocation.
While delaying a move may be appropriate in some cases, the correct approach depends on the individual's wider circumstances, including their existing residence, family situation and the country in which the business is located.
Conclusion: Get the Timing Right
Relocating to Spain after selling a business can be an attractive prospect, but the tax consequences should not be underestimated.
One of the most common misconceptions is that selling a company before arriving in Spain automatically means that the resulting capital gain cannot be taxed there.
In reality, Spain's calendar-year residency rules, the timing of the transaction and the applicable international tax treaty can lead to a very different outcome.
For entrepreneurs expecting a substantial capital gain, obtaining appropriate tax advice before completing the sale or committing to a relocation date can make a significant financial difference.
Planning to Move to Spain After Selling Your Business?
At SamirLaw, we advise international entrepreneurs, business owners and private clients on Spanish tax residency, capital gains taxation and cross-border relocation planning.
Based in Mallorca, we assist clients relocating from the UK and other jurisdictions, helping them understand their Spanish tax obligations and coordinate their relocation with their wider financial circumstances.
If you are considering moving to Spain following the sale of your company, we can help you review your circumstances and assess the potential Spanish tax implications before you relocate.
Contact SamirLaw to discuss your relocation and tax planning.
This article provides general information based on Spanish legislation applicable in 2026 and does not constitute individual legal or tax advice. The treatment of any particular transaction depends on the facts, applicable legislation and relevant double taxation treaty.





