Gestly ESAvailable on the App Store
Blog

How to deregister as self-employed in Spain: steps, deadlines and pending obligations

Indicative information and official sources.

Key figures checked against official sources on November 15, 2026 · 8 min read · Leer en español

To deregister as self-employed you must complete two procedures: deregistration with Social Security (RETA) and census deregistration with the Tax Agency using form 036. Afterwards you must file the taxes for the last period and keep your documentation for the legal period. This guide explains the order, the usual deadlines and the mistakes that cost the most. It is for general information: confirm the current deadlines and requirements with Social Security and the Tax Agency.

Step 1: decide the cessation date

The date you stop carrying out the activity determines everything else: from that day you stop invoicing, and the deregistration deadlines are counted from it. Before that date, issue all your pending invoices, collect what you can and notify your clients and suppliers. If you have ongoing contracts, check the termination clauses.

Step 2: deregistration with Social Security (RETA)

RETA deregistration is requested from Social Security, normally on its online office with a digital certificate or Cl@ve. The deadline to report it is short (as a rule, a few calendar days from cessation), and the effects depend on the date you file. If you are late, you may keep paying the fee for a period in which you were no longer working. Check the exact deadline and keep the receipt.

Since the 2023 reform, the fee for the month of registration and the month of deregistration may be adjusted by the days of activity. Check how it applies in your case.

Step 3: census deregistration with the Tax Agency (form 036)

Deregistration with the Tax Agency is done with form 036, ticking “deregistration” and the cessation date, within the period set by the rules (generally one month from cessation). It is independent of the previous procedure: deregistering with Social Security does not deregister you with the Tax Agency, and vice versa. See more details in the guide to forms 036 and 037.

Step 4: file pending taxes

  • The quarterly forms for the period in which you cease: 303, 130 and, if applicable, 111.
  • The annual summaries (390 and 190) if they apply.
  • The year's income tax return, which will include income up to the cessation date.

Having deregistered does not remove these obligations: they remain until you file the last period.

What happens to your invoices and books

You must keep the registers, issued and received invoices and supporting documents for the legal periods (at least the tax limitation periods, and in some cases longer). Digitise them and store them safely: the Tax Agency may review earlier years even if you are no longer self-employed. If you collect an invoice after deregistering, the income belongs to the period in which it accrued.

Cessation of activity benefit

If you close your business for involuntary reasons (significant losses, force majeure, among others) and meet the contribution requirements, you may be entitled to the cessation of activity benefit. It requires proving the situation, and the deadlines to apply are strict, so it is worth finding out before deregistering.

If you want to be self-employed again later

You can register again whenever you like. Bear in mind that support and reductions for new self-employed people, such as the flat rate, usually require a prior period without being registered. Deregistering and registering a few months later normally does not give you that right back.

Common mistakes

  • Deregistering with Social Security and forgetting the census deregistration with the Tax Agency.
  • Not filing the last quarter.
  • Continuing to pay the fee because the deregistration was not reported on time.
  • Not keeping the books and invoices.
  • Closing the bank account with pending direct debits.

Checklist

  1. Issue and collect pending invoices.
  2. Notify clients and suppliers.
  3. Request RETA deregistration and keep the receipt.
  4. File the deregistration form 036.
  5. File the last period's taxes and the annual summaries.
  6. Archive books, invoices and supporting documents.

Frequently asked questions

How do I deregister as self-employed?

With two procedures: deregistration from RETA with Social Security and census deregistration with the Tax Agency using form 036.

What is the deadline to deregister?

RETA deregistration must be reported within a few days of cessation, and census deregistration generally within one month. Confirm the current deadlines.

Do I still have to file taxes after deregistering?

Yes: the forms for the last period, the annual summaries if they apply and the income tax return.

How long must I keep invoices and books?

At least for the tax limitation periods, and in some cases longer. It is best to digitise them.

Can I receive unemployment benefit when closing my business?

There may be a right to the cessation of activity benefit if the closure is for involuntary reasons and you meet the contribution requirements.

Do I lose the flat rate if I deregister?

Deregistering and registering a few months later normally does not give back the right to the flat rate.

Official sources

Indicative information

This article is for general information and may become outdated. It is not tax advice: verify the information at the official sources or with a professional.