Key takeaways
- Tax residence is not the same as having a visa, a padrón, a NIE, or strong feelings about tortilla.
- Spain's tax year is the calendar year, so arrival dates matter more than newcomers expect.
- Remote employees, freelancers, people with foreign assets, and anyone split between countries should get professional advice early.
- The best first-year tax move is boring: keep records from day one.
The First-Year Tax Problem
Moving to Madrid gives you a lot of paperwork with similar-looking names. NIE, TIE, padrón, Cl@ve, Social Security, Hacienda. The tax trap is assuming they all mean the same thing.
They do not.
Your visa or residence card says something about your right to live in Spain. Your padrón says where you live in Madrid. Your NIE is an identification number. Tax residence is a separate question about where Spain considers you taxable. It is connected to your life, but it is not automatically answered by one document in your folder of bureaucratic souvenirs.
This guide is not tax advice. That sentence is dull, but useful. The point here is to help you understand which questions to ask in your first year, what to track, and when to stop asking WhatsApp groups and pay a qualified tax adviser.
The Core Question: Are You Tax Resident In Spain?
Spain generally treats an individual as tax resident when one of the legal tests is met. The most famous one is the 183-day rule: spending more than 183 days in Spain during the calendar year. The calendar year is the key phrase. Spain does not run your tax year from the day you land with four suitcases and a collapsing sense of optimism.
Agencia Tributaria also points to other tests, including whether your main economic interests are in Spain. There is also a family presumption where a spouse who is not legally separated and dependent minor children habitually live in Spain, unless you prove otherwise.
In plain English: do not reduce this to "I arrived in September, so I am fine" or "I have a TIE, so I must be tax resident." The first may be true, false, or incomplete depending on your wider facts. The second is the wrong category.
Your First Spanish Tax Year May Be Split
The first year is often messy because your life moved in the middle of a tax year. You may have salary before arrival, salary after arrival, remote work paid abroad, freelance invoices, dividends, rental income, capital gains, or social-security contributions in two places.
For some people, the answer is simple: you arrive, start a Spanish payroll job, and file normally when required. For others, the first year is a two-country puzzle with dates, treaties, payroll location, foreign tax paid, and reporting obligations.
The annoying but sensible move is to build a timeline:
- Date you physically arrived in Spain.
- Days spent outside Spain after arrival.
- Date your Spanish employment or freelance activity started.
- Date your lease began.
- Date your padrón was issued.
- Date your NIE, TIE, EU certificate, NUSS, or Social Security registration happened.
- Income received before and after arrival.
- Tax already withheld or paid in another country.
This is boring, yes. But boring records beat heroic reconstruction in May.
If You Are A Remote Employee
Remote employees are where "I just work from my laptop" becomes "please stop saying that to government systems."
If your employer is outside Spain and you are physically working from Madrid, you need to clarify payroll, Social Security, tax withholding, permanent-establishment risk for the employer, and whether your residence route actually allows that work structure. This is especially important for digital nomad visa holders, employees of foreign companies, and people whose employer is improvising because "Spain sounds nice."
Your practical first-year checklist:
- Confirm whether you are on Spanish payroll, foreign payroll, or an employer-of-record structure.
- Confirm where Social Security contributions are being paid.
- Keep the employment contract and any remote-work agreement.
- Keep payslips and tax-withholding documents from both countries.
- Ask a tax adviser whether Spain expects a return or additional reporting.
The bad plan is waiting until filing season and discovering your employer handled Madrid like a long business trip while your life handled it like relocation.
If You Are Freelance Or Autónomo
If you invoice clients from Madrid, your tax life can become Spanish faster than your furniture arrives.
Autónomo means self-employed. It is not just a label for freelancers; it is a tax and Social Security setup. Depending on your activity, income, residence status, and client location, you may need to register properly before invoicing, charge or not charge IVA (VAT) depending on the case, file quarterly returns, and pay Social Security contributions.
Do not treat freelance income as casual pocket money because the client is abroad. Spanish tax admin is famously unimpressed by vibes.
Ask an adviser before invoicing if:
- You work for clients outside Spain.
- You invoice EU businesses.
- You have one main client and look suspiciously employee-shaped.
- You are on a visa with work restrictions.
- You have income from platforms, teaching, consulting, design, development, coaching, media, or any other "small side thing" that mysteriously has invoices.
Foreign Assets: The Modelo 720 Question
New residents with foreign bank accounts, brokerage accounts, insurance products, pensions, property, or other assets need to ask about reporting obligations.
Modelo 720 is Spain's informational declaration for certain assets and rights located abroad. Agencia Tributaria describes it as covering three information blocks: foreign bank accounts, certain securities/rights/insurance/income, and foreign real estate or real-estate rights. AEAT's FAQ materials refer to the €50,000 threshold in the relevant blocks, but the details matter: category, valuation date, ownership share, previous filings, increases, and exemptions can change the answer.
This is not a tax bill by itself. It is an information return. Unfortunately, "only informational" is exactly the kind of phrase that lulls people into not taking it seriously. If you have meaningful assets outside Spain, ask early.
The Beckham Law Question
Spain has a special inbound-worker tax regime, often nicknamed the Beckham Law. Agencia Tributaria describes it as a regime for certain people who become Spanish tax resident because they move to Spain for work, allowing them to be taxed under non-resident income tax rules with special features while still being IRPF taxpayers for the relevant period.
That sentence sounds like it was designed to make humans leave the room. The practical version: some incoming workers, professionals, entrepreneurs, and investors may qualify for a beneficial special regime. It is not automatic, it has conditions, and opting in uses Modelo 149.
If you think you might qualify, do not leave it as a "someday" question. The window to opt in is time-sensitive and linked to your move and work registration facts. Ask before your first Spanish tax season, not after everyone at dinner tells you their cousin got it.
What To Keep From Day One
Make a folder. Name it something boring like "Spain tax 2026." Future you will briefly become religious with gratitude.
Keep:
- Passport entry stamps, boarding passes, travel dates, and a simple day-count spreadsheet.
- Rental contracts, padrón certificates, utility bills, and address changes.
- Employment contracts, payslips, bonus documents, stock documents, and employer letters.
- Freelance invoices, client contracts, platform statements, and business expenses.
- Foreign tax returns, tax-residency certificates, and withholding documents.
- Bank, brokerage, pension, insurance, crypto, and property statements from outside Spain.
- Social Security registration documents and NUSS records.
- Adviser emails and any advice you rely on.
Do not wait until filing season to collect this. Filing season is for filing, not forensic archaeology.
When You Probably Need A Tax Adviser
You can often handle simple local admin yourself. Taxes are different because the same fact can matter in two countries at once.
Hire a qualified asesor fiscal if any of these apply:
- You arrived mid-year and had income in another country.
- You work remotely for a foreign employer.
- You are self-employed or plan to invoice clients.
- You have foreign property, investments, pensions, stock options, crypto, or sizeable bank balances.
- You may qualify for the special inbound-worker regime.
- You are married or moving with children and only one partner works.
- You own a company or have company shares outside Spain.
- You are not sure which country considers you tax resident.
The right adviser should ask for facts, dates, documents, and countries. If the answer is instant and confident before they know your situation, enjoy the performance and keep looking.
A Sensible First-Year Sequence
In your first month, focus on records. Track arrival dates, contracts, income sources, and where money is being withheld.
Once your housing and NIE/TIE or EU certificate path is clearer, book an initial tax consultation if your case is not a clean local salary. Bring documents, not anecdotes.
Before the end of the calendar year, review whether you may be Spanish tax resident and whether foreign assets or special-regime choices need action.
When Spanish filing season approaches the following year, you should already know whether you are filing, what income and assets are in scope, and whether you need professional help. If that sentence makes you sleepy, good. Tax planning is supposed to be sleepier than tax panic.
What To Read Next
Use Your First 90 Days In Madrid to place tax admin in the wider setup sequence, then read Opening A Bank Account In Spain so your money records are less chaotic. If your confusion is mostly documents rather than tax, start with NIE vs TIE vs Padrón.
Main tradeoffs
- Professional advice costs money, but correcting a bad first-year setup usually costs more.
- Generic expat advice can be useful for vocabulary and dangerous for decisions.
- A simple salaried local job is one thing; remote work, stock, property, or freelance income is another animal entirely.
Sources
- Residencia habitual en territorio español / Agencia Tributaria
- Modelo 149. Régimen especial aplicable a trabajadores desplazados / Agencia Tributaria
- Régimen fiscal aplicable a trabajadores desplazados a territorio español / Agencia Tributaria
- Modelo 720. Declaración sobre bienes y derechos situados en el extranjero / Agencia Tributaria
