Barcelona company setup · Spanish SL · Employer of Record Spain · foreign startup Spain

How to Set Up a Company in Barcelona as a Foreign Startup

The practical guide -- SL formation, NIE, bank account, tax registration, payroll and what typically goes wrong.

Adrien de Malherbe

Adrien de Malherbe

VP Sales Europe · CRO · GM Europe · B2B SaaS

  • For 1-3 early hires validating the Barcelona market, an Employer of Record (EOR) is the fastest route -- operational in 1-2 weeks, no entity required.
  • For a 3+ year commitment with 5+ people, a Spanish SL is almost always more cost-effective. Legal minimum capital is EUR 1 since Law 18/2022 (many still use EUR 3,000 to avoid reserve restrictions). Formation timeline 4-8 weeks. One-off legal cost EUR 3,000-6,000.
  • NIE numbers for all foreign directors are the most common bottleneck -- start applications on day one and allow 4-8 weeks minimum via Spanish consulate.
  • Monthly ongoing SL cost: EUR 400-1,100 for accountant, payroll provider and compliance. Corporate tax 25% (15% for first two profitable years).
  • Employer social security runs approximately 30-32% on top of gross salary -- the single largest employment cost item to budget for in Spain.

SL vs branch vs EOR: which structure to choose

Employer of Record (EOR)Best for: 1-3 hires, market validation, wanting to be operational in 1-2 weeks.
How it works: a third-party EOR employs your people on your behalf under Spanish law. You pay the EOR; the EOR pays the employee and handles all HR compliance.
Cost: typically EUR 300-600/employee/month on top of gross employment cost.
Limitations: less contract flexibility, harder to issue equity directly, EOR is the legal employer.
Spanish SL (Sociedad Limitada)Best for: 3+ year commitment, 5+ people, full legal control and equity issuance.
Formation cost: EUR 3,000-6,000 in legal, notary and registration fees.
Timeline: 4-8 weeks. Monthly ongoing: EUR 400-1,100.
Minimum capital: EUR 1 since Law 18/2022; capitalising at EUR 3,000 avoids the legal-reserve and dividend restrictions that apply below that level.
Branch office (Sucursal)For most startups: not recommended. More complex to set up, no liability separation from parent, rarely the right structure for early-stage operations. Large corporations sometimes use this for regulatory or intercompany reasons.

Step-by-step SL formation process

StepWhat it involvesWho handles itTypical timeline
1. NIE for all directorsTax ID for each non-Spanish directorEach director via consulate or Spain2-4 weeks consulate, 4-8 weeks Spain
2. Reserve company nameCheck and reserve at Registro Mercantil CentralLawyer or gestoria1-3 days
3. Draft articles of associationDefine purpose, capital, governance, shareholder rightsSpanish lawyer2-5 days
4. Open provisional bank accountDeposit chosen share capital (EUR 1 legal minimum; EUR 3,000 avoids reserve restrictions)Director in person or remotely1-3 weeks
5. Notary signingSign deed of incorporation before Spanish notaryDirector or proxy with power of attorney1-2 days once scheduled
6. Registro MercantilOfficial company registrationLawyer or gestoria2-4 weeks
7. Tax registrationObtain CIF, register for IVA and IAE with Agencia TributariaAccountant or gestoria1-3 days
8. Social Security registrationRegister as employer with TGSSAccountant or gestoria1-2 days
9. Business bank accountOperational current accountDirector1-3 weeks depending on bank

Typical setup and ongoing costs

ItemTypical rangeNotes
Spanish lawyer (SL formation)EUR 1,500-3,000One-off
Notary feesEUR 300-600Depends on capital and provisions
Registro Mercantil registrationEUR 150-300Official fee
Share capital depositEUR 1 legal minimum (EUR 3,000 recommended)Becomes company working capital
Monthly accountantEUR 300-800/monthVaries with transaction volume
Payroll processing (outsourced)EUR 50-150/employee/monthExternal payroll provider
Annual statutory accountsEUR 1,000-2,500/yearOften included in accountant package

Spanish taxes at a glance

