Post-Contractual Non-Compete Clauses in Spain: Validity Rules
When a qualified employee or someone with access to strategic information ends their employment relationship with a company, an obvious conflict of interest arises: the constitutional right to the free choice of profession or trade versus the company's right to protect its client portfolio and know-how. In the Spanish legal system, the legal tool used to balance this scale is the post-contractual non-compete clause. However, because it restricts fundamental rights, Spanish courts strictly demand compliance with a series of validity requirements so that this agreement is not declared null and void. In this article, we will analyse in depth how this clause works, what financial compensation the law requires, and how to avoid the most common mistakes that invalidate these agreements.
Legal Framework: Where is the Post-Contractual Non-Compete Regulated?
The regulation of this agreement in Spanish labour law is seemingly simple, but it is backed by a vast body of case law that complements the written statute. The reference legal framework is built upon the following pillars:
- *The Estatuto de los Trabajadores (Workers' Statute - Royal Legislative Decree 2/2015): Its Article 21.2 is the cornerstone rule. This provision expressly establishes that a non-compete agreement for after the termination of the employment contract cannot exceed a duration of two years for technical staff (técnicos*) and six months for other workers. Furthermore, it will only be valid if two cumulative requirements are met: that the employer has an actual industrial or commercial interest in it, and that the worker is paid adequate financial compensation.
- *The Código Civil (Civil Code): Suppletorily, and given that this is a bilateral agreement of wills, the general principles of obligations and contracts apply. Especially relevant is Article 1256, which establishes that the validity and fulfillment of contracts cannot be left to the sole discretion of one of the parties (preventing the company from unilaterally deciding to "drop out" of the agreement without paying when the employment relationship ends), and Article 1124* regarding the resolution of reciprocal obligations in the event of a breach.
- *The Ley Reguladora de la Jurisdicción Social (Law Regulating Labour Jurisdiction - Law 36/2011): This determines the jurisdiction of the Juzgados de lo Social* (Labour Courts) to resolve disputes arising from the signing, fulfillment, or breach of these clauses, even when the employment relationship has already ended.
Validity Requirements: The Substantive Rules
For a post-contractual non-compete agreement to be fully valid and binding before Spanish courts, it must strictly comply with three cumulative requirements. The lack of any of them leads to the absolute nullity of the clause.
1. The actual industrial or commercial interest of the company
The company cannot impose this limitation out of mere whim or as a generalized deterrent for its entire workforce. There must be a real risk that the worker, upon leaving for the competition or starting their own business, could use the acquired knowledge, internal methodologies, or direct relationship with the client portfolio to cause financial harm to the original company.
This interest must be demonstrable. For example, it is fully valid for a software development director, a commercial director with access to rates and margins, or a key account manager. Conversely, it lacks cause and is null and void for positions where confidential information is not handled and clients are not retained on a highly personal basis.
2. Strict time limitation
The law imposes insurmountable time limits that start counting from the day following the termination of the employment contract:
- A maximum of two years for personnel considered "technical staff" (técnicos - university graduates, middle management, highly qualified technical personnel).
- A maximum of six months for the rest of the workers.
If a contract sets a longer term (for example, three years for an engineer), the majority of case law tends to declare the total nullity of the clause, or in some very specific cases, reduce it to the legal limit of two years. However, the safest way to avoid risks of nullity is to adjust strictly to the legal limits.
3. "Adequate" financial compensation
This is the most contentious point in court. The law does not establish a fixed percentage or a mathematical formula to determine what constitutes "adequate financial compensation". However, the case law of the Tribunal Supremo (Supreme Court) has shaped this concept under the premise that the payment must effectively compensate for the harm caused to the worker by limiting their ability to earn a living in their specialized sector.
To assess whether the compensation is adequate, judges analyze:
- The geographical scope of the prohibition.
- The specialization of the worker and the difficulty of finding employment outside the restricted sector.
- The amount of the payment in relation to the salary the employee was receiving.
Generally, purely symbolic amounts are considered null and void. Case law usually validates compensations ranging between 20% and 50% of the salary the worker was receiving, paid monthly during the employment relationship or in a single lump sum (or monthly installments) after the termination of the contract.
Practical Examples of Application and Calculation
To understand how these rules operate in the reality of the Spanish job market, we analyze two opposing scenarios based on real figures.
Example 1: Carlos's Case (Valid Agreement)
Carlos works as a Sales Director at a logistics software company in Madrid. His gross annual salary is €60,000 (equivalent to €5,000 gross per month). Upon signing his contract, a post-contractual non-compete clause is included with the following conditions:
- Duration: 1 year after leaving the company.
- Scope of application: Logistics and distribution software sector within the national territory.
- Financial compensation: The company will pay him monthly, during the term of the employment contract, a non-compete bonus (plus de no competencia) equivalent to 25% of his base salary, which amounts to €1,250 gross per month.
Validity analysis: This agreement is fully valid. There is a clear commercial interest (access to clients and pricing), the duration (1 year) is below the 2-year limit for technical staff, and the total accumulated financial compensation after several years of service represents a very significant sum that amply compensates the worker for the temporary limitation of working in that specific market niche.
Example 2: Sofía's Case (Null Agreement due to Disproportion)
Sofía is hired as a junior web programmer with a gross annual salary of €24,000 (€2,000 gross per month). A clause is inserted into her contract prohibiting her from working in any company in the technology or software development sector throughout the European Union for 2 years after her departure. As compensation, a single payment of €1,500 is agreed upon, to be paid alongside her finiquito (final settlement payment).
Validity analysis: This agreement is null and void for three concurrent reasons:
- Duration: Sofía is a junior programmer; assigning her the category of technical staff with a 2-year restriction based on an entry-level position is disproportionate.
- Geographical scope: Restricting the entire European Union for a junior position is abusive and lacks real justification for a local SME.
- Inadequate compensation: Preventing a professional from working in her sector for 24 months in exchange for a single payment of €1,500 (which equates to barely €62.50 for each month of prohibition) is a derisory amount that fails to meet the "adequate" requirement. Sofía could challenge the clause and be freed to work wherever she wishes.
Step-by-Step Practical Procedures for the Company and the Worker
If you are facing the signing or execution of a non-compete clause, these are the practical steps you must follow to guarantee the legal certainty of your position:
- Drafting and signing in writing: The post-contractual non-compete agreement can never be verbal or presumed. It must be in writing, either in the initial employment contract itself or through an annex signed by both parties during the employment relationship.
- Precise definition of terms: The prohibited sector of activity must be specified with total clarity (using CNAE codes if possible), as well as the geographical scope of the restriction (for example, "Comunidad de Madrid" or "Spain") and the exact duration in months or years.
- Breakdown on the payslip (if payment is monthly): If the compensation is paid during the employment relationship, this item must appear on the worker's payslip (nómina) in a completely differentiated manner under the concept "Post-contractual non-compete bonus" or similar. It must not be hidden within the base salary or other generic bonuses.
- Communication upon contract termination: When the employment relationship ends (whether due to dismissal, voluntary resignation, or end of contract), both parties must review the agreement. The company cannot unilaterally waive the agreement at the last minute to save the payment, unless it had expressly reserved that right contractually and with reasonable notice—something that case law scrutinizes closely to prevent abuse.
- Legal claim in case of breach:
- If the worker breaches the agreement and works for the competition, the company can sue them before the Labour Courts, demanding the return of the amounts received and, if a proportional penalty clause was agreed upon, compensation for damages.
- If the company breaches the agreement and does not pay the agreed compensation, the worker can claim the owed amounts in court or request to be released from the agreement to work freely.
Mistakes You Must Avoid
Whether you are an employer or a worker, making these common mistakes can lead to serious financial and legal consequences:
- Establishing "zero-cost" non-compete clauses: Thinking that you can prohibit an employee from going to the competition without paying anything in return is the most frequent mistake. These clauses are null and void from the very first second.
- Unilateral waiver by the company at the time of dismissal: Many companies believe that if they dismiss a worker and no longer fear their competition, it is enough to tell them "I release you from the agreement and I will not pay you." The Supreme Court has reiterated that the agreement binds both parties and the company cannot unilaterally free itself from its payment obligation upon contract termination, unless there is a very specific prior agreement.
- Setting disproportionate penalties for the worker: Including a penalty clause that forces the worker to pay a massive penalty if they breach the agreement, when the compensation they received was minimal. Judges will moderate or annul these penalties for being abusive.
- Confusing non-compete during the contract with post-contractual non-compete: During the term of the employment contract, the employee has a basic duty of non-competition (Article 5 of the Workers' Statute) which does not require any financial compensation. Financial compensation is mandatory solely and exclusively for the limitation that operates after the contract ends.
Frequently Asked Questions (FAQ)
What happens if the worker breaches the non-compete agreement?
If the worker violates the agreement and starts working for a competing company or starts a competing self-employed activity within the restricted period, they commit a breach of contract. The original company can file a lawsuit before the Labour Courts demanding the cessation of the prohibited activity, the full return of all financial compensation received for this concept, and, additionally, payment for the damages actually caused (or the penalty set in the contract if it is proportional).
Can I work for the competition if the clause does not define what "competition" is?
Generic or ambiguous clauses that abstractly prohibit "working in any company in the sector" without defining the specific field of activity are usually declared null and void by the courts. For it to be valid, the company must clearly specify which concrete activities or companies constitute direct competition based on its own corporate purpose and market.
Can the compensation be paid monthly during the life of the contract?
Yes, this is a completely legal and very common practice in Spain. The company can pay a monthly amount on the worker's payslip under a specific concept. However, if the contract is terminated prematurely, the worker will have received the proportional part corresponding to the time worked, and must respect the agreement for the total agreed time after their departure.
What happens if I am dismissed via an unfair dismissal? Is the agreement still active?
Yes, as a general rule, the post-contractual non-compete agreement remains fully active after an unfair dismissal (despido improcedente), provided that the validity requirements (commercial interest and adequate compensation) are met. The nature of the contract's termination (voluntary resignation, objective dismissal, or disciplinary/unfair dismissal) does not by itself extinguish the validity of this bilateral agreement, unless the parties had expressly agreed otherwise in the clauses of the contract.
In Summary
- The post-contractual non-compete agreement limits the right to work after the termination of the contract and is regulated by Article 21.2 of the Workers' Statute.
- Its maximum duration is two years for qualified technical staff and six months for the rest of the workers.
- It strictly requires that the company demonstrates an actual industrial or commercial interest and pays the employee adequate financial compensation.
- The financial compensation usually ranges between 20% and 50% of the worker's salary and can be paid monthly during the contract or in a single lump sum upon its termination.
- The company cannot unilaterally waive the agreement at the time of termination to avoid making the payment, unless it had contractually reserved that option with specific and valid notice.
- A breach by the worker will force them to return the amounts received and, potentially, compensate the company for damages.
General legal information, not personalised legal advice. For your specific situation, ask your question for free at AbogadoAI — answers grounded in Spanish law (BOE), in English.
Have a specific legal question?
Ask AbogadoAI and get an answer based on Spanish law (BOE), with sources — in English.
Ask for freeThis is general information, not legal advice. Verify on the BOE or consult a lawyer for your specific case.