Foreign Income in Spain: Tax Rules for Spanish Tax Residents
Moving to Spain does not automatically disconnect your salary, investments, rental property or business income from the Spanish tax system.
If you become a Spanish tax resident, Spain generally taxes your worldwide income. That can include money earned from employers, clients, banks, brokers and properties located outside Spain.
This does not necessarily mean paying tax twice. Spain has double taxation treaties with many countries, and Spanish law also provides mechanisms that may reduce double taxation.
The difficult part is identifying which country may tax each type of income, where it must be declared and how much foreign tax can be credited in Spain.
Quick summary
- Spanish tax residents generally declare income earned anywhere in the world.
- Foreign salary, freelance income, dividends, interest, rent, pensions and capital gains may all be relevant.
- A foreign bank account does not make the underlying income exempt from Spanish tax.
- Tax already paid abroad may qualify for a deduction or other treaty relief, but the relief is subject to limits.
- Declaring foreign income is separate from reporting foreign assets through Modelo 720 or Modelo 721.
- Tax residency must be determined before analyzing the income.
Who Pays Tax on Foreign Income in Spain?
The starting point is your tax residency.
A person who is tax resident in Spain is generally subject to Spanish personal income tax, known as IRPF, on worldwide income. A non-resident is normally taxed only on income considered to arise in Spain.
Spanish domestic law commonly looks at factors such as:
- Spending more than 183 days in Spain during the calendar year
- Having the main centre or base of economic activities or interests in Spain
- In some situations, having a spouse and dependent minor children habitually resident in Spain
These rules are more nuanced than simply counting days. Temporary absences, evidence of residence elsewhere and the facts of your economic life may all matter.
When two countries both consider you resident, the applicable double taxation treaty may contain tie-breaker rules involving a permanent home, centre of vital interests, habitual abode and nationality.
Before deciding how foreign income is taxed, establish whether you are resident in Spain for the tax year in question.
What Does Worldwide Income Mean?
Worldwide income means that Spanish tax residency generally brings income from both Spanish and foreign sources into the Spanish tax calculation.
The location of the bank account is not decisive.
For example, income does not normally stop being relevant in Spain merely because:
- It is paid into a UK or US bank account
- It remains inside a foreign brokerage account
- The client or employer is outside Spain
- The invoice is issued in another currency
- The money is not transferred to a Spanish bank
The tax treatment depends on the nature of the income, your residency, the source rules and any applicable treaty.
Common Types of Foreign Income
| Type of income | Typical example | Spanish tax category |
|---|---|---|
| Salary | Salary from a US or UK employer | Employment income |
| Freelance income | Services for foreign clients | Income from economic activities |
| Dividends | Shares held through a foreign broker | Savings income |
| Interest | Interest from a foreign savings account | Savings income |
| Rental income | Rent from a property outside Spain | Income from real estate capital |
| Capital gains | Sale of shares or foreign property | Capital gain or loss |
| Pension | State, occupational or private pension | Depends on the pension and treaty |
Foreign Salary and Employment Income
Receiving a salary from a foreign company does not automatically make the salary foreign-tax-only income.
For employment income, the place where the work is physically performed is often important. A person living and working remotely from Spain for a foreign employer may have Spanish tax obligations even when:
- The employment contract is governed by foreign law
- The employer has no Spanish bank account
- The salary is paid abroad
- Foreign tax continues to be withheld
The treaty between Spain and the employer's country must be checked. Foreign payroll withholding does not by itself prove that Spain cannot tax the salary.
There are also specific exemptions and special regimes that may apply in limited circumstances, including rules for certain work physically performed abroad. Those rules have detailed conditions and should not be confused with ordinary remote work performed from Spain.
Foreign Freelance and Business Income
A self-employed professional based in Spain may work entirely with clients outside Spain and still have Spanish taxable business income.
The client's location and the VAT treatment of an invoice do not determine whether the profit is subject to Spanish income tax.
For example, a service may be outside the scope of Spanish VAT or subject to a reverse-charge rule while the resulting business profit remains relevant for Spanish IRPF.
Self-employed professionals should normally keep:
- Issued invoices
- Contracts and statements of work
- Payment processor and bank records
- Expense invoices and receipts
- Evidence supporting currency conversions
- Foreign tax certificates where tax was withheld
Foreign Dividends
Dividends from foreign companies are generally relevant for a Spanish tax resident even when they remain inside a foreign brokerage account.
The country where the company is established may withhold tax before the dividend reaches your account. Spain may then tax the dividend under its savings-income rules.
A double taxation treaty often limits the withholding tax that the source country may charge. If more tax was withheld than the treaty permits, the excess may need to be reclaimed from the foreign tax authority rather than fully credited in Spain.
Foreign Interest
Interest from foreign savings accounts, deposits, bonds or similar products is generally part of a Spanish resident's worldwide income.
This remains relevant even when:
- The account existed before moving to Spain
- The interest is automatically reinvested
- The bank does not issue Spanish tax documents
- The amount is left outside Spain
The gross income and the foreign withholding tax should be identified separately. Reporting only the net amount received can produce an incorrect Spanish return.
Foreign Rental Income
A Spanish tax resident who owns rental property abroad may need to declare the rental income in Spain.
The country where the property is located often retains the right to tax the rent. Spain may also include the income because the owner is Spanish tax resident.
This is a common case in which both countries may tax the same income and Spain may provide double taxation relief.
Do not assume that the foreign country's calculation can be copied directly into the Spanish return. The deductible-expense, depreciation and timing rules may differ.
Capital Gains from Foreign Investments or Property
Selling foreign shares, funds, cryptocurrency or real estate can create a capital gain or loss for Spanish tax purposes.
The calculation may require converting the purchase price, sale price and transaction costs into euros using the relevant exchange rates.
Currency movements can therefore affect the Spanish gain even when the investment showed a different result in its original currency.
Property gains may also be taxable in the country where the property is located. The applicable treaty and Spanish credit rules then need to be reviewed.
Foreign Pensions
Foreign pensions require special care because treaties often distinguish between:
- Private pensions
- Occupational pensions
- Government-service pensions
- Social Security or state pensions
- Lump-sum pension payments
Different categories may be taxable only in Spain, only in the source country or in both countries with relief.
The name used by the pension provider is not always enough to determine the treaty category. The legal nature of the payment matters.
How Double Taxation Treaties Work
A double taxation treaty does not usually mean that foreign income disappears from the Spanish return.
Instead, a treaty allocates taxing rights between Spain and the other country. Depending on the type of income, it may provide:
- Exclusive taxation in the country of residence
- Exclusive taxation in the source country
- Shared taxing rights
- A maximum withholding-tax rate
- A credit or exemption mechanism for double taxation
The relevant treaty article must be checked for the specific type of income. Salary, dividends, interest, rent, capital gains and pensions are normally addressed separately.
How Spain's Foreign Tax Credit Usually Works
When foreign income has been included in the Spanish tax base and taxed abroad, Spanish law may allow a deduction for international double taxation.
In general terms, the deduction is limited to the lower of:
- The foreign tax actually paid on the income
- The Spanish tax attributable to that foreign income under the applicable calculation
This means paying €1,000 abroad does not automatically create a €1,000 reduction in the Spanish tax bill.
The credit may be lower if the Spanish tax attributable to that income is lower, or if the foreign withholding exceeds the rate permitted by a treaty.
Simplified example
A Spanish tax resident receives foreign dividends and pays withholding tax abroad.
- Gross foreign dividend: €2,000
- Foreign tax withheld: €300
- Spanish tax attributable to the income: €250
In a simplified illustration, the Spanish credit would generally be limited to €250, the lower amount. The exact result depends on the treaty, the type of tax paid and the Spanish return calculation.
What If There Is No Double Taxation Treaty?
Foreign income does not automatically become exempt because Spain has no treaty with the source country.
A Spanish tax resident generally still includes the income in Spain. If the same income was taxed abroad, Spanish domestic law may permit a deduction for international double taxation, subject to its conditions and limits.
Foreign Income Is Not the Same as Foreign Assets
Income reporting and asset reporting are separate issues.
| Question | Foreign income | Foreign assets |
|---|---|---|
| What is reported? | Salary, dividends, interest, rent, gains and other income | Certain accounts, investments, property or crypto |
| Typical form | Annual Spanish income tax return | Modelo 720 or Modelo 721 where applicable |
| Main purpose | Calculate tax on income | Inform the tax authority about assets |
Having no Modelo 720 obligation does not mean foreign income is exempt. Equally, filing Modelo 720 does not replace the need to declare taxable income.
Common Mistakes
Mistake: Declaring only money transferred to Spain
Spanish taxation is generally not based only on transfers to a Spanish bank account. Income kept abroad may still need to be declared.
Mistake: Reporting the net amount after foreign withholding
The return may require the gross income and the foreign tax paid to be entered separately.
Mistake: Assuming foreign tax eliminates Spanish tax
Foreign tax may generate a credit, but the credit is limited and may not cover the entire Spanish liability.
Mistake: Using the foreign country's taxable profit
Spain may calculate deductible expenses, depreciation, capital gains or timing differently.
Mistake: Confusing VAT with income tax
An invoice without Spanish VAT can still create taxable business income for Spanish IRPF.
Mistake: Ignoring exchange rates
Foreign-currency income and transactions generally need to be converted into euros using a supportable method and the relevant dates.
Practical Examples
Example 1: US employer, work performed from Spain
A person lives and works remotely from Spain for a US employer. The salary is paid to a US account.
If the person is Spanish tax resident, the salary may need to be declared in Spain. The fact that the employer and bank account are in the United States does not by itself remove the Spanish obligation.
Example 2: UK dividends
A Spanish tax resident receives dividends from UK shares through a foreign broker.
The gross dividends are generally relevant in Spain even if they remain in the brokerage account. Any foreign tax paid must be analyzed under the treaty and Spanish credit rules.
Example 3: Rental apartment outside Spain
A Spanish resident rents out an apartment in another country and pays local tax there.
The property country may tax the rental income, while Spain may also require it to be included in IRPF. Double taxation relief may apply, but the Spanish taxable amount may differ from the foreign calculation.
Example 4: Foreign freelance clients
A self-employed consultant in Spain invoices clients in Canada and Germany.
The income is generally part of the consultant's Spanish business activity. The VAT treatment and the income-tax treatment must be analyzed separately.
Documents to Keep
Foreign income often creates more documentation work than Spanish income. Keep records that explain both the gross income and any tax paid abroad.
- Employment contracts and payslips
- Invoices and client contracts
- Bank and payment-service statements
- Broker statements and dividend vouchers
- Foreign rental statements and expense documents
- Purchase and sale records for investments
- Foreign tax returns and tax-payment receipts
- Withholding-tax certificates
- Exchange-rate calculations
- Tax residency certificates
- Documents supporting treaty claims
Do not wait until the Spanish filing deadline to request foreign tax certificates. Some banks, brokers and tax authorities take weeks or months to provide them.
Official Sources
- Agencia Tributaria: foreign income received by Spanish tax residents
- Agencia Tributaria: international double taxation deduction
- BOE: Spanish Personal Income Tax Law
Frequently Asked Questions
Do Spanish tax residents pay tax on foreign income?
Generally, yes. Spanish tax residents are normally subject to IRPF on worldwide income, subject to exemptions, special regimes and the applicable double taxation treaty.
Do I pay Spanish tax on a salary from a foreign employer?
Potentially yes. If you are tax resident in Spain, salary from a foreign employer may need to be declared in Spain. The place where you physically perform the work, foreign withholding and the applicable treaty are important.
Do I have to declare foreign dividends and interest?
Spanish tax residents generally include foreign dividends and interest in their Spanish income tax return. Foreign withholding tax may qualify for double taxation relief within the applicable limits.
Can the same income be taxed twice?
In some cases, both the source country and Spain may tax the same income. Treaties and Spanish domestic relief rules are intended to reduce double taxation, but they do not always refund or credit every euro paid abroad.
Is foreign income taxable only when transferred to Spain?
No. Keeping money in a foreign bank, broker or payment service does not by itself prevent Spanish taxation.
Is declaring foreign income the same as filing Modelo 720?
No. Income taxation and foreign-asset reporting are separate obligations. A person may need to declare foreign income without having to file Modelo 720, or may have an asset-reporting obligation in addition to declaring income.
Do non-residents pay Spanish tax on worldwide income?
Generally, no. Non-residents are normally taxed in Spain only on income considered to arise in Spain, subject to non-resident tax rules and any applicable treaty.
What records should I keep for foreign income?
Keep contracts, invoices, payslips, bank and broker statements, tax certificates, proof of foreign tax paid, exchange-rate calculations and documents supporting any treaty position.
Related Guides
- How to File Modelo 130 Yourself in Spain
- How to File Modelo 303 Yourself in Spain
- How to Invoice a Client Outside Spain
- Can Hacienda See Your PayPal Balance?
- Can Hacienda See Your Upwork Income Through DAC7?
- How Much Tax Will I Pay as a Self-Employed Person in Spain?
Preparing your quarterly taxes in Spain?
Autonomo.help guides self-employed professionals through the calculations and official filing steps for Modelo 130 and Modelo 303 without uploading invoices or connecting a bank account.
Start Now