Every year, Barcelona attracts thousands of freelancers and remote workers from all over the world. The climate, quality of life and entrepreneurial ecosystem make the city one of the top choices for international professionals who can work from anywhere.

However, moving to Barcelona has specific tax implications that you should be aware of before you arrive, not afterwards.

First things first: do you need a visa to work remotely in Spain?

It depends on your nationality and how you’re going to work:

  • Citizens of the EU, the EEA and Switzerland: you may settle in Spain without a visa and work as a self-employed person or remotely without any special permit.
  • Non-EU nationals: you need authorisation to live and work in Spain. The most suitable option for freelancers and digital nomads is the Digital Nomad Visa, which has been in force since 2023 and allows you to live in Spain for up to five years whilst working remotely for companies or clients outside Spain.

Without the correct authorisation, it is not possible to regularise your tax status or register as a self-employed person. The order is important: first your immigration status, then the tax formalities.

When do you become a tax resident in Spain?

This is the most important question and the one that causes the most surprises. As soon as you have spent more than 183 days in Spain during the calendar year, the tax authorities consider you to be a tax resident, and you must pay tax here on your worldwide income – that is, on all your income, regardless of where it was earned.

However, even if you do not exceed 183 days, you may still be considered a tax resident if your main centre of economic interests is in Spain: if your business, your main clients or your assets are based here, the tax authorities may classify you as a resident. If you are unsure about your situation, the most prudent course of action is to carry out a tax residency assessment before settling here.

Registered as self-employed or working remotely: which applies to you?

There is an important distinction that many international freelancers do not fully understand:

  • If you work exclusively for a foreign company as an employee and do not invoice clients directly, you may not need to register as self-employed in Spain, although you will still have to declare that income if you are a tax resident.
  • If you invoice clients directly, whether they are Spanish or foreign, you must register with the tax authorities and the social security system before issuing your first invoice.

The distinction between the two situations is not always clear and depends on the nature of the employment relationship. If in doubt, it is best to seek advice before assuming that the obligation does not apply.

Tax checklist for freelancers and remote workers in Barcelona

Before you arrive

  • Check whether you need a visa or a work permit.
  • Assess the impact on your current tax residence and whether there is a double taxation agreement between Spain and your country.
  • Inform your tax adviser in your home country of your planned move.

In the first 30 days

  • Apply for an NIE (Foreigners’ Identification Number), which is essential for any tax or administrative procedures.
  • Registering as a resident with Barcelona City Council.
  • Open a Spanish bank account.

Before you start invoicing

  • Register with the tax authorities using form 036 or 037.
  • Register with the RETA scheme under the Social Security system.
  • Obtain a digital certificate or activate Cl@ve.
  • Assess whether the requirements for eligibility under the Beckham law are met.

On a recurring basis

  • Quarterly VAT returns (Form 303) and personal income tax returns (Form 130).
  • Annual Income Tax Return (Form 100).
  • If you have accounts or assets abroad worth more than €50,000, Form 720.

The Beckham Act: an opportunity not everyone is aware of

If you are moving to Barcelona for work and have not been a tax resident in Spain for the previous five years, you may be eligible for the special scheme for posted workers, known as the Beckham Law. This scheme allows you to be taxed at a flat rate of 24 per cent on income earned in Spain up to €600,000 per year, rather than under the progressive personal income tax scale, which can reach 47 per cent.

The application must be submitted within six months of commencing business in Spain using Form 149. Once granted, the scheme applies to the current year and the following five years. The application window closes soon, so it is advisable to look into this as soon as possible.

What about your income from abroad?

If you are a tax resident in Spain and continue to receive payments from clients or employers in other countries, that income must also be declared in Spain. If your country of origin has a double taxation agreement with Spain, you can avoid being taxed twice on the same income by applying the provisions of the relevant agreement.

Spain has agreements in place with more than 90 countries. If you work for clients in the United Kingdom, the United States, Germany or most Latin American countries, there is a mechanism in place to avoid double taxation, provided the situation is properly documented and managed.

The most common mistake made by international freelancers in Barcelona

Arrive, settle in, start working and leave the tax formalities until later. This pattern is the source of most of the problems we see in our practice: months of business activity without being registered with the tax authorities, invoices issued without VAT when it should have been charged, or undeclared income from abroad. It is always possible to regularise an irregular tax situation, but it costs far more than doing it properly from the outset.

Conclusion

Working from Barcelona as a freelancer or remote employee is perfectly feasible, but it does require a bit of planning before you arrive. Knowing when you acquire tax residency, what obligations this entails and which special schemes may apply makes all the difference between a well-organised situation and one that ends up causing problems with the tax authorities.

At GR International Advisors, we support international professionals from the initial assessment prior to relocation right through to day-to-day tax management in Spain. Please contact us before you arrive.