Skip to content

How to deregister as an autónomo in Spain without mistakes

The two steps to deregister as an autónomo in 2026 (Seguridad Social within 6 days, Hacienda within one month), the returns still to file, unemployment benefit for the self-employed and a worked example of closing on 31 December with real dates.

By Albert SalguedaReviewed by Equipo Melso, Revisión editorialPublished 13 min read
How to deregister as an autónomo in Spain without mistakes

In short

  • There are two separate deregistrations: the Seguridad Social (RETA) within the 6 calendar days after you stop, and Hacienda (Form 036) within 1 month.
  • Since 1 August 2026 the Seguridad Social deadline is six calendar days, not three (Royal Decree 643/2026).
  • If you deregister from the RETA on time, for your first three deregistrations of the year you pay only for the days of the month you were registered. If you are late, you keep contributing and that period gives no right to benefits.
  • Deregistering does not close your taxes: the 303 and the 130 for the quarter you stop and the 390 for the year are still due, if you are required to file them, plus the Renta.
  • Unemployment benefit for autónomos (cessation of activity) is paid if you stop for a legal reason; as a general rule, not if you close because you want to.

The short answer

To deregister as an autónomo (self-employed worker) in Spain you complete two procedures: deregistration from the RETA, within the six calendar days after you stop working, and deregistration with Hacienda using Form 036 (modelo 036), within one month. After that you still have your final returns: the 303 and the 130 for the quarter, the 390 in January and the Renta.

The RETA (Régimen Especial de Trabajadores Autónomos) is the special scheme of the Seguridad Social, Spain's social security system, where you pay your contributions, and the AEAT is the Agencia Estatal de Administración Tributaria, Spain's tax agency (Hacienda).

Important

Many guides still talk about three days. Royal Decree 643/2026, in force since 1 August 2026, extended the RETA deregistration deadline to six calendar days. Counting the deadline wrong can cost you months of cuota (your monthly contribution).

The two procedures at a glance

Seguridad Social (RETA)Hacienda (AEAT)
What you fileRETA deregistration requestForm 036, census return for deregistration
Deadline6 calendar days after you stop1 month from the day you stop
When it takes effectThe day you stop (first three deregistrations of the year)The end date you state
What happens if you are lateYou keep contributing until the last day of the month in which the Tesorería learns you stopped, and that period gives no right to benefitsA €400 fine, or €200 if you file late without a formal request
What is still pendingRegularisation of the year's cuotas303, 130 and 390 for the last period if you are required to file them, and the Renta

The whole process, in order:

Five steps to deregister as an autónomo: set the end date and issue your last invoices, deregister from the RETA within 6 calendar days, file the 036 for deregistration within 1 month, file the 303, the 130 and the 390 if you are required to (in January if you stop in the fourth quarter), and file the Renta for the year you stop.(opens the image in a new tab)
How to deregister as an autónomo, in order

Deregistering as an autónomo with the Seguridad Social

The deadline: six calendar days since August 2026

Article 32.3 of the Registration Regulation (Royal Decree 84/1996) says deregistration requests are filed "within the six calendar days following the day you stop working". Until 31 July 2026 it was three days. Calendar days means Saturdays, Sundays and public holidays count.

Stop on Thursday 31 December 2026 and the deadline runs from 1 to 6 January 2027.

From what day you stop paying the cuota

Under Article 46.4 of Royal Decree 84/1996:

  • The first three deregistrations in each calendar year take effect from the day you stop, as long as you request them on time. You pay only for the days of that month you were registered.
  • From the fourth deregistration of the year, the effect moves to the last day of the month you stop. You pay the whole month.
  • If you do not deregister, or you do it late, the registration stays in place for contribution purposes, but it does not count towards benefits.

For autónomos, Article 47.3 of Royal Decree 2064/1995 spells out that last case: if you do not report your deregistration, the obligation to contribute does not end "until the last day of the calendar month in which the Tesorería General de la Seguridad Social learns of the cessation". If the Tesorería deregisters you on its own initiative, you can prove that you stopped earlier and ask for a refund of what you overpaid.

The cuota for the last month is proportional: under Article 47.1 of Royal Decree 2064/1995, the monthly cuota "is divided by thirty in all cases" and you pay for the days you were registered, whether the month has 28, 30 or 31 days.

How to do it

You deregister on Import@ss, the Tesorería's portal, in the "Altas, bajas y modificaciones" (registrations, deregistrations and changes) section, with a digital certificate or Cl@ve, or through an authorised gestoría. You enter the real date you stopped.

