Guides12 min read

Moving to Thailand from Spain: Hacienda and DTV

Spain is the hardest origin to leave tax-cleanly. Modelo 030, the 183-day sporadic absences trap, Seguridad Social options, modelo 720, and the DTV from Madrid.

Updated September 24, 2026

Hacienda counts your days in Thailand as days in Spain unless you have a foreign tax residency certificate. If your spouse stays behind, you are presumed still resident. Your departure also needs to be reflected in the correct census form. Of the three origins we cover, Spain is the hardest to leave tax-cleanly.

Key Takeaways

  • ✓If you are not registered as self-employed, report the change through modelo 030 within 3 months. Autónomos normally use modelo 036 instead
  • ✓Spain's 183-day rule counts 'sporadic absences' as days in Spain. You need a Thai tax residency certificate to break this
  • ✓For Thailand, the practical pension choices are to stop contributing or use the convenio especial for emigrants. The TA.300 temporary-posting route is not available
  • ✓Modelo 720: declare foreign assets above 50,000 EUR per category while you are still Spanish tax resident
  • ✓The DTV costs 350 EUR from Madrid. The embassy does not publish a guaranteed processing time

Visa: DTV from Madrid

The DTV visa is your path. Apply through the e-Visa portal at thaievisa.go.th; the Royal Thai Embassy in Madrid is the responsible mission. Its consular section is at Calle Joaquín Costa 29. Consular hours: Monday to Friday, 09:30 to 13:30. Phone: +34 915 632 903 (extensions 101 to 103, Mon to Fri 15:00 to 17:00).

Madrid's published DTV checklist requires a bank statement or bank certificate showing at least 500,000 THB (about 13,600 EUR) in available funds. It does not specify a 3-month statement history. You also need a criminal-record certificate issued by your country of nationality or, where applicable, Spain or Andorra as your country of permanent residence.

Madrid accepts Spanish and Andorran nationals, plus permanent residents of Spain or Andorra. A NIE by itself does not prove permanent residence. The embassy does not publish a guaranteed processing time, so apply with enough room for document requests. If you are not sure whether the DTV is right for you, see our visa comparison.

This is general information based on profiles similar to yours. Not tax or legal advice for your specific situation.

Hacienda: what to file before you leave

Modelo 030

Modelo 030 tells the Agencia Tributaria that your address and tax-residency status have changed. Filing it does not make you non-resident by itself. Your position is still determined under the Spanish residence tests for the full calendar year. If you are not in the Censo de Empresarios, Profesionales y Retenedores, report the change within 3 months via the Sede Electrónica with certificado digital, DNI electrónico, or Cl@ve PIN. Autónomos normally report census changes through modelo 036, generally within one month.

In the residency indicator field (campos 201/202), select "no cumple artículo 9.1". This declares you do not meet the residency criteria of Article 9.1 of the IRPF law.

Effective date matters: if you leave Spain in the first half of the year and spend fewer than 183 days in Spain that year, the effective date is January 1st of that same year. If you have already spent more than 183 days in Spain before leaving, the effective date becomes January 1st of the following year: you remain tax resident for the full calendar year.

To support your non-residency claim, you may need a certificado de residencia fiscal from the Thai Revenue Department. Obtaining one as a DTV holder is an evolving area. Have it available if Hacienda requests it.

IRPF for the departure year

Tax residency in Spain is determined per complete calendar year. If you leave in September and have spent more than 183 days in Spain that year, you are tax resident for the full year and must file IRPF on worldwide income. If you leave early enough (first half) and spend fewer than 183 days, you can claim non-residency from January 1st and file only IRNR (modelo 210) for Spanish-source income.

If you are autónomo

Two steps:

  1. Baja censal (modelo 036). File via the Sede Electrónica marking cessation of activity. Note: modelo 037 was eliminated in February 2025. Before filing, issue all pending invoices and file any outstanding quarterly IVA (modelo 303) and IRPF (modelo 130) declarations through the cessation date.

  2. Baja RETA (modelo TA.0521). File via Importass with your certificado digital. This stops your monthly cuotas immediately. All previously contributed time is preserved in your vida laboral and counts toward future pension calculations.

