Last updated on 25 November 2026 · 9 min read
You register in two places, and both registrations must be in place before you start working. First you tell the Tax Agency what you will do with form 036. Then you join the Social Security scheme for the self-employed, called the RETA, through the Importass portal. Before either step you need a NIE and the right to work on your own account, which EU citizens have automatically and other nationals obtain with the right permit. Registration is free. The monthly contribution starts at about €88 for the first year under the flat rate.
Key facts
- Who must register. Anyone who carries on an economic activity personally, habitually and for profit without an employment contract.
- Right to work. Automatic for EU, EEA and Swiss citizens. Other nationals need a residence permit that authorises self-employment.
- Tax Agency. Form 036, filed before the activity starts. The simplified form 037 no longer exists.
- Social Security. Registration in the RETA before the start date. It can be filed up to 60 days ahead.
- Cost of registering. None. Both procedures are free and can be done online.
- Monthly contribution. A flat rate of €80 plus a small surcharge for the first 12 months, and then between about €206 and €607 at the minimum base, according to your net income.
- First obligations. Invoices with VAT, quarterly returns and a yearly income tax return.
A self-employed person in Spain is an autónomo. The status covers freelancers, shopkeepers, tradespeople and independent professionals alike. Three different offices are involved, each explains only its own part, and the order in which you visit them matters. This guide puts the steps in sequence and marks what changes for EU citizens and for everyone else.
In this guide
Step 1. Check that you are allowed to work for yourself
| Your situation | Can you register as self-employed? |
|---|---|
| Citizen of the EU, the EEA or Switzerland | Yes. You need a NIE and, if you stay more than three months, your registration as a resident EU citizen |
| Non-EU national living abroad | Not yet. You first apply at the Spanish consulate for a residence and self-employed work visa |
| Non-EU national with a residence and work permit as an employee | Only if the permit has been changed or extended to cover self-employment. Check before you register |
| Spouse, partner or child reunified with a resident | Yes. The family reunification permit allows work as an employee or on your own account |
| Long-term resident | Yes, on the same terms as a Spanish national |
| Holder of a digital nomad permit | Within limits. The permit is for remote work for clients abroad, and work for Spanish clients is capped. See our digital nomad visa guide |
If you are outside the EU and none of the rows fits, the route is the initial permit for residence and self-employed work in Title IV of the Immigration Regulation. The consulate looks at your qualifications, the investment you plan and whether the activity can support you. Registering with the Tax Agency or with Social Security without that permit does not give you the right to work, and it can harm a later application. Our overview of Spanish visa types places this permit among the others.

