Skip to content
💛 See why our clients rate us 4.9★ Client Reviews & Testimonials 👨‍👩‍👧 Join our Facebook Community for relocation support 👍Follow Help at Hand Spain for the latest news and updates

Selling Property Before Moving to Spain: Capital Gains Tax & Financial Considerations

Selling your property is just one of several financial matters worth considering before becoming tax resident in Spain. The timing of a property sale, investments, pension benefits, savings and other overseas assets can all have implications once you become Spanish tax resident.

In This Guide: Timing Your Property Sale • Spanish Capital Gains Tax • Selling and Moving in the Spain Year • Selling vs Renting • Spanish Tax Residency • Capital Gains Tax Rates • Double Taxation • Other Financial Considerations • Tax vs Financial Advice • Frequently Asked Questions • Planning Your Move

If you are planning to move to Spain, the timing of selling your current home can be an important part of your pre-move planning. Capital Gains Tax is only one consideration. Your investments, pensions, savings, tax residence and overseas assets can all require attention before you become Spanish tax resident.

The key point is that a transaction which receives favourable tax treatment in the country where an asset is located does not automatically receive identical treatment in Spain. Taking appropriate cross-border tax and financial advice before you move can therefore be valuable, particularly before selling a property, disposing of investments or taking pension benefits. 

This article was last updated in October 2026.

📅 Why the Timing of Your Property Sale Can Matter When Moving to Spain

A property sale and a move to Spain can fall within the same calendar year. If you become Spanish tax resident for that year, the Spanish tax treatment of the gain may also need to be considered. This makes timing an important planning question rather than something to review only after the move has taken place.

Capital Gains Tax in the Country Where the Property Is Located

Before selling, check the tax rules that apply in the country where the property is situated. Even where the property has been your main home, the availability and extent of an exemption can depend on specific conditions.

UK Private Residence Relief When Selling Your Main Home

For example, a UK home, Private Residence Relief can mean that no UK Capital Gains Tax is payable where all of the relevant conditions are met. The rules can differ where, for example, the property has been let, used exclusively for business, or the owner lives abroad. Your individual circumstances should be checked before deciding when to sell or relocate.
Official guidance: GOV.UK – Tax when you sell your home: Private Residence Relief (External Link)

🚚Could Moving to Spain in the Same Year as the Sale Affect Capital Gains Tax?

Potentially, yes. If the sale of an overseas property and your relocation to Spain occur in the same calendar year, you should establish your tax-residence position and obtain advice on how Spain will treat the disposal before assuming that the result in the property’s country will also be the result in Spain.

For some people, separating a property sale and a permanent move into different calendar years may form part of legitimate pre-move planning. However, this should not be treated as a universal solution: the Spanish residence tests, the other country’s rules and any relevant tax treaty should be reviewed for the particular individual.

🔑Sell or Rent Your Property Before Moving to Spain?

Selling your property before moving to Spain is not the only option. You may be considering keeping your existing home and renting it out after you relocate, or you may already own other rental or investment properties outside Spain.

If you become tax resident in Spain, income from overseas rental properties generally forms part of the worldwide income that needs to be considered for Spanish tax purposes. The property may also remain subject to tax in the country where it is located. Where a Double Taxation Agreement applies, its provisions determine the respective taxing rights and the mechanisms available to relieve double taxation. The Spanish Tax Agency guidance on foreign-source income confirms that Spanish tax residents are subject to IRPF on worldwide income, subject to the provisions of the relevant Double Taxation Agreement.

This means that any overseas rental properties you intend to retain after moving to Spain should form part of your pre-move tax and financial review, not just the property you currently live in. Your rental income, existing property portfolio and wider overseas assets may all be relevant when considering your position after becoming Spanish tax resident.

If you are deciding whether to sell, retain or rent out a property, or already have rental properties that you intend to keep, obtaining appropriate Spanish tax advice before you move can help you understand how those assets and income may be treated once you are resident in Spain.

📑 Spanish Capital Gains Tax When Selling an Overseas Property

Becoming Spanish tax resident can bring overseas income and gains within the Spanish tax system. A sale that is exempt or treated favourably in another country should not therefore be assumed to be exempt in Spain. The Spanish calculation, any available exemption and any applicable double-taxation relief need to be considered separately.

