If you’re reading this, someone on your team has probably told you your company may have a tax problem in Spain. And it’s worth taking seriously, because the permanent establishment is the figure through which the Tax Agency can tax at 25% the profits of a foreign company that never incorporated anything in Spain: no company, no branch, no registered office. It’s enough for the activity to be carried out in practice from Spanish soil through a fixed place of business or a person who closes deals in your name. The nuance that changes everything: the permanent establishment isn’t chosen, it happens. And when the Inspectorate detects it after the fact, the bill includes up to four years of tax, interest, and penalties.
This guide explains, with the rules in force, when a permanent establishment triggers, what distinguishes it from a branch or a subsidiary, what happens with remote employees (the most frequent real risk today), what the Spain-United States treaty says after its 2019 protocol, how it’s taxed exactly, and what preventive measures to apply before the question comes from the Tax Agency.
What Is a Permanent Establishment in Spain and Why Should It Concern You?
The permanent establishment (PE) is the threshold from which Spain acquires the right to tax the business profits of a non-resident entity. Its regulation has two levels, and the reading order matters:
- Domestic law: Article 13.1.a) of the Non-Resident Income Tax Act defines when a PE exists, and its Chapter III regulates how it’s taxed.
- Double taxation treaties: if your country has a treaty with Spain (the United States does), the definition in its Article 5, modeled on the OECD Model, prevails over the domestic one and is usually more restrictive: it requires more for a PE to exist.
This hierarchy is the first tool of defense and almost no content explains it well: first you check whether there’s a PE under Spanish law and, then, whether the applicable treaty confirms or rules it out. An eight-month project by an American construction company, for example, is a PE under Spanish law and isn’t one under the treaty. Anyone analyzing only one level of the building gets it wrong in both directions.
When a Permanent Establishment Triggers: The Legal Cases
Fixed Place of Business: Management Office, Branch, Office, Factory, Workshop, or Warehouse
The classic case: the company has in Spain, on a continued or habitual basis, facilities or workplaces where it carries out all or part of its activity. The law lists, among others, management offices, branches, offices, factories, workshops, warehouses, stores, mines, and wells. Three points that avoid costly mistakes:
- The premises don’t have to be owned or rented by the company: it’s enough that they’re at its disposal in practice.
- There’s no threshold of days that triggers the PE through a fixed place of business. The key is fixedness and continuity, not a counter of dates.
- The activity carried out from that place must be the business’s own, not merely auxiliary.
Construction, Installation, or Assembly Projects: The Six-Month Rule
Spanish domestic law considers a PE any project lasting more than six months. It’s the only case with an express time limit, and treaties usually extend it: the OECD Model speaks of twelve months, and so does the Spain-United States treaty after its protocol. The count includes seasonal interruptions and subcontractors’ work, another classic of adjustments.
Dependent Agent: When Someone Signs Contracts in Your Name from Spain
The most treacherous case, because it triggers a PE with no physical facility at all. If a person (an employee or not) acts in Spain on behalf of the company and habitually exercises powers that authorize them to conclude contracts in its name, there’s a permanent establishment. The modern interpretation goes beyond the formal signature: systematically negotiating the essential elements of the contracts the parent company then rubber-stamps without substantial changes also counts. The independent agent (a distributor or commission agent acting within the ordinary framework of their own activity, with several clients and their own risk) is left out.
What Does NOT Trigger a Permanent Establishment: Auxiliary or Preparatory Activities
Treaties expressly exclude places devoted only to preparatory or auxiliary activities: storing or displaying the company’s own goods, purchasing goods, collecting information, advertising, or research. The condition is that they be genuinely ancillary: a logistics warehouse that forms the operational heart of an e-commerce business hardly passes as auxiliary today.
Permanent Establishment, Branch, Subsidiary, and Representative Office: What Distinguishes Them
| Figure | Legal personality | Parent company’s liability | Taxation in Spain | Commercial Registry |
|---|---|---|---|---|
| Permanent establishment. | No (it’s a tax classification). | Full. | 25% on the attributable income. | Only if it takes the form of a branch. |
| Branch. | No. | Full. | 25% (taxed as a PE). | Yes, registration mandatory. |
| Subsidiary (S.L./S.A.). | Yes, its own. | Limited to the contribution. | Ordinary Corporate Income Tax. | Yes. |
| Representative office. | No. | Full. | No taxable activity (preparatory only). | No. |
The idea that orders the table: branch, subsidiary, and representative office are structures you choose; the permanent establishment is a classification you suffer. Every branch is a PE, but a PE can exist with no branch, no subsidiary, and no registration at all: it’s exactly the case of the undeclared PE the Inspectorate pursues. We develop the operational differences between the three voluntary structures in our guide on representative office, branch, or subsidiary in Spain.
Does an Employee Teleworking from Spain Create a Permanent Establishment?
It’s the question of this decade and the case where the most foreign companies are taking on risk without knowing it. The serious answer: it depends on what the employee does and on who decides they work from Spain.
The Directorate-General for Taxation’s Criterion on the Home Office
Administrative doctrine starts from the premise that the discontinuous and incidental use of the employee’s home doesn’t turn their house into a fixed place of business at the company’s disposal. Three factors weigh in the analysis: that the employee works from Spain by their own decision (not at the employer’s requirement), that the company keeps a workstation at their disposal in the country of origin, and that it doesn’t cover the expenses of the Spanish home. When the stay is prolonged and those factors reverse (the company closes the workstation of origin, pays the coworking in Valencia, organizes the team around Spain), the analysis changes and it must be studied case by case.
The Salesperson Closing Deals from Spain: The Case of Greatest Real Risk
A developer who programs remotely for Texas is a low-risk scenario. A salesperson who habitually negotiates and closes deals with clients from Spain is the textbook dependent-agent case: it can trigger a PE with no office, no branch, and no one at headquarters finding out until the letter from the Tax Agency. If your plan is to have employees in Spain, the right labor structure (non-established employer, subsidiary, or alternative) and the design of the position’s duties are decided together: we explain it in our guide on how to hire employees in Spain as a foreign company.
Digital Nomad Visa and Permanent Establishment: What the Tax Agency Looks At
The international teleworker with a digital nomad visa adds a layer: their presence in Spain is formal, prolonged, and known to the Administration. For the employee who executes tasks with no power to contract, the risk to their company generally remains low; for partners, executives with powers, or salespeople, the combination of stable residence and deal-closing duties deserves professional analysis beforehand, not after.
American Companies in Spain: What the Double Taxation Treaty Says
Article 5 of the Spain-United States Treaty and the Extension to Twelve Months
The 1990 treaty, modernized by the protocol in force since November 27, 2019, governs the tax relationship between the two countries, and its Article 5 defines the PE more restrictively than Spanish law on the key point of projects: the threshold goes from the six months of domestic law to twelve months for construction or installation projects. The protocol also left the framework very favorable to the investor: dividends at 15% general, at 5% with a 10% holding, and at 0% with 80% of the capital held for twelve months (meeting conditions), interest and royalties generally with no withholding at source, and the old branch tax repealed in general and limited to certain real estate income with a 5% cap.
American LLCs Operating in Spain: Tax Transparency and Treaty Access
Here’s the American entrepreneur’s most expensive misunderstanding: assuming their LLC is invisible in Spain. The problem is twofold. First, the LLC with tax transparency in the United States doesn’t always access the treaty as an entity in itself: the treaty’s benefits are analyzed by looking at its members and where the income is effectively taxed, which requires a specific case-by-case examination. Second, and independent of the above: if the LLC’s activity is carried out in practice from Spain (a partner based here who runs the business, an agent who closes contracts), there can be a permanent establishment even with no Spanish office or entity whatsoever. The American legal form doesn’t immunize against the actual activity on Spanish soil.
The Limitation on Benefits (LOB) Clause: When You Lose the Treaty’s Protection
The protocol introduced a demanding limitation-on-benefits clause: only persons and entities that pass its tests (listing, ownership and base erosion, genuine economic activity, among others) access the treaty’s advantages. For structures with partners from third countries or chains of interposed entities, the LOB can close the treaty’s door and return the analysis to Spanish domestic law, with its broader PE definition and its complementary taxation. It’s the block where a badly designed structure loses all its protections at once.
How a Permanent Establishment Is Taxed in Spain
Tax Rate and Determination of the Attributable Income
The PE is taxed under the Non-Resident Income Tax at a rate of 25% (the general Corporate Income Tax rate) on the entirety of the income attributable to it, regardless of where it’s obtained: activity income, income from the assets connected to it, and gains or losses on those assets. The base is determined with the Corporate Income Tax rules, with specific limitations (payments to the head office for royalties, interest, or commissions are not, in general, deductible). A direct example: a PE with attributable profit of 200,000 € bears a tax of 50,000 €. If it also transfers the net profit to its parent company outside the EU and with no treaty preventing it, the complementary taxation adds a second blow we cover below.
Form 200, Form 206, and Installment Payments: Calendar and Deadlines
The PE files with form 200, the same one as resident entities, checking box 00021, with form 206 as the payment or refund document, and makes installment payments with form 202. The deadline: the 25 calendar days following the six months after the close of the tax period. Relevant exception: PEs of projects lasting more than six months, seasonal activities, or exploitation of natural resources are taxed transaction by transaction with form 210, unless they opt for the general regime. Handling this cycle (separate accounting, forms, withholdings) is exactly what our corporate income tax and tax compliance in Spain service covers.
The 19% Complementary Taxation on Income Transferred Abroad
When the PE of a foreign entity transfers income abroad, an additional taxation of 19% on the transferred amounts is triggered, the Spanish equivalent of the branch profits tax. It doesn’t apply to PEs of individuals, nor when the head office resides in the EU (except non-cooperative jurisdictions), nor when the treaty with Spain excludes it with reciprocal treatment: with the United States, as we saw, it’s reduced to specific real estate cases with a 5% cap. It’s paid through form 210 in the first twenty days of April, July, October, or January, depending on the quarter of the transfer.
Other Obligations: Tax ID, Accounting, Commercial Registry, and Withholdings
The declared PE carries a compliance package: its own tax ID, separate accounting of the operations attributable to it, invoicing and withholding obligations (it’s required to withhold on the salaries and income it pays, just like a Spanish company), and informative returns. Registration in the Commercial Registry is only mandatory when the presence takes the form of a branch; the “de facto” PE isn’t registered, and that’s precisely its trap: it exists for tax purposes even if it doesn’t exist for registry purposes.
The Permanent Establishment for VAT Purposes Is a Different Concept
Don’t mix planes: VAT handles its own notion of permanent establishment (a structure with sufficient human and technical means to receive or provide services), with different thresholds and consequences. You can have a PE for VAT purposes without having one for direct taxation purposes, and vice versa. Each analysis is done separately, and the conclusions of one don’t export to the other.
What Happens if the Tax Agency Detects an Undeclared Permanent Establishment
It’s the scenario that gives meaning to everything above. The Inspectorate reconstructs the Spanish activity of the non-time-barred years (generally, four years), attributes the corresponding income to the PE, and assesses: tax at 25%, late-payment interest, and penalties that can range from 50% to 150% of the unpaid tax depending on the seriousness and the concealment. Added to this are the breached formal obligations and the possible liability of the representative in Spain. The Tax Agency has spent years sharpening this artillery on large tech groups and applies it as a matter of course to mid-sized companies: salespeople in Spain, operational warehouses, and executives based here are its three favorite leads. If you receive a request or a notice of the start of proceedings, that’s the moment to build the technical defense, not the phase of late allegations: our tax inspections in Spain service takes on full representation before the AEAT.
Eight Measures to Prevent the Permanent Establishment Risk
- Map your real presence in Spain: people, duties, powers, premises, and warehouses, with dates and duration.
- Define in writing the duties of remote employees and expressly exclude the power to negotiate or close contracts if you don’t want to take on the dependent-agent risk.
- Don’t cover the expenses of the employee’s Spanish home if the telework is their decision, and keep the workstation at their disposal in the country of origin documented.
- Watch the calendar of projects: count subcontractors and interruptions before crossing the six months (or the twelve of the applicable treaty).
- Check that warehouse and logistics activities remain genuinely auxiliary to your business model.
- If you operate with an LLC or another transparent entity, validate its treaty access before relying on it, not after.
- Document the analysis: a prior technical memorandum concluding the absence of a PE is the best proof of diligence if the Inspectorate asks.
- When the Spanish activity grows, regularize by design: incorporating a subsidiary limits liability, orders the tax side, and eliminates the uncertainty, and our company incorporation in Spain service gets it operational in a few weeks.
The permanent establishment is the figure where international taxation becomes concrete: it doesn’t depend on what you incorporated, but on what you do, and it’s decided by facts your own organization keeps creating without realizing it: a brilliant salesperson based in Alicante, a project that drags on, a warehouse that becomes the center of the business. The good news is that it’s a perfectly manageable risk when analyzed beforehand: the right regulatory hierarchy applied, documented duties, a watched calendar and, when the activity calls for it, a structure declared by design.
At ILLAY Legal we analyze the permanent establishment risk of foreign companies with activity in Spain through fully online service: a review of presence and duties, application of your country’s treaty, a memorandum of conclusions and, where appropriate, regularization or incorporation of the optimal structure. Tell us how your company operates in Spain and we’ll tell you exactly where you stand and what steps to take.
Frequently Asked Questions About Permanent Establishment in Spain
How long does a foreign company have to be in Spain to trigger a permanent establishment?
There’s no single time limit, and be wary of anyone who gives you one. For the fixed place of business there’s no threshold of days: what counts is the fixedness, the continuity, and the availability of the place, not a counter. The only case with an express time limit is construction, installation, or assembly projects: more than six months under Spanish domestic law, extended to twelve by many treaties, including the one with the United States. And the dependent agent triggers a PE through the habitual nature of their contractual activity, not through their length of time in the country.
Does having a warehouse in Spain create a permanent establishment?
Spanish law includes it among the places that can constitute a PE; treaties exclude it if its use is merely auxiliary (storage or delivery of the company’s own goods). The answer therefore depends on the applicable treaty and the real weight of the warehouse in your business model.
Does a permanent establishment have to be registered in the Commercial Registry?
Only when the presence is structured as a branch, which requires a deed and registration. The PE as such is a tax classification: it’s declared before the Tax Agency (tax ID, form 200, separate accounting) and can exist with no registry registration. In fact, the unregistered and undeclared PE is precisely the case the Inspectorate pursues.
Can I have a permanent establishment without having an office in Spain?
Yes. The dependent-agent route triggers a PE with no premises at all: it’s enough to have a person who habitually negotiates or closes contracts in the company’s name from Spain. It’s the most frequent risk case in the era of remote work.
What’s the difference between permanent establishment and the company’s tax residence?
The PE subjects to Spanish taxation only the income attributable to the activity in Spain, at 25% under the Non-Resident Income Tax. Tax residence is a much bigger leap: if the company’s effective place of management is in Spain (because whoever really runs it operates from here), the entire entity becomes a Spanish taxpayer on its worldwide income. A key executive based in Spain can start by generating a PE debate and end up generating one about the tax residence of the whole company.


