Job search

Non-compete and pacto de permanencia in Spanish tech contracts

Can your Spanish employer stop you joining a competitor? Article 21 of the Estatuto: two years for technicians, compensation, permanence pacts and side work.

A person signing a contract with a gold pen beside a laptop and an open book.

Photo: kaboompics on Pexels

A Spanish employment contract can contain three different clauses that limit what you do after or during your job: a restriction on working for other companies while you are employed, a non-compete after you leave, and a permanence pact that asks you to stay after paid training. Article 21 of the Estatuto de los Trabajadores sets the rules for all three (article 21). The consolidated text shows article 21.1 amended by Real Decreto-ley 39/2026, in force since 19 November 2026 and pending validation by Congress (RDL 39/2026).

This is general information, not legal advice. Clauses are read against the whole contract and the facts of your case, so check your own text with a labour lawyer before you sign.

Three different clauses

  • Exclusivity while you are employed. This limits work for other companies during the contract (article 21.1).
  • Post-contract non-compete. This stops you working for competitors after you leave (article 21.2).
  • Pacto de permanencia. This is a stay pact that asks you to remain after employer-paid specialised training, with damages if you leave early (article 21.4).

Each clause has its own limits, so read them separately. A contract can include one, two or all three.

Working for other companies while employed

Article 21.1 says the employer may not prohibit or limit your services to other companies. The only exceptions are objective reasons, such as health and safety, business confidentiality, the integrity of public service or conflicts of interest. You may not be treated less favourably for working elsewhere. A full-dedication pact is different: it can apply if it is paid (article 21.1). If you have such a pact, you can end it and work elsewhere again by giving the employer 30 days’ written notice, but you then lose the compensation (article 21.3).

This matters if you want side work, such as a freelance project or a part-time role. Check whether your contract includes a full-dedication pact and what it pays. If it does not, the general rule in article 21.1 applies.

Post-contract non-compete: time, interest and pay

A non-compete after you leave may last at most two years for technicians and six months for other workers (article 21.2). It is valid only if the employer has an effective industrial or commercial interest in it, and if you receive adequate economic compensation (article 21.2).

Not everyone needs this clause. If your contract has no post-contract non-compete, there is no restriction of this kind to worry about. If it does, check the duration, the interest the employer names and the amount paid for the restriction.

Pacto de permanencia after paid training

A permanence pact may be used after the employer has paid for specialised training to launch specific projects or do a specific job. It must be in writing and may last at most two years. If you leave before then, the employer may claim damages (article 21.4).

Check what the training covered, its cost and how the damages are calculated. The pact must be in writing, so an oral promise to stay is not enough.

What makes a clause enforceable

The three conditions for a post-contract non-compete are the time limit, a real interest for the employer and adequate pay (article 21.2). If one of them is missing, the clause may not hold. Keep the offer letter, the training record and the payslips that show any compensation, since you will need them if the clause is disputed. The text does not set a fixed sum for “adequate” pay, so the amount is judged on the facts of each case.

Negotiating before you sign

Ask for the clauses in writing before you accept the offer, and keep the final signed version. Ask whether a non-compete applies, for how long and for which competitors. If a permanence pact is offered, ask what training it covers, what it costs you if you leave, and whether the pay for the restriction is stated.

For the rest of your contract, our guide to Spanish employment contracts explains the probation, notice and severance terms that sit alongside these clauses.

Common mistakes

  • Treating all restrictions as one clause. Exclusivity, a non-compete and a permanence pact follow different rules. Fix: read each clause against its own article.
  • Assuming a non-compete applies to any job. It is valid only with an effective interest and adequate pay. Fix: ask which interest the employer names and what it pays.
  • Missing the duration limit. A non-compete may last at most two years for technicians and six months for others. Fix: check whether your job is a technician role for this purpose before you accept a longer term.
  • Agreeing to a permanence pact without knowing the damages. The pact can last at most two years, with damages if you leave early. Fix: ask what the damages would be before you sign.
  • Taking side work without checking exclusivity. Article 21.1 limits what the employer can prohibit, but a full-dedication pact may apply. Fix: check your contract for a pact and its pay.

Frequently asked questions

Who counts as a technician for the non-compete?

The article sets two periods, two years for technicians and six months for other workers (article 21.2). The text does not define “technician” in this article, so ask the employer which category your role falls into and check the category in your collective agreement.

Can the non-compete be unpaid?

No. A post-contract non-compete is valid only if the worker receives adequate economic compensation (article 21.2). Check the amount in your contract, and ask how it is calculated if it is not stated.

Do these rules apply to remote work for a foreign employer?

The text does not say how the clauses apply to a foreign employer’s contract, so ask an adviser which law governs your contract before you sign.

Can I repay training costs instead of staying?

A permanence pact allows the employer to claim damages if you leave early, within the two-year limit (article 21.4). Ask in writing how the damages are calculated, and whether repaying the cost would end the obligation.

Next steps

This guide is general information, not legal advice. Rules and fees change. Always check the official pages linked above before you apply.

Sources

  1. https://www.boe.es/buscar/act.php?id=BOE-A-2015-11430
  2. https://www.boe.es/diario_boe/txt.php?id=BOE-A-2026-24121

Related jobs

View all