How to set up a business in Spain: Step-by-step guide

Starting a business in Spain can be an exciting opportunity, but the bureaucratic process can feel overwhelming if you’re unfamiliar with local requirements. Whether you’re a local entrepreneur or an expat, understanding the necessary company registration, tax obligations, and business formation rules is essential.

This step-by-step guide will help you start a business in Spain smoothly, avoiding common pitfalls and ensuring compliance with legal and financial regulations.

Choose the right business structure

Before diving into paperwork, you need to decide which business structure suits your needs. Spain offers several types of legal entities, and choosing the wrong one can lead to unnecessary taxes or legal complications.

Key business structures in Spain

  • Autónomo (Freelancer/Sole Trader) – Best for small businesses or independent professionals. It has low startup costs but requires personal liability for business debts.
  • Sociedad Limitada (SL – Limited Liability Company) – Ideal for small to medium-sized businesses. It protects personal assets but has higher registration costs and tax obligations.
  • Sociedad Anónima (SA – Public Limited Company) – Designed for large businesses, requiring minimum capital of €60,000 and more complex administration.
  • Cooperatives & Partnerships – Suitable for joint ventures but require specific legal frameworks.

Pro tip:

Many entrepreneurs start as autónomo to test the market and later switch to an SL once their business grows.

Once you’ve selected the right structure, the next step is getting an NIE and a digital certificate, which are essential for handling legal and tax procedures.

Get your NIE and digital certificate

To legally operate in Spain, you must obtain an NIE (Número de Identificación de Extranjero). This unique tax identification number is required for company registration, opening a bank account, and handling tax obligations. Additionally, a digital certificate makes online business processes smoother.

How to apply for an NIE

Where to apply?: You can get an NIE at a police station or the Spanish consulate in your home country.

Required documents:

  • Passport
  • completed EX-15 form
  • proof of business intent
  • a fee payment receipt.

Processing time: Typically 1–4 weeks, but can vary by region.

Get your digital certificate

In Spain, a digital certificate is required for tax filings, business registration, and legal paperwork. Here’s how to get it:

  • Request online – Apply through FNMT (Fábrica Nacional de Moneda y Timbre).
  • Verify identity – Visit a Tax Agency or Social Security office with your NIE and passport.
  • Download & install – Once approved, install it on your computer for secure access.

Pro tip: Without a digital certificate, you’ll need in-person visits for every legal process.

Common mistake to avoid

Entrepreneurs often make mistakes that delay their business formation in Spain. Avoid these pitfalls:

  • Applying late – No NIE, no business. Start early; approval takes weeks.
  • Choosing the wrong NIE – Residents and non-residents need different NIEs.
  • Skipping the digital certificate – Essential for online tax and legal filings.
  • Relying only on a lawyer – Some steps must be done in person.
  • Not checking appointment rules – Some offices require bookings, while others allow walk-ins.

With your NIE and digital certificate ready, the next step is to register your business name to ensure it is legally available.

Register your business name

Your business name is your brand identity, but before you start using it, you must officially register it to avoid legal conflicts. This step applies to all businesses except freelancers (autónomos), who can trade under their personal name.

Steps to register your business name

  1. Check availability – Use the Mercantile Registry’s (Registro Mercantil) online search tool to see if your desired name is available.
  2. Submit an application – If available, submit an application to reserve the name. You must provide three name options in case your first choice is taken.
  3. Approval time – The process takes 3–7 days, and once approved, you’ll receive a certificate confirming your business name.

Pro tip:

If your business name includes a registered trademark, check with the Spanish Patent and Trademark Office (OEPM) to avoid legal issues.

Now that you’ve secured your business name, the next step is to draft and notarise the articles of incorporation, which formalise your business structure.

Draft and notarise the articles of incorporation

Before your company is legally official, you’ll need to draft and notarise the articles of incorporation. This critical document outlines your business details and shareholder agreements. Getting this right is essential, as mistakes can cause delays in your business formation.

  • Prepare clearly: Outline the business purpose, registered address, share capital, and shareholders’ details clearly.
  • Use a Spanish notary – A notary verifies and certifies your documents, making them legally binding. Fees typically range between €60 and €150.
  • Submit your documents to the Commercial Registry (Registro Mercantil) once notarised.

