Home / Blog / If My Side Project Becomes Worth $1M While Employed, Can My Employer Legally Take It All?
Legal December 4, 2026 · ⏱️ 7 min read · 💬 0 comments

If My Side Project Becomes Worth $1M While Employed, Can My Employer Legally Take It All?

Discover whether your employer can legally claim full ownership of your $1M side project under US, UK, and Nigerian intellectual property laws.

👨‍💻
Abdulsamad Usman
Author · SparkleCharge
If My Side Project Becomes Worth $1M While Employed, Can My Employer Legally Take It All?

📑 Table of Contents

Executive Key Takeaways (TL;DR):
  • Employers can legally seize side projects if created using company resources, during work hours, or if the project directly relates to the employer's current or demonstrably anticipated business/R&D.
  • Proprietary Information and Inventions Assignment Agreements (PIIAs) govern software IP, but statutory safe harbors (e.g., California Labor Code § 2870) protect engineers who build entirely on personal time and equipment.
  • Moonlighting rules, common law duties of loyalty, and corporate opportunity doctrines can trigger full IP forfeitures even without explicit contract clauses.
  • Founders must secure an executed, written IP Carve-out Schedule prior to writing the first line of code to eliminate legal exposure during exit negotiations.

Part 1: 🪝 The Hook

Imagine building a developer-tool SaaS late at night on your personal laptop. Twelve months in, the project hits $1,000,000 ARR or attracts a firm acquisition offer. You prepare to resign, only to receive a letter from your employer’s legal counsel. The demand is total: assignment of all source code, transfer of domain names, and full disgorgement of revenue. Can your employer legally take it all?

The answer is often yes. Under standard technology employment contracts, sweeping Invention Assignment provisions—commonly known as Proprietary Information and Inventions Assignment (PIIA) agreements—assign ownership of intellectual property created during employment to the employer. Software engineers and technical founders routinely misinterpret the boundaries of personal time, risking catastrophic IP loss during venture funding or acquisition due diligence.

Part 2: 📖 The Story / Real-World Case Study

Consider the legal battle in Mattel, Inc. v. MGA Entertainment, Inc., 616 F.3d 974 (9th Cir. 2010). Carter Bryant, a fashion designer employed by Mattel under an Inventions Agreement, conceived and drew initial sketches for the hyper-successful "Bratz" doll franchise during his employment. Bryant later sold the concept to MGA Entertainment, generating billions in revenue.

Mattel sued, claiming full ownership of the intellectual property because Bryant created the initial designs while under contract with Mattel. The central legal dispute hinged on contract construction: did the term "at any time during employment" in the invention assignment clause capture creations conceived on weekends and evenings? While the US Ninth Circuit Court of Appeals ultimately narrowed the contractual interpretation regarding non-scope works, the litigation dragged on for a decade, costing hundreds of millions of dollars in legal fees and creating immense operational uncertainty.

For software developers, the lesson is clear: if your side project touches upon your employer's field of business or uses company infrastructure, courts will scrutinize the project's origins, potentially stripping you of your equity and intellectual property.

Part 3: ⚖️ The Law & Regulatory Analysis

Statutory Frameworks Governing Employee Inventions

Whether your employer can legally claim your $1M side project depends on the terms of your contract, statutory safe harbors, and the legal jurisdiction governing your employment relationship.

1. United States: Statutory Protections vs. Contractual Overreach

Under US common law, software code created by an employee within the scope of employment automatically vests in the employer under the "work made for hire" doctrine (17 U.S.C. § 201(b)). However, side projects built outside normal scope are governed by non-compete clauses and PIIA terms.

Certain jurisdictions provide statutory shields for tech workers. For example, California Labor Code § 2870 renders pre-invention assignment clauses unenforceable if the invention was developed entirely on the employee's own time without using employer equipment, supplies, facilities, or trade secrets, unless:

  • The invention relates at the time of conception or reduction to practice to the employer’s business, or actual or demonstrably anticipated research or development; or
  • The invention results from any work performed by the employee for the employer.

Similar statutory protections exist in Washington (RCW 49.44.140), Minnesota (Minn. Stat. § 181.78), and Illinois (765 ILCS 106/1).

2. United Kingdom: Patents Act 1977 and CDPA 1988

In the UK, ownership of copyright in software created by an employee in the course of employment automatically vests in the employer under Section 11(2) of the Copyright, Designs and Patents Act 1988 (CDPA). For patents, Section 39 of the Patents Act 1977 dictates that an invention belongs to the employer if it was made in the course of the employee's normal duties, or duties specifically assigned to them, where an invention might reasonably be expected to result.

In Nigeria, Section 28 of the Copyright Act 2022 provides that where a copyrighted work (including software code) is created by an author in the course of employment, the copyright initially vests in the employer, subject to any agreement to the contrary. If an engineer creates software outside employment duties without using firm assets, the statutory default favors the employee, provided no fiduciary duty or non-compete clause is breached.

Comparative Jurisdictional Analysis

