Contains AI-generated informationMore information

Timing before you arrive

You will know what to sell, move or restructure before you arrive and what the calendar-year rule means.

Some money decisions are only open to you before you become Spanish tax resident. Once you arrive, they can't be undone. This topic helps you time sales, income and restructuring before that date, including retirement accounts, a home abroad and any exit tax from your home country.

6 articlesAbout 56 min of readingEssentialIncome, assets, investments, and pensions

Start with the first articleSee all 6 articles

Pick the article that fits your situation

  1. Should you sell investments before you move? The calendar-year rule

    Explains why selling investments earlier in the year you arrive in Spain does not avoid Spanish tax, and what does. For anyone with shares, funds or other gains deciding whether to sell before moving.

    10 min read

  2. Income and gains in the year you arrive

    If you become a Spanish tax resident part-way through a year, income from before you arrived usually still counts in Spain. This page explains how salary and investment income are treated, which return covers them, and how the special expat regime changes things.

    11 min read

  3. Restructuring investments and accounts before becoming resident

    Spain gives you no tax reset on arrival, so the price you paid stays your cost for any later sale. This page helps you decide, before you become resident, which investments to sell, move or keep, and where careful planning ends and abuse begins.

    10 min read

  4. Moving or consolidating retirement accounts before Spanish residence

    Helps you decide whether to withdraw, transfer or leave foreign retirement accounts alone before you become Spanish tax resident. It is for anyone with a pension, IRA or 401(k) abroad who has not yet moved.

    7 min read

  5. Selling a home abroad: before or after becoming Spanish resident

    Explains how the timing of selling a home in your origin country affects which country taxes the gain, and which Spanish reliefs still help. For people planning a move to Spain who own a home abroad.

    9 min read

  6. Origin-country exit tax and how it interacts with Spanish tax

    Some countries tax unrealised gains when you leave, and Spain may tax the same assets again when you sell. This page is for people with shares or other assets who are leaving their home country for Spain, and it shows how to limit the double tax.

    6 min read

About this topic

It is for anyone considering, planning or carrying out a move to Spain. After reading, you will know what to sell, move or restructure before you arrive, and what the calendar-year rule means for you.

Start with "Should you sell investments before you move? The calendar-year rule". It sets out the main timing question and shapes the other pages. From there, go to the page that matches your situation: income in your arrival year, restructuring investments and accounts, moving retirement accounts, selling a home abroad, or origin-country exit tax.

This topic does not cover how to decide whether you are resident, tax when you leave Spain, or taxes on selling property in Spain.

Key rules

  • Foreign assets report: Once resident, you report foreign assets if any category (accounts, securities or property) is worth more than €50,000 at 31 December, filed between 1 January and 31 March.
  • Calendar-year rule: Spain taxes the whole calendar year once you are resident, with no part-year split, and you are resident if you spend more than 183 days in Spain in that year or your main economic interests are there.
  • Planning lead time: Start pre-arrival tax planning 6 to 12 months before the move, and take professional advice at least 6 months before.
  • Sale tax date: A sale is taxed in the year the deed is signed before the notary, not the year of the offer, the deposit or the transfer of the money.
  • Date of sale: Spanish tax depends on the date of the sale, not the date you arrive.
  • Worldwide income: Once you are a Spanish resident, income from before you arrived in the same year is still taxed in Spain.

Timing before you arrive: the whole process, step by step

  • Start pre-arrival tax planning and take professional advice (Pre-move tax timeline from twelve months out to arrival): Start 6 to 12 months before the move, and take professional advice at least 6 months before (earliest 365 days before planned arrival; latest 182 days before planned arrival)

  • Decide whether to sell investments, rebuy to reset cost basis, or keep them (Should you sell investments before you move? and Restructuring investments and accounts before becoming resident): Before the day you become resident, in a year when you are not resident in Spain

  • Take any lump sum from a foreign retirement account, after weighing the origin-country tax cost (Moving or consolidating retirement accounts before Spanish residence): Before your arrival, while you are still non-resident

  • Sort out a home sale abroad and any exit-tax deferral request in your origin country (Selling a home abroad and Origin-country exit tax): Before you leave, or after you become resident if you decide to sell later

  • If you qualify for the special expat (Beckham) regime, file the application: Within six months of starting work or registering in Social Security

  • Arrive and become resident: Spain then taxes the whole calendar year (Income and gains in the year you arrive): Resident if you spend more than 183 days in Spain in the year or your main economic interests are there

  • Report foreign assets if any category is worth more than €50,000 (Selling a home abroad: before or after becoming Spanish resident): Value at 31 December of your first resident year; file between 1 January and 31 March

  • File the arrival-year income tax return (Modelo 100), claiming credit for foreign tax paid (Income and gains in the year you arrive): In the campaign after the arrival year, normally early April to 30 June

Documents you may need

Timing before you arrive: questions that cross several articles

Can I sell before I move so the gain is not taxed in Spain?

Only if the sale falls in an earlier calendar year than the one you become resident. Spain taxes gains from the whole arrival year, including sales before the physical move. Read Should you sell investments before you move? and Income and gains in the year you arrive.

Can a tax treaty make me resident elsewhere for part of the arrival year?

A treaty can make you resident of your origin country for the whole arrival year, but Spain does not split the year. See Should you sell investments before you move? The calendar-year rule.

Does selling and rebuying before arrival reset my cost basis?

Yes, selling and rebuying before you become resident resets your cost basis, but it triggers origin-country tax and may be challenged if it has no genuine purpose. Spain gives no step-up on arrival. Read Restructuring investments and accounts before becoming resident.

Will I get credit in Spain for tax already paid abroad?

Yes, Spain gives a credit for foreign tax on income also taxed in Spain, limited to the lower of the foreign tax paid and the Spanish tax on that income. You claim it on your income tax return with proof of payment. Read Income and gains in the year you arrive and Origin-country exit tax and how it interacts with Spanish tax.

Does the Beckham regime mean I can ignore foreign gains?

Yes, under the Beckham regime foreign capital gains are generally outside Spanish tax, but you must not have been Spanish resident in the previous five years and must apply within six months of starting work. Spanish property gains stay taxable. Read Should you sell investments before you move?

Explore places

Where you live changes the details. See how Spanish regions and cities compare on rent, jobs, weather, safety and healthcare.

Need certainty before you act?

For important relocation decisions, speak with a qualified human specialist.

Consult with a human specialist

For decisions that depend on your own circumstances, a qualified human professional should look at your case. Tell us what you need help with and we will reply by email.

Always verify important information with the relevant official authority or a qualified adviser before acting. This website uses large language models together with various public data sources, official government documents and other established sources. Due to the amount of data on this website, some information might be wrong. Information may also be incomplete or outdated.

What matters to me

Tell us who you are and what you care about. Fit scores and rankings across the site follow your answers.