How to File Your Spanish Tax Return When You Work in Gibraltar

Posted by:

|

On:

|

A Complete Guide for Cross‑Border Workers

Working in Gibraltar while living in Spain is incredibly common, especially for residents of the Campo de Gibraltar. But when tax season arrives, many workers suddenly face a maze of questions:

  • Do I have to declare my Gibraltar salary in Spain?
  • What other income is taxable if I’m a Spanish resident?
  • How do I declare Gibraltar income correctly?
  • Why doesn’t the €22,000 exemption limit apply?

If you’re in this situation, this guide will walk you through everything you need to know — clearly and without jargon.

1. If You Live in Spain, You Are a Spanish Tax Resident

Spanish tax residency is based on two main criteria:

  • You spend more than 183 days per year in Spain, or
  • Your main economic interests are in Spain

If either applies, you are a Spanish tax resident.

And Spanish tax residents must declare their worldwide income.

This means your Gibraltar salary must be declared in Spain.

2. How Gibraltar Employment Income Is Taxed in Spain

If you live in Spain but work in Gibraltar, your salary is treated as employment income earned abroad, and it must be included in your Spanish tax return. Spain taxes residents on their worldwide income, regardless of where it is generated or who pays it. When declaring Gibraltar income, you must report your gross salary, deduct any mandatory Gibraltar social insurance contributions, and apply the corresponding foreign tax credit for the PAYE tax paid there, following the rules of the Spanish Income Tax Law.

3. Can You Deduct Gibraltar Social Insurance? Yes.

Mandatory social insurance contributions paid in Gibraltar are considered equivalent to Spanish Social Security.

This means:

They are deductible as employment expenses in your Spanish tax return.

This reduces your taxable base and lowers your final tax bill.

4. What About the PAYE Tax You Paid in Gibraltar?

You don’t lose it.

Spain allows a foreign tax credit (deducción por doble imposición internacional) for the PAYE you paid in Gibraltar.

This prevents double taxation — although the credit is capped at the amount of Spanish tax due on that income.

5. Why the €22,000 Rule Does NOT Apply to Gibraltar Income

In Spain, employees with a single Spanish employer do not need to file a tax return if they earn less than €22,000.

However, this rule does not apply to Gibraltar workers.

Why?

Gibraltar is considered a foreign payer

Foreign employers do not withhold Spanish IRPF

Therefore, the “single payer” rule cannot apply

Instead, the rule for multiple payers applies:

You must file a tax return if you earn more than €14,000 from a foreign employer.

In practice, almost all Gibraltar workers must file a Spanish tax return.

6. What Other Income Is Taxable in Spain If You Are a Resident?

As a Spanish tax resident, you must declare all worldwide income, including:

  • Employment income (Spain or abroad)
  • Foreign and Spanish pensions
  • Rental income
  • Bank interest
  • Dividends
  • Capital gains (shares, funds, crypto, property)
  • Imputed income from second homes
  • Self‑employment income

Spain taxes everything, regardless of where it comes from.

7. Documents the Spanish Tax Office (AEAT) May Request

If AEAT reviews your case, they may ask for:

  • Gibraltar payslips
  • Hacienda letter
  • Social insurance contribution records
  • Employment contract
  • Bank statements
  • Proof of Spanish residence

This is normal — cross‑border workers are frequently reviewed.


Final Thoughts

If you live in Spain and work in Gibraltar, you must declare your Gibraltar salary in your Spanish tax return. You can deduct Gibraltar social insurance and claim a foreign tax credit for PAYE, but the €22,000 exemption rule does not apply.

Filing correctly is essential to avoid problems with AEAT — and to make sure you don’t overpay.


Need help with your Spanish tax return or an AEAT request?

I can guide you through:

  • Declaring Gibraltar income correctly
  • Applying the foreign tax credit
  • Deducting Gibraltar social insurance
  • Responding to AEAT letters or audits
  • Reviewing your residency status

Just tell me what you need and we’ll tackle it together.

Disclaimer: The information provided in this blog post is for general guidance and informational purposes only. It does not constitute legal, financial, or tax advice. For personalised advice tailored to your specific situation, please consult a qualified tax advisor or accountant.

Posted by

in