Can my employer legally restrict me from contributing to open source projects on my own time via an NDA?
Can employers restrict open source contributions via NDAs? Generally, no, but IP assignment clauses matter. Use TermScore to analyze your contract today.
Can my employer legally restrict me from contributing to open source projects?
An NDA (Non-Disclosure Agreement) is designed to protect trade secrets, not to restrict your personal labor. However, employers often bundle restrictive 'Invention Assignment' clauses into employment contracts. While an NDA cannot legally stop you from coding, an overly broad IP assignment clause can grant your employer ownership of your open source contributions, effectively making it impossible to contribute legally.
The Difference Between NDAs and Invention Assignment Clauses
It is critical to distinguish between the two legal instruments often found in your onboarding packet:
- NDAs (Non-Disclosure Agreements): These prohibit you from sharing proprietary company data, code, or trade secrets. They do not prevent you from writing your own code, provided you do not use company assets.
- Invention Assignment Agreements: These state that any intellectual property (IP) you create during your employment belongs to the company. If this clause is not limited to 'work-related' tasks, it may encompass everything you write, including open source contributions.
Key takeaway: If your contract claims ownership of 'all inventions conceived during the term of employment,' you are at high risk. Always look for language that excludes work done on your own time without company resources.
Action Item: Search your contract for the term 'Invention Assignment' or 'Proprietary Information.' If the scope is not explicitly limited to company business, you need a carve-out.
Jurisdictional Protections: The 'Employee Invention' Statutes
Several U.S. states have enacted laws that limit the reach of invention assignment agreements. These laws generally protect your right to work on personal projects if you meet specific criteria.
| State | Key Protection Statute | Primary Requirement |
|---|---|---|
| California | Labor Code Section 2870 | No company equipment/time used; not related to company business. |
| Washington | RCW 49.44.140 | Developed entirely on own time; no company trade secrets used. |
| Illinois | Employee Patent Act | No company equipment/time; relates to company business or R&D. |
| New Jersey | N.J.S.A. 34:1B-265 | No company resources; not related to company's actual/anticipated business. |
If you live in a state without these protections, your contract terms are governed by common law, which is often much more favorable to the employer. In these jurisdictions, the 'scope of employment' is interpreted broadly.
Action Item: Check if your state has an 'Employee Invention' statute. If it does, your contract cannot override these statutory rights.
Three Red Flags in Your Employment Contract
When reviewing your contract for open source compatibility, watch for these specific red flags:
- 'Any and all' language: Clauses that claim ownership of 'any and all inventions' without a carve-out for personal projects.
- Broad definitions of 'Company Business': If the definition of company business is vague, the employer can argue that your open source project competes with their future interests.
- Equipment clauses: Language that claims ownership of any IP created using 'any company-provided equipment,' including laptops or cloud accounts.
How to Secure Permission to Contribute
If your contract is restrictive, you are not necessarily barred from contributing. You can negotiate a 'Side Project Carve-out' or a formal permission letter.
- Audit your project: Ensure your open source work is entirely unrelated to your employer's core product or service.
- Use personal hardware: Never use a company-issued laptop, VPN, or cloud account for your open source contributions.
- Request a written waiver: Ask your manager or HR for a simple email confirmation stating that the company waives its rights to your specific open source project.
- Check the license: Ensure your project uses a standard license (like MIT or Apache 2.0) that does not inadvertently grant your employer rights to your code.
Key takeaway: Never rely on verbal permission. If it isn't in writing, it does not exist in the eyes of a court.
Action Item: Draft a simple 'Open Source Contribution Agreement' template and ask your manager to sign it. Most tech-forward companies are happy to support open source if it doesn't conflict with their IP.
The Role of TermScore in Contract Analysis
Navigating the legalese of employment contracts is complex, and missing a single clause can put your personal projects at risk. TermScore uses advanced AI to instantly scan your employment agreements, identifying restrictive IP assignment clauses and highlighting potential conflicts with your open source contributions. By providing a clear, plain-English breakdown of your rights and obligations, TermScore helps you understand exactly what you are signing before you commit, ensuring your personal work remains yours.
Check a suspicious clause
Paste a sentence or clause from your employment & nda to get an immediate statutory risk audit.
TermScore Legal Intelligence Group
Audited for 2026 StandardsResearched and cross-referenced against statutory codes, judicial rulings, and TermScore's proprietary Corpus of 100,000+ analyzed contracts. Our intelligence unit continuously audits contract enforceability and predatory clause variance across all 50 US jurisdictions.
Get the contract red-flag checklist
Join landlords and freelancers getting clause breakdowns and benchmark data. No spam.
Keep reading
Employment & NDA
Can an employment NDA restrict my right to contribute to open source projects on my own time?
Employment & NDA
Can an employment NDA legally restrict open-source contributions on personal time?
Employment & NDA
Can an employer enforce an NDA to claim ownership of side projects built on your own time?
Employment & NDA
Can my employer use a confidentiality agreement to block my participation in open-source projects on personal time?
Employment & NDA
Does an employment NDA prevent me from working on personal open source projects during weekends?
Employment & NDA
Can an employment NDA legally restrict discussing technical project methodologies in job interviews?