Selling your property in Spain and moving abroad: what foreign owners need to know

From taxes and selling costs to transferring your money home, here's what international homeowners should consider when selling a property in Spain.
Leaving Spain and moving home
Unsplash

Buying a property in Spain is a dream for many international buyers, whether they're looking for a holiday home, a place to retire or a permanent move abroad. But circumstances change, and some foreign homeowners eventually decide to sell up and return to their home country.

For some, the decision is driven by retirement plans, family commitments or a change in lifestyle. For others, financial considerations, including currency fluctuations, can influence whether keeping a property in Spain still makes sense.

Whatever the reason, selling a property in another country involves more than finding a buyer and signing the paperwork. Tax obligations, estate agent fees, outstanding mortgages and exchange rates can all affect how much money you ultimately receive.

If you're considering selling your Spanish home and moving abroad, here's what you need to know.

Check your tax residency before selling

One of the first things to establish is whether you're considered a Spanish tax resident when you sell your property.

This distinction matters because residents and non-residents are subject to different tax rules when selling property in Spain.

Spanish tax residency is determined by several factors, including how many days you spend in the country, where your main economic interests are based and where your family lives. Spending more than 183 days in Spain during a calendar year is one of the main criteria, although other circumstances can also determine your tax status.

Importantly, moving abroad doesn't automatically make you a non-resident for tax purposes. Your circumstances and the applicable residency rules need to be considered for the relevant tax year.

If you're planning to return to the UK, the US, Switzerland or another country, it's worth seeking professional tax advice before deciding when to put your property on the market or complete the sale.

Understand the costs and taxes involved

The agreed sale price isn't necessarily the amount you'll receive. Several expenses and taxes can reduce your final proceeds.

Capital gains tax

When you sell a property in Spain for more than its acquisition value, you may have to pay tax on the profit.

The taxable gain isn't necessarily the simple difference between the purchase price and the sale price. Certain acquisition costs, taxes, investments and improvements can be taken into account, as can some expenses associated with the sale. Previous rental use can also affect the calculation.

The rules depend on your tax residency:

  • Spanish tax residents: Capital gains are generally included in the savings income tax base of Spanish income tax (IRPF), with progressive tax rates applying.
  • Non-residents: Capital gains from selling Spanish property are subject to Non-Resident Income Tax (IRNR). The applicable rate for individuals is currently 19%.

There are also certain exemptions and tax reliefs that may apply depending on your circumstances. For example, people aged 65 or over who sell their main residence may qualify for an exemption if they meet the relevant requirements. Specific reinvestment relief may also be available in certain circumstances.

The municipal plusvalía tax

Another potential cost is the municipal tax on the increase in the value of urban land, commonly known as plusvalía municipal.

This tax is paid to the local council and relates to the increase in the value of the land on which the property stands during the period of ownership. The amount depends on factors including the property's cadastral land value, the ownership period and the municipality's applicable rates.

There are specific rules where a property is sold at a loss, so it's important to check whether the tax applies in your particular situation.

Other selling costs

You should also budget for other expenses, which may include:

  • Estate agent fees, if you use an agency to sell your property.
  • Outstanding mortgage repayments and any costs associated with cancelling the mortgage.
  • Legal fees for a solicitor or property lawyer.
  • Costs of obtaining any outstanding certificates or documentation required for the sale.

Adding these expenses to your calculations from the beginning will help you estimate how much of the sale price you can realistically expect to keep.

What happens when you sell as a non-resident?

If you've already moved abroad and are considered a non-resident for Spanish tax purposes when the sale takes place, there's an additional formality to be aware of.

The buyer is legally required to withhold 3% of the agreed purchase price and pay it directly to the Spanish Tax Agency on your behalf. This is an advance payment towards your non-resident capital gains tax, rather than an additional tax.

For example, if you sell your Spanish property for €400,000, the buyer will withhold €12,000 and pay it to the tax authorities. You'll therefore receive €388,000 before accounting for any other costs or outstanding payments.