Reinvestment in Another Main Residence

Spanish tax rules provide an exemption from capital gains tax where the gain arising from the sale of a habitual residence qualifies and the proceeds are reinvested in the acquisition or rehabilitation of another habitual residence, subject to the statutory conditions.  The property being sold must have been your habitual residence at the time of sale or at any point during the two years preceding the sale.  According to the Spanish Tax Agency, the reinvestment must be completed within a period not exceeding two years, whether the reinvestment takes place before or after the sale of the property.  Where less than the total amount obtained from the sale is reinvested, only the corresponding proportion of the capital gain may qualify for exemption.

Main Residence Exemption for People Aged 65 or Over

The Spanish Tax Agency states that capital gains arising from the transfer of a habitual residence by a person over 65 are exempt from Spanish personal income tax.  To qualify, it is necessary to have lived in the property continuously for at least three years and sell it no later than two years after it ceased being their habitual residence. No reinvestment is required, but the two year rule is strict and still applies.   Determining whether the property qualifies as the taxpayer’s habitual residence should nevertheless be checked for the individual case.

📋 When Do You Become Tax Resident in Spain?

Spanish tax residence is not determined simply by the date on which you obtain a residence card or complete an immigration procedure. Tax residence has its own legal tests, so the facts of your year need to be considered.

Spain's 183-Day Tax Residency Rule

The Spanish Tax Agency states that an individual is regarded as habitually resident in Spain where they remain in Spanish territory for more than 183 days during the calendar year. Its guidance also explains that sporadic absences can be included in determining the period of presence, unless tax residence in another country is established in the circumstances described by the rules.

Important planning point: 1 July is sometimes treated informally as a rough planning reference, but it is not itself the legal test for Spanish tax residence. Days already spent in Spain during the calendar year, the rules concerning presence and absences, and the other tax-residence tests all need to be considered. 

Centre of Activities or Economic Interests

The 183-day test is not the only Spanish domestic test. The Spanish Tax Agency also identifies residence where the principal centre or base of a person’s activities or economic interests is located in Spain, directly or indirectly.

Family and the Presumption of Spanish Tax Residence

Spanish guidance also sets out a rebuttable presumption of habitual residence in Spain where, under the stated criteria, the taxpayer’s spouse from whom they are not legally separated and their dependent minor children habitually reside in Spain. This is another reason not to look at day count in isolation.

📊Capital Gains Tax Rates for Spanish Tax Residents

Capital gains that form part of the Spanish savings tax base are taxed using progressive savings-income rates. Because rates and thresholds can change, they should be checked for the tax year in which the disposal occurs before publication or use in an individual calculation.

Savings tax baseRate
Up to €6,00019%
€6,000 to €50,00021%
€50,000 to €200,00023%
€200,000 to €300,00027%
Above €300,00030%

🌍Double Taxation When You Sell Property Abroad

Capital gains that form part of the Spanish savings tax base are taxed using progressive savings-income rates. Because rates and thresholds can change, they should be checked for the tax year in which the disposal occurs before publication or use in an individual calculation.

Can You Pay Capital Gains Tax in Two Countries?

A property disposal can engage the tax rules of more than one country. Where a Double Taxation Agreement applies, it may affect taxing rights and the relief available. The practical result depends on the treaty, domestic rules and the tax actually payable, so it should be checked for the countries involved.

How Double Taxation Relief May Apply

Do not assume that the difference between two countries’ calculations of the capital gain is automatically the amount payable to Spain. The taxable gain may be calculated differently in each jurisdiction, and any credit or relief for foreign tax is a separate calculation subject to the applicable rules and treaty. A worked example should therefore be prepared or verified by a qualified tax adviser before being presented as applicable to a client.

💼 Other Financial Matters to Consider Before Becoming Spanish Tax Resident

Investments and Savings

Investments that receive favourable tax treatment in your current country may be treated differently once you become Spanish tax resident. Before selling, restructuring or moving investments, consider obtaining advice that takes both jurisdictions into account.

Pensions and Taking Pension Benefits