If you continue working from Thailand, do not file a full cessation only because your clients are outside Spain. Review your tax registration, whether you retain an establishment in Spain, and the place-of-supply rules for each service. Spain does not have a general turnover threshold that automatically removes a self-employed person from IVA registration.

The 183-day trap

Spain's residency rules under Article 9.1 of Ley 35/2006 are more aggressive than the UK or US equivalents. There are three independent criteria, and meeting any one makes you a Spanish tax resident.

Criterion 1: Physical presence over 183 days

Days in Spain during the calendar year, including partial days. Days do not need to be consecutive.

The sporadic absences trap (ausencias esporádicas): days spent abroad count as days IN Spain unless you prove tax residency in another country, according to the Agencia Tributaria manual and AGM Abogados. Leave Spain for 2 months in Thailand, come back, and Hacienda adds those 2 months to your Spanish count.

The only way to break this: a certificado de residencia fiscal from Thailand proving you are tax resident there. Without it, every day abroad is presumed a day in Spain.

Criterion 2: Center of vital interests

If the main base of your economic activities or interests is in Spain, you are resident. This includes: where your income originates, where your property and investments are, and where your financial decisions are managed from, according to the Tribunal Supremo interpretation.

Criterion 3: Family presumption

If your non-legally-separated spouse or minor children habitually reside in Spain, you are presumed to be a Spanish tax resident. This is rebuttable, but the burden of proof is on you, according to LexTax.

If your family stays in Spain while you move to Thailand, Hacienda presumes you are still resident. Breaking this presumption requires strong evidence: lease in Thailand, Thai tax residency certificate, proof that your center of vital interests has moved. Get tax advice before leaving if this applies to you.

Modelo 720: foreign assets

If you are Spanish tax resident for the transition year and hold foreign assets exceeding 50,000 EUR per category on December 31, you must file modelo 720 by March 31 of the following year, according to the Agencia Tributaria.

Three independent blocks, each evaluated separately:

BlockCategoryThreshold
1Bank accounts (balance on Dec 31 or Q4 average)50,000 EUR aggregate
2Securities, investment funds, life insurance50,000 EUR
3Real estate abroad50,000 EUR

Thai bank accounts count. So do Wise balances (Belgium IBAN) and Revolut balances (Lithuania IBAN), according to Finantres. Convert non-EUR balances at the official exchange rate as of December 31.

The EU Court of Justice struck down Spain's disproportionate penalties for modelo 720 violations in 2022 (Case C-788/19). Spain's response (Ley 5/2022) removed the specific penalty regime and restored the normal statute of limitations. The reporting obligation itself still exists. Late, missing, or inaccurate declarations now fall under the general penalties in Articles 198 and 199 of Spain's General Tax Law.

Cryptocurrency holdings have their own declaration (modelo 721) with the same 50,000 EUR threshold.

Once you are no longer Spanish tax resident, you do not need to file modelo 720 for future years.

Seguridad Social: what is actually available

There is no bilateral social security agreement between Spain and Thailand. EU Regulation 883/2004 does not apply. This limits your options.

Option A: Baja (stop contributing). Simplest. File baja RETA and stop paying cuotas. You lose accumulation of new contribution years, incapacidad temporal, and cese de actividad. All previously contributed years are preserved in your vida laboral.

Option B: Convenio especial para emigrantes. Voluntary contributions that cover jubilación, incapacidad permanente, and muerte y supervivencia. It does not cover desempleo, asistencia sanitaria, or incapacidad temporal. The contribution is calculated from the minimum applicable base, contribution rate, and current coefficient, and is paid quarterly. Request the live amount from the Tesorería General before choosing it. Apply using modelo TA.0040; there is no application deadline, according to Orden TAS/2865/2003.

Desplazamiento temporal (modelo TA.300) is not available for Thailand. This mechanism only works for countries covered by EU regulations or bilateral social security agreements. Spain has no such agreement with Thailand.

Check your vida laboral at Importass. Under 15 years contributed and planning to return to Spain? The convenio especial can keep the clock moving toward the 15-year pension minimum. Over 15 years and not planning to retire in Spain? Baja may be enough. If the pension calculation matters to your decision, request the current contribution amount before choosing.

Tax treaty and Thai tax