Tip

Download and keep the RETA deregistration receipt the same day. It proves you requested it on time if you later claim unemployment benefit or an unexpected charge arrives.

The regularisation comes later

Since 2023 you contribute according to your real net income. Using the tables in Order PJC/297/2026, you chose a provisional base for 2026 based on what you expected to earn. Once Hacienda passes on your income for the year (after the Renta), the Seguridad Social refunds or claims the difference for the months you were registered. Deregistering does not cancel it. We explain it in detail in the guide to the 2026 autónomo cuota.

Deregistering as an autónomo with Hacienda using Form 036

The deadline: one month

Article 11 of Royal Decree 1065/2007 requires anyone who stops all their activities to file the deregistration return in the census of businesses, professionals and withholders "within one month". It is done with Form 036, the same form you used to register. Form 037 no longer exists. Details are in the Form 036 guide.

If you are an individual, the AEAT has a guided service, Censos WEB, which can also be used "to leave the census". You log in with Cl@ve, a certificate or an electronic DNI, tick the end of the activity, enter the date and submit. Keep the PDF receipt.

If you have several activities and close only one, it is not a deregistration but a change to the 036 that removes that activity heading and keeps the rest.

Deregistering does not close your taxes

The same Article 11 says deregistration does not free you from "filing the returns and meeting the tax obligations that apply to you". You still have:

  • Form 303 (VAT) for the quarter you stop. You declare the VAT accrued in the period up to the day you stop and the input VAT you are entitled to deduct, with any adjustments that apply. The AEAT calendar sets the fourth quarter from 1 to 30 January and the third from 1 to 20 October (Article 71.4 of the VAT Regulations). That AEAT page adds that, if the last day is a non-working day, the deadline ends on the next working day: 30 January 2027 is a Saturday, so the 303 for the fourth quarter of 2026 runs until Monday 1 February. The 2027 calendar has not been published yet.
  • Form 130 (IRPF payment on account) for the same quarter, if you are required to file it, with the same deadlines as the 303 (Article 111 of the IRPF Regulations). Note: under direct estimation (estimación directa), except for agricultural, livestock, forestry and fishing activities, the 130 is cumulative. You apply 20% to the net income from 1 January to the last day of the quarter (Article 110.1.a of the IRPF Regulations): if you stop halfway through a quarter, the 130 is still calculated up to the end of that quarter, with everything that belongs to that period. Under simplified direct estimation, the percentage for hard-to-justify expenses in 2026 rises by 5 points, up to a maximum of €3,000, and it already counts in the fourth-quarter 130 (Royal Decree-law 43/2026, in force and pending validation by parliament). Then you deduct the payments from earlier quarters, withholdings if you are a professional, and the reduction if your income in the previous year did not exceed €12,000: €100 per quarter if it did not exceed €9,000, €75 up to €10,000, €50 up to €11,000 and €25 up to €12,000 (Article 110.3.c of the IRPF Regulations). The exact boxes are in the Form 130 instructions.
  • Form 390 (annual VAT summary) for the year you stop, in the first 30 days of the following January. For 2026, the AEAT has already set the deadline from 1 January to 1 February 2027. The 2025 Form 390 instructions add a nuance for those who were exempt: the exemption does not apply if you left the census before the last filing period of the year began. We cover it in the Form 390 guide.
  • Form 111, if you paid professionals or employees income subject to withholding: the one for the last period in which you paid them. If no withholding was due because of the amount, you still have to file it as a nil return, according to the AEAT page on withholders' obligations.
  • Form 190, the annual summary of those withholdings, if you filed the 111. It is filed in January of the following year (from 1 to 31, or the next working day if the deadline falls on a non-working day), according to that same AEAT page. The one for 2026 is due on Sunday 31 January 2027, so it moves to Monday 1 February.
  • The Renta (Form 100, modelo 100) for the year you stop, in the following year's campaign, with the activity income and expenses that belong to that year under the tax criterion you apply, including those allocated after you stop where appropriate (Article 14 of the IRPF Act).

Under the general VAT scheme, the VAT on a service is declared in the quarter in which you provide it, even if you are paid later. With the cash accounting scheme, it accrues when you are paid or, if you are not paid, on 31 December of the year after the transaction. And your debts with Hacienda or the Seguridad Social do not disappear when you deregister.

How Melso helps

These final returns mix an incomplete quarter with the annual summary, where mistakes are easy. With quarterly taxes with Melso, Melso and its professionals prepare and file the included returns for your activity and tax profile, such as the 303 and the 130 (check whether your plan includes the 390 on the pricing page).

