Employment

Can someone living in Spain work freelance or remotely for a Gibraltar company?

Short answer

Yes, but where the work is physically done decides the rules. Work performed from home in Spain is Spanish activity: a freelancer must register as autónomo with Hacienda and Social Security, and an employee working remotely from Spain generally falls under Spanish social security. The Gibraltar company also needs to manage Spanish tax residence and permanent establishment risk.

Detailed answer

Yes, but the place where the work is physically done decides the rules.

Freelancing from Spain

  • Register with the Agencia Tributaria (modelo 036 or 037) and with Social Security under RETA.
  • Pay IRPF with quarterly filings.
  • B2B services to a Gibraltar business have been treated as outside Spanish IVA; confirm post-treaty treatment.
  • Exclusive, directed work for one client risks reclassification as falso autónomo.

Remote employment from Spain

The employer generally needs Spanish payroll (direct registration or an employer of record), as social security follows the place of work.

Risks for the Gibraltar company

Under the 2019 tax agreement, a Gibraltar company is treated as Spanish resident if, for example, most of its effective managers are Spanish tax residents or it is controlled from Spain. Spain-based staff can also create a permanent establishment.

Working physically in Gibraltar

Self-employed work done in Gibraltar requires registration with the Department of Employment and Gibraltar social insurance at 20%.