JurisdictionGoverning Statutory FrameworkDefault Ownership RuleStatutory Safe Harbor
United States (California)Cal. Lab. Code § 2870; 17 U.S.C. § 201(b)Employer owns IP created within scope of work.Protected if created on personal time/gear AND unrelated to employer R&D.
United KingdomCDPA 1988 s.11(2); Patents Act 1977 s.39Employer owns IP made in the course of normal employment duties.Employee owns IP created strictly outside assigned employment duties.
NigeriaCopyright Act 2022 s.28Employer owns copyright for works created during employment.Employee retains rights if created outside scope and modified by contract.

Sample Contractual IP Carve-Out Clause

To prevent automatic assignment of side projects, technical founders should request a written carve-out agreement prior to initiating development work:

SCHEDULE A: EXCLUDED INVENTIONS & PRIOR WORKS
1. The following is a complete list of all inventions, software code, and side projects made, conceived, or first reduced to practice by Employee prior to or outside the scope of employment:
   - Project Name: [Insert Project Name]
   - Repository URL: [Insert GitHub URL]
   - Functional Description: [Insert Summary]
2. Employer hereby acknowledges that the aforementioned Project remains the exclusive intellectual property of Employee, exempted from the Proprietary Information and Inventions Assignment Agreement (PIIA).

Signed (Employer): ____________________ Date: ___________
Signed (Employee): ____________________ Date: ___________

Part 4: 💡 The Takeaway / Actionable Compliance Playbook

  1. Perform an IP Audit Before Scaling: Ensure zero lines of code were written on company-owned hardware, external monitors, or virtual private networks (VPNs). Avoid storing side-project code on enterprise GitHub organizations or personal accounts linked to company SSO.
  2. Review the Employer's Business Domain: If your side project operates in the same industry vertical or solves a problem your employer’s R&D team is contemplating, the project carries high legal risk under PIIA rules.
  3. Execute a Written Inventions Carve-Out: Formalize an explicit carve-out schedule listing your side project by name and repository URL, signed by an authorized company officer (such as the CTO or VP of HR).
  4. Maintain Strict Temporal and Physical Segregation: Commit code strictly outside contractually defined working hours. Maintain independent receipts for domain registration, cloud infrastructure (AWS/GCP), and software development tooling.

Disclaimer: This article is for informational and educational purposes only and does not constitute formal legal advice. Engineers and founders should consult a qualified technology attorney within their relevant jurisdiction to review specific employment contracts and IP assignments.


Frequently Asked Questions (FAQ)

Can my employer claim my side project if I built it on my personal laptop?

Yes. Even if you use personal hardware, an employer can legally claim ownership if the software relates directly to the employer's business, current R&D, or demonstrably anticipated commercial direction, or if it was built during working hours.

What is California Labor Code Section 2870?

California Labor Code § 2870 is a statutory safe harbor that prevents employers from claiming employee inventions made entirely on personal time and gear, provided the project does not relate to the employer's business or R&D.

How can I protect my side project from employer ownership claims?

Disclose the project early, maintain strict separation of hardware and network infrastructure, commit code outside work hours, and obtain a signed IP Exclusion Schedule from an authorized corporate officer.


🚀 Build & Scale with SparkleCharge: Ready to architect, scale, or automate your production software platform? Partner with SparkleCharge engineering for high-availability full-stack systems. Schedule an Engineering Consultation or explore our Enterprise Technical Services.

TAGS: #Tech Law #general #compliance
Share this publication:
👨‍💻

Abdulsamad Usman

Engineering & Architecture

Lead Full-Stack Engineer and Cloud Architect specializing in distributed systems, real-time web telemetry, and resilient web design. Building modern systems that scale seamlessly.

💬 Reader Discussion 0

Leave a Comment ↓
💭

No comments yet

Be the first to join the conversation and share your feedback on this article!

Leave a Reply

Your email address will not be published. Required fields are marked *.

Recommended Reading

Related Articles

All Publications →
Legal

How to Draft a SaaS Agreement for Your PHP SaaS That Legally Blocks Refunds

Learn how to draft an enforceable no-refund SaaS agreement for your PHP application while maintaining compliance with EU, UK, US, and global consumer laws.

Legal

What Happens to Code Ownership If a Client Dies? A Developer's Legal Playbook

Discover what happens to software code ownership, IP rights, and unpaid invoices when a client dies under US, UK, and Nigerian legal frameworks.

Legal

Prisma vs Drizzle vs Eloquent: Legal, Licensing, and Architectural Risk Breakdown for Enterprise Postgres & MySQL

An authoritative technical and legal comparison of Prisma, Drizzle, and Eloquent for Postgres/MySQL, covering open-source licensing, GDPR/NDPA compliance, and developer liability.

Legal

MongoDB vs Postgres JSONB - When NoSQL Makes Sense and When It Kills You: A Legal & Architectural Breakdown

Architectural choices between MongoDB and Postgres JSONB carry major legal liability. Learn how schema drift creates data protection compliance risk.

READY FOR PRODUCTION CONTRACTS

Looking to build high-performance systems?

Whether you need architectural direction or security audit consulting, I'm ready to collaborate.

Start a Conversation → View Production Demos