Aedara

Relocation

Becoming Self-Employed in Spain as a Foreigner: Process and Real Costs

6 min read

Spain is one of the most popular destinations for international professionals who want to work independently from Europe. The combination of climate, quality of life, geographic position, and access to the European market makes Madrid a very attractive base. But the registration process for self-employment has specific steps depending on your nationality and residency status.

Step zero: your residency situation determines the path

Before registering as self-employed, you need to regularise your immigration status. The process differs significantly depending on your background:

EU/EEA citizens: Free to work in Spain without a work permit. They need a NIE and EU citizen registration certificate. No specific work authorisation required.

Non-EU citizens with a digital nomad visa: The digital nomad visa allows you to live and work in Spain as a freelancer, provided at least 80% of your income comes from clients outside Spain. It is compatible with self-employment registration.

Non-EU citizens with a self-employed work authorisation: If you plan to serve clients in Spain or do not qualify for the digital nomad visa, you need a self-employment authorisation (autorización de trabajo por cuenta propia), processed at the Spanish consulate in your home country before arriving.

Non-EU citizens already residing in Spain: If you already have legal residency through another route (family reunification, converted non-lucrative visa, etc.), you can register directly in Spain.

The three mandatory registration steps

Once your immigration status is sorted, self-employment registration in Spain has three main steps that must be done in order:

1. Tax registration with Hacienda — Modelo 036 or 037

The first step is declaring the start of your economic activity to the Tax Agency. The Modelo 037 is the simplified version and covers most self-employed people. Modelo 036 is for more complex situations — partnerships, multiple VAT regimes, or specific needs.

You declare:

  • The economic activity you will carry out (classified by IAE code)
  • Whether you are subject to VAT or exempt
  • Whether you will use the simplified direct assessment regime (recommended for most)

Registration with Hacienda is free. It can be done online with a digital certificate or in person at any Tax Agency office.

2. Social Security registration — RETA

The RETA (Special Social Security Regime for Self-Employed Workers) is the mandatory monthly contribution. Since the 2023 reform, contributions vary based on estimated net annual income.

| Estimated monthly net income | Approximate monthly contribution | |---|---| | Up to €670 | €225 (minimum rate) | | €670–€1,300 | €275–294 | | €1,300–€3,190 | €294–350 | | Above €3,190 | €350–590 |

The reduced start-up rate for new self-employed workers is €80/month for the first year (extendable to a second year if income stays below the minimum wage). This applies regardless of nationality if the requirements are met.

3. Municipal registration (in some cases)

If your activity involves a premises, works, or a specifically regulated activity in Madrid, you may need a prior notice or activity licence. For fully remote activities — consulting, programming, design, digital services — no municipal registration is needed.

Person working on a laptop in a Madrid office

Tax residence and its implications

Once registered, your taxation depends on whether you are a tax resident in Spain or not.

Tax resident (more than 183 days per year in Spain): you pay Spanish income tax (IRPF) on your worldwide income. Annual return on Modelo 100. Rates range from 19% to 47% in brackets.

Non-tax resident: if you invoice from Spain but spend fewer than 183 days per year in the country, you pay Non-Resident Income Tax (IRNR) at a flat rate of 24% (19% for residents in EU/EEA countries). Many double taxation treaties reduce this rate.

Whether being a tax resident or non-resident is more advantageous depends on your personal situation, your country of origin, and your income level. Consulting a tax adviser specialised in expatriates before deciding is always the right move.

The Beckham Law — does it apply?

If you move to Spain to work as an employee, you may be eligible for the Beckham Law (special impatriate regime), which caps taxation at 24% for up to six years. However, this regime does not generally apply to self-employed workers, except in very specific cases related to entrepreneurship.

The special regime does apply to:

  • Workers relocated by their employer
  • Company directors (under certain conditions)
  • Entrepreneurs creating an innovative company in Spain

If your situation fits, it is worth exploring this before registering as an ordinary self-employed worker.

VAT: when it applies and when it does not

Self-employed workers in Spain are generally required to file quarterly VAT returns (Modelo 303) if their services are VAT-able. The standard rate is 21%.

Key exceptions where VAT does not apply:

  • Clients in other EU countries with a VAT number: intra-community supply, zero VAT.
  • Clients outside the EU: service export, zero VAT.
  • Exempt activities by law: educational, healthcare, and certain financial services.

For self-employed people with predominantly international clients, VAT liability is often zero or very low.

Real costs of becoming self-employed as a foreigner

| Item | Cost | |---|---| | Registration (Hacienda, Social Security) | €0 (DIY) or €150–300 (gestoría) | | RETA year one (reduced rate) | €80/month = €960/year | | RETA from year two | Variable by income: €225–590/month | | Monthly tax adviser / gestor | €50–150/month | | Digital certificate | €0–25 |

The real cost of being self-employed in Spain is quite manageable during the first year thanks to the reduced rate. From year two, the RETA contribution is the main fixed cost, regardless of what you invoice.

Tax residency transfer

If you are settling in Madrid as a self-employed worker, you will likely also need to handle the transfer of your tax residency to Spain. This involves notifying the tax authorities in your home country and presenting documentation proving your new Spanish residency.

The order matters: first regularise your immigration status (NIE), then register for tax and self-employment, then notify your home country of the residency change. Getting the sequence wrong can result in being taxed in two countries simultaneously during the transition.

At Aedara, we coordinate this type of relocation with the fiscal, legal, and administrative specialists you need at each stage.


References:

  • Spanish Social Security — Special Regime for Self-Employed Workers (RETA).
  • Agencia Tributaria — Start of economic activities: Modelos 036 and 037.
  • Law 14/2013, of 27 September, supporting entrepreneurs and their internationalisation.