And the fine if you are late

Filing the 036 for deregistration late, with no financial loss for Hacienda, is a minor offence. Article 198 of the General Tax Act sets a €400 fine for census returns, which drops to €200 if you file late but before Hacienda asks you to. A nil 303 filed late costs €200, which can also be halved. On top of those amounts, Article 188.3 applies a further 40% reduction if you pay the penalty on time and do not appeal.

Which comes first, Hacienda or the Seguridad Social?

Start with the Seguridad Social: its deadline is shorter and it keeps charging you monthly if you are late. Then the 036, with the same end date.

If you are closing for economic reasons and plan to claim unemployment benefit for autónomos, you need both deregistrations. In that case, Article 332 of the General Social Security Act requires you to prove deregistration from the tax census and from the RETA, and the closure or transfer of any premises open to the public (Article 331.1.a).

Is there a temporary deregistration for autónomos?

Not as a procedure of its own. To stop for a few months, you either stay registered and pay the cuota, or deregister with both administrations and register again later. With the second option, remember that the fourth deregistration of the year takes effect at the end of the month.

Worked example: Carlos closes on 31 December 2026

Carlos is a web designer in Seville. He is under simplified direct estimation and the general VAT scheme, and files the 303 and the 130 every quarter. His net income is around €1,600 a month, so he contributes in bracket 3 of the general table at the minimum base: €960.78, with a cuota of €302.65 a month under Order PJC/297/2026. He has accepted a salaried job that starts in January, and his last day as an autónomo is Thursday 31 December 2026. It is his first deregistration of the year.

  1. He closes his invoicing. He issues his last invoice on 28 December. He is under the general VAT scheme and does not use the cash basis (criterio de cobros y pagos) for IRPF, so even if he is paid in January, that invoice is declared in the fourth quarter of 2026.
  2. RETA deregistration. He has from 1 to 6 January 2027. He requests it on Monday 4 January, without waiting for the last day. As it is his first deregistration of the year and on time, it takes effect on 31 December. He pays all of December (€302.65) and nothing for 2027. Had he stopped on 20 December, he would have paid 20 days: €302.65 divided by 30, times 20, is €201.77.
  3. Hacienda deregistration. He files the 036 for deregistration on Friday 8 January 2027, with 31 December as the end date. The one-month deadline ends on 31 January, a Sunday, so it extends to Monday 1 February (Article 30.5 of Ley 39/2015, which applies on a supplementary basis under Article 7.2 of the General Tax Act).
  4. January 2027 returns. He files the 303 for the fourth quarter of 2026, with the VAT from October to December, and the 390 for 2026. The 130 accumulates January to December (we assume he has no income or expenses allocated after he stops) and deducts the payments on account for the first three quarters and the withholdings on his invoices for the year. All three are due on 30 January, which in 2027 is a Saturday, so the deadline ends on Monday 1 February 2027.
  5. Renta and regularisation. In the 2027 campaign he files his 2026 Renta with the income for the whole year. Afterwards, the Seguridad Social regularises his 2026 cuotas using that real data.
Carlos stops on 31 December 2026, deregisters from the RETA on 4 January 2027 (the deadline ends on the 6th), files the 036 on 8 January and has until Monday 1 February 2027 for the 036, the 303, the 130 and the 390.(opens the image in a new tab)
Key dates for Carlos, who closes on 31 December 2026

If he forgets to deregister from the RETA and the Tesorería does not learn that he stopped until 12 March 2027, he pays the full cuota for January, February and March 2027, with no right to RETA benefits for that period, unless he proves an earlier end date. The 2027 cuotas have not been published yet; in 2026, his is €302.65 a month.

With Hacienda, the cost can be calculated. If he files the 036 for deregistration in March 2027, late but without a formal request, the €400 fine is halved to €200, and if he pays it on time without appealing it drops by another 40% (€80): he pays €120 for a procedure that is free.

The fine for filing a census return late is €400; without a prior formal request it drops to €200 and, with the 40% reduction for paying on time without appealing, Carlos pays €120.(opens the image in a new tab)
Illustrative example. General Tax Act, Articles 198.1, 198.2 and 188.3: €400 − €200 = €200; €200 − €80 = €120.
SituationWhat happensCost for Carlos
Leaves the RETA on 4 January (on time)Effective 31 DecemberAll of December (€302.65) and nothing in 2027
He forgets and the Tesorería learns he stopped on 12 March 2027He contributes to the RETA until 31 March, with no right to benefits for that periodFull January, February and March 2027 (2027 cuota not yet published)
036 for deregistration on 8 January (on time)No penalty€0
036 for deregistration in March 2027, without a formal requestMinor offence€200, or €120 with the 40% reduction
036 for deregistration after a formal request from HaciendaMinor offence€400, or €240 with the 40% reduction