Corporate income tax (Impuesto sobre Sociedades): 25% standard. 15% for the first two profitable tax years for newly created companies. VAT (IVA): 21% standard rate on most B2B services, quarterly filing via Modelo 303. Employer social security: approximately 30-32% on top of gross salary -- the largest employment cost item. See the full breakdown in the hiring costs guide.

Common mistakes to avoid

Mistake 1: Starting NIE applications too lateNIEs are the most common bottleneck. Start applications immediately, before any other step. Directors without NIEs cannot sign the notary deed.
Mistake 2: Choosing a bank based on brand rather than startup-friendlinessTraditional Spanish banks can be slow for international company account opening. Neobanks (Wise Business, Revolut Business) and BBVA have faster processes for non-resident companies. Validate current options with your accountant.
Mistake 3: Not briefing a tax advisor on Beckham Law at formation timeIf any relocating executive might qualify for the Beckham Law, the application must be filed within 6 months of starting work in Spain. Brief your tax advisor at formation -- not six months later. See the full Beckham Law guide.
Mistake 4: Underestimating Spanish employment law complexitySpanish labour law is strongly protective of employees. Dismissal processes, notice periods and severance (20 days per year of service for fair dismissal, 33 days for unfair dismissal, capped at 24 months) differ significantly from UK or US norms. Get an employment lawyer to review the first contracts before signing.
What is the minimum share capital to form a Spanish SL?

Since Law 18/2022 ("Crea y Crece", in force October 2022) the legal minimum share capital for a Sociedad Limitada (SL) is EUR 1, not EUR 3,000. However, until capital plus reserves reach EUR 3,000, the company must allocate 20% of annual profit to a legal reserve and faces dividend restrictions, and shareholders can be liable up to EUR 3,000 on insolvency. For this reason many international startups still capitalise at EUR 3,000 from the start, which also reads more credibly with banks and enterprise clients. Validate the current rules with a Spanish lawyer.

How long does it take to set up a Spanish SL from scratch?

A realistic timeline is 4-8 weeks from decision to functional entity with a bank account and active payroll. Main steps: NIE for directors (1-3 weeks via consulate, 4-8 weeks in Spain), company name reservation and articles of association (1 week), notary signing and Registro Mercantil registration (2-3 weeks), tax registration with Agencia Tributaria, and business bank account opening (1-3 weeks depending on bank).

What is an NIE and who needs one?

An NIE (Numero de Identificacion de Extranjeros) is the tax identification number for non-Spanish nationals. Every foreign director of a Spanish SL must have one before the notary signing. Apply via Spanish consulate in your home country (typically faster) or in person at a Spanish Oficina de Extranjeros. Allow 2-4 weeks via consulate, 4-8 weeks in Spain. Start NIE applications first -- they are the most common bottleneck in Spanish company formation.

Should a foreign startup use an SL, a branch, or an Employer of Record in Spain?

For 1-3 early hires validating the market: Employer of Record (EOR) is fastest -- operational in 1-2 weeks, no entity formation required. Cost: typically EUR 300-600 per employee per month on top of employment costs. For 3+ year commitment with 5+ people: Spanish SL is almost always more cost-effective and gives full legal control. A branch office is rarely the right structure for early-stage startups -- more complex, no liability separation from parent.

How much does it cost monthly to run a Spanish SL?

Monthly ongoing costs for an active SL: accountant and compliance EUR 300-800/month (varies with transaction volume), payroll processing if outsourced EUR 50-150/employee/month, registered address service if no physical office EUR 50-150/month. Annual statutory accounts preparation adds EUR 1,000-2,500/year. Total monthly overhead for a small SL: approximately EUR 400-1,100 excluding salaries.

What corporate tax rate does a Spanish SL pay?

The standard corporate income tax (Impuesto sobre Sociedades) rate is 25%. Newly created companies pay 15% for their first two profitable tax years -- a meaningful saving for early-stage companies. Loss-making companies pay zero corporate tax but must still file. Always validate with a qualified Spanish accountant for your specific situation.

This is not legal or tax advice. SL formation steps, costs and timelines change. Validate with a qualified Spanish lawyer or gestor.

Last reviewed:

Work with Adrien

Setting up a Barcelona hub? I have navigated this before.

Adrien de Malherbe helps US and international startups with the legal, HR and operational setup for their Barcelona entity. Based in Barcelona.