Setting Up in Spain

What are a foreign company’s obligations with just one employee in Spain?

18 min de lectura
Obligaciones de una empresa extranjera con un solo empleado en España

Key point

Employing one person in Spain without a subsidiary is entirely legal, and the full set-up runs in four to six weeks, but it requires a Spanish tax number, registration as an employer with the Social Security authorities, and a Spanish address for the file. The expensive mistake is none of those steps. It is giving that single employee authority to negotiate or conclude contracts. That can turn the parent company into a permanent establishment and pull the attributable profit into Spanish corporate taxation, with interest and penalties on financial years already closed.

A foreign company with one employee in Spain must obtain a Spanish tax number, register as an employer with the Social Security authorities and receive a Contribution Account Code, sign a contract governed by Spanish labour law, register the worker before their first day, withhold Spanish personal income tax and remit it quarterly, pay monthly social security contributions and cover occupational risk prevention.

No Spanish company and no registered branch are required. That is the point which most surprises HR teams meeting this process for the first time: Spanish law expressly contemplates a non-resident entity acting as an employer, with every obligation and no corporate structure in between. What is required is an address on Spanish territory to process the file, and that is where most projects stall.

This article walks through the full sequence, in order, with the statutory deadline for each step, and ends on the risk almost nobody assesses before signing: that this single employee turns the parent company into a Non-Resident Income Tax payer through a permanent establishment.

What does hiring in Spain without an establishment actually mean?

It means the foreign company takes on employer status before the Spanish authorities without creating an entity or a registered workplace. Article 138 of the General Social Security Act defines an employer, in paragraph 3, as any natural or legal person for whose account the persons covered by the system work, with no requirement that it be resident or domiciled in Spain.

What is created and what is not

What is created: a Spanish employment relationship, a registration number with the General Treasury of the Social Security, and a withholding obligation. What is not created: a Spanish legal entity, a commercial registry entry, or, on its own, an obligation to file Spanish corporate income tax.

The two layers are worth separating carefully, because they are routinely conflated. The labour and social security layer is triggered by the simple fact that someone works on Spanish territory. The corporate taxation layer is triggered only if a permanent establishment exists, which is a separate question and depends on what the employee does, not on whether an employee exists.

Why Spanish law governs the contract

The conflict-of-laws rule sits in the Rome I Regulation on the law applicable to contractual obligations. Where work is habitually carried out in Spain, the mandatory protective rules of Spanish law apply even if the contract states that it is governed by Belgian, German or English law. The parties may choose the governing law, but that choice cannot deprive the employee of the protection Spanish law would give them.

In practice, this means the sectoral collective bargaining agreement, severance entitlements, maximum working hours, minimum holidays and the overtime regime of the Workers’ Statute apply regardless of what the home-country contract template says.

Which steps are required, with which authority and by when?

There are ten steps and the order is not optional: without a Spanish tax number there is no Social Security registration, and without registration the worker cannot be registered. The table sets out the full sequence.

# Step Authority Deadline Key documentation
1 Non-resident entity tax number (Spanish tax identification number) via form 036 Tax Agency (Agencia Tributaria) Before any other step Home-country registry certificate, apostilled and sworn-translated, deed of incorporation, power of attorney, tax number of the representative
2 Census registration as a withholding agent (same form 036) Tax Agency Before the first salary payment Same file, ticking the withholding obligation
3 Employer registration and allocation of a Contribution Account Code (Código de Cuenta de Cotización) General Treasury of the Social Security (TGSS) A prior and indispensable requirement before starting activity (art. 138.1 LGSS) Home-country registry certificate, Spanish tax number, Spanish address, applicable collective agreement code
4 Choice of a collaborating mutual insurer for occupational contingencies and temporary incapacity TGSS and the mutual insurer At the same time as registration Association document
5 Application for the worker’s Social Security number, if they do not have one TGSS Before registration of the worker Identity document or NIE
6 Affiliation and registration of the worker (RED System) TGSS Before services begin, accepted up to 60 calendar days in advance (art. 32 RD 84/1996) NIE and Social Security number, contribution group, activity code
7 Notification of the contract State Public Employment Service (SEPE, Contrat@) 10 working days from signature Signed contract and worker details
8 Agreement with an external prevention service and workplace risk assessment Accredited prevention service Before work effectively begins Description of the role and workplace, including the home address if remote
9 Withholding tax return (form 111) Tax Agency First 20 days of April, July, October and January Payslips for the quarter
10 Annual withholding summary (form 190) and monthly contribution settlement Tax Agency and TGSS Form 190 in January of the following year
; contributions, in the month following accrual
Contribution base file from the Direct Settlement System

