In short
- Programs cannot be patented in Egypt (Article 2 of Law No. 82 of 2002) and are protected as copyright works (Article 140), so who owns code depends on the assignment.
- The assignment must be in writing and name each right with its extent, purpose, duration and place (Article 149). A transfer of the whole of a person’s future output is void (Article 153), and so is any disposal of moral rights (Article 145).
- During the job, Articles 134 and 136 of the Labour Law require secrecy and forbid a similar activity.
- After the job, a non-compete must be limited in time, place and type of work, and the employer cannot rely on it after ending, or refusing to renew, the contract without cause from the worker (Article 686).
- Under an employer of record, the employer on the contract is the provider, so your ownership rests on what each person signs and what the provider signs. Everyone we employ for a client signs that their work belongs to the client.
What is protected, and what to put in writing
| What | Default rule | Legal basis | Put in writing |
|---|---|---|---|
| Invention within the job | Employer has all rights; inventor is named and entitled to pay | Law 82 of 2002, Article 7 | The job’s scope, an express inventions clause, the inventor’s pay |
| Code, databases, drawings, text | The author’s, until transferred in writing | Law 82, Articles 138, 140, 147, 149 | An assignment, right by right |
| Moral rights | The author’s, permanently | Law 82, Articles 143 to 145 | Credit and release arrangements, never a waiver |
| Secret business information | Protected while secret, valuable and effectively guarded | Law 82, Articles 55, 57 and 58 | A confidentiality agreement and a list of who has access |
| Secrecy and outside work during the job | Set by law for every employee under the Labour Law | Labour Law 14 of 2025, Articles 134, 136, 148 | A written instruction on what is confidential |
| Secrecy after the job | Continues for industrial and commercial secrets | Civil Code, Article 685 | What is covered, and what comes back |
| Competing after the job | Free, unless validly restricted | Civil Code, Articles 686, 687 | Reason, time, place, type of work |
We read Law No. 82 in the Arabic text consolidated to 2020 on WIPO Lex, and in Andersen’s 2025 translation. Where they differ, this page follows the Arabic.
Who owns an invention made by an employee
The employer does, when the invention is made during the employment and falls within the scope of the contract or the working relationship (Article 7). The inventor’s name goes in the patent and the inventor is entitled to remuneration. If none was agreed, the law gives fair compensation.
If the invention falls outside that scope but within the establishment’s activity, the employer may exploit it or buy the patent for fair compensation. It must choose within three months of being notified that the patent was granted.
The Civil Code has its own rule. Article 688 leaves an invention with the worker unless the job calls for inventive effort or the contract expressly gives the employer the right. In those two cases the worker may claim special compensation if the invention has serious economic importance. Law No. 82 is later and repeals any provision contrary to it (second issuing article); we found no text on what that means for Article 688. So describe inventive work in the job and give the employer the right expressly.
Who owns code, drawings and other copyright work
The author does: the person who creates the work (Article 138), with the exclusive right to authorise or prohibit any exploitation of it (Article 147). Protected works include computer programs, databases, written work, drawings, sketches and architectural works (Article 140). Articles 138 to 188, the copyright book, never mention employers or employees, so nothing there gives one employee’s work to the employer.
For employees, Middle East Briefing says otherwise: the employer who directs a work within assigned duties is considered the rights holder. It cites no article. We follow the text: get a signed assignment from everyone.
What the assignment has to list
- Each right by name. Article 147 lists reproduction, adaptation, translation, rental, communication to the public and making available online among others.
- The extent and the purpose of each transfer.
- How long it lasts and where it applies.
Without these there is no transfer (Article 149). Any right not expressly transferred stays with the author.
Future work, team work and registration
A transfer of the whole of an author’s future output is void (Article 153). The article does not say how far a contract may reach into work not yet made, so pair the contract clause with a schedule of finished works, signed at intervals.
For work by several people, the person or company that directs a “collective work” alone exercises the author’s rights (Article 175). Article 138 requires that the director undertake publication in its own name and under its management, and that no contributor’s part can be separated. A code repository records who wrote each line, so do not rely on this rule alone. In a joint work whose parts cannot be separated, the authors hold equal shares unless they agreed otherwise in writing, and none may exercise the rights alone except by written agreement between them (Article 174).
Register the assignment too. Under Article 185, as amended by Law No. 178 of 2020, a transfer has no effect against third parties until it is entered in a register, for a fee of at most EGP 1,000. ADSERO-Ragy Soliman & Partners says Law No. 163 of 2023 moved the deposit and registration of software to the Egyptian Authority for Intellectual Property, so ask there.
Can moral rights be assigned or waived
No. Moral rights are perpetual and cannot be given up (Article 143), and any disposal of them is void (Article 145). They include deciding on first publication, claiming authorship, and preventing a change the author considers a distortion or mutilation of the work.
A contract can still record how contributors are credited, when work is released and that editing and refactoring are part of the job. Under Article 149, moral rights aside, the author must refrain from any act that impedes the use of a transferred right.
What binds an employee during the job
Articles 134 and 136 of the Labour Law do. Article 134 of Law No. 14 of 2025 requires the employee to keep work confidential and not to disclose what is confidential by nature or under the employer’s written instructions. Article 136, in the Arabic text, forbids:
- keeping papers, documents, electronic data or electronic security devices belonging to the work, or letting others obtain them;
- working for someone else, paid or unpaid, where that harms the work or helps others to learn the establishment’s secrets or to compete;
- practising an activity similar to the employer’s, or joining one as partner or worker, while the employment lasts (Andersen’s English has “competes” for “similar”).
Article 148 lists two related breaches as serious fault: disclosing the establishment’s secrets where that caused it serious damage, and competing with the employer in the same activity. Dismissal itself can be imposed only by the competent labour court. Our guide to Egypt’s labour law covers the procedure.
Article 98 lets a worker in a “new work model” (remote, part-time, flexible or shared, under Article 96) work for more than one employer, or for themselves, if both sides agree and no work secrets are disclosed.
Is a non-compete enforceable in Egypt
It can be, within the limits of Article 686 of the Civil Code. The law sets no fixed period and the courts decide case by case, according to Andersen in Egypt (7 July 2026). Article 686 requires that:
- the work lets the person know the employer’s clients or its business secrets;
- the worker is of full age when the contract is made;
- the restriction goes no further in time, place and type of work than is needed to protect the employer’s legitimate interests.
The employer cannot rely on the clause if it ended the contract, or refused to renew it, with nothing from the worker to justify that, or if it gave the worker grounds to leave. The words “refused to renew” matter for fixed-term contracts, the kind we use as employer of record.
Andersen lists as excessive or invalid: a ban covering all of Egypt or an undefined or global area; a ban on any professional or commercial activity; an indefinite or excessively long period; and a clause for staff in non-sensitive or purely administrative roles.
A large penalty can undo the clause. If it is so exaggerated that it forces the worker to stay longer than agreed, the penalty is void and so is the whole non-compete (Article 687). In general, agreed compensation is not due if the debtor proves there was no damage, and a court may reduce a grossly exaggerated sum (Article 224).
Is an NDA enforceable in Egypt
Egyptian law recognises confidentiality agreements, but protection depends on what the holder did to keep the secret. Under Article 55 of Law No. 82 the information must be secret, take its commercial value from being secret, and rest on effective measures by its lawful holder. Article 58 lists as unfair competition disclosure by a party to a confidentiality agreement, and inducing employees to disclose what they learned at work.
The holder must also restrict circulation inside the business to people legally bound to keep the secret, and stays responsible when a third party infringes unless it proves sufficient and reasonable efforts (Article 57).
An employee’s duty outlasts the contract: Article 685 of the Civil Code requires industrial and commercial secrets to be kept after it ends. Personal data is a separate subject, in our guide to Egypt’s data protection law.
How ownership passes under each hiring route
The law gives rights to the employer, the commissioner and the author. A foreign client may be none of the three, so each route needs its own documents.
| Route | Inventions (Article 7) | Copyright starts with | Documents that bring both to you |
|---|---|---|---|
| Your own Egyptian company | To “the employer”, which is that company | Each author | An assignment from each person to the company, then an agreement from the company to the parent |
| Employer of record | To “the employer”; the employer on the contract is the provider | Each author | A clause signed by each person in your favour, and an agreement in which the provider passes on what it holds and keeps nothing |
| Contractor | To whoever commissioned the specific invention | Each author | An assignment for each project, with secrecy and competition terms |
Who owns work done under an employer of record
Copyright starts with the person, as on every route, and the employer named on the contract is the provider. Under our employer of record service that is The Circle Spaces HQ. Each person signs that their work belongs to the client and that they return equipment and files on leaving. Have your counsel read the wording against Articles 149 and 153, and check that your agreement with us, or with any provider, covers inventions and the inventor’s remuneration.
Article 686 speaks of the employer’s clients and of competing with the employer. We found no text on whose clients count when the employer is a provider, so ask your counsel before counting on a non-compete here. Articles 134 and 136 speak of the employer too, so have each person who handles your secrets sign a confidentiality agreement that names you.
If the team later moves to your own Egyptian company (the last stage of an offshore development centre in Egypt), the new contracts need the same clauses.
Who owns code written by contractors
A contractor keeps copyright until it is assigned in writing (ADSERO says so of software created for a client, citing Article 138), and delivery changes nothing: disposing of the original copy does not transfer the economic rights (Article 152). The Labour Law duties above are an employee’s, so the contract itself has to cover secrecy, return of files and competing work.
What should an Egypt employment contract say
Nine points, beyond the form and compulsory terms of an employment contract in Egypt:
- A job description that includes the development, design or research work the person will do (Article 7).
- An express right to inventions, the inventor’s remuneration, and a duty to report inventions at once (Article 7; Civil Code, Article 688).
- A copyright assignment that names each right, its extent, purpose, duration and place, and says how the pay covers it (Articles 149 and 150).
- A schedule of finished works, with a date and signature for each entry (Articles 149 and 153).
- Credit, release and editing arrangements, with no waiver of moral rights (Articles 143 and 145).
- A written statement of what is confidential, for the job and after it (Labour Law, Article 134; Civil Code, Article 685).
- Return of devices, files, accounts and access keys on leaving (Labour Law, Article 136).
- A description of the employer’s activity, and whether a second job is agreed (Labour Law, Articles 98 and 136).
- For roles with access to clients or secrets only: a non-compete with its reason, period, area and type of work, and a moderate penalty (Civil Code, Articles 686, 687 and 224).
Which controls sit in the office
In offices we set up for phone teams, the controls available are card or fingerprint door entry, cameras inside, phone lockers outside the work area, a clean-desk rule, blocked USB ports and a visitor log. They are not standard, and can be discussed for other teams.
Code and drawings can stay on your own systems: VPN to a head office and remote desktop to machines abroad are known to work over our lines. See the setup for software developers in Egypt, QA and test engineers and CAD and BIM engineers.
Which court hears a dispute
Apart from matters for the State Council, disputes arising from Law No. 82 of 2002 go to the Economic Courts, whose primary circuits hear those worth up to EGP 15 million and whose appellate circuits hear larger or unvalued claims (Law No. 120 of 2008, Article 6). Disputes arising from the laws on labour relations go to the labour courts (Labour Law, Article 177). Neither article says who takes a claim that mixes the two.
Sources
- Law No. 82 of 2002 on the Protection of Intellectual Property Rights, consolidated to Law No. 178 of 2020 (in Arabic). WIPO Lex, read 25 November 2026.
- Translation of Law No. 82 of 2002. Andersen in Egypt, October 2025, read 25 November 2026.
- Civil Code, Law No. 131 of 1948 (in Arabic). WIPO Lex, read 25 November 2026.
- Translation of Law No. 131 of 1948 (Civil Code). Andersen in Egypt, July 2025, read 25 November 2026.
- Law No. 14 of 2025 issuing the Labour Law, Official Gazette Issue 18 (continued) (in Arabic). Ministry of Labour, published in the Official Gazette on 3 May 2025, read 25 November 2026.
- Translation of Labor Law No. 14 of 2025. Andersen in Egypt, May 2025, read 25 November 2026.
- Translation of Law No. 120 of 2008 on the Economic Courts. Andersen in Egypt, May 2026, read 25 November 2026.
- Enforcing non-compete agreements under Egyptian law. Andersen in Egypt, 7 July 2026.
- Egypt: Employment and Labour Law, country comparative guide. Ibrachy & Dermarkar for The Legal 500, read 25 November 2026.
- Egypt: TMT, country comparative guide. ADSERO-Ragy Soliman & Partners for The Legal 500, read 25 November 2026.
- Navigating IP protection for software and innovation in Egypt. Middle East Briefing, 28 October 2025.