Step 2. Get the numbers and the digital access
- NIE. Your foreigner identification number. Without it the Tax Agency cannot register you. Read how to get a NIE.
- Social Security number. If you have never worked in Spain, you request it free of charge through Importass or at a Social Security office.
- Digital certificate or Cl@ve. Both registrations are made online. A digital certificate from the national mint, the FNMT, or the Cl@ve system identifies you. Without one of them, an authorised adviser can file in your name.
- A Spanish bank account. Contributions are collected by direct debit on the last working day of each month.
Step 3. Register with the Tax Agency
You file the census declaration, form 036, before the activity begins. Since 3 February 2025 it is the only form, because the simplified form 037 was withdrawn. In it you declare four things.
| What you declare | What it means | Typical choice for a freelancer |
|---|---|---|
| Activity | The heading of the business activity tax, the IAE, that describes what you do | The heading for your profession. Individuals register for the IAE but do not pay it |
| Start date | The day from which you may invoice | The same date as your Social Security registration |
| VAT | Whether your services carry VAT and under which regime | General regime at 21%, with quarterly returns |
| Income tax | How your profit will be calculated | Simplified direct assessment, with quarterly instalments |
The headings and regimes you choose decide which returns you will file later, so this form deserves more care than its length suggests. Our guide to VAT returns for freelancers explains what follows from the VAT boxes.
Step 4. Register with Social Security
Registration in the RETA must be requested before you start, and it can be filed up to 60 days in advance (Royal Decree 84/1996). A registration filed late takes effect from the day the activity actually began, with surcharges on the contributions that were not paid on time. You file through Importass and choose three things.
- Your expected net income. You estimate your monthly profit for the year, and the estimate places you in one of 15 income bands. Each band has a minimum and a maximum contribution base.
- Your base. Within the band, a higher base means a higher contribution and better benefits. You can change it up to six times a year.
- Your mutual insurer. The body that will manage sick pay and accidents at work.
New registrants can ask for the flat rate at this moment. It is €80 a month for the first 12 months, plus the intergenerational equity surcharge, which brings the payment to about €88 in 2026. It can continue for 12 more months if your net income stays below the minimum wage. The request must be made when you register. Our guide to social security contributions for the self-employed has the full table of bands and explains the yearly adjustment.
- Right to workEU citizens have it. Others need a permit that allows self-employment.
- NIE and Social Security numberBoth are free and both are needed for every later step.
- Digital accessA digital certificate or Cl@ve lets you file everything online.
- Tax AgencyForm 036 declares your activity, your VAT regime and your start date.
- Social SecurityRegister in the RETA through Importass before the day you start.
- First invoiceOnly now can you invoice, charge VAT and apply withholding.
Example
Giulia starts as a translator on 1 October
Giulia is Italian and has lived in Barcelona since June. She expects to earn about €1,800 a month after expenses.
| Date | What she does |
|---|---|
| June | Registers as a resident EU citizen and receives her NIE |
| Early September | Obtains a digital certificate and her Social Security number |
| 22 September | Files form 036 with a start date of 1 October, VAT in the general regime and simplified direct assessment |
| 24 September | Registers in the RETA with effect from 1 October and requests the flat rate |
| 1 October | Issues her first invoice |
| 31 October | Pays her first contribution, about €88 |
Without the flat rate, Giulia’s income of €1,800 would place her in the band from €1,700 to €1,850, where the minimum base is €1,143.79 and the contribution is €360.29 a month in 2026.
Example
Raj cannot register yet
Raj is an Indian software consultant who lives in Bangalore and wants to move to Valencia and work for Spanish clients. He has no residence permit. If he obtained a NIE and filed form 036 as a non-resident, he would still have no right to work in Spain. His first step is the visa for residence and self-employed work at the Spanish consulate. Only when it is granted and he has entered Spain does he follow steps 2 to 4.
Your first invoice and your first quarter
From the start date you are in business, and three duties begin at once.
- Invoices. Each invoice carries a number, the date, your name and NIE, the client’s details, a description, the taxable amount and the VAT.
- Withholding. When a professional invoices a Spanish business or another professional, the client withholds 15% of the fee for income tax and pays it to the Tax Agency. New professionals may apply 7% in the year they start and the two that follow, if they tell the client in writing.
- Quarterly returns. VAT with form 303 and, in most cases, an income tax instalment with form 130. They are filed in the first 20 days of April, July and October and in January for the last quarter. From 2027 two things change under Royal Decree-law 43/2026. Freelancers with a turnover of up to €85,000 can opt for one annual VAT return with three payments on account, and the form 130 instalment falls from 20% to 19% of the profit when turnover is below €250,000.
There is no income threshold below which registration is optional. The law asks whether the activity is habitual, not how much it earns. If you invoice regularly, register, even if the amounts are small. The lowest contribution band exists for exactly that case.
Autónomo or limited company?
Most people who start alone begin as autónomos, because it is quick and has no set-up cost. A limited company separates your personal assets from the business and is taxed differently, but it costs more to create and to run, and its director normally has to be registered in the RETA anyway. We compare the two in our guide to setting up a Spanish limited company.
Mistakes we would check first
- Registering with the Tax Agency and forgetting Social Security, or the reverse. The two offices compare their records.
- Giving different start dates in the two registrations.
- Invoicing before the start date declared on form 036.
- Not asking for the flat rate at the moment of registration. It cannot be claimed afterwards.
- Choosing the wrong IAE heading, which can change whether you must charge VAT or apply withholding.
- For non-EU nationals, treating a NIE or a tax registration as if it were a work permit.
- Estimating net income too low to pay less. The difference is collected the following year.
Frequently asked questions
Can a foreigner be self-employed in Spain?
Yes. EU, EEA and Swiss citizens can register like Spanish nationals. Other nationals need a residence permit that authorises self-employment before they register.
How much does it cost to register as autónomo?
Registering is free. What you pay is the monthly Social Security contribution, which is about €88 during the first year under the flat rate and from about €206 a month after that, according to your net income.
Do I register with the Tax Agency or with Social Security first?
Usually the Tax Agency first, because Social Security asks for the activity you declared. Both must be done before the start date, and both should carry the same date.
Can I register as self-employed online?
Yes, with a digital certificate or Cl@ve. Form 036 is filed on the Tax Agency’s website and the RETA registration on the Importass portal of Social Security.
Do I have to register if I only earn a little?
If the activity is habitual, yes. The law has no minimum income for the duty to register.
Can I be employed and self-employed at the same time?
Yes. You contribute to both schemes, and part of the contributions can be refunded when the total passes a yearly limit.
What to read next
This guide explains the general rules. It is not legal advice for your situation, and each office can ask for more than the minimum. Read our disclaimer.
Written by Estela Cortés Cortillas, lawyer, Barcelona Bar (ICAB no. 47590). Last reviewed on 26 November 2026.