Deregister in Spain when leaving: How to do it right!
If you intend to leave Spain permanently or for a longer period of time for whatever reason (e.g. professional, health, personal), there are a couple of steps you need to take in order to deregister correctly for legal and tax purposes as an EU citizen or non-EU citizen.
Depending on the situation you find yourself in, you may have to contact several authorities (such as the municipality, immigration office, tax office, social security, traffic authority), as “deregister in Spain” as a resident is not a single procedural step, but requires various actions.
It is therefore crucial to know how you, as a foreigner, must apply to deregister and delete your residency (“Residencia”) or domicile/address from the respective registers (population register, foreigners register and tax register) when moving away from Spain.
If you are taking your vehicle abroad, you can read about how to permanently deregister your vehicle in Spain.
Finally, you can find out how to close your bank account and cancel utility supply contracts in Spain.
With ASSSA Insurance, you have first-class private health insurance in Spain at your side. Take advantage of personalised advice in English now.

Wollen Sie diesen Fachbeitrag auf Deutsch lesen, dann
1) Deregistering your address with the Spanish municipality
If you, as a foreigner, move your address outside Spain, you must apply in writing to the local town hall (“ayuntamiento”) to deregister from the population register (“Padrón Municipal”) due to a change of address (“Baja por cambio de residencia”).
This is an essential step, as with the municipal deregistration the other Spanish authorities (such as the tax authorities, foreigners registration office or social security) know that you are no longer resident in Spain.
Deregistration in the “Padrón” are not retroactive and are therefore recorded from the date of submission of the application.
How do I apply?
This formality may vary from one municipality to another. It is therefore advisable to check the website of the relevant Spanish municipality (generally under the heading “Padrón Municipal de Habitantes”) to find out how to submit the application.
As a rule, the application can be made online (with electronic certification) or in person at a municipal office (by appointment if necessary). Some municipalities also accept a written deregistration by post.
Documents required?
- Application for deregistration of a foreigner due to change of domicile/address (“Solicitud de Baja de extranjero por cambio de residencia”). Some municipalities provide an official form on their website.
This application should state to which other country you have moved or will move your address.
If you are applying to deregister the whole family, you must submit the documents for all family members (family register or birth certificate for minors) and all adults must sign.
- A copy of a valid identity card or passport
- if applying through a representative: Power of attorney
Note
Remember to obtain a certificate of deregistration, as you will need this document as proof for further formalities with other authorities.
2) Deregistration for tax purposes in Spain (Modelo 030)
In order to continue to avoid tax problems and conflicts, you should deregister for tax purposes in Spain when you move your habitual residence back to your home country or to another country if you are registered there as a taxpayer in the tax register (‘censo’).
Individuals who do not carry out a commercial or professional activity in Spain must notify the Spanish tax authorities of the change in their tax domicile (‘Modificaciones/cambio de domicilio fiscal’) using Modelo 030.
Furthermore, the following steps are advisable for a correct tax deregistration in Spain:
- Deregister your residence with the municipality
- Deregister or delete your registration in the Foreigners’ Register and return the certificates (such as registration certificate or TIE) that you hold
- Deregister with Social Security and the Traffic Authority, if applicable
As long as you are registered with these authorities with a Spanish address, it could be assumed that you have your tax residence and centre of life in Spain.
Note
However, tax residency and therefore tax liability in Spain does not depend on registration or deregistration, but on actual habitual residence there.
How and where to submit the form:
The Modelo 030 form (‘Censo de obligados tributarios’) can generally be submitted as follows:
- online: on the AEAT website via electronic certification
- in paper form:
- at an office of the Spanish tax administration (AEAT) where you have your tax residence, either in person or by post (registered mail)
- at any public register of the state administration, such as the relevant Spanish consulate
Before visiting the tax authority, it is advisable to make an appointment (‘cita previa’), either online, via the AEAT app or by telephone.
Deadline for submission:
The notification of the change of tax residence must be made within 3 months of the date of the change.
Required documents:
As a rule, you will need
- The completed Modelo 030
- Proof of identity: a copy of your identity card or passport
- Confirmation of deregistration from the municipality of residence in Spain (‘certificado de bajo del padrón’)
The Spanish tax authorities may also request proof of residence abroad after the form has been presented.
In this case, a certificate of tax residence (‘certificado de residencia fiscal’) must be presented, issued by the competent tax administration corresponding to the applicant’s place of residence.
3) Deregistration of residency with the Spanish Foreigners’ Registration Office
If you are an EU citizen with the registration certificate (‘certificado de registro de ciudadano de la UE’) or a non-EU citizen with the residence card for family members (‘tarjeta de residencia de familiar de ciudadano de la Unión’) or the foreigner’s identity card (‘tarjeta de identidad de extranjero’ – TIE), then you should inform the Foreigners’ Registration Office of your departure from Spain.
In this case, deregistration from the Spanish Central Register of Foreigners (‘Registro Central de Extranjeros’) is not formally regulated in an explicit and standardised manner.
This is probably due to the fact that registration certificates or residence permits are valid as long as the requirements and conditions set out in the Spanish Foreigners Act and European Union law are maintained.
Consequently, the abandonment of domicile in Spain or a longer continuous stay abroad leads to the loss and automatic deletion of the aforementioned certificates or permits, as the legal requirements are no longer met.
Therefore deregistration is, according to some officials, absolutely not necessary.
Why should I contact the Immigration Office?
However, if you are leaving Spain permanently, it is advisable to contact the Foreigners’ Registration Office for the following reasons:
- In some cases, there is a legal obligation to notify the authorities of a change of habitual residence.
- Non-EU citizens are obliged to hand in the TIE.
- Avoid future problems (such as tax complications).
- To obtain precise information on the procedure for deregistration or cancellation from the Aliens Register that applies to your case.
- To obtain a formal confirmation of cancellation, which you may need for other authorities.
How does the procedure work?
As already mentioned, there is no standardised procedure in Spain for deregistering residency with the Foreigners’ Registration Office.
In general, the following steps are recommended:
a.) Reporting your departure from Spain
It is important that you first go to the competent authority (“Oficina de Extranjeros”) or police station (“Comisaría de Policía Nacional”) of the province in which you live and inform them that you are leaving Spain permanently or for a longer period of time.
The officer in charge will then tell you exactly what to do and what he needs.
b.) Apply for deregister as a resident
In principle, a signed informal letter with your personal details and a declaration of deregistration as a ‘residente’ in Spain is sufficient, unless the relevant authority has provided a separate form for this purpose.
You should attach to this letter a proof of identity and the deregistration certificate from the municipality as proof that you no longer reside in Spain.
c.) Returning the residence permit
Non-EU foreigners must return the TIE.
EU citizens can hand in the green certificate of registration (‘Certificado de registro’) if they wish express their deregistration in a substantial way.
d.) Have confirmation of cancellation issued
You will usually receive a written confirmation (‘certificado’) of cancellation/deregistration in the system and of submission of the certificates.
In any case, you should make sure that this confirmation is issued to you.
NIE number
Nothing needs to be done about the NIE in Spain. It is simply an identification number that is valid for life and has no expiry date.
Deregistration and change of habitual residence must be reported to the Spanish social security (“Seguridad Social”).
The procedure varies depending on your situation and the insurance status or system in which you are registered.
Employees:
The employer is obliged to deregister you as an employee registered in the General System (“Régimen General de la Seguridad Social”) when the employment relationship ends.
Self-employed persons:
As a self-employed person (“autónomo”) registered in the Special System of Social Security (“Especial de Trabajadores Autónomos” – RETA), you must notify the deregistration upon termination of your business activity.
The application for deregistration (“Baja en trabajo autónomo”) is made electronically via the online portal of the “Tesorería General de la Seguridad Social”.
The deregistration should be completed within 3 days of the end of the activity.
Remember to also deregister your self-employed activity with the tax authorities.
Beneficiaries of the “Seguridad Social”:
If you receive a pension from the Spanish social security system, for example, you must inform the responsible office (INSS) of your relocation from Spain.
In this case, the change of domicile must be reported within 30 days of the change.
The notification can be made electronically, using a form sent by post or at a social security information and advice office with an appointment.
Holder of a “Tarjeta Sanitaria” based on the S1 form
If you are an EU pensioner entitled to access public health services in Spain (based on the S1 form) and you have a Spanish health insurance card, you should notify your competent health center (“centro de salud”) that you are abandoning your domicile.
Note
As already mentioned, deregistration from social security is an important step in order to correctly end your tax residency in Spain.
Do you need first-class private health insurance in Spain? Then ASSSA Insurance is the right choice for you.

