Listyco
Photo by Agus Dietrich on Unsplash
Guides

Registering as a Non-Resident Taxpayer in Spain: NIF, AEAT Census and the First Modelo 210 (2026)

How non-resident property owners register with AEAT in Spain: NIF vs NIE, Modelo 030 census, fiscal representative and the first Modelo 210 filing in 2026.

Registering as a Non-Resident Taxpayer in Spain: NIF, AEAT Census and the First Modelo 210 (2026)

A step-by-step walkthrough of how a foreign property owner enters the Spanish tax system: from the identity number the police issue to the census form AEAT needs to the first annual return.

Non-resident property owners in Spain must register with the Agencia Estatal de Administracion Tributaria (AEAT) and file an annual Non-Resident Income Tax return (Modelo 210) on every property they own, whether it is rented out, empty or used personally. The process has three distinct stages: obtaining a tax identification number (NIF), registering in the AEAT taxpayer census (Modelo 030 or 036), and filing the first Modelo 210. Many buyers conflate the NIE they collected at the police station for the purchase with the NIF they need for tax filing, and this confusion is the most common reason a first return is rejected or never filed.

What is the difference between an NIE and a NIF in Spain?

The NIE (Numero de Identidad de Extranjero) and the NIF (Numero de Identificacion Fiscal) are related but distinct identifiers, and understanding the difference is the first step to getting your tax registration right.

The NIE is a foreigner identity number issued by the National Police under Article 101 of Royal Decree 2393/2004. It is mandatory for almost any significant transaction in Spain, including buying property, opening a bank account and signing a utility contract. The number begins with an X (for assignments before July 2008) or a Y (after that date), followed by seven digits and a verification letter. You apply for it at a National Police station in Spain or at a Spanish consulate abroad, and the Ministry of the Interior, not AEAT, is the issuing authority.

The NIF is how AEAT sees you. For a foreign individual, the NIF is the same string of characters as the NIE, but only once AEAT has registered it in its taxpayer census (Censo de Obligados Tributarios). The General Tax Law (Ley 58/2003, Article 93) establishes that every person or entity with tax obligations in Spain must be identified by a NIF, and the Census of Taxpayers regulated under Article 29 of the same law is the mechanism that ties the NIF to your tax records.

If you do not yet have an NIE when a tax obligation arises, AEAT can assign a temporary NIF with a K, L or M prefix via Modelo 030. K applies to Spanish citizens without a DNI, L to EU citizens without an NIE, and M to non-EU citizens without an NIE. This temporary NIF is valid only until the Ministry of the Interior issues the corresponding DNI or NIE, at which point the permanent number replaces it. The procedure was created during the 2020 state of alarm and remains available as a non-presential route through the AEAT electronic office.

How do you register in the AEAT census as a non-resident?

Census registration is the administrative act that makes you visible to the Spanish tax authority. The form you use depends on whether you carry on a business or professional activity in Spain.

For the majority of non-resident property owners, who do not run a business in Spain, the correct form is Modelo 030 (Declaracion censal de alta en el Censo de obligados tributarios). AEAT’s English-language procedure page describes it as the form for individuals who request registration in the Census of Taxpayers, including those who need a NIF assigned and are not part of the Census of Businesspeople, Professionals and Withholders. Modelo 030 can be filed:

  • Electronically through the AEAT electronic office (Sede Electronica), identified by electronic certificate, DNIe or Clave PIN
  • At AEAT offices by direct delivery or post
  • At Spanish consular offices abroad
  • At post offices (Correos)

The form communicates your tax domicile (which for a non-resident is your address abroad), your NIF or NIE, and your preferred contact details for notifications. Under Articles 88 and 89 of the General Regulation of Tax Management Procedures (RD 1065/2007), failure to submit the required documentation or submitting it incomplete can result in the application being filed without effect.

For non-residents who also carry on a business or professional activity in Spain, or who act as withholding agents, the correct form is Modelo 036 (Declaracion censal de alta, modificacion y baja en el Censo de empresarios, profesionales y retenedores) or its simplified version, Modelo 037. These forms serve a broader census that includes VAT and withholding obligations, and they are the route for anyone whose Spanish activity goes beyond passive property ownership.

The registration sequence

StepWhat you doForm or documentAuthority
1Obtain your NIEModelo EX-15, Tasa 790-012National Police (Ministerio del Interior)
2Register in the AEAT taxpayer censusModelo 030 (individuals) or 036 (business)AEAT
3Appoint a fiscal representative (if required)Modelo 039 or written mandateAEAT
4File your first Modelo 210Modelo 210 (electronic)AEAT
5Continue annual filingModelo 210 each calendar yearAEAT

When must a non-resident appoint a fiscal representative?

The obligation to appoint a fiscal representative in Spain is set out in Article 10 of the Non-Resident Income Tax Law (RDLeg 5/2004), as amended by Article 2 of Ley 11/2021 with effect from 1 January 2021. The rule splits into two groups.

EU residents and EEA residents (where mutual assistance agreements on tax information exchange and collection exist) have no obligation to appoint a representative. They may deal with AEAT through ordinary legal or voluntary representation, or file directly through the electronic office.

Residents of third countries (anyone outside the EU or qualifying EEA) must appoint a natural or legal person resident in Spain to represent them before the tax authority, before the deadline for declaring income obtained in Spain, in the following cases: when they operate through a permanent establishment, when they provide certain technical or installation services, when they hold assets in a non-cooperative jurisdiction, and when AEAT requires it due to the amount and characteristics of the income obtained or the possession of a property in Spanish territory.