The tax number is the real bottleneck

Step 1 consumes the most time and gets the least planning. The home-country registry certificate must be apostilled under the Hague Convention and translated by a sworn translator. Between requesting the document at origin, having it apostilled, translated and filed, three to four weeks routinely disappear before the Social Security stage can even start. If a start date has been promised to the candidate, this is the lead time to count backwards from.

Different documentation depending on where the parent sits

For companies from EU member states, the equivalent commercial registry certificate is generally enough. For companies from third countries, the Treasury may require a certificate issued by the Spanish consulate confirming that the entity is lawfully incorporated and in good standing under its home legislation. It is a minor difference on paper and a significant one in the calendar.

Why is a Spanish address required, and how is it solved without leasing an office?

It is required because the employer registration file asks, under Article 11 of Royal Decree 84/1996, for the company’s name, address and main economic activity, plus details of the workplace or workplaces. There is no box for “no address in Spain”.

What an address solves and what it does not

A corporate domiciliation in Madrid service covers precisely what the procedure needs: a postal address on Spanish territory, receipt and digitisation of notifications, and a point of contact before the authorities. It is the standard solution for a company hiring one remote employee with no intention of ever opening an office here.

What an address does not do is shield the company from permanent establishment exposure. The two questions are independent: having a postal address does not create a permanent establishment on its own, and not having one offers no protection if the employee exercises contracting authority.

Electronic notifications: the operational blind spot

From registration onwards, the company must receive notifications electronically. A notice from the Treasury or the Labour Inspectorate that nobody opens is deemed served once the deadline elapses, and enforcement files progress on their own. For a parent company with nobody in Spain, monitoring the electronic mailbox is not administrative housekeeping: it is the difference between answering a request for information and discovering a final penalty.

What employment obligations does the contract create once signed?

The same ones as for any Spanish employer: a contract compliant with the Workers’ Statute, the applicable collective bargaining agreement, a monthly payslip itemising contributions, and occupational risk prevention.

The applicable collective agreement

The agreement is determined by the work the employee actually performs in Spain and its territorial scope, not by the parent company’s sector. It must be identified before registration, because the form itself asks for the agreement code. The agreement sets the minimum salary for the professional group, annual working hours, supplements and the disciplinary regime, and displaces any less favourable term agreed in the contract.

Written contract and mandatory information

Article 8.5 of the Workers’ Statute requires the employer to inform the employee in writing of the essential terms of the contract and the main conditions of performance where the relationship exceeds four weeks. Translating the parent company’s template and signing it as is does not comply: there are Spanish-law clauses that must appear, and home-country clauses that will be void here.

Occupational risk prevention applies to remote work too

Act 31/1995 on the Prevention of Occupational Risks imposes a duty of protection on the employer that admits no exception for the absence of a workplace. Where the employee works from home, Act 10/2021 on remote work also applies, requiring a written remote work agreement and reimbursement of expenses. It is the most frequently forgotten obligation in remote hiring and one of the easiest for an inspector to spot. Remote worker compliance becomes a chapter of its own when the entire Spanish headcount is remote.

What tax obligations does the foreign company take on as a withholding agent?

It must withhold personal income tax on every payslip, remit it quarterly on form 111 and file the annual summary on form 190. Withholding agent status does not depend on having a permanent establishment: it is triggered by paying employment income for services performed in Spain.

Resident or non-resident: the 183-day line

If the employee spends more than 183 days in Spain during the calendar year, or has their main centre of economic interests here, they are a Spanish personal income tax payer and withholding is calculated under the general method, taking personal and family circumstances into account. If they fall short of residence, they are taxed under Non-Resident Income Tax, at a flat 24% as a general rule and 19% for residents of the European Union, Iceland, Liechtenstein and Norway.

A relocation starting in September typically leaves the employee non-resident in year one and resident in year two, with two different withholding regimes inside twelve months. This should be settled before the first payslip is issued, not afterwards.

Contributions: the rates and who bears them

Rates apply to the employee’s contribution base, within the minimum and maximum bases for their professional group. The employer bears most of the common contingencies rate, unemployment, the Wage Guarantee Fund, vocational training, the occupational accident and disease premium set by activity, and the employer share of the Intergenerational Equity Mechanism.

