An engineer writes an app on weekends, on a personal laptop, and it takes off. Then someone at work points to a clause in the offer letter signed years earlier, saying the employee assigns the company every invention conceived during employment. Whether that clause reaches the weekend app depends on what the app is, how it was built, which state the employee works in, and whether the work is a patentable invention or copyrightable code. The laws below were read from the official state code sites and the U.S. Code, and the federal court rule from the Supreme Court’s own decision.
Two kinds of ownership
Copyright in code
Software is protected by copyright as it is written, and federal law decides who owns it when an employee writes it. The Copyright Act defines a work made for hire as, first, a work prepared by an employee within the scope of his or her employment. For such a work, Section 201 says the employer is considered the author and, unless both sides have agreed otherwise in a signed writing, owns all of the rights comprised in the copyright.
The phrase that matters is “within the scope of his or her employment.” Code written as part of the job belongs to the employer without any contract clause at all. The same sentence of Section 201 also points the other way: because the rule yields to a signed written agreement, an employer can release an employee’s work in writing, which is the legal footing for the release step at the end of this post. Code written outside that scope does not become the employer’s under this section, which is why employers add contract language to reach further.
Patents in inventions
Patents work differently. With no contract, the starting point is that an invention belongs to the person who made it. The Supreme Court laid out the rules in United States v. Dubilier Condenser Corporation in 1933.
Someone hired specifically to invent must hand it over: one employed to make an invention, who succeeds during the term of service, “is bound to assign to his employer any patent obtained,” because the invention is the very thing the employer paid for. But if the employment is general, the Court said, even if it covers the field in which the invention arose, the contract is not read so broadly as to require an assignment.
The shop right
The same opinion records a middle case. Where an employee, during working hours and with the employer’s materials and appliances, conceives and perfects an invention, the employee must give the employer a nonexclusive right to practice the invention. The Court called this an application of equitable principles: the employer’s time and materials went into it, so the employer may use it. This is known as a shop right. The employee keeps the patent; the employer may use the invention without paying for it.

What invention assignment clauses do
Reaching past the default
Because the default rules leave a lot with the employee, most technology employers ask new hires to sign an agreement assigning inventions in advance. Some are drafted narrowly, covering inventions related to the business. Others are written to cover anything conceived during the employment period, at work or not.
Several states limit how far those clauses can go. Their statutes share wording closely enough that they appear to follow a common model.
California Labor Code Section 2870
The text
California’s statute, Section 2870 of the Labor Code, says an assignment provision shall not apply to an invention that the employee developed entirely on his or her own time without using the employer’s equipment, supplies, facilities or trade secret information, with two exceptions. The employer can still claim inventions that either:
- relate, when conceived or reduced to practice, to the employer’s business or to its actual or demonstrably anticipated research or development; or
- result from any work the employee performed for the employer.
A provision that tries to claim more is, in the statute’s words, “against the public policy of this state and is unenforceable.”
All four conditions
The protection only applies when every condition holds at once:
| Condition | The weekend app passes if… |
|---|---|
| Own time | Built outside working hours |
| Own resources | No company laptop, accounts, cloud credits or office |
| No trade secrets | No confidential company information used |
| Unrelated | Not related to the employer’s business or anticipated R&D, and not resulting from work done for the employer |
The first three are about how the work was done, and an employee can control them. The fourth is about what the work is, and it is where disputes concentrate. “Demonstrably anticipated research or development” can reach a long way at a large company with many product lines.
The notice requirement and the burden of proof
Section 2872 adds two rules. An employer whose agreement, made after January 1, 1980, includes an assignment clause must provide a written notification at the same time that the agreement does not apply to inventions that qualify under Section 2870. That is why many California offer packets include a copy of the statute. The same section puts the burden of proof on the employee claiming the protection, so records showing when and with what the project was built matter.

Washington and New York
Washington
Washington’s version, RCW 49.44.140, follows the same structure: an assignment provision does not apply to an invention developed entirely on the employee’s own time for which no equipment, supplies, facilities, or trade secret information of the employer was used, unless it relates directly to the employer’s business or its actual or demonstrably anticipated research or development, or results from work performed for the employer. A provision that reaches further is void and unenforceable to that extent. Washington adds that an employer may not require such a void provision as a condition of employment or continuing employment.
The Washington statute also carries a notice rule like California’s, with its own start date. For employment agreements entered into after September 1, 1979, an employer whose agreement includes an assignment clause must, at the time the agreement is made, give the employee a written notification that the agreement does not apply to inventions meeting the own-time, own-resources and unrelated tests. The statute’s history line dates the section to the 1979 legislative session.
Reading the two side by side
The Washington test differs from California’s in one small word. California exempts inventions that relate to the employer’s business; Washington’s text reaches inventions that relate “directly” to the business of the employer. Whether that word changes outcomes in practice is a question for courts and lawyers, not for a side-by-side reading, but it is the kind of difference that makes the employee’s own state the first thing to check.
New York
New York’s Labor Law Section 203-f uses nearly the same language as California’s. An assignment provision shall not apply to an invention that the employee developed entirely on his or her own time without the employer’s equipment, supplies, facilities or trade secret information, except inventions that relate to the employer’s business or demonstrably anticipated research, or that result from work performed for the employer. An overreaching provision is against public policy and unenforceable.
Other states
California, Washington and New York are not the only ones; several other states have similar statutes, and others have none. Where there is no statute, the contract’s own wording, and general contract law, decide.
Copyright and the contract
The statutes say “invention”
The three state laws above speak of inventions, a word most naturally read as patentable inventions. Whether and how they apply to copyrightable work such as code, apps or writing is a question their text does not answer directly, and it is the kind of question where an employment lawyer’s reading of the specific agreement matters.
What the federal rule does answer: code written within the scope of employment is the employer’s, statute or no statute. Code written outside it is governed by whatever the agreement says, subject to any state limits that apply.

Keeping a side project clean
Practical steps
None of the following guarantees an outcome, but each one bears on the conditions the statutes and the Dubilier opinion turn on:
- Read the invention assignment agreement and any attached list of prior inventions. Many agreements let a new hire list existing projects to exclude them.
- Build on personal equipment, personal accounts and personal time, every time. A single commit pushed from a work laptop is the kind of fact that later decides a case.
- Keep the project outside the employer’s line of business and announced plans, as far as that is knowable.
- Keep dated records of when the work was done.
- Ask for a written release or acknowledgement from the employer before launching anything that might overlap. Some employers grant them readily.
For informational purposes only — consult a licensed attorney or financial advisor.
Sources
- 17 U.S. Code § 101, definition of “work made for hire” (Cornell LII): https://www.law.cornell.edu/uscode/text/17/101
- 17 U.S. Code § 201, ownership of copyright (Cornell LII): https://www.law.cornell.edu/uscode/text/17/201
- United States v. Dubilier Condenser Corporation, 289 U.S. 178 (1933) (Cornell LII): https://www.law.cornell.edu/supremecourt/text/289/178
- California Labor Code § 2870: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=LAB§ionNum=2870
- California Labor Code § 2872: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=LAB§ionNum=2872
- Revised Code of Washington 49.44.140: https://app.leg.wa.gov/RCW/default.aspx?cite=49.44.140
- New York Labor Law § 203-f (NY Senate): https://www.nysenate.gov/legislation/laws/LAB/203-F