The practical consequence for most non-EU property owners (including post-Brexit UK residents) is that a fiscal representative is mandatory. The representative receives AEAT notifications, files returns on your behalf and bears joint and several liability for unpaid tax. Our guide to the fiscal representative in Spain for non-residents covers the role, the costs and the penalty for non-appointment in detail.

What is Modelo 210 and when do you first file it?

Modelo 210 is the self-assessment form for the Impuesto sobre la Renta de No Residentes (IRNR), the tax that applies to all Spanish-source income obtained by non-residents. AEAT’s instructions confirm that it covers income obtained without a permanent establishment, including rental income, imputed income on urban real estate and capital gains from property sales. The form was most recently amended by the Order published in the BOE on 23 June 2026.

The filing calendar for a property owner depends on the type of income:

Imputed income (the notional income attributed to an empty or second home, calculated on the cadastral value) is declared annually. The return for a given tax year is due by 31 December of the following year. If you bought a property in 2025, your first imputed-income return covers 2025 and is due by 31 December 2026.

Rental income is declared annually between 1 and 20 January of the year following the income. Since the 2024 tax year, the previous quarterly filing system no longer applies, and all rental income is consolidated into a single annual return.

Capital gains on a property sale are declared via Modelo 210 within four months of the transaction. The buyer is required to retain 3% of the agreed price and pay it to AEAT via Modelo 211 within one month of the sale as a payment on account, under Article 25.2 of the IRNR Law. The seller then has three months after the end of that one-month period to file the Modelo 210 settling the final tax, offsetting the 3% retention. Our guide to selling property in Spain as a non-resident explains the 19% CGT and the 3% retention mechanism in full.

The Modelo 210 is filed electronically through the AEAT electronic office. Payment can be made by direct debit from a Spanish or SEPA-zone bank account, or by transfer from abroad using the payment identifier the system generates. If the return results in zero tax or a refund (for example, when a double taxation treaty exempts the income), you still file the form to claim the treatment.

What happens if you do not register or file?

AEAT has moved well beyond the era when a non-resident owner could go unnoticed. The agency cross-references data from utility companies, telecommunications providers, banks, holiday rental platforms (including Airbnb and Booking) and the Catastro to identify non-residents who own property in Spain but have not registered or filed. The historical assumption that nobody will notice is no longer realistic.

Late filing triggers automatic consequences under the General Tax Law. A surcharge applies for voluntary late payment without a prior demand: 1% of the tax due per month of delay, up to 12 months, after which a 15% penalty plus interest applies. Failure to appoint a fiscal representative when Article 10 requires it is a grave tax infraction under Article 198 of the LGT, carrying a fixed fine of EUR 2,000, or EUR 6,000 for residents of non-cooperative jurisdictions.

The practical path is straightforward: register in the census, appoint a representative if your country of residence requires it, and file on time every year. If you have missed a year, filing voluntarily before AEAT issues a demand significantly reduces the cost. Our Spanish property tax calendar for non-resident owners consolidates every deadline in one place, and the guide to annual property taxes for non-residents sets out the full range of obligations from IBI to Modelo 720.

This guide is general information, not legal or tax advice. Rules change and individual circumstances differ. Verify current requirements with an independent lawyer (abogado) or tax advisor (gestor/asesor fiscal) before acting.

Frequently asked questions

Is an NIE the same as a NIF in Spain?
Not exactly. The NIE (Numero de Identidad de Extranjero) is the foreigner identity number issued by the National Police under Royal Decree 2393/2004. The NIF (Numero de Identificacion Fiscal) is your tax identification number. For foreigners, the NIE serves as the NIF once AEAT registers it in the taxpayer census. If you do not yet have an NIE, AEAT can assign a temporary NIF (prefix K, L or M) via Modelo 030.
Do I need to register with AEAT if I only own a holiday home in Spain?
Yes. Any non-resident who owns property in Spain has Spanish-source income for tax purposes, including imputed income on an empty or second home. You must register in the AEAT taxpayer census and file an annual Modelo 210. The registration is done via Modelo 030 (for individuals not in business) or Modelo 036 (for businesspeople and retainers), filed through the AEAT electronic office, post offices or Spanish consulates abroad.
When is the first Modelo 210 due after buying a property?
For imputed income on an empty or second home, the first Modelo 210 covers the calendar year of ownership and is due by 31 December of the following year. If you rent the property, rental income is declared annually between 1 and 20 January of the following year (since the 2024 tax year, quarterly filing no longer applies). Capital gains on a sale are declared within four months of the transaction: the buyer files the 3% retention via Modelo 211 within one month, and the seller then has three months after that period to file the Modelo 210 settling the final tax.
Can I file Modelo 210 myself or do I need a fiscal representative?
EU and EEA residents (where mutual assistance agreements exist) can file Modelo 210 themselves through the AEAT electronic office using an electronic certificate or Clave PIN. Residents of third countries must appoint a fiscal representative in Spain under Article 10 of the IRNR Law, as amended by Ley 11/2021. The representative receives AEAT notifications and bears joint and several liability for unpaid tax.
What happens if I do not register or file Modelo 210?
AEAT cross-references utility, telecom, bank and holiday rental platform data to identify non-resident owners who do not file. Late filing triggers automatic surcharges (1% per month up to 12 months, then a 15% penalty), and failure to appoint a required fiscal representative is a grave infraction with a fixed fine of EUR 2,000, or EUR 6,000 for residents of non-cooperative jurisdictions.

Sources and data