The exact percentages and the minimum and maximum bases are set each year in the annual contribution Order issued by the Ministry of Inclusion, Social Security and Migration. It is worth checking them there before closing a budget, because they change from one year to the next.

As a stable order of magnitude across recent years, the employer’s social security cost sits at roughly a third on top of gross salary, plus the occupational accident premium, which varies by activity. That percentage is what has to be added to the hiring budget, and it is the figure most often missing from the business case arriving from head office.

Monthly settlement is no longer the TC1 and TC2 forms

Settlement runs through the Direct Settlement System, in which the Treasury calculates the contributions from the data reported and the company confirms them. The old TC1 and TC2 forms survive as a conceptual reference, but the real flow is electronic and monthly. Payroll management for expatriates in Spain handles this cycle on a recurring basis, which is precisely what a parent company with no administrative team here cannot sustain on its own.

The inbound regime as a cost lever

If the person relocates to Spain to work and meets the conditions, they may apply for the special regime for inbound workers, which allows taxation at a flat rate for six financial years. The application window runs from Social Security registration and is strictly limited, so the decision has to be taken at hiring and not when the first tax return falls due.

When does an A1 certificate work, and when does it stop working?

It works while the posting is temporary and the person remains attached to their home country’s social security system. Regulation (EC) 883/2004 on the coordination of social security systems establishes that a person is subject to the legislation of a single member state, with the place of work as the general rule and temporary posting as the exception, documented through the A1 form.

The three situations the A1 does not cover

The A1 does not resolve matters where the person relocates to Spain indefinitely, where the company hires somebody already resident here, or where an initial posting runs beyond the authorised period without an extension. In all three, Spanish legislation applies and the company must register, contribute and enrol the worker with effect from day one, not from the date the certificate expires.

The case of employees who relocate by personal choice while keeping their role at head office causes the most confusion. There is no posting in the sense of the Regulation: there is a change in the habitual country of work, and the A1 is not the route. The specific rules on posted workers form a separate regime that does not cover this scenario.

The provision that makes this workable for companies without an establishment

Implementing Regulation (EC) 987/2009 provides, in Article 21, that an employer with no place of business in the member state whose legislation applies must nonetheless meet all obligations, and contemplates an arrangement whereby the employee may discharge the payment of contributions on the employer’s behalf, without altering the employer’s underlying liability. It is the legal basis that makes this whole arrangement viable within the European Union.

What changes if the employee is not an EU national?

The prior requirement changes: a residence and work authorisation is needed before registration, and the company is usually party to the file. For an EU, EEA or Swiss citizen, a NIE, a Social Security number and the registration are enough.

For a non-EU national, a foreign company without an establishment in Spain has limited scope to sponsor the authorisation, because much of the procedure presupposes an employer with registered activity here. This is the scenario in which direct hiring stops being the simplest route and a subsidiary or a branch becomes the realistic option. It is worth checking before committing to a start date with the candidate.

When does a single employee turn the company into a permanent establishment?

When that employee acts as an agent authorised to conclude contracts in the company’s name and habitually exercises that authority. Article 13.1.a of the consolidated Non-Resident Income Tax Act states it expressly: a permanent establishment exists where the entity has premises or workplaces at its disposal on a continuous or habitual basis, or where it acts in Spain through an agent authorised to conclude contracts in the name and on behalf of the taxpayer who habitually exercises that authority.

Why this is the expensive mistake

Because it is not detected at the time. It surfaces years later, in an audit, and the tax authorities can then attribute to Spain the profit imputable to that activity across all open financial years, with late-payment interest and penalties. The company, meanwhile, has been filing impeccable form 111 returns and believing itself fully compliant, because on the labour layer it was.

The profiles that trigger it and the ones that do not

A salesperson negotiating prices and closing orders, a country manager holding powers of attorney, or anyone whose signature binds the parent company towards Spanish clients will open the discussion. An engineer, a support role, an analyst or a back-office position with no client interaction normally will not, although the characterisation turns on the facts rather than on the job title.

The anti-fragmentation rule and the widened dependent agent definition introduced by the OECD Multilateral Instrument have narrowed the margin considerably compared with what was assumed a decade ago. The commissionaire structure that “only negotiates without signing” is no longer the shelter it once was. Before hiring a commercial profile in Spain it is worth assessing the permanent establishment risk against the actual duties on the table, not against the job description.

The practical test before signing

