Why it matters

As a Digital Nomad Visa holder, you will become a Spanish tax resident after spending 183 or more days in Spain in a calendar year. From that point, you owe Spanish income tax (IRPF) on your worldwide income — and the AEAT is the agency you file with, pay to, and occasionally hear from.

The AEAT is also where you register your NIE for tax purposes (via Modelo 030), elect the Beckham Law regime (via Modelo 149), and interact with the Spanish tax system for all ongoing compliance. Your gestor handles most of this on your behalf.

Key AEAT forms for Digital Nomad Visa holders

  • Modelo 030: Census registration — registers your NIE for tax purposes and updates your address. Typically your first interaction with the AEAT after arrival.
  • Modelo 149: Beckham Law election form. Filed within 6 months of becoming a Spanish tax resident to lock in the 24% flat rate for up to 6 years.
  • Modelo 100: Annual income tax return (Renta). Filed April 1–June 30 each year on the prior year's income. The standard IRPF filing for Spanish tax residents.
  • Modelo 151: The annual income tax return specifically for Beckham Law electors — filed instead of Modelo 100 if you are under the special regime.
  • Modelo 303: Quarterly IVA return. Required for all autónomos, whether or not they charge IVA to clients.
  • Modelo 720: Overseas asset declaration. Required if you hold foreign accounts, securities, or real estate above certain thresholds.

How to access your AEAT file

The AEAT's online portal (sede.agenciatributaria.gob.es) allows you to view your tax file, check outstanding obligations, and file most forms electronically. Access requires either a digital certificate installed in your browser, a Cl@ve PIN (a one-time code system), or a Cl@ve permanente (a registered username/password system with SMS verification). Your gestor accesses your file on your behalf using a power of attorney.

The Spain-U.S. tax treaty

Spain and the United States have a bilateral tax treaty that governs how income is taxed when you are a resident of one country earning income from the other. The treaty eliminates double taxation through tax credits — generally, taxes paid to the U.S. can be credited against your Spanish IRPF liability and vice versa. However, the treaty does not eliminate the filing obligation in either country. As a U.S. citizen or green card holder, you still owe the IRS an annual return regardless of where you live.

Common mistakes

  • Confusing the AEAT with the TGSS. They are different agencies. The AEAT handles taxes; the TGSS handles Social Security. Both matter for autónomos.
  • Missing the Beckham Law 6-month window. The election via Modelo 149 must be filed within 6 months of your first Spanish tax residence registration. Miss it and the option is gone for this residency cycle.
  • Not registering for tax purposes on arrival. Tax residence and immigration residence are different. You can hold a Digital Nomad Visa and not be a tax resident if you spend fewer than 183 days in Spain — but if you do become a tax resident and have not registered, you are still legally obligated to file.

Your first formal interaction is usually registering your NIE for tax purposes via Modelo 030, typically within the first few months of arrival. After that, if you become a tax resident (183+ days in Spain in a calendar year), you file your annual income tax return (Modelo 100) the following April–June. Your gestor coordinates all of this.

For online access to your AEAT file, filing tax returns, or submitting forms electronically, yes. A Cl@ve PIN (short-term code) can substitute for simple queries, but a full digital certificate is the standard tool for autónomos and tax residents doing quarterly and annual filings. Your gestor can act on your behalf using their own certificate via power of attorney.

Spain has a tax information exchange agreement with the U.S. under the OECD Common Reporting Standard (CRS) framework and the Spain-U.S. Tax Treaty. Once you become a Spanish tax resident, the AEAT expects you to declare worldwide income — including U.S.-source income. The treaty provides credits for taxes paid in the U.S. to avoid double taxation, but the reporting obligation exists regardless.

Yes — they are separate agencies. The AEAT handles income tax, IVA, and most tax filings. The TGSS (Tesorería General de la Seguridad Social) handles Social Security contributions, autónomo registration under RETA, and access to public healthcare. Autónomos interact with both.