This is general information, not tax advice; your situation may differ.
In brief
You are treated as a Spanish resident for tax purposes if you spend over 183 days in the country within a calendar year, or if your main place of work or economic interests are located here; residents pay tax on worldwide income. For most new arrivals the first obligation is IRPF (income tax), followed by Social Security and then various local taxes. The renta (annual income tax return) covering a calendar year is submitted in the spring of the following year. The key early choices are whether you work as an employee, as an autónomo (self-employed) or remotely for a company abroad, whether you are eligible for the Beckham law, and who will act as your gestor (administrative and tax adviser). Two further guides continue where this one ends: filing your first Spanish tax return and investments and capital gains tax for expats.
When do I become a tax resident in Spain?
Spanish tax law sets out two tests, and meeting either is sufficient. You count as resident if you spend more than 183 days in Spain in the calendar year, or if the core of your activities or economic interests lies in Spain, whether directly or indirectly. Brief trips abroad are still counted as days spent in Spain unless you can demonstrate that you are tax resident in another country. A family presumption also applies: absent proof to the contrary, you are considered resident if your spouse (provided you are not legally separated) and your dependent minor children usually live in Spain.
The arrival year. The fiscal year follows the calendar year, and the sole instance where a full year is not applied is in the event of death, which means Spain does not divide your year of arrival into two periods, "before" and "after". Should you spend more than 183 days in the country, you are considered a resident for that entire year, and all your income from the 1st of January onwards is subject to the Spanish tax system. Individuals who are residents are liable for tax on all their earnings "irrespective of their origin", therefore, any foreign salary, rental earnings, or investment profits must be declared on the Spanish tax return.
When two countries both claim you as a taxpayer. The UK–Spain and US–Spain double taxation agreements apply an identical sequence of tie-breakers: first, the state in which you keep a permanent home; should you have one in each, the state with which your personal and economic relations are closer (your centre of vital interests); next, the state where you habitually reside; after that, your nationality; and if none of these settles the matter, the two tax authorities reach agreement between themselves.
The certificado de residencia fiscal. This is a certificate issued by the Agencia Tributaria (AEAT, commonly known as Hacienda) that confirms you are a tax resident in Spain. A foreign bank, your employer or your home tax office may request it. It can be applied for through the AEAT online office using Cl@ve or a digital certificate, selecting either the treaty country or "no treaty". If you do not yet satisfy the conditions at the time of application, the system produces a refusal document instead of the certificate.
Which taxes will I meet first?
- IRPF, the country's income tax, is paid via deductions from wages and the yearly declaration. The digital submission period for the 2025 declaration was open from 8th April to 30th June 2026 (25th June if payment was made by direct debit). The dates for the 2026 declaration are expected to be revealed in spring 2027.
- IVA, Spain's VAT, applies if you issue invoices to clients as an autónomo. Whether you need to charge it depends on the client and the service concerned; consult the guide to becoming an autónomo as a foreigner.
- IBI (impost sobre béns immobles) is the local property tax. It is calculated from a property's cadastral value, and the bill falls to owners and to holders of certain other rights; tenants, as a rule, do not pay it.
- The waste charge in Barcelona (taxa de residus): our guide sets out how it works.
- Vehicle and import duties. A vehicle that was previously registered overseas is subject to Spain's registration tax (Modelo 576), which must be filed before registration takes place, and from 1st July 2026 online orders worth up to €150 sent from outside the EU incur a flat €3 customs duty for each category of goods, charged on top of IVA.
Am I an employee, an autónomo or a remote worker?
Employee with a Spanish employer
Your employer is obliged to register you with Social Security and to notify the administration of the date you started. Should it not do so, the law allows you to approach the Social Security administration yourself. IRPF is deducted from every payslip, with the annual return settling the difference. Depending on your earnings across the whole year, you should expect either to pay more or to receive a refund, particularly where you have worked for more than one employer.
Paid through a payroll provider or employer of record by a foreign firm
When a payroll provider or employer of record takes you on through a Spanish entity, that entity counts as your employer under Spanish law. It signs you up with Social Security and, being a legal entity that pays work income, must withhold IRPF (Spanish income tax). Before signing, get three points confirmed in writing: which entity employs you, who withholds IRPF, and which country's Social Security covers you. If you remain on a foreign firm's payroll with no Spanish entity involved, the answers are different and you could owe more tax at filing time, so have a gestor check the arrangement before your first payday.
Autónomo
You sign up with the tax office and Social Security, pay a monthly cuota (contribution) and submit returns on a regular basis, which for most people using the direct method includes quarterly IRPF instalments (Modelo 130). Registration is explained step by step in our guide to becoming an autónomo, while the financial side is dealt with in the autónomo bank account guide.
Remote worker for a foreign company
Anyone resident in Spain is liable for tax here on that income. Remote workers holding the international teleworking visa may be able to use the Beckham law (see below). Whether Spanish tax is withheld at source at all hinges on how you are paid, so be prepared to settle the full amount when you file your return.
How do Social Security, the health centre and the targeta sanitària connect?
At the start of any job, it falls to the employer to apply to Social Security for the worker's registration, after which the employee is issued a número de afiliación (Social Security number). Self-employed workers (autónomos) handle their own registration. That same registration also gives access to the public health system.
In Catalonia, the health card is the targeta sanitària individual (TSI), issued by CatSalut, the Catalan health service. The essential condition is that you are registered on the municipal register (padró) of a Catalan town, as set out in our guide to empadronamiento. CatSalut states that anyone with a work contract, a pension or a Social Security benefit is already registered with Social Security and already has an established right to care. Such people therefore apply for the TSI straight to CatSalut, either online or at their CAP (primary care centre), without first applying to Social Security. When going to the CAP, take ID (passport, DNI or NIE) and a register certificate issued within the previous three months, unless your town hall permits an online check. The three months refers to how recent the certificate must be, not to a waiting period before you can register. Those unable to access Social Security are assessed individually to determine their level of coverage.
Counting pension years from the UK or the US
UK. The Social Security Protocol within the UK–EU Trade and Cooperation Agreement allows contribution periods in the other country to be aggregated when calculating retirement pensions. According to GOV.UK, years of contributions paid abroad can count towards the minimum qualifying years required for the UK State Pension, normally 10, though the payment itself is based solely on the UK National Insurance record. Spain's Ministry of Inclusion sets out the same arrangement from the Spanish perspective, on condition that the periods do not overlap.
United States. The social security arrangement between the United States and Spain, which has been effective since 1st April 1988, prevents dual contributions to both systems for identical employment and permits the aggregation of credits from both nations to fulfil minimum eligibility criteria. The resulting US benefit is calculated solely based on your US-covered periods. A new agreement was signed in April 2024; we were unable to confirm its entry into force, so please consult the US Social Security Administration page on agreements.
The A1 and the certificate of coverage
An A1 is an EU document confirming which country's Social Security system you contribute to when you are posted temporarily to another EU member state. Spain's Social Security Treasury (TGSS) provides it for workers posted abroad from Spain, for periods of up to 24 months where the assignment is not expected to exceed that length. In the UK, HMRC issues the equivalent document under the Trade and Cooperation Agreement. For workers from the US, the counterpart is a certificate of coverage: under the US agreement, an employee posted to Spain for five years or less generally remains within US coverage. None of these is required if you simply relocate and take up a Spanish job; they apply only when a foreign employer posts you here temporarily.
What is the Beckham law?
The "Beckham law" is a common term for Spain's specific rules for individuals relocating here for employment. Rather than standard IRPF percentages, you incur taxation as if you were a non-resident on income originating in Spain: a 24% rate on earnings up to €600,000, and 47% on amounts exceeding that. This regime remains in effect for the year you arrive and the subsequent five fiscal years. A prerequisite is that you must not have held Spanish tax residency in the preceding five years. Its primary beneficiaries are employees, although the legislation also extends to company directors, entrepreneurs, certain highly skilled professionals, and remote workers holding the teleworking visa. To apply, you submit Modelo 149 within a six-month period from the commencement date indicated on your Spanish Social Security enrollment. Individuals under this regime are still required to submit a tax declaration: Modelo 151, during the same period as the regular renta. A comprehensive explanation of the Beckham law will be available soon.
Do I need a gestor, and how do I choose one?
A gestor generally takes care of tax returns, Social Security registration and comparable administrative work. No other tax subject comes up more often in the community, and the straightforward answer is that a good one covers its own cost within your first year, particularly where you have income in two countries. We have not published typical fees: no dependable price list could be verified, so request a written quote. Begin with our shortlist of English-speaking gestors. When comparing:
- Do they work in English, and can they explain things comfortably in writing?
- Do they grasp the tax rules of your home country, or do they collaborate with somebody who does?
- Will they provide a written breakdown of fees setting out what is covered and what carries an additional charge?
- Whose job is it to meet the deadlines, and what are the consequences if one is missed?
- Are they a member of the professional college of gestors administratius in Catalonia? Check before you sign up.
Visa and residency queries are covered in the guide to English-speaking lawyers and in the guide to NIE and TIE appointments.
Three tax myths, corrected
"Hacienda charges 200%"
No such flat rate exists. Where a late return is filed unprompted by the tax office, the surcharge is 1% plus 1% for every full month of delay, capped at 12 months, and 15% plus late-payment interest beyond that. Penalties for underpaying a self-assessed tax are 50% of the amount owed where the infringement is minor, 50% to 100% where it is serious and 100% to 150% where fraudulent means were employed, charged in addition to the tax and interest. A large bill is therefore possible in cases of deliberate concealment, but an honest error that you put right yourself attracts a surcharge, not a multiple.
"Beckham people don't file"
They do, yes. The regime has a separate annual return, Modelo 151, which is filed within the same window as the standard renta. It takes the place of the ordinary declaration; it does not do away with the obligation to file.
"Banks refuse Americans"
The rule that matters here is reporting, rather than a prohibition. Under a FATCA agreement between Spain and the US, Spanish financial institutions identify account holders who are US persons and pass that information to the IRS via the Spanish tax authority. That is the reason sign-up forms ask whether you are a US tax resident. Banks and platforms may nonetheless turn away US clients on their own initiative to avoid the administrative burden, so check with a provider before depending on it.
Boxes for home-country filing
If you are a US citizen
- US citizens are liable for tax on their worldwide income no matter where they are resident, according to the IRS, and face the same filing obligations as those living in the US. Further details are set out in IRS Publication 54.
- Individuals residing overseas are granted an automatic two-month extension, moving their filing deadline to June 15th, provided they include an attached statement that clarifies the reason.
- For 2026, the foreign earned income exclusion stands at a maximum of $132,900 for each qualifying individual, and it is claimed on Form 2555. The foreign tax credit provides the other principal form of relief.
- An FBAR (FinCEN Form 114) must be filed when the combined balance of overseas accounts exceeds $10,000 at any point during the year.
- Double taxation is avoided under the US–Spain tax treaty of 1990, together with a protocol that has been in force since 27th November 2019. Details are on the IRS page on the treaty.
If you are British
- HMRC's Statutory Residence Test determines your UK residence on a tax-year-by-tax-year basis. Where you were UK resident in at least one of the three preceding tax years, spending under 16 days in the UK in the tax year makes you non-resident under the automatic test. In other cases, the sufficient-ties test is the one that applies: RDR3 notes.
- Should you be claimed as a tax resident by both nations, the terms of the UK–Spain Double Taxation Convention's tie-break rule will apply. You would then need to claim tax relief using the HMRC helpsheet that discusses dual residency (HS302). Typically, a certificate of overseas residence is required for this process, which corresponds to the aforementioned Spanish residence certificate.
- If you are still a UK resident or receive UK income, you will normally still need to submit a Self Assessment return. Ask your gestor to liaise with a UK adviser.
Your first-year checklist
- Obtain your NIE and sign on to the municipal register (guide to the NIE and TIE, guide to empadronamiento).
- Start counting your days in Spain from your arrival date, and keep a record of your travel.
- Decide how you will work: as a Spanish employee, through an employer of record, as an autónomo or as a foreign remote worker.
- Confirm that your Social Security registration has been completed and make a note of your número de afiliación.
- Request your TSI health card from CatSalut once you are registered.
- If you might be eligible for the Beckham law, observe the six-month period for Modelo 149 from your start date.
- Choose a gestor and get the fees in writing.
- If a foreign bank, employer or tax office requires proof, request your certificado de residencia fiscal.
- Review the rules that apply in your home country: for Americans, IRS filing and FBAR; for Britons, Self Assessment and the Statutory Residence Test.
- Keep payslips, invoices, bank statements and withholding certificates for the return in one folder.
- Make a note of the renta dates: online filing for the 2025 return ran from early April to 30th June.
- Before you put money in or sell any assets, read the guides on filing your first return and on investing and capital gains tax.
Sources
- Ley 35/2006 (IRPF), articles 2, 9, 12, 13 and 93: boe.es
- Orden HFP/1338/2023 (Modelos 149 and 151): boe.es
- Ley General Tributaria, articles 27 and 191: boe.es
- Ley General de la Seguridad Social, article 139: boe.es
- Reglamento del IRPF, article 76: boe.es
- AEAT campaign note, Renta 2025: agenciatributaria.gob.es
- AEAT, residence certificate request: agenciatributaria.gob.es
- CatSalut, first TSI: catsalut.gencat.cat
- AEAT, parcels up to €150: agenciatributaria.gob.es; registration tax: agenciatributaria.gob.es
- UK–Spain Double Taxation Convention: gov.uk
- US–Spain income tax convention: irs.gov
- IRS Publication 54 and foreign earned income exclusion: irs.gov
- US Treasury, FATCA Agreement with Spain (14th May 2013): home.treasury.gov
- GOV.UK's pages on the new State Pension and living or working overseas: gov.uk; Spain's Ministry of Inclusion on the UK Protocol: inclusion.gob.es
- The Spanish government's guidance on posted workers and the A1 form is at administracion.gob.es; HMRC's advice on national insurance while abroad is at gov.uk.
- US Social Security Administration, Spain agreement: ssa.gov