Three questions settle most cases. Can this person commit to price, delivery or terms in front of a Spanish client? Is their activity the group’s core business or is it auxiliary? Does head office substantively approve what this person proposes, or does it sign without review? If the first answer is yes and the third describes a formality, there is exposure and it should be documented beforehand, not afterwards.

Which route makes sense: direct hiring, a subsidiary, or a posting with an A1?

It depends on the time horizon, the profile of the role, and whether there is any intention to grow in Spain. The table compares the three routes plus the employer of record option.

Route What is created in Spain Set-up steps When it makes sense Main risk
Direct hiring without establishment Employer registration and a Contribution Account Code, no legal entity Non-resident tax number, TGSS registration, Spanish address, worker registration One or a few employees, no plan for an office, non-commercial roles Permanent establishment where the role carries authority; recurring administrative burden with no local team
Subsidiary (SL) or branch A legal entity or registered branch, with its own corporate income tax Incorporation before a notary, Commercial Registry, tax number, census registration, TGSS registration Growing headcount, commercial activity, need to sponsor work permits Ongoing corporate and accounting maintenance cost; transfer pricing obligations with the parent
Temporary posting with an A1 certificate Nothing, the employment relationship stays at origin A1 application in the home country and, where applicable, a posting notification in Spain A time-boxed project with a planned return Stops working once the posting becomes a relocation; retroactive regularisation
Employer of record (EOR) An employment relationship with a Spanish third party, not with the parent Service agreement with the provider Urgency, a single role, market testing Does not remove permanent establishment risk where the employee holds authority; less control over the employment relationship

Direct hiring almost always wins over a one-to-three employee horizon with non-commercial duties. A subsidiary wins as soon as third-country nationals, invoicing from Spain, or a profile able to close business enter the picture.

Worked example: how does the process actually run for a Belgian company hiring in Madrid?

A Belgian software company, with no office and no entity in Spain, wants to hire a French employee relocating to Madrid for personal reasons who will continue doing the same data analysis work remotely. Agreed gross salary: 55,000 euros per year. No commercial duties and no power of representation.

The real calendar

  • Weeks 1 to 3. Obtaining the Belgian registry certificate for the company, apostille and sworn translation. In parallel, the employee applies for her NIE in Madrid and her Social Security number.
  • Week 4. Filing form 036 for the non-resident entity tax number, including census registration as a withholding agent. Engagement of the domiciliation service providing the Spanish address and notification handling.
  • Week 5. Employer registration with the General Treasury, choice of mutual insurer and allocation of the Contribution Account Code. Identification of the collective bargaining agreement covering IT consultancy in the relevant territory.
  • Week 6. Signature of the permanent contract in Spanish, with a remote work agreement and expense reimbursement. Registration of the worker in the RED System with effect from day one. Notification of the contract to the SEPE. Agreement with an external prevention service and assessment of the home workplace.
  • Month 2 onwards. Monthly payroll, contribution settlement in the month following accrual, form 111 on 20 April, July, October and January, form 190 in January.

The figures to put in the budget

On a gross salary of 55,000 euros, the employer’s social security cost adds roughly a third on top, plus the occupational accident premium matching the activity. To that add the domiciliation service, the external prevention service, recurring payroll management, and the translation and apostille of the initial file, which is a one-off cost.

Where the risk sat and why it does not trigger here

The role is data analysis, with no contact with Spanish clients and no capacity to bind the Belgian company. There is no agent authorised to conclude contracts and no fixed place of business at the company’s disposal, because the address is a mail-handling service and not premises where activity is carried out. Permanent establishment exposure is low.

If the same Belgian company were instead hiring a sales manager for the Spanish market, with commercial targets and autonomy to negotiate terms, the analysis would change entirely and the exposure would need assessing before signature. It is the same employment procedure and a radically different tax consequence.

What to check before going ahead

The administrative circuit is manageable and well defined in the legislation. What decides the outcome is what happens before entering it: confirming the role carries no permanent establishment risk, counting the three to four weeks of the tax number file backwards from any promised start date, resolving the Spanish address, and accepting that contribution settlements and withholding returns are an indefinite monthly and quarterly commitment, not a one-off registration.

A company hiring one person in Spain is taking on a recurring obligation before two separate authorities, with electronic notifications to monitor and deadlines that run by themselves. It is entirely workable. What is not workable is finding this out halfway through.

Frequently asked questions

Need tax advisory?

Our experts can help you

Enquire Now