Unemployment benefit for autónomos: the cessation of activity benefit

It depends on why you close.

Who can claim it

Article 330 of the General Social Security Act requires, among other things: being registered with the RETA, having the minimum contribution period for cessation of activity (12 months within the 24 before you stop, under Article 338), being in a legal situation of cessation, and being up to date with your cuotas (if you are not, you are given 30 calendar days to catch up).

The legal situation of cessation is set out in Article 331. The most common reasons are:

  • Economic reasons: losses of more than 10% of income over a full year (not counting the first year of activity), or court or administrative enforcement for debts reaching 30% of the previous year's income.
  • Insolvency proceedings declared by a judge that prevent you from carrying on.
  • Force majeure.
  • Losing the administrative licence you need to work, unless it stems from criminal offences.
  • Gender-based or sexual violence, and some divorce cases for family collaborators.

Most importantly, the same article says someone who closes voluntarily is never in a legal situation of cessation (except for one specific case of economically dependent autónomos). If you deregister because you have found a job, like Carlos, there is no benefit.

If you close by your own choice, as a general rule there is no benefit. If you close for a legal reason, such as losses, enforcement for debts, insolvency or force majeure, you need at least 12 months of contributions for cessation of activity within the last 24; if you are not up to date with payments, you have 30 calendar days to catch up.(opens the image in a new tab)
Can you claim unemployment benefit when you deregister?

How much and for how long

If you close completely, under Article 339 you receive 70% of the average of your contribution bases over the 12 months before you stop, with a maximum of 175% of the IPREM (200% with one dependent child, 225% with two or more) and a minimum of 80% of the IPREM without children or 107% with children. Note: for these limits the monthly IPREM increased by one sixth is used (Article 339.4).

If you claim on time, the mutua covers your cuota while you receive the benefit (Article 337.6). In some cessations without RETA deregistration (Article 331.1.a, cases 4 and 5) and in partial suspension due to force majeure you receive 50%, without those limits, and in the first two the mutua pays only half of your cuota (Article 329.1.b).

How long it lasts depends on what you have contributed for cessation of activity in the previous 48 months, with at least 12 of them within the last 24 (Article 338):

Months contributedMonths of benefit
12 to 174
18 to 236
24 to 298
30 to 3510
36 to 4212
43 to 4716
48 or more24

Where and when to claim

You claim from your mutua colaboradora (the mutual insurer that works with the Seguridad Social) or from the body that covers your work accidents, under Article 337. The deadline is the last day of the month after you stop. For cessations due to economic reasons, force majeure or violence, among others, that deadline counts from the date shown on the documents proving the reason (Article 337.4); if you claim late, the days of delay are deducted (Article 337.5). For closures for economic reasons, the right starts the day after your RETA deregistration takes effect.

Sick leave is not deregistration

On sick leave (temporary incapacity) you stay registered but cannot work. You pay the cuota for the first 60 days; after that, if you are entitled to the benefit, your mutua pays it (Article 309.2 of the General Social Security Act). For a common illness you receive 60% of the regulatory base from day 4 to day 20 and 75% from day 21 (Seguridad Social). We explain it in the guide to sick leave for autónomos.

Common mistakes when deregistering as an autónomo

  • Deregistering with only one administration. If you deregister with Hacienda but not with the RETA, the cuota keeps coming. If you leave the RETA but not Hacienda, Hacienda keeps expecting your returns every quarter.
  • Using different end dates on the 036 and with the RETA, especially if you plan to claim unemployment benefit.
  • Forgetting the regularisation. The Seguridad Social can claim a difference in cuotas for the year you stop months later.
  • Claiming unemployment benefit without a valid reason. As a general rule, a voluntary closure gives no right to the benefit.

Checklist for deregistering

  1. Set the real end date and issue your last invoices.
  2. Deregister from the RETA within the following six calendar days. Keep the receipt.
  3. File the 036 for deregistration within the month, with the same end date.
  4. If you have premises or licences, report their closure too.
  5. If you think you are entitled to unemployment benefit for autónomos, claim it from your mutua before the end of the month after you stop (for economic reasons, it counts from the date of the documents proving them).
  6. Put the 303 and the 130 for the quarter and the 390 in January in your calendar, if you are required to file them, plus the Renta.
  7. Keep invoices and books: Hacienda can review the last few tax years even if you are no longer an autónomo.

