If your foreign company has employees, agents, or representatives operating in Spain, you may have created a Spanish Permanent Establishment — with significant Corporate Income Tax and VAT consequences.
This article is for general informational purposes only and does not constitute legal or tax advice. Tax laws and their application depend on individual circumstances and change frequently. The case studies and scenarios presented are illustrative only and have been anonymised. Please consult a qualified tax lawyer before taking any action. Jacob Salama · internationaltaxlegalspain.com · Bar Nº 11.294 ICAMálaga.
A Permanent Establishment (PE) is the threshold concept that determines when a foreign company's activity in a country becomes taxable in that country. If a foreign company creates a PE in Spain, Spain can tax the profits attributable to that PE under Corporate Income Tax (CIT), and the PE may have VAT registration and withholding tax obligations.
Under Spanish domestic law and most Double Tax Agreements (DTAs) to which Spain is a party (based on the OECD Model), a PE exists in one of two ways:
With the dramatic increase in remote working since 2020, PE risk has become one of the most frequently overlooked international tax issues for companies whose employees have relocated to Spain or regularly work from Spain for a foreign employer.
Consider a foreign company ("F") with no offices in Spain. A senior manager of F ("M") works from home in Madrid for F's operations, conducting business development, client calls, and project management for F's international clients. M does not sign contracts on F's behalf — all contracts are concluded by F's central management in the home country.
Does F have a PE in Spain?
The analysis proceeds as follows:
M's home office in Madrid is a "place of business" in Spain that is at the disposal of F. The OECD and the Spanish STA have confirmed that a home office can constitute a fixed place of business for PE purposes if:
The key question is whether F requires M to work from Spain, or whether M's home working arrangement is purely for personal convenience and M could equally perform the work from F's home country office if so required.
The OECD Commentary on this point (updated post-Covid) acknowledges that home working arrangements typically do not create a PE where the company did not require or mandate the home working, and where the arrangement is not regular and part of an organisational structure.
Even without a fixed place of business, F may have a PE if M is an agent who "habitually concludes contracts, or habitually plays the principal role leading to the conclusion of contracts that are routinely concluded without material modification by the enterprise." This is the post-BEPS (2017 OECD Model) version of the dependent agent test.
Under this expanded test, M does not need to formally sign contracts. If M habitually plays the principal role in concluding contracts (e.g., by negotiating and agreeing key terms with clients, with head office merely rubber-stamping), a PE may exist.
If a PE is found to exist, the consequences are significant:
Companies with employees or representatives in Spain can manage PE risk through appropriate structuring:
The BEPS (Base Erosion and Profit Shifting) project significantly tightened PE rules from 2017. The updated OECD Model expands the dependent agent test as described above, and also adds an "anti-fragmentation" rule that prevents companies from artificially splitting activities between multiple locations to keep each below the PE threshold. Companies should reassess their PE exposure under the post-2017 rules, particularly if their initial analysis was done before the BEPS changes were implemented.
For a PE risk assessment and structuring advice, contact internationaltaxlegalspain.com.
Every tax case is different. Book a consultation with Jacob Salama, specialist in international taxation for expats and non-residents in Spain.
Updated for 2025. The OECD has rewritten its guidance on home offices and permanent establishments. Read remote workers in Spain and permanent establishment: the 2025 OECD rules.