A Guide for the Self-Employed in Spain: How to Legally Close Your Business
For self-employed individuals in Spain, while the process of winding down a business is simpler than starting one, it requires careful handling to ensure all legal obligations are properly fulfilled. The core process involves deregistering with two key government departments: the Spanish Tax Agency and the Social Security General Treasury.
Step 1: Deregistering with the Tax Agency (Agencia Tributaria)

Under Spain’s General Tax Law, any individual or entity conducting business activities must be registered for tax purposes. Consequently, when deciding to cease operations, your primary task is to notify the Tax Agency that you are terminating your business activity. If you fail to do this in a timely manner, the Tax Agency will assume you are still in business, leading to continued tax liabilities like quarterly payments.
The procedure is as follows:
- Filling out the form: You must complete this by filling out the official tax registration modification form, Form 036 (Modelo 036), or its simplified version, Form 037 (Modelo 037). Since the information required for ceasing activity is relatively simple, Form 037 is usually sufficient.
- Submission method: It is recommended to submit the form online using a digital certificate (Certificado Electrónico). Some regional tax offices also accept in-person submissions.
- Important note: Even after deregistering, you are still responsible for filing tax returns for the quarter in which you ceased activity. For example, if you close your business in April, you must still file the second-quarter tax returns in July and complete the corresponding annual summary reports at the beginning of the following year.
Step 2: Deregistering with Social Security (Seguridad Social)
The Social Security Act mandates that all workers in Spain, including self-employed business owners (autónomos), must pay social security contributions. After closing your business, you must deregister with the Social Security General Treasury (Tesorería General de la Seguridad Social) to stop the automatic monthly deduction of your self-employment social security fee.
How to deregister:
- Similar to the tax deregistration, this procedure can also be completed online on the Social Security website with a digital certificate, or you can do it in person at a Social Security office.
- If you do not complete this deregistration, the government will continue to charge you for social security contributions, causing unnecessary financial loss.
A Note on City Council Procedures
The business license (Licencia de Apertura) is an operating permit granted by the city council. When you decide to close your business, the law does not strictly require you to cancel this license. However, to avoid incurring ongoing local taxes, such as the waste collection fee (Tasa de Basuras), it is highly recommended that you proactively report the closure to your local city council (Ayuntamiento) to cease these charges.
Comparison: The Closure Process for a Limited Company
Compared to a sole trader, the process of dissolving a limited company (Sociedad Limitada) is much more complex. Although it also requires deregistering from the Tax Agency and Social Security, this only ceases the company’s operational activities; the legal entity of the company continues to exist.
To completely dissolve a limited company, the following legal procedure must be followed:
- Hold a shareholders’ meeting to pass a resolution to dissolve the company.
- Enter the liquidation process, sell off company assets, and pay off all debts.
- If there are any remaining assets, distribute them among the shareholders according to their shareholding ratio.
- Sign the public deed of dissolution at a notary’s office (Notaría).
- Submit the notarial deed to the Commercial Registry (Registro Mercantil) for final registration to complete the dissolution of the legal entity.