If you ever come back, see the guide to registering as an autónomo.

How Melso helps

Melso is your online gestoría (a private firm that handles tax and administrative paperwork), with an AI agent backed by human professionals. If you close, Melso and its professionals prepare and file the included returns for your activity and tax profile, such as those for the last quarter (quarterly taxes), and you keep the AEAT receipt. Other annual returns are agreed separately, so check Form 390 before you sign up (pricing). Mistakes covered up to €30,000 a year, and you can cancel whenever you like.

See the pricing and click Get started or message us on WhatsApp.

This article is for information only and does not replace professional advice for your case. Last reviewed: 4 December 2026.

Sources

  1. Melso, pricing for autónomos, Melso (accessed )
  2. Royal Decree 84/1996, General Regulation on company registration and on registration, deregistration and changes of data (Articles 32.3, 35.2 and 46.4, consolidated text with the Royal Decree 643/2026 reform), BOE (accessed )
  3. Royal Decree 643/2026, of 29 July, amending the Registration Regulation and the General Social Security Collection Regulation, BOE (accessed )
  4. Royal Decree 1065/2007, General Regulation on Tax Management and Inspection (Article 11, deregistration return), BOE (accessed )
  5. Royal Decree 2064/1995, General Regulation on Social Security contributions and settlement (Article 47.1, cuota by days in the month of deregistration, and Article 47.3, end of the obligation to contribute), BOE (accessed )
  6. Ley 58/2003, General Tax Act (Articles 188.3 and 198), BOE (accessed )
  7. General Social Security Act, consolidated text (Article 309.2 and Articles 327 to 350, cessation of activity protection), BOE (accessed )
  8. Order PJC/297/2026, of 30 March, on social security contributions for 2026 (Articles 18 and 37), BOE (accessed )
  9. Royal Decree-law 43/2026, of 24 November (additional provision 67 of the IRPF Act: hard-to-justify expenses in 2026 and the fourth-quarter payment on account), BOE (accessed )
  10. Royal Decree 439/2007, IRPF Regulations (Article 110, amount of the payment on account, and Article 111, deadlines), BOE (accessed )
  11. Royal Decree 1624/1992, VAT Regulations (Article 71.4, deadlines for the 303, unchanged in the wording in force from 1 January 2027), BOE (accessed )
  12. Form 390. Instructions for completing the form (2025 tax year), AEAT (accessed )
  13. Form 390. Filing deadlines (2026 tax year: from 1 January to 1 February 2027), AEAT (accessed )
  14. 2026 taxpayer calendar: filing deadlines for self-assessed returns (and the next-working-day rule), AEAT (accessed )
  15. Temporary incapacity: amount under the special scheme for self-employed workers, Seguridad Social (accessed )
Back to top

Frequently asked questions. What people ask us most.

Since 1 August 2026, you have the six calendar days after you stop working (counting starts the next day) to report your deregistration from the RETA, the special social security scheme for the self-employed. It used to be three. The change came with Royal Decree 643/2026, which amended Article 32.3 of the Registration Regulation (Royal Decree 84/1996). If you stop on 31 December 2026, you can report it from 1 to 6 January 2027.

Card with the letters NAF, the affiliation number with Spanish social security needed to register as self-employed.

Getting started

What is the NAF? Spain's social security number

What the NAF (affiliation number with Spanish social security) is, where to see yours, how to request it with form TA.1 or on Import@ss, how it differs from the NUSS and the DNI or NIE, and why a self-employed worker needs it to register.

9 min read

Illustration of a receipt and a retirement pension table.

Getting started

Autónomo pension in Spain: how much and how to raise it

How much a self-employed autónomo gets as a retirement pension in Spain in 2026 and 2027: age, years of contributions, how the base is calculated, minimum and maximum pension, a worked example, early and active retirement and how to raise it.

14 min read

Illustration of an invoice and a grant application form for the self-employed.

Getting started

Grants for the self-employed in Spain 2026

Which grants self-employed workers in Spain can get in 2026: the tarifa plana, capitalising or combining unemployment benefit, cuota bonuses, IRPF incentives, the status of regional grants on 4 December 2026 and what is already published for 2027.

12 min read

Less paperwork.
More time for you.

Start with Melso or tell us about your case on WhatsApp.

Chat on WhatsApp (opens in a new tab)
  • No lock-in
  • Real professionals
  • Mistakes covered