5) Deregistering your vehicle in Spain with the Spanish Traffic Authority (DGT)
If you are moving your car permanently to another country within or outside the European Union (EU), you must apply for the definitive deregistration of the vehicle in Spain (“Baja definitiva por traslado del vehículo a otro país”).
Until the new registration has been processed in your new country, you have two options for transferring the vehicle to its new destination:
- Temporary registration with green license plates (“placa verdes”) in Spain. This gives you permission to continue driving the vehicle.
- Transportation of the vehicle with a tow truck or another alternative means of transport.
Important: As long as the vehicle is registered in Spain, the municipal road tax is also payable there.
Who can apply for deregistration?
The vehicle holder, a third party who provides proof of ownership or an authorized person.
What requirements must be met?
Before you can definitively deregister a vehicle in Spain, the following conditions must be met:
- Removal of a seal (seal) from an administrative or judicial authority
- Cancellation of an existing financial charge in the Register of Movable Property (“Registro de Bienes Muebles”)
- Valid technical vehicle inspection (ITV) if the country of destination is not part of the EU and the vehicle is more than four years old since it was first registered
How can the deregistration be done?
There are the following options:
1) online: with a valid electronic certification
- If the vehicle is being moved to another EU country, use this application form
- If the vehicle is being moved to a country outside the EU, use this application form
- If the vehicle is 15 years old or older since it was registered in Spain, use this form
2) In person, by handing in all documents at a Spanish traffic office (“Jefatura u Oficina de Tráfico”). Appointments (“cita previa”) must be made online or by telephone on 060.
3) If you are staying abroad: In addition to online deregistration, you can also submit your application at a diplomatic or consular mission.
In this case, the fee may exceptionally be paid by transferring the exact amount to the following account of the “Jefatura Central de Tráfico”:
- C.C.C.: 2100 5731 7602 0020 4028
- IBAN: ES29 2100 5731 7602 0020 4028
- SWIFT: CAIXESBBXXX
The purpose (“concepto”) of the transfer must include the following information in this order:
- ID number of the vehicle holder
- License plate number
- “Baja vehículo por traslado a otro país”
Example: “12345678A – 0000-BBB – Baja vehículo por traslado a otro país”
What does it cost to deregister a vehicle in Spain?
For the final deregistration of a vehicle that is to be transferred to another country, you must pay
- Fee: € 8.67 (as of 2025)
- No fee if the vehicle was registered in Spain 15 years ago or more
You can pay the fee in person directly at the traffic department at the time of deregistration using any debit or credit card (never in cash) or beforehand via one of the available channels.
If you are abroad, you can pay by bank transfer to the account mentioned in the previous section.
What documents do I need to provide?
If you do it online:
- valid ITV (technical inspection) if the country of destination is not part of the European Union and the vehicle is more than four years old since its first registration
- Proof of ownership of the vehicle if you are the owner but not the vehicle keeper: digitized sales contract (the seller is a private individual) signed by both parties on all pages of the contract, or invoice (the seller is a company).
If presented in person:
- Official application form, which can also be obtained from the traffic authority
- Proof of identity: national identity document, Spanish driving license, residence card (TIE), passport plus NIE number
- Original vehicle documents: “Permiso de circulación” and “tarjeta de ITV” or a declaration of responsibility that you are not in possession of these documents
- Proof of payment of the fee, if previously paid
- If required, the documents mentioned above in the online procedure.
Once you have deregistered your vehicle, you should also cancel your car insurance with your insurance company.
6) Closing bank account in Spain
With regard to the correct closing of the Spanish account, it is helpful and recommended that you first take a look at the contractual terms and conditions. As a rule, these also mention the closing formalities.
All direct debits and standing orders should be changed and incoming payments (such as pensions) redirected before the account is terminated. And make sure that there are no outstanding debts.
Forms of cancellation:
Depending on the bank, you can usually give notice as follows:
- In person at a branch (if available)
- In writing by post
- Online or by phone
Be sure to insist on a written confirmation that the account has been closed.
If you want to keep your account after moving away from Spain (if the bank says this is possible at all), you should definitely inform the bank of the change of address and convert your account to non-resident status.
7) Cancellation of utility supply contracts
Spanish utility supply contracts, such as electricity, water, gas, telephone and internet, which are in your name, should be canceled before you leave Spain.
The following steps are recommended:
1.) Make sure you have no outstanding bills.
2) Check the contract and the general terms and conditions carefully.
- Pay attention to the clause “Duration of the contract” (Duración del contrato) or “Termination and expiry of the contract” (Rescisión y extinción del contrato”).
- Check whether there is a minimum term (“permanencia”) and what contractual penalties (“penalizaciones”) apply in the event of non-compliance.
- Check the required notice period.
- Find out what form of cancellation the company accepts (telephone, e-mail, web form, etc.).
3) Contact the company.
If you have any doubts or problems, you can contact the utility company or consumer organizations for advice.
Use the contact channels indicated in the contract or on the company’s website.
Conclusion
The most important and decisive step when you permanently leave Spain is to deregister from the population register (Padrón) with the Spanish municipality. This serves as the basis for all further formalities.
Notifying the Spanish tax authorities of your transfer of tax residence abroad via Modelo 030 is also relevant in order to correctly end your tax residency in Spain and to avoid conflicts.
Deregistration/deletion from the Central Register of Foreigners as a resident is not always legally mandatory, but is recommended for practical reasons (e.g. tax).
The other deregistrations mentioned above (such as with the social security and traffic authorities) are important steps, if necessary, to avoid further contribution and tax payments in Spain.
In any case, it is advisable to check with the relevant Spanish authorities to obtain precise information about the deregistration procedure in each individual case.
And always obtain written confirmation of deregistration or deletion.

