Startups
IP assignment and founder agreements: the code a founder wrote before the company existed still belongs to the founder
Work made for hire covers employees, and a founder writing code before the company exists is not one. Until the founder signs a written assignment, the copyright and any patent belong to the founder personally, and every investor's diligence will find the gap. What to sign at formation, what California law protects, and the former employer problem.
The code that runs a startup usually belongs, legally, to the person who typed it. A founder who wrote the first version on her own laptop before the company was formed owns its copyright personally, and nothing about forming a corporation or an LLC moves it. If she leaves without signing an assignment, she can walk out with the product. Investors know this, which is why the first request in every financing’s diligence is proof that each founder assigned everything to the company.
Code written before a company exists belongs to the founder who wrote it until she signs a written assignment, and forming the entity does not transfer it.
Why the company does not own it automatically
Copyright law gives the employer the rights in a “work made for hire,” but that rule covers work prepared by an employee within the scope of employment. A founder working before the company exists has no employer. Her code, designs and writing are hers. Under 17 U.S.C. 204(a), a transfer of copyright ownership, other than by operation of law, is not valid without a written instrument of conveyance, or a note or memorandum of it, signed by the owner.
Patents follow the same rule. Under 35 U.S.C. 261, patents and patent applications are assignable by an instrument in writing. An unrecorded assignment is void against a later purchaser or mortgagee who pays value without notice of it, unless the assignment is recorded at the Patent and Trademark Office within three months of its date or before the later purchase. A company that takes an assignment of a founder’s invention should record it.
Copyright and patent ownership move only by a signed writing, and a patent assignment should be recorded within three months to hold up against a later buyer.
What to sign at formation
Two documents close the gap.
The first is a technology or IP assignment, signed when the founder receives her stock, in which she assigns to the company everything she created for the business before formation: code, designs, domain names, inventions and the rights to them. That assignment is often part of the consideration for her shares. It also matters for tax: stock received for property is treated under section 1202(i) as acquired on the date of the exchange, with a basis for qualified small business stock purposes of at least the property’s fair market value, so the founder’s records should describe what she contributed.
The second is a confidential information and invention assignment agreement, signed by every founder and every employee, which assigns to the company inventions made during the relationship that relate to the business and binds the signer to confidentiality. A founder who works through her own consulting company or LLC needs the assignment to run from that entity too, or the rights sit in a company no investor ever examined.
A startup needs an assignment of everything each founder created before formation and an ongoing invention assignment from everyone who works on the product, including through any consulting entity.
What California will not let a company take
California limits what an employer can require. Labor Code section 2870 says an invention assignment provision does not apply to an invention an employee developed entirely on her own time without the employer’s equipment, supplies, facilities or trade secrets, unless the invention relates to the employer’s business or research, or results from work she performed for the employer. A provision requiring her to assign an invention outside that line is unenforceable as against public policy. California agreements usually attach a notice of the statute and a schedule where the employee lists prior inventions she is keeping.
The consequence for founders runs both ways. A startup cannot use an overbroad agreement to claim an employee’s unrelated side project. And a founder leaving a California employer to start a company keeps only what falls outside section 2870’s exceptions, which is narrower than founders often assume.
The former employer problem
The most expensive IP gap is not between the founder and her company. It is between the founder and her last employer. A founder who built the first version while employed elsewhere, on the employer’s laptop or in a field related to its business, may have already assigned it to the employer under her old invention assignment agreement. A clean assignment to the startup cannot convey what she no longer owned.
Investors check for this, and so do acquirers. In November 2026, OpenAI and Apple traded claims in federal court over engineers who moved between them and what they took, including allegations about confidential files sent to personal accounts; the dispute and its lessons for startups hiring from large companies are on the OpenAI and Apple brief. The protection for a founder is to start the new work only after leaving, on her own equipment, outside the old employer’s line of business where possible, and to keep records that show it.
A founder’s assignment to her startup conveys nothing her former employer already owns, so the start date and equipment of the first build matter as much as the paperwork.
The founder agreements that go with it
The IP assignment is one of several documents founders sign at formation. The stock purchase agreement sets the price and the vesting, explained on founder equity and vesting. The 83(b) election follows within 30 days, explained on the 83(b) election. For a company that began as an LLC, the operating agreement may already contain an IP clause; on conversion it has to be replaced by corporate documents, as converting an LLC to a C corporation explains. A cofounder who leaves without signing the assignment is the single most common gap in startup diligence, and the hardest to fix later, because she no longer has a reason to sign.
The bottom line
Forming a company does not move a founder’s pre-formation work into it; a signed written assignment does.
Copyright transfers require a signed writing, and patent assignments should be recorded within three months.
Every founder signs an assignment of prior work at formation, and everyone who works on the product signs an ongoing invention assignment, including through any consulting entity.
California Labor Code section 2870 protects unrelated work done on an employee’s own time and equipment, and nothing more.
A founder cannot assign what her former employer already owns, so where and when the first version was built is part of the chain of title.
The full section starts at the startups hub.
Last verified November 2026.