Common mistakes to avoid:

  • Failing to clearly state each shareholder’s contributions.
  • Choosing an incorrect business address or not verifying its validity.

Getting these details right speeds up your company registration and prevents unnecessary corrections later.

Register with tax authorities and Social Security

Once your articles are notarised, the next essential step is registering your business with Spain’s tax authorities and social security system. Proper registration ensures compliance and helps you avoid legal issues.

  • Obtain a CIF (Tax Identification Code) – This is issued by Agencia Tributaria and is required for company registration.
  • Tax obligations – Businesses must register for VAT (IVA) and corporate tax schemes based on their structure.
  • Social security registration – If you employ staff or operate as an autónomo, you must register with Seguridad Social and contribute monthly.

Many business owners find Spanish tax regulations complex, especially when handling VAT, corporate tax, or social security contributions. If you need expert guidance, Baleario can connect you with leading professionals in tax advisor & consultancy services for expats to help them navigate financial obligations smoothly.

Open a business bank account

To effectively manage your finances and stay compliant with Spanish law, opening a dedicated business bank account is crucial. Without one, transactions can become complicated, and separating personal and business finances gets tricky.  So, for better guidance, you can explore the accounting services for expats, where you can get connected with the best service providers.  

Here’s how to open your account easily:

Choose a suitable bank:

  • Popular options include Santander, CaixaBank, or BBVA (these are expat-friendly banks with English support).

Gather necessary documents:

  • NIE certificate.
  • Proof of company registration.
  • Passport and proof of Spanish residency/address.

Visit the bank:

  • Many Spanish banks require an in-person visit, although some now offer online account openings.

Pro tip:
Always check the bank’s policies beforehand. Some institutions have hidden fees or strict requirements for new businesses, so doing your homework early saves hassle later.

Obtain necessary licenses and permits

Certain businesses in Spain require specific permits before they can operate legally. Failing to meet the legal requirements can lead to fines or forced closure, making this a crucial step for both Spanish companies and foreign entrepreneurs.

Common business permits in Spain:

  • Hospitality & Food Businesses –  Need a Health & Safety license and, if serving alcohol, a liquor license.
  • Retail & Physical Stores – Require a Commercial Activity License (Licencia de Actividad) from the local town hall.
  • Online Businesses – Generally don’t need permits but must comply with GDPR and consumer protection laws.

For foreign companies and foreign investors, the type of permits required may vary based on the type of company they are establishing. Additionally, non-EU citizens may need to provide a criminal record certificate, proof of minimum share capital, and other original documents to meet Spanish tax authority regulations.

Pro tip: Permit approval varies by region and can take months. Start the application process early to avoid delays. Consulting a business lawyer or legal expert can help you navigate specific business operations requirements, including funding options and bank certificate verification.

Conclusion

Setting up a business in Spain requires careful planning, but following the right steps ensures a smooth process. From choosing the right type of business structure to handling tax registration and securing professional advice, every decision impacts your business’s success.

Whether you’re a foreign national, a self-employed worker, or a legal resident, understanding the legal and tax framework is essential. Developing a detailed business plan, managing the initial investment, and ensuring compliance with the Spanish government’s regulations will help you avoid unnecessary delays and focus on growing your business.

Frequently Asked Questions

Yes, non-residents can start a business in Spain, but they must obtain an NIE (Número de Identificación de Extranjero) for tax and legal purposes. Depending on the type of company, you may also need a bank certificate, a business lawyer, and local representation for tax compliance.

The timeline depends on the type of business structure. Registering as an autónomo (self-employed worker) takes a few days, while setting up an SL (Limited Company) can take 2–6 weeks, including name registration, notary work, and tax registration. If your company is a Sociedad Civil, processing times may vary. Delays often occur due to missing original documents or slow administrative procedures at the Spanish tax authority.

Picture of Chad Harwood-Jones

Chad Harwood-Jones

With a wealth of entrepreneurial experience , Chad brings a unique perspective to Baleario. Having launched and led multiple successful ventures, he moved to Mallorca a number of years ago, experiencing the complexities of settling in Spain firsthand. Today, he combines his expertise in finance, real estate, and insurance to offer expats in Spain comprehensive services tailored to their unique needs.

More Insights