The timing and form of pension benefits can also have cross-border tax consequences. If you are considering drawing a lump sum or changing pension arrangements around the time of your move, take appropriate advice before acting rather than assuming the treatment will be the same after becoming Spanish tax resident.

Overseas Assets and Modelo 720

Spanish tax residents can have reporting obligations in relation to certain assets held abroad. Modelo 720 is an information return connected with specified categories of overseas assets where the applicable conditions are met. Because the reporting thresholds, categories and subsequent filing rules are technical, obtain advice on whether and when you personally need to file rather than relying only on the fact that funds are held in an overseas account.
Income or gains generated by overseas assets may also need to be considered for the annual Spanish income tax return. 

💼 Planning Ahead if You Are Self-Employed or Own a Company

If you intend to continue working after moving to Spain, it is important to consider how the move may affect your business finances and working arrangements as well as your personal tax position.

This is particularly important if you are self-employed, a freelancer or work through your own limited company or other overseas company. The fact that you receive a salary from a company you own does not necessarily mean that your position will be treated in Spain in the same way as it was in your home country.

Spanish Social Security rules take into account factors including your ownership of the company, whether you exercise management and directorial functions and whether you have effective control of the business. Depending on the circumstances, a company owner who works in the business may therefore fall within Spain's rules for self-employed workers rather than being treated in the same way as an ordinary employee.

There may also be wider tax considerations for the company itself when its owner or director moves to Spain and continues managing the business from here. The location from which a company's management and business are effectively directed can be relevant to its Spanish tax position, so this is an area that should be reviewed individually with an appropriately qualified Spanish tax adviser before relocating.

For both freelancers and company owners, it is therefore sensible to understand how operating from Spain could affect your expected tax liabilities, social security contributions, business costs and ultimately how much of your income you retain.

For anyone who is self-employed or owns their own company, we strongly recommend a professional tax review with a Spanish Tax Advisor before relocating to Spain. Understanding the Spanish tax and social security implications in advance can help identify whether changes to your existing arrangements should be considered before you move and become Spanish tax resident.

The Online Autónomo Calculator (external third-party website) may help you assess your income.  Help At Hand Spain does not accept any responsibility or liability for this tool, it should be used for indicative purposes only.

🤝Should You Speak to a Tax Adviser or Financial Adviser Before Moving to Spain?

Depending on your circumstances, you may benefit from speaking with a financial adviser or planner, a Spanish tax adviser, or both. Their roles are different but can be complementary.

When and how a Spanish Tax Adviser Can Help

  • Spanish tax residence and the application of the domestic residence tests.
  • Spanish income tax returns and the treatment of foreign income and gains.
  • Capital gains, exemptions and double-taxation issues.
  • Overseas asset reporting and other Spanish tax obligations.
  • Inheritance, gift and other tax questions that may be relevant to your circumstances and region. 

If you intend to continue working after moving to Spain, an adviser can also help you understand:

  • Self-employment, including Spanish tax and social security implications.
  • Tax and social security considerations when owning or working through your own company, or working for a foreign company abroad
  • Potential Spanish tax implications for an overseas company managed from Spain.

When and how a Financial Adviser or Planner Can Help

  • Savings, investments and longer-term financial planning.
  • Pensions and retirement-income planning.
  • Insurance and protection needs.
  • How your financial arrangements fit with your move and longer-term objectives, taking account of the adviser’s regulatory permissions and cross-border expertise. 

Frequently Asked Questions

Do I have to pay Spanish Capital Gains Tax if I sell my home before moving to Spain?

Possibly. The key issue is whether you become Spanish tax resident for the calendar year in which the sale takes place, together with the circumstances of the sale and any applicable exemptions or double-taxation provisions. This is worth checking before deciding when to sell or move.

Is moving to Spain after 1 July enough to avoid becoming Spanish tax resident that year?

Not necessarily. The Spanish tax-residence rules are not based simply on whether you move before or after 1 July. Your days spent in Spain during the calendar year and the other Spanish tax-residence tests also need to be considered.

If my property sale is exempt from Capital Gains Tax in the UK, is it also exempt in Spain?

Not automatically. The tax treatment in the country where the property is situated and the Spanish tax treatment are separate considerations. If you are Spanish tax resident, you should check how Spain will treat the gain and whether an exemption or double-taxation relief applies.

