Returning from Spain to Germany: how to plan your move back from Mallorca properly
Relocating from Spain back to Germany sounds like paperwork – but it's above all a question of timing. Anyone moving from Mallorca back to Germany not only has to sort out re-registrations, but above all needs to know about a tax trap that hardly anyone thinks about beforehand: Spain has no split tax year. If you spent more than 183 days on the island in the year you leave, you remain fully tax liable in Spain for the entire calendar year – on your worldwide income, including the months after the move. In this guide you'll learn how this rule works, what you need to deregister in Spain, what happens with property, pension and health insurance, and in what order it makes sense to deal with the authorities.

Is your return to Germany already decided, but the tax question still open?
- Submit a personal enquiry — we'll connect you with specialists for your specific situation
- Double Taxation Agreement Germany Spain
Why the moving date is a tax decision
The most important point first, because it's missing from many guides: Spanish income tax law (Ley 35/2006 del IRPF) does not provide for a change of tax residency partway through the year. Under Article 12, the tax period is generally the full calendar year, and the tax liability arises on 31 December. According to Article 13, a shorter period is only provided for in the case that the taxpayer dies on a day other than 31 December.
In practice this means: if you move back to Germany in, say, July or August, but had already spent more than 183 days in Spain that calendar year, you are considered tax resident in Spain for the entire year – including the income you earn in Germany after the move. Germany, by contrast, applies full tax liability there from the day of actual return. This creates two full tax liabilities for the same calendar year, which must be resolved via the Double Taxation Agreement and its tie-breaker rules.
Note: This guide deliberately does not name a "most favourable" moving date – that depends on the type of income, asset situation and marital status. What matters is only this: work out the timing before the move with someone experienced in tax matters, not afterwards.
Tax residency: how Spain checks the 183-day rule
Article 9.1 of the Ley 35/2006 defines when someone is considered tax resident in Spain. It's enough to meet one of the following conditions:
| Criterion | What applies |
|---|---|
| Length of stay (Art. 9.1 a) | More than 183 days in the calendar year in Spain; sporadic absences also count, unless tax residency in another country is proven |
| Centre of economic interests (Art. 9.1 b) | The main core or base of economic activities or interests is located, directly or indirectly, in Spain |
| Family presumption | Rebuttable presumption of residency if the spouse (not legally separated) and dependent minor children habitually live in Spain |
Note: These three criteria operate independently of one another. Even if you fall short of the 183-day threshold, you can still be considered resident on the basis of the centre of economic interests or the family presumption. You can find more on the basic logic in the guide Tax residency Spain – 183-day rule.
Avoiding double taxation: DTA and tie-breaker rules
If the lack of a split-year rule results in dual unlimited tax liability in Spain and Germany for one year, the double taxation agreement between the two countries applies. It sets out a testing sequence which ultimately determines one state of residence for treaty purposes:
| Test step | Criterion |
|---|---|
| 1 | Permanent home – where is a permanently available dwelling situated? |
| 2 | Centre of vital interests – where are the closer personal and economic ties? |
| 3 | Habitual abode – where does the person predominantly stay? |
| 4 | Nationality |
| 5 | Mutual agreement procedure between the tax authorities of both states |
This guide does not decide any specific case – the sequence merely shows the structure. How it plays out in your case depends on residence, family and economic ties to both countries. Details on how it applies can be found in the guide Double taxation agreement Germany Spain.
Exit tax (Art. 95 bis LIRPF): who is really affected?
A term that comes up in every relocation-related research and is almost always misunderstood: the Spanish exit tax ("ganancias patrimoniales por cambio de residencia"). It does not affect real estate. It only covers shares or interests in companies of any kind — the law refers to "acciones o participaciones de cualquier tipo de entidad", so it includes not only your own GmbH or SL but in principle also listed shares and fund units held in a custody account. What keeps the number of people affected small is not the type of investment, but the thresholds — and these are set high.
| Requirement | Threshold |
|---|---|
| Residency in Spain | At least 10 of the last 15 tax periods before leaving |
| Variant a | Market value of all company shares combined exceeds €4,000,000 |
| Variant b (if a is not met) | Shareholding of over 25%andmarket value of these shares over €1,000,000 (in this case only these shares are affected) |
Both conditions must be met together: the ten out of fifteen yearsandone of the two value thresholds. Anyone who has only lived in Mallorca for a few years is not affected, regardless of the size of their portfolio. If one of the thresholds is met, the notional capital gain is attributed to the "renta del ahorro" and assigned to the last tax period to be declared in Spain. Tax rates and deferral arrangements are set out in the implementing regulation and should be discussed in individual advice, especially where one's own company shares are involved. Anyone running a business in Spain will also find the guideDissolving an SL in Spain.
Deregistering in Spain: the steps at a glance
Before you move back to Germany, you should inform several registers and authorities in Spain about your departure. The following table shows what needs to be done and where – without inventing deadlines or fees that the research doesn't support:
| Register / Authority | What happens upon departure |
|---|---|
| Empadronamiento (Ayuntamiento) | Baja (deregistration) from the padrón municipal due to change of residence |
| Tax status with the AEAT | Change from unlimited tax liability (IRPF) to non-residency (IRNR) via Modelo 030 (change of address and personal details) |
| NIE number | Remains valid – it is an identification number, not a residence permit, and does not expire upon departure |
| TIE / Residencia card | Anyone holding such a card gives up their residence status upon departure – a separate process, distinct from the NIE |
| Property in Mallorca (if retained) | Tax liability as a non-resident (IRNR), IBI and rubbish collection fee continue to apply |
Practical order for the move:
- Arrange re-registration with the Ayuntamiento (baja from the padrón) as soon as the new address in Germany is confirmed.
- Initiate the change of tax status via Modelo 030 with the Agencia Tributaria.
- Check whether a TIE/Residencia card exists and how the residence status should be handled.
- If a property is retained: clarify how the future IRNR declaration (Modelo 210) will be organised.
- Register or reactivate health and pension insurance in Germany.
- Clarify vehicle and removal-goods questions in advance with the vehicle registration office and the removal company.
Note: The NIE number and residency status (Residencia/TIE) are two different things. More on this in the guides NIE number and Residencia Spain.
What happens to the property in Mallorca?
Many returnees keep their property in Mallorca rather than selling it. As soon as you are no longer tax-resident in Spain, you switch from the resident to the non-resident regime for this property: for owner-occupied residential property, a notional rental income is imputed and declared via the Modelo 210, and IBI (property tax) and refuse collection fees continue to apply. Specific rates, deadlines and allowances can be found in the dedicated guides Non-resident tax Spain and Second-home tax.
If you decide to sell instead, the order of events matters: if you sell before losing Spanish residency, the regular resident regime applies; if you sell afterwards, the non-resident withholding tax on property sales applies. This order completely changes the applicable regime – this is a point you should definitely discuss with a tax adviser in advance, not only after the notary appointment.
Health insurance after returning
Within the EU, health and social insurance is coordinated via Regulations (EC) No 883/2004 and 987/2009. Anyone who was covered in Spain via an S1 document (cover in the country of residence at the expense of another member state, for example as a pensioner with a German pension) registers upon returning to Germany and gives up the corresponding Spanish entitlement.
For the question of whether you automatically fall back under statutory health insurance (GKV) in Germany, § 5 para. 1 no. 13 SGB V is decisive:
| Situation before moving to Spain | Consequence upon return under § 5 para. 1 no. 13 SGB V |
|---|---|
| Most recently statutorily health insured, no other entitlement | Compulsory GKV insurance is reinstated (subject to para. 5 as well as § 6 paras. 1 and 2 SGB V) |
| Previously neither statutorily nor privately insured, no other entitlement | Compulsory insurance in the GKV also applies |
| Most recently privately health-insured | Does not automatically fall under this catch-all rule – this is where returnees are often caught out |
Note: Anyone who was most recently privately insured should clarify their own insurance situation early on before returning, rather than relying on automatic compulsory GKV cover. Details on the starting situation can be found in the guide Krankenversicherung Spanien and S1-Formular Spanien.
Pension and social security: what happens to the Spanish years
Contributions you paid into the Spanish social security system during your time on Mallorca are not lost when you return. These periods are taken into account in the later pension calculation – that is the core idea behind the European coordination under Regulations 883/2004 and 987/2009. This guide deliberately does not state specific waiting periods, calculation examples or contribution figures, because they depend individually on each person's insurance history. Anyone already receiving or applying for a Spanish pension will also find the guides Rente Spanien beantragen and Vida Laboral abrufen helpful – there you can view your own insurance history before comparing it with the German pension insurance.
Car, removal goods and other practical steps
Spain and Germany are both EU member states, and removal goods move within the single market – customs forms play no role for a straightforward household removal. The situation is different for a vehicle registered in Spain: here you need to deregister it in Spain, register it in Germany, and check the technical requirements. This guide does not state specific fees or deadlines for this process – clarify them with the registration office in good time before the move. More structured guidance on this is provided by the guides Auto abmelden Spanien and Auto verkaufen Spanien.
Most common mistakes when moving back
- Not working out the moving date for tax purposes. Anyone who moves in summer and has already spent more than 183 days in Spain remains liable for tax in Spain for the entire year – regardless of the feeling of "already being in Germany".
- Assuming that the NIE has to be "cancelled". It remains valid; only the residence status (TIE/Residencia) is a separate matter.
- Ignoring the property. Anyone who keeps it automatically becomes liable for IRNR – the tax regime changes regardless, without any active action required.
- Ignoring private health insurance before moving away. Anyone who was last privately insured does not automatically fall under the statutory health insurance (GKV) fallback rule of § 5 SGB V.
- Planning the sale of the property without considering the timing. Selling before or after losing tax residency completely changes the applicable tax regime.
- Underestimating company shares. Anyone holding shares in a Spanish SL should have the exit tax (Wegzugssteuer) thresholds checked, rather than assuming "that only affects the wealthy".
Checklist: Relocating back from Mallorca to Germany
| Task | Contact point |
|---|---|
| Work out the moving date for tax purposes (183-day rule, DTA) | Tax advisor with Spain experience |
| Deregistration (baja) from the padrón municipal | Ayuntamiento at your place of residence |
| Status change from IRPF to IRNR (Modelo 030) | Agencia Tributaria (AEAT) |
| Clarify residence status (TIE/Residencia); the NIE remains valid | Extranjería / Policía Nacional |
| Property: arrange IRNR/Modelo 210, IBI, and rubbish collection fee | Tax advisor or gestoría |
| Check health insurance in Germany (§ 5 SGB V) | Statutory or private health insurance provider |
| Document Spanish pension contribution periods | German pension insurance fund, Spanish social security provider |
| Deregister/re-register the vehicle | DGT (Spain), vehicle registration office (Germany) |
What comes next?
After returning to Germany, you'll typically need to deal with the German tax return for the transition year, sort out health insurance, and – if a property or company shares remain in Spain – handle ongoing non-resident taxation. Anyone who still has Spanish income (rent, pension, capital gains) at the same time should have the DTA allocation for the year of departure properly documented with tax support, so that later queries from either tax authority don't become a problem.
Conclusion
Returning from Mallorca to Germany is bureaucratically manageable – Ayuntamiento, AEAT and the health insurance fund can be worked through step by step. The real stumbling block lies elsewhere: Spain does not apply a split tax year, and anyone who doesn't calculate the moving date in advance risks full, unlimited tax liability in both countries for an entire year. Get targeted professional advice on this one point before starting the rest of the checklist.
Official sources
- Ley 35/2006 del IRPF (consolidated version), Art. 9, 12, 13, 95 bis — https://www.boe.es/buscar/act.php?id=BOE-A-2006-20764
- Agencia Estatal de Administración Tributaria (AEAT), Sede Electrónica — https://sede.agenciatributaria.gob.es
- § 5 SGB V, compulsory insurance — https://www.gesetze-im-internet.de/sgb_5/__5.html
- Regulations (EC) No. 883/2004 and 987/2009 on the coordination of social security systems — eur-lex.europa.eu
- Deutsche Rentenversicherung — deutsche-rentenversicherung.de
- BOE (Boletín Oficial del Estado) — boe.es