A foreign company with no Spanish branch registers with the Spanish TGSS as a non-resident employer: it gets a tax number (NIF), appoints a representative with a Spanish address and applies for a contribution account code (CCC). For the digital nomad application, the filed request and a commitment to register the employee are enough. No Spanish bank account is needed.
Below: when registration cannot be avoided, what documents the company prepares, the order of steps, whether a Spanish bank account is required, what contributions cost in 2026 and who pays income tax on the salary. This article is written for the employer. How to put together the residence application itself is covered in “Digital nomad visa in Spain: how to get a residence permit“, and the employee’s taxes in “Digital nomad taxes in Spain“.
When a foreign company must register with Spanish Social Security
An employed digital nomad lives and works in Spain, so they fall under the Spanish Social Security system, which covers foreign nationals lawfully present and working in Spain, “including remote workers” (LGSS, art. 7.1.a). The Large Companies and Strategic Groups Unit (UGE), which issues the digital nomad permit, says the same thing directly: the company must first register with Social Security “as a non-resident entity without establishments in Spain” so that it can enrol the employee in the general scheme (UGE teleworker FAQ, question 6).
There is only one substitute: a certificate from the Social Security authority of the employer’s country, where Spain has a Social Security agreement with that country and the certificate expressly states that it covers telework in Spain. Contributions the company keeps paying at home without such a certificate do not replace Spanish Social Security.
| Situation | What Social Security requires | Comment |
|---|---|---|
| Company with no Spanish branch, country without an agreement | Company registration with the TGSS and employee registration (alta) in the general scheme | The main route, covered in this article |
| Company with no Spanish branch, country with an agreement | A treaty certificate that expressly names telework in Spain — or the same TGSS registration | Not every country issues one, and not for every contract |
| EU company | TGSS registration; under EU rules the employee may pay contributions on the company’s behalf by agreement | An A1 certificate applies only to postings and agreed exceptions |
| Company with a branch or subsidiary in Spain | Not a digital nomad case but an intra-company transfer | A different permit with its own UGE requirements |
The last row also comes from the UGE FAQ (question 10): if the employer has an establishment in Spain, the employee is treated as an intra-company transferee rather than a teleworker. That route is explained in “Relocating a business and employees to Spain“. For the same reason a Spanish Employer of Record does not fit: if the provider employs you through its Spanish company, your employer becomes Spanish, while an employed digital nomad may only work for a company based outside Spain (Ley 14/2013, art. 74 bis).
Documents the foreign company needs
The set is almost the same as for a Spanish company. It follows from the general employer registration rules (RD 84/1996, art. 11) and the guidance note for foreign employers issued by the Spanish Labour Ministry’s office in Germany (Consejería de Trabajo, 13.12.2022):
- A Spanish tax number for the company (NIF). A foreign company with no Spanish address receives an NIF starting with N through Form 036 (AEAT). Social Security needs the tax agency document showing this number and the company’s activity. The form itself is explained in our article on Form 036.
- Incorporation documents. Articles or deed of incorporation and an extract from the company register of the home country, with a sworn Spanish translation and an apostille or consular legalisation.
- A power of attorney or appointment of the representative with a Spanish address.
- The employer registration application on form TA.6. It states the Spanish address, the activity and the mutua — the insurer that will cover workplace accidents and sick leave. Choosing a mutua is a mandatory part of the application (LGSS, art. 138).
- Identification of the person filing — the representative, using an electronic signature.
No office in Spain is required, but a Spanish address is. A company that is abroad for more than six months a year must appoint a representative with a Spanish address for its dealings with the TGSS (RD 1415/2004, art. 16.2). The representative can be the employee or an external gestor. Companies must deal with Social Security through Sistema RED, its electronic data system, so the representative needs access to it (autorización RED). Gestores usually have it already, which saves the company from arranging it for the employee. What gestores do is explained in “Gestor in Spain“.
Step by step: from tax number to employee registration
- Company NIF. Form 036 at the tax agency (AEAT) with translated and apostilled documents. The AEAT sets no deadline for issuing the number, so build time for it into the plan.
- Representative and RED access. A power of attorney for the employee or a gestor, and an electronic signature for the representative. How to get one is explained in our article on the FNMT digital certificate.
- TGSS registration. Online at the Social Security electronic office, service “Inscripción y asignación de CCC para empresario colectivo”. If the documents are complete, registration is made on filing; if not, the company gets 10 days to fix them (RD 84/1996, art. 13). The company receives a resolution with its main contribution account code (CCC) and its workplace accident rate. Spanish consulates attach a sample of this resolution to their visa document lists.
- Residence application. The UGE receives the registration resolution, or at least proof that registration was requested, plus a commitment to register the employee once the permit is granted and before work starts (document list on one.gob.es). Fee 790-038: €73.26.
- Employee registration (alta). The employee needs a Social Security number (NUSS) first. The alta is filed before the first working day and no earlier than 60 days before it, and it takes effect from the day work starts (RD 84/1996, arts. 32 and 35). Working in Spain without authorisation breaches the immigration law (UGE FAQ, question 12), so the start date comes after approval.
- Monthly contributions. The TGSS calculates them in its direct settlement system (Sistema de Liquidación Directa); the company or its gestor confirms the statement through RED. Payment is due within the month following the one the contributions relate to (RD 1415/2004, art. 56).
The company pays contributions for the nomad from the alta date, not from its own registration date: until the employee starts work there is nothing to charge. What matters is the other side: if the alta is not made after the permit is approved, the permit can be withdrawn on review. The UGE says this outright for the self-employed (FAQ question 7), and a gap in Social Security is the first thing checked at renewal. More in “Digital nomad permit renewal in Spain“.
Do you need a Spanish bank account for contributions?
Not to register the company or to get the permit approved: neither the registration rules nor the UGE document list ask for one. It becomes necessary once contributions start.
The payment rules allow bank transfer, direct debit and other methods the TGSS approves (RD 1415/2004, art. 21). A general-scheme employer pays its statement through RED by direct charge (cargo en cuenta) or electronic payment. Both go through banks the TGSS has authorised to collect contributions (entidades colaboradoras); the TGSS keeps that list. For the self-employed the law explicitly requires direct debit at such a bank (RD 322/2024); for general-scheme employers there is no such express rule.
There is an argument for a foreign account: the SEPA Regulation forbids a payee from requiring an account in a particular EU country, provided the account is reachable for SEPA payments (Regulation (EU) 260/2012, art. 9.2). But we found no official TGSS guidance on whether it accepts a foreign employer’s account in another EU country. In practice, applicants consistently report that Social Security needs an account at an authorised Spanish bank. The safest course is for the company to open an account in Spain or use a bank authorised to collect contributions, and to agree any EU account with the TGSS in advance.
What it costs the company in 2026
The 2026 rates are set by Orden PJC/297/2026. Main contributions are calculated on the contribution base — salary including prorated bonuses and extra payments, capped at €5,101.20 a month. A small solidarity contribution applies to pay above the cap.
| Contribution | Company | Employee |
|---|---|---|
| Common contingencies (pension, sick leave) | 23.60 | 4.70 |
| Unemployment (fixed-term contract: 6.70 and 1.60) | 5.50 | 1.55 |
| Wage guarantee fund (FOGASA) | 0.20 | — |
| Vocational training | 0.60 | 0.10 |
| Intergenerational equity mechanism (MEI) | 0.75 | 0.15 |
| Workplace accidents, office work | 1.50 | — |
| Total | 32.15 | 6.50 |
| Solidarity on pay above €5,101.20: up to €5,611.32 / up to €7,651.80 / above | 0.96 / 1.04 / 1.22 | 0.19 / 0.21 / 0.24 |
The 1.50% workplace accident rate is set for work done exclusively in an office, and remote computer work usually receives it. The TGSS states the exact rate in the registration resolution. The company deducts the employee’s share from salary and pays it together with its own: the employer is liable for the full amount (LGSS, art. 142).
| Gross salary | Base | Company pays | Deducted from employee | Total to Social Security |
|---|---|---|---|---|
| €4,000 (€48,000 a year) | €4,000 | €1,286.00 | €260.00 | €1,546.00 |
| €6,000 (€72,000 a year) | €5,101.20 (cap) | €1,648.98 | €333.36 | €1,982.34 |
At €4,000 a month the company pays 32.15% on top — €15,432 a year — and the employee gives up €3,120. At €6,000 the main contributions hit the cap: the company pays €1,640.04 on the €5,101.20 base plus €8.94 of solidarity contribution on the €898.80 excess. That is 27.5% of salary, €19,787.76 a year. The higher the salary, the smaller the share: above the cap only the solidarity contribution, around 1%, is added.
For a well-paid employee this is also a point to raise with the company: above the cap, the cost of Spanish employment barely grows, while contributions give the employee Spanish public healthcare for themselves and their family, pension credits and benefits.
Tell us your situation — we reply within the hour
Income tax on the salary: who withholds IRPF
Foreign companies must also withhold Spanish income tax, but only if they “operate in Spain”, with or without a permanent establishment (IRPF Law, art. 99.2; IRPF Regulation, art. 76). The Directorate General for Taxes (DGT), in ruling V1339-26 of 2 June 2026, looked at exactly this case of a teleworker. A foreign company with no activity in Spain does not withhold. The salary is still taxed in Spain, and the employee declares it personally (DGT V1339-26).
Two consequences follow. Social Security registration does not turn the company into a withholding agent: the TGSS and the tax agency are separate bodies with separate tests. And the employee files an annual return if salary from such an employer exceeds €15,876 a year (IRPF Law, art. 96.3.c), which is almost always, and pays the tax in one sum in spring. Under the general rules there are no quarterly payments on a salary. The employee should set money aside from every payment: at €72,000 a year the bill is large.
The Beckham regime — 24% on salary up to €600,000 — is open to employed digital nomads. The application is due within six months of the alta date, so the company’s registration date and the alta date matter for tax too. How the regime works and when it pays off is explained in “The Beckham Law in Spain“.
Employment law and the company’s tax presence
Employment law. The parties may choose the law governing the employment contract, for example the law of the company’s country. But that choice cannot deprive the employee of the protection of mandatory rules of the country where they habitually work (Regulation (EC) 593/2008 “Rome I”, art. 8). For a digital nomad that country is Spain: Spanish minimum wage, holiday entitlement and dismissal protection apply whatever the contract says. A Spanish court will apply this regulation to a contract with a US or UK company as well.
Permanent establishment. A tax presence arises if the company has a fixed place of business in Spain or an agent who habitually concludes contracts on its behalf (Non-Residents’ Income Tax Law, art. 13.1.a). Social Security registration is not among these tests. The risk comes from the employee’s role and powers: a sales director who signs contracts raises questions, a software developer usually does not. The contract should state expressly that the employee does not conclude contracts on the company’s behalf. More in the permanent establishment section of “Relocating a business and employees to Spain“.
If the employer’s country has a Social Security agreement with Spain
Spain has bilateral Social Security agreements with 26 countries, including the United States, Canada, Australia, Japan, South Korea, China, Morocco, Ukraine and most of Latin America (Social Security list). Within the EU, EU regulations apply; the United Kingdom has its own post-Brexit rules.
The agreement alone replaces nothing. You need a certificate from the employer’s country stating that the employee stays in its system, and the UGE requires it to name telework in Spain expressly. These certificates are designed for posted workers: the authority issues one only if its rules allow remote work to be treated as a posting. According to participants at a COGAC seminar in November 2026 where a UGE coordinator spoke, the US certificate is issued only with a company letter describing a posting to Spain and can take up to three months. If no certificate is available, company registration with the TGSS remains the route.
EU employer. An employee who lives and works in Spain is covered by Spanish Social Security. The exceptions are temporary postings and cases where the authorities of both countries agree an exception; only then does the company stay out of Spanish registration (Consejería de Trabajo guidance note for Germany). The EU regulation states that the company fulfils its obligations as if it were established in Spain. It also allows an agreement for the employee to pay contributions on the company’s behalf — the employer’s basic obligations remain, and the TGSS must be notified (Regulation (EC) 987/2009, art. 21). The company registers in the same way.
One more difference. A treaty certificate exempts the employee from Spanish contributions but usually gives no access to Spanish public healthcare, so private insurance is then needed for the application. With TGSS registration the employee gets public healthcare along with the alta.
If you are choosing between these routes and are unsure which fits your employer, book a consultation: we will review the contract, the employer’s country and the timeline to filing.
Frequently asked questions
Does a foreign company have to register with Spanish Social Security for a digital nomad visa?
Yes, if you are an employee and do not have a treaty certificate that expressly covers telework in Spain. The UGE requires the company to register as a non-resident with no establishment and to enrol you in the general scheme. For the application, proof that registration was requested plus a commitment to register you is enough.
Does the company need a branch in Spain?
No. The company registers without a branch or an office; it only needs a Spanish address and a representative. In fact, if it has a Spanish branch, the digital nomad route does not apply: the UGE treats the employee as an intra-company transferee, which is a different permit.
Who can act as the foreign company’s representative with Social Security?
The employee or an external gestor with a Spanish address. The representative needs access to Social Security’s electronic data system (autorización RED). Gestores usually already have it, so companies often choose one: the gestor also confirms the monthly contribution statements.
Can contributions be paid from a bank account outside Spain?
No account is needed to register the company or to get the permit approved. Employers pay contributions through RED by direct charge or electronic payment via banks authorised by the TGSS. The SEPA Regulation bars payees from requiring an account in a particular EU country, but the TGSS has issued no guidance on this, and in practice applicants report needing a Spanish bank.
How much does an employer pay in Spanish Social Security for a digital nomad in 2026?
With a permanent contract and remote office work, 32.15% of the contribution base on top of salary; the employee pays 6.50%. The base is capped at €5,101.20 a month. On a €4,000 salary the company pays €1,286 a month; on €6,000 it pays €1,648.98 including the solidarity contribution.
Can I register as autónomo instead of the company registering?
Only if the contract itself changes: autónomo status fits a services (mercantil) contract with the company of at least three months, not an employment contract. You then register in RETA and pay your own contributions. With an employment contract you cannot register as autónomo instead of the company registering.
Does the foreign company withhold Spanish income tax?
Usually not. Withholding applies to non-residents that operate in Spain, and according to DGT ruling V1339-26 a company with a single remote employee does not. The employee files an annual return and pays the tax, or applies the Beckham regime under its own rules.
Key points about registering a foreign employer with Spanish Social Security
- An employed digital nomad without a treaty certificate gets the permit only if the company registers with the TGSS as a non-resident with no establishment.
- The company needs an NIF starting with N, translated and apostilled incorporation documents, a Spanish address, a representative with RED access and form TA.6 with a chosen mutua.
- For the residence application, the registration request and a commitment to register the employee are enough. The alta comes after approval and before the first working day.
- A Spanish account is needed for contributions, not for registration. A foreign EU account is arguable in law but not confirmed by the TGSS.
- In 2026 the company pays 32.15% on top of salary on a base of up to €5,101.20 a month; the employee pays 6.50%.
- The company usually does not withhold income tax: the employee declares it or applies for the Beckham regime.
Sources
Social Security: UGE teleworker FAQ, questions 5, 6, 7, 10, 12, 14; LGSS (RDL 8/2015), arts. 7, 138, 142; RD 84/1996, arts. 5, 11, 13, 14, 21, 32, 35; RD 1415/2004, arts. 16, 21, 56; Consejería de Trabajo guidance note, Germany; Orden PJC/297/2026, arts. 2, 4, 16, 17, 33; Social Security agreements; Regulation (EC) 987/2009, art. 21.
Tax and law: AEAT, company NIF; IRPF Law, arts. 96, 99; IRPF Regulation, art. 76; DGT V1339-26; Non-Residents’ Income Tax Law, art. 13; Regulation (EC) 593/2008, arts. 2, 8; Regulation (EU) 260/2012, art. 9; Ley 14/2013, art. 74 bis; one.gob.es, digital nomad documents.
- When a foreign company must register with Spanish Social Security
- Documents the foreign company needs
- Step by step: from tax number to employee registration
- Do you need a Spanish bank account for contributions?
- What it costs the company in 2026
- Income tax on the salary: who withholds IRPF
- Employment law and the company’s tax presence
- If the employer’s country has a Social Security agreement with Spain
- Frequently asked questions
- Does a foreign company have to register with Spanish Social Security for a digital nomad visa?
- Does the company need a branch in Spain?
- Who can act as the foreign company’s representative with Social Security?
- Can contributions be paid from a bank account outside Spain?
- How much does an employer pay in Spanish Social Security for a digital nomad in 2026?
- Can I register as autónomo instead of the company registering?
- Does the foreign company withhold Spanish income tax?
- Key points about registering a foreign employer with Spanish Social Security
- Sources