After the sale, you'll need to declare the capital gain to the Spanish Tax Agency and offset the 3% already withheld against the tax due. If you've paid more than you owe, you can claim a refund. If the amount withheld is insufficient, you'll have to pay the difference.

It's important to remember that the 3% withholding is based on the sale price, not the profit you make.

Can you sell your Spanish property from abroad?

You don't necessarily need to travel back to Spain to complete the sale.

If you've already returned to your home country, you can generally appoint someone to represent you through a power of attorney (poder notarial). This is commonly granted to a solicitor or another trusted representative, allowing them to handle certain formalities and sign the sale deed on your behalf.

A power of attorney can be arranged through a Spanish consulate or, depending on the country and circumstances, before a local notary. Documents signed abroad may need an apostille or other legalisation, as well as an official Spanish translation.

It's worth organising this well in advance, particularly if you're selling remotely, as the requirements can vary depending on where the document is signed and what powers you need to grant.

A Spanish property lawyer can help coordinate the process, check the documentation and ensure that any outstanding tax obligations are dealt with after completion.

Transferring the money to your home country: why exchange rates matter

Once the sale has completed and the relevant costs and taxes have been accounted for, you'll need to decide what to do with the proceeds.

If you're returning to a country outside the eurozone, you may want to convert your euros into your home currency. This is where exchange rates become particularly important.

Currency markets fluctuate constantly, meaning the amount you receive in pounds, US dollars or Swiss francs can change significantly depending on when and how you exchange your money.

For example, a 1% difference in the exchange rate on €388,000 represents €3,880 in value. On a substantial property sale, even relatively small exchange rate movements can therefore make a noticeable difference to your finances.

There are several things to consider when transferring a large amount internationally:

  • Compare exchange rates and fees: Banks and specialist currency providers may offer different rates and charge different fees. Look at the overall amount you'll receive in your destination currency rather than simply comparing advertised rates.
  • Consider when to exchange: You can convert the proceeds immediately or, depending on your circumstances and the services available, exchange the money in stages.
  • Look into forward contracts: These allow you to agree an exchange rate in advance for a future currency transaction, helping you manage the risk of adverse exchange rate movements. Availability and terms depend on the provider.

If you're selling a property in Spain and transferring a substantial sum abroad, it's worth exploring specialist currency exchange services as well as your usual bank.

Through idealista's currency exchange service, international property owners can explore currency exchange options with Currencies Direct, idealista's currency exchange partner. The service offers competitive exchange rates, support with international transfers and the option to secure an exchange rate in advance through a forward contract, subject to eligibility and applicable terms.

Comparing your options before transferring the proceeds can help you understand the potential costs and make a more informed decision about when to exchange your money.

Do you need to pay tax again in your home country?

Selling a property in Spain doesn't necessarily mean your tax obligations end once you've dealt with the Spanish authorities.

Depending on where you're moving, you may also have to report the sale or any capital gain in your new country of residence.

Many countries have double taxation agreements with Spain, designed to prevent the same income or gain from being taxed twice. However, the rules vary between countries, and the way foreign property gains are calculated and reported may differ.

Exchange rates can also affect the calculation. Your home country's tax authorities may require you to report the original purchase cost and eventual sale proceeds in your local currency, using the applicable exchange rates for the relevant dates.

If you're returning to the UK, the US or Switzerland, for example, it's worth speaking to a tax adviser familiar with both Spanish property sales and the tax rules in your destination country.

Planning your move after selling your Spanish home

Selling a property in Spain and returning to your home country can involve several financial and administrative steps, particularly if you've already moved abroad or haven't dealt with an international property sale before.

Understanding your tax position, accounting for all the selling costs and planning how to transfer the proceeds can help avoid unexpected expenses and make the transition easier.

Above all, don't leave the financial arrangements until completion day. Getting professional advice and comparing your currency exchange options in advance can help you make the most of the money you've made from your Spanish property.

This article is intended for general information purposes only and should not be considered tax, legal or financial advice. Tax rules and regulations may vary depending on your personal circumstances and may change over time. If you're planning to sell a property in Spain and move abroad, we recommend seeking advice from a qualified tax or legal professional before making any decisions.