The Spain-Thailand Double Taxation Agreement has been in force since 1998 (BOE-A-1998-23417). It prevents double taxation via tax credits: tax paid in Thailand can be deducted from Spanish tax on the same income, and vice versa. It does not eliminate the obligation to file in both countries during the transition year.

If you stay 180+ days in Thailand per calendar year, you become a Thai tax resident and remitted foreign income is taxable since 2024. The DTA ensures you don't pay full tax in both countries, but you may need to file in both and claim credits. For the full breakdown on Thai tax rates, remittance rules, and strategies, see our Thailand tax guide.

Banking and money

Do not build the move around one Spanish account. Leave with one or two traditional bank accounts plus Wise or Revolut, and keep every authentication method active. A bank may review or reclassify an account after a change in tax residency. Follow any direct notice it sends and move funds before a stated closure deadline.

Spanish bank cards are expensive in Thailand. Most charge 1 to 3% on foreign currency transactions plus a fixed fee. Switch to Wise or Revolut for daily use. Order your Wise card to your Spanish address before leaving. From 3 August 2026, accounts registered to a Thai address (opened before 21 January 2026) lose ATM access inside Thailand and auto-convert foreign currency to THB. For the full fee comparison, see our Wise vs Revolut guide. For opening a Thai bank account on a DTV (no longer possible at major banks), see our banking guide.

Modelo 720 note: Wise (Belgium IBAN) and Revolut (Lithuania IBAN) balances count as foreign bank accounts. If your combined foreign account balances exceed 50,000 EUR on December 31, you must declare them while you are still Spanish tax resident.

Before you fly

International Driving Permit. Get it from the DGT (Dirección General de Tráfico) before you leave. If you plan to ride a motorbike in Thailand, make sure it includes motorcycle endorsement. Without it, your insurance is invalidated. Documented cases exceed $9,300 out of pocket.

Health insurance. Your tarjeta sanitaria europea does not cover Thailand. Travel or nomad medical cover can work for the first stage of the move if its limits and exclusions are sufficient. For a long-term stay, compare international and Thai health policies for inpatient limits, underwriting, direct billing, and motorbike conditions.

Registro de Matrícula Consular. If Thailand becomes your habitual residence, register as a resident with the Consular Section of the Spanish Embassy in Bangkok. This is mandatory for Spanish nationals who establish their habitual residence abroad. It adds you to the Padrón de Españoles Residentes en el Extranjero (PERE), moves adults to the CERA electoral register, and removes you from the municipal padrón in Spain. It does not determine your tax residence by itself.

Get relocation tips in your inbox

Free advice for your move to Thailand. No spam, unsubscribe anytime.

Frequently asked questions

Do I need to file modelo 030 when leaving Spain?
Modelo 030 notifies the Agencia Tributaria that your address and tax-residency status have changed; it does not make you non-resident by itself. If you are not registered as self-employed, report the change within 3 months and select 'no cumple artículo 9.1' when that reflects your position. Autónomos normally use modelo 036.
Can I keep paying Seguridad Social from Thailand?
Yes, through the convenio especial para emigrantes if you meet its conditions. It covers jubilación, incapacidad permanente, and muerte y supervivencia, but not healthcare or desempleo. The contribution is calculated using the current minimum base, rate, and coefficient. The RETA desplazamiento option (modelo TA.300) is not available for Thailand.
Does Spain tax me if I live in Thailand?
Spain counts 'sporadic absences' as days in Spain unless you can prove tax residency in another country via certificate. If you spend fewer than 183 days in Spain and obtain a Thai tax residency certificate, you can break Spanish residency. If your family stays in Spain, Hacienda presumes you are still resident.
What is modelo 720 and do I need to file it?
Modelo 720 is a declaration of foreign assets above 50,000 EUR per category (bank accounts, securities, real estate). You must file while you are Spanish tax resident. Thai bank accounts, Wise, and Revolut balances all count. Filing deadline: March 31 of the following year.
Do I lose my tarjeta sanitaria if I move to Thailand?
The tarjeta sanitaria europea only covers EU/EEA countries and has no validity in Thailand. You need separate medical cover for treatment there. The convenio especial para emigrantes covers specific pension-related contingencies, not healthcare in Thailand.

Get a personalized relocation plan based on your situation.

See your visa match (free)