Should I speak to a Spanish tax adviser before moving to Spain?

If you are selling property, restructuring investments, taking pension benefits or have significant assets outside Spain, obtaining advice before your move can be particularly useful. It gives you an opportunity to understand the Spanish implications before making financial decisions that may be difficult to reverse later.

Do I need private health insurance to move to Spain?

It depends on your immigration or residency route and your entitlement to healthcare in Spain. Some routes specifically require qualifying public or private health insurance. For example, Spain's Non-Lucrative Residence authorisation requires public or private health insurance with an insurer authorised to operate in Spain.

What documents do I need for a residency application in Spain?

This depends on the type of residency, but most applications require proof of income, health insurance, a valid passport, and evidence of your address in Spain. You’ll receive a personalised checklist so nothing is missed.   If you are applying for residency directly within Spain, then it's really important to start the process 2-3 months before your date of arrival in Spain.

Do foreign documents need to be translated or apostilled for Spain?

Some do, some don’t. You’ll be advised exactly which documents require a sworn translation or apostille so you don’t spend money unnecessarily.

How long does the residency process in Spain usually take?

Timelines vary by application type. You’ll receive realistic expectations based on current processing trends.

What do I need to do after arriving in Spain?

The steps depend on your nationality and residence route. Depending on your circumstances, you may need to complete your residence formalities and obtain the appropriate residence documentation. It is therefore important to check the requirements for your specific authorisation rather than following a one-size-fits-all arrival checklist. Don't forget there will be other practical things you need to consider as well. For example, registering your entitlement for Public Health Care and registering at the Local Medical Centre, and exchanging your Driving Licence if you are eligible.

What is the difference between an NIE and TIE?

The NIE (Número de Identidad de Extranjero) is your foreigner identification number in Spain. The TIE (Tarjeta de Identidad de Extranjero) is the physical Foreigner Identity Card issued where applicable to document a foreign national's status in Spain. They are therefore not interchangeable: the NIE is the identification number, while the TIE is a physical identity/residence document.

Do you help with Spanish bureaucracy beyond residency?

Yes — including padrón registration, social security, tax, and other administrative processes that can be confusing for newcomers.Visit our Services Page for further information.

Can I keep working through my own limited company after moving to Spain?

Yes, but you should review the tax and social security implications before moving. Being paid a salary by a company you own does not necessarily mean you will be treated in the same way as an ordinary employee in Spain. Spanish Social Security rules consider factors including ownership, management responsibilities and effective control of the company when determining the applicable regime.

For this reason, we strongly recommend obtaining advice from a Spanish tax adviser before relocating so that your existing arrangements can be reviewed in the context of Spanish rules.

Could I be considered self-employed in Spain if I own my own company?

Potentially. Owning and working in your own company can result in a different social security treatment from that of an ordinary employee, depending on factors such as your shareholding, whether you perform management functions and whether you have effective control of the company. Spanish Social Security guidance sets out specific circumstances in which effective control is presumed.

This is why it is important not to assume that the employment structure you use in your home country will automatically be treated in the same way after you move to Spain.

Could moving to Spain affect the tax position of my overseas company?

Potentially, and this should be considered separately from your personal tax position. If you own or manage an overseas company and intend to continue running it after relocating, we strongly recommend having the company's position reviewed by an appropriately qualified Spanish tax adviser.
HELP AT HAND SPAIN SERVICES

✅ Planning Your Move to Spain?

The timing of a move to Spain can affect more than your residence application. If you are planning your relocation and would like to understand which professional advice you may need before moving, Help at Hand Spain can help you identify the appropriate next steps and, where suitable, introduce you to a Spanish tax adviser.

For clients moving from the UK who would also benefit from financial planning advice, we can make an introduction to an appropriate professional. If you are relocating from another country, let us know and we will be happy to see whether there is a suitable professional within our wider network.

This article provides general information only and should not be treated as personalised tax, legal or financial advice. Tax outcomes depend on individual facts, the relevant tax year, domestic legislation and, where applicable, the terms of a Double Taxation Agreement.

We use cookies to personalize content, provide social media features and to analyse our traffic.