When a former employee or contract developer copies your company’s code, two things establish copyright infringement. Your company must own the copyright in the code, and the developer must have copied its protected expression rather than only its ideas. The claim is federal. The Copyright Act sets ownership, infringement, and remedies. An infringement suit over a United States work cannot start until preregistration or registration has been made, or the Copyright Office has refused an application delivered in proper form. Minnesota law adds trade secret and contract claims over the same code. This page is written for the Minnesota company owner whose code was taken, as part of my Minnesota copyright practice materials.

How Do You Know Your Company Owns the Code?

Code an employee wrote within the scope of employment belongs to your company, unless the parties have expressly agreed otherwise in a written instrument signed by them. Code a contractor wrote on its own belongs to the contractor unless a signed writing transfers it to you or, for a few listed kinds of work, makes it a work made for hire. A computer program is not named in that list, so a contractor agreement that only calls the code a work made for hire may not make your company the owner.

The Copyright Act starts with the author: “Copyright in a work protected under this title vests initially in the author or authors of the work” (17 U.S.C. § 201(a)). A work made for hire includes “a work prepared by an employee within the scope of his or her employment” (17 U.S.C. § 101). For that work, “the employer or other person for whom the work was prepared is considered the author for purposes of this title, and, unless the parties have expressly agreed otherwise in a written instrument signed by them, owns all of the rights comprised in the copyright” (17 U.S.C. § 201(b)).

Whether a developer was an “employee” is decided under general agency law. Community for Creative Non-Violence v. Reid, 490 U.S. 730 (1989) was a case about a commissioned sculptor. There the Supreme Court said courts “consider the hiring party’s right to control the manner and means by which the product is accomplished.” Other factors include the tools, the location of the work, the method of payment, benefits, and tax treatment. The Court added that “No one of these factors is determinative.” A developer on your payroll who worked on your systems under your direction points toward the employee side; a freelancer who set their own hours on their own equipment points toward the contractor side.

For a contractor, the commissioned-work path applies only to nine listed kinds of work and only “if the parties expressly agree in a written instrument signed by them that the work shall be considered a work made for hire” (17 U.S.C. § 101). The list names uses a work is commissioned for, including “as a part of a motion picture or other audiovisual work,” “as a compilation,” and “as an instructional text.” Whether commissioned code fits turns on the use it was commissioned for, because the list does not name computer programs as a kind of their own. Otherwise ownership moves by a signed writing, which does not depend on that list: “A transfer of copyright ownership, other than by operation of law, is not valid unless an instrument of conveyance, or a note or memorandum of the transfer, is in writing and signed by the owner of the rights conveyed or such owner’s duly authorized agent” (17 U.S.C. § 204(a)). The work-for-hire and IP assignment rules for Minnesota businesses cover those categories and the scope-of-employment question. They also cover the limit in Minn. Stat. § 181.78, subd. 1. Under it, an employee invention-assignment clause “shall not apply to an invention for which no equipment, supplies, facility or trade secret information of the employer was used and which was developed entirely on the employee’s own time” and that meets the subdivision’s further conditions. Your development agreement’s terms decide who owns the code in a custom software development deal. Whether a company that paid for code without a signed transfer holds a license to use it is covered on the implied license page.

Code a contractor wrote together with your staff can be a joint work, which 17 U.S.C. § 101 defines as “a work prepared by two or more authors with the intention that their contributions be merged into inseparable or interdependent parts of a unitary whole.” Under 17 U.S.C. § 201(a), “The authors of a joint work are coowners of copyright in the work.”

A signed assignment or exclusive license from a contractor also has to hold up against any conflicting transfer the contractor makes, such as one to a competitor. Under 17 U.S.C. § 205(d), “As between two conflicting transfers, the one executed first prevails if it is recorded, in the manner required to give constructive notice under subsection (c), within one month after its execution in the United States or within two months after its execution outside the United States, or at any time before recordation in such manner of the later transfer. Otherwise the later transfer prevails if recorded first in such manner, and if taken in good faith, for valuable consideration or on the basis of a binding promise to pay royalties, and without notice of the earlier transfer.”

Recording gives constructive notice only if “the document, or material attached to it, specifically identifies the work to which it pertains so that, after the document is indexed by the Register of Copyrights, it would be revealed by a reasonable search under the title or registration number of the work” and “registration has been made for the work” (§ 205(c)). Under § 205(e), “A nonexclusive license, whether recorded or not, prevails over a conflicting transfer of copyright ownership if the license is evidenced by a written instrument signed by the owner of the rights licensed or such owner’s duly authorized agent,” and if it was taken before the transfer was executed, or in good faith before the transfer was recorded and without notice of it. An exclusive license counts as a “transfer of copyright ownership” under 17 U.S.C. § 101, and under 17 U.S.C. § 201(d)(2), “The owner of any particular exclusive right is entitled, to the extent of that right, to all of the protection and remedies accorded to the copyright owner by this title.”

Copyright infringement takes two things. In Feist Publications, Inc. v. Rural Telephone Service Co., 499 U.S. 340 (1991), the Supreme Court said: “To establish infringement, two elements must be proven: (1) ownership of a valid copyright, and (2) copying of constituent elements of the work that are original.”

“Subject to sections 107 through 122,” the owner’s exclusive rights include the rights “to reproduce the copyrighted work in copies or phonorecords” and “to prepare derivative works based upon the copyrighted work” (17 U.S.C. § 106). Copying your repository onto a new employer’s server is reproduction. Building a modified version of your program is preparing a derivative work, which the Act defines as “a work based upon one or more preexisting works, such as a translation” (17 U.S.C. § 101).

The limit is just as important for a software company. “In no case does copyright protection for an original work of authorship extend to any idea, procedure, process, system, method of operation, concept, principle, or discovery” (17 U.S.C. § 102(b)). The U.S. Copyright Office’s guidance on registering computer programs says the same about software: copyright does not protect a program’s functional aspects, such as its algorithms, formatting, functions, logic, or system design (Circular 61). A former developer who builds a competing product that does the same job, written from scratch, has not infringed by that fact alone. A developer who carried over the copyrightable expression in your source files or modules can infringe. Circular 61 says copyright protection for a computer program extends to all of the copyrightable expression embodied in the program. Algorithms and design that copyright does not cover may still be protected as a trade secret, a subject covered below.

What Evidence Shows a Former Developer Copied Your Code?

The proof of copying comes from two places. One is the records your company controls: repositories, commit history, access and download logs, and the developer’s company devices and accounts. The other is a side-by-side comparison of your code with the developer’s new product. If the developer stripped your copyright notices or author headers from the files, that removal can be a separate federal claim.

I suggest preserving those records before anyone confronts the developer, because a repository host, a device reissue, or a log rotation can erase the history that shows what was taken and when. The steps for holding devices, suspending accounts, and cutting off access are the same ones that apply to trade secret theft by a former employee. For the comparison, a software forensic examiner can match files, functions, comments, variable names, and errors carried from one code base to the other. Shared errors and stray comments can point to copying, because they carry no function a second author would need. Where the developer’s code is only available through its product, a public demo, a downloadable app, or a customer who received it may supply the material for comparison.

Headers and notices matter on their own. Under 17 U.S.C. § 1202(b), no person shall, without the owner’s authority, “intentionally remove or alter any copyright management information,” and the provision requires that the person act “knowing, or, with respect to civil remedies under section 1203, having reasonable grounds to know, that it will induce, enable, facilitate, or conceal an infringement of any right under this title.” Copyright management information includes “The title and other information identifying the work, including the information set forth on a notice of copyright,” along with the author’s and owner’s names conveyed with the work (§ 1202(c)). Under 17 U.S.C. § 1203(a), “Any person injured by a violation of section 1201 or 1202 may bring a civil action in an appropriate United States district court for such violation.”

Registration decides when you can sue and which remedies you keep. A suit over United States code cannot start until preregistration or registration has been made, or the Copyright Office refuses an application delivered in proper form. Copying that began before the registration’s effective date (the day the Office received an acceptable application, deposit, and fee) does not support statutory damages or attorney’s fees, with narrow exceptions.

The rule is in 17 U.S.C. § 411(a): “no civil action for infringement of the copyright in any United States work shall be instituted until preregistration or registration of the copyright claim has been made in accordance with this title.” In Fourth Estate Public Benefit Corp. v. Wall-Street.com, LLC, 586 U.S. 296 (2019), the Supreme Court held “that registration occurs, and a copyright claimant may commence an infringement suit, when the Copyright Office registers a copyright.” The Court added that, once the copyright is registered, the owner can recover for infringement that occurred both before and after registration. Filing an application is not enough to sue; the Office has to act on it. Where “the deposit, application, and fee required for registration have been delivered to the Copyright Office in proper form and registration has been refused,” § 411(a) still lets the applicant sue. The applicant must serve notice and a copy of the complaint on the Register of Copyrights.

Under 17 U.S.C. § 412, “no award of statutory damages or of attorney’s fees, as provided by sections 504 and 505, shall be made for” two kinds of infringement: “any infringement of copyright in an unpublished work commenced before the effective date of its registration,” and “any infringement of copyright commenced after first publication of the work and before the effective date of its registration, unless such registration is made within three months after the first publication of the work.” Under 17 U.S.C. § 410(d), “The effective date of a copyright registration is the day on which an application, deposit, and fee, which are later determined by the Register of Copyrights or by a court of competent jurisdiction to be acceptable for registration, have all been received in the Copyright Office.” The Copyright Office’s Circular 10 adds that the date is not based on how long it takes the Office to examine the materials or mail the certificate. A timely registration also helps prove the case: under § 410(c), “In any judicial proceedings the certificate of a registration made before or within five years after first publication of the work shall constitute prima facie evidence of the validity of the copyright and of the facts stated in the certificate.” Check the current text of the statute before relying on these periods.

Internal source code that was never distributed can be an unpublished work. A company that registers it only after a developer leaves with it loses those two remedies for copying that began before the effective date of its registration, subject to the narrow exceptions in § 412. It keeps actual damages, profits, and an injunction.

Two Copyright Office procedures matter when the copying has already happened. The Office grants special handling, which carries its own fee, for pending or prospective litigation (Circular 10). Once it approves the request, the Office says it will make every effort to finish examining the claim within five working days. Source code containing trade secrets can be deposited in a protected form under Circular 61’s deposit rules. Circular 61 says that if the source code contains trade secrets, you must tell the Office in writing that it does. One option is the first and last ten pages. Another is the first and last twenty-five pages with the trade secret portions blocked out, provided the blocked out portions are less than 50% of the deposit. Circular 61 says the Office will refuse to accept a deposit that does not conform to its standards of redaction.

What Are Your Options When a Former Developer Copies Your Software?

Your options include a direct conversation, business moves, a license or buyout, a demand letter, and a lawsuit, whether a federal suit on the copyright claim or trade secret and contract claims under Minnesota law. The right one depends on what you want: the code out of a competitor’s product, payment for its use, or a clean record of ownership for investors or a buyer.

  1. A direct conversation. A call from you, or from your CEO to the new employer’s CEO, can end the problem quickly when the developer acted alone and the new employer does not want a dispute. It costs little, but it gives the developer notice before you have preserved evidence or filed a registration application.
  2. Business moves. Changing credentials and repository access, notifying affected customers where a contract requires it, and shipping the next release can limit the harm while the legal steps proceed. These protect the business; they do not stop the developer’s use.
  3. A license or buyout. Where the developer’s new company depends on the code and you would accept payment, a written license at a fee, or a payment for a full stop and return, turns the dispute into revenue. If the developer claims ownership, a settlement can include a signed assignment, which 17 U.S.C. § 204(a) requires for a transfer. Whether that assignment prevails over a conflicting transfer, or over a signed nonexclusive license, turns on when and how each was signed and recorded and on the other party’s good faith and notice. The rules in 17 U.S.C. § 205(d) and (e), quoted under How Do You Know Your Company Owns the Code?, set the order between them. While the developer owns the copyright and has granted your company no exclusive license, which 17 U.S.C. § 101 counts as a “transfer of copyright ownership,” 17 U.S.C. § 106 gives the exclusive rights to “the owner of copyright under this title,” so the developer’s own copying is not infringement of a right your company holds. Under 17 U.S.C. § 501(b), an owner of an exclusive right “is entitled, subject to the requirements of section 411, to institute an action for any infringement of that particular right committed while he or she is the owner of it.”
  4. A demand letter. A letter sets out your ownership and the copying and asks for specific acts by a date. It creates a record of notice that matters if the developer keeps going.
  5. A lawsuit. A copyright claim must be filed in federal court, and only after preregistration, registration, or a refusal of an application delivered in proper form. A lawsuit is the path to a court order, whether on the copyright claim or on a trade secret claim under Minnesota law, covered below. It is also the costliest and slowest, so I suggest weighing it against what the copied code is worth to the business.

These paths can run together. A registration application, preserved evidence, and a demand letter can all start the same week.

What Should a Demand Letter to a Former Developer Say?

A demand letter to a former developer should identify the code, state the basis for your company’s ownership, describe the copying you found, and ask for specific acts by a stated date. The letter can ask the developer to stop using the code, return or delete every copy, certify the deletion in writing, and preserve evidence.

I suggest writing it so it can be read later by a judge, because a court deciding an injunction or a willfulness question may see it. The letter should cover:

  1. The work. The program, repository, or modules by name and version, and the registration number or application date if one exists.
  2. Ownership. Whether the code was written by an employee within the scope of employment or transferred by a signed agreement, with the agreement’s name and date.
  3. The copying. What you found and how, described without overstatement. A finding you cannot yet prove should be framed as a question for the developer to answer.
  4. The requests. The letter can ask the developer to stop use and distribution and to identify every place the code was copied, including the new employer’s systems. It can also ask for return or deletion of the copies, a written certification, and preservation of all related files and communications.
  5. The deadline and next step. A date for a response, and the remedies the company may seek if the developer does not respond, stated as options rather than threats.

If the new employer is using the code, a separate letter to that company can matter more than the letter to the developer. The company may remove the code to avoid a dispute it did not start. Under 17 U.S.C. § 501(a), “Anyone who violates any of the exclusive rights of the copyright owner as provided by sections 106 through 122” is “an infringer of the copyright,” so a new employer that reproduces your code can be one. A letter sent before registration still works, but the developer can see that a suit cannot start until preregistration or registration has been made or the Office refuses an application delivered in proper form.

How Does a Court Stop a Former Developer From Using Your Code?

In a copyright suit, a federal court may order the former developer to stop. Under 17 U.S.C. § 411(a), that suit cannot start until preregistration or registration has been made, or registration has been refused after the deposit, application, and fee required for registration were delivered in proper form. Under 17 U.S.C. § 502(a), a court with jurisdiction over the case may “grant temporary and final injunctions on such terms as it may deem reasonable to prevent or restrain infringement of a copyright.”

The court can also take control of the copies. Under 17 U.S.C. § 503(a), “At any time while an action under this title is pending, the court may order the impounding, on such terms as it may deem reasonable,” of copies claimed to infringe, the articles used to make them, and records of their manufacture, sale, or receipt. Under § 503(b), “As part of a final judgment or decree, the court may order the destruction or other reasonable disposition of all copies or phonorecords found to have been made or used in violation of the copyright owner’s exclusive rights.”

The copyright claim must be brought in federal court. Under 28 U.S.C. § 1338(a), “No State court shall have jurisdiction over any claim for relief arising under any Act of Congress relating to patents, plant variety protection, or copyrights.” Section 502(a) leaves whether to grant an injunction, and on what terms, to the court’s discretion. In Fourth Estate, the Supreme Court said, “Once the Register grants or refuses registration, the copyright owner may also seek an injunction barring the infringer from continued violation of her exclusive rights.” Before a copyright suit can start, a court order over the code can rest on a Minnesota trade secret claim, because Minn. Stat. § 325C.02 lets a court enjoin actual or threatened misappropriation. I suggest having the preserved records in hand before asking for early relief, because the request rests on proof of ownership and copying.

What Money Can a Company Recover for Copied Software?

Your company may recover its actual damages and the developer’s profits from the copying, or, if the registration came in time, statutory damages instead. The court may also award attorney’s fees, again only where the registration came in time.

Under 17 U.S.C. § 504(b), “The copyright owner is entitled to recover the actual damages suffered by him or her as a result of the infringement, and any profits of the infringer that are attributable to the infringement and are not taken into account in computing the actual damages.” To establish the infringer’s profits, “the copyright owner is required to present proof only of the infringer’s gross revenue,” and the infringer must prove its deductible expenses and the profit owed to factors other than the copyrighted work. For a developer who sold a product built on your code, that burden shift matters.

Statutory damages are an alternative the owner “may elect, at any time before final judgment is rendered,” awarded “for all infringements involved in the action, with respect to any one work, for which any one infringer is liable individually, or for which any two or more infringers are liable jointly and severally, in a sum of not less than $750 or more than $30,000 as the court considers just” (§ 504(c)). The same subsection provides that “all the parts of a compilation or derivative work constitute one work.” “In a case where the copyright owner sustains the burden of proving, and the court finds, that infringement was committed willfully, the court in its discretion may increase the award of statutory damages to a sum of not more than $150,000.” Where the infringer proves it was not aware and had no reason to believe its acts infringed, “the court in its discretion may reduce the award of statutory damages to a sum of not less than $200.” Under 17 U.S.C. § 505, “the court may also award a reasonable attorney’s fee to the prevailing party as part of the costs.” Both remedies are subject to the registration-timing limit in § 412, described above, and the fee provision lets a court award fees to a developer who wins, not only to your company.

When Do Trade Secret and Contract Claims Reach Copied Code?

Source code can also be a trade secret when it derives independent economic value from not being generally known or readily ascertainable and your company made reasonable efforts to keep it secret. A contract claim can reach the developer when it rests on a promise beyond copying. These claims can cover what copyright does not: the algorithms, design, and know-how behind the code.

The Minnesota Uniform Trade Secrets Act defines a trade secret as “information, including a formula, pattern, compilation, program, device, method, technique, or process,” that “derives independent economic value, actual or potential, from not being generally known to, and not being readily ascertainable by proper means by, other persons who can obtain economic value from its disclosure or use,” and that “is the subject of efforts that are reasonable under the circumstances to maintain its secrecy” (Minn. Stat. § 325C.01, subd. 5). “Actual or threatened misappropriation may be enjoined” (Minn. Stat. § 325C.02). The federal Defend Trade Secrets Act provides a parallel claim: “An owner of a trade secret that is misappropriated may bring a civil action under this subsection if the trade secret is related to a product or service used in, or intended for use in, interstate or foreign commerce” (18 U.S.C. § 1836(b)(1)). Whether your code qualifies turns on both of those elements, including the secrecy measures covered on the source code trade secret page. The injunctions and damages for these claims are on the trade secret remedies page.

A contract claim (breach of a confidentiality, IP, or return-of-property agreement) faces a federal limit. The Copyright Act preempts state-law rights “equivalent” to the exclusive copyright rights, and leaves standing “activities violating legal or equitable rights that are not equivalent to any of the exclusive rights within the general scope of copyright as specified by section 106” (17 U.S.C. § 301(b)). National Car Rental System, Inc. v. Computer Associates International, Inc., 991 F.2d 426 (8th Cir. 1993) concerned a software license limiting how the licensee, National, could use the programs. National ran them to process its data on its hardware in Bloomington, Minnesota. The district court had dismissed the licensor’s contract claim as preempted on a motion for judgment on the pleadings. The Eighth Circuit read those pleadings as alleging use for two third-party companies, not distribution: they “cannot be read to allege that National actually distributed a copy of the program to Lend Lease or Tilden.” It held that “the alleged contractual restriction on National’s use of the licensed programs constitutes an extra element in addition to the copyright rights making this cause of action qualitatively different from an action for copyright,” and “that as properly construed, the cause of action as pled is not preempted.” In footnote 6, the court noted that “Other courts have concluded, however, that breach of contract actions in which the alleged breach consists of the exercise of one of the exclusive copyright rights are preempted,” and said it did “not need to decide whether a breach of contract claim based on a wrongful exercise of one of the exclusive copyright rights is preempted.”

Can a former employee reuse code they wrote for us at a new job?

Not code that was a work made for hire. Under 17 U.S.C. § 101 and § 201(b), code an employee prepared within the scope of employment belongs to the employer as its author, unless both sides signed a written instrument agreeing otherwise. Reproducing that code at a new job uses the company’s exclusive right to reproduce it, which 17 U.S.C. § 106 grants subject to sections 107 through 122. Under 17 U.S.C. § 102(b), copyright protection does not extend to the ideas, procedures, processes, systems, and methods of operation the code carries out. Methods your company kept secret can still be a trade secret. Minn. Stat. § 325C.01, subd. 5 covers information including a “method, technique, or process” that meets its value and secrecy elements, and Minn. Stat. § 325C.02 lets a court enjoin actual or threatened misappropriation.

What if a contractor wrote the code and never signed an assignment?

Then the contractor may own the copyright. Under 17 U.S.C. § 201(a), copyright vests in the author. Under 17 U.S.C. § 204(a), a transfer of ownership, other than by operation of law, is not valid unless it is in writing and signed by the owner. Whether the contractor’s own reuse infringes a right your company holds turns on whether your company has an exclusive license, which 17 U.S.C. § 101 counts as a “transfer of copyright ownership.” I suggest asking the contractor to sign an assignment now, because a later signed writing can transfer ownership. Whether that assignment prevails over a conflicting transfer or a signed nonexclusive license turns on when and how each was signed and recorded. Under the priority rules of 17 U.S.C. § 205(d) and (e), it also turns on good faith and notice.

Do we need a copyright registration before sending a demand letter?

No. 17 U.S.C. § 411(a) says no civil action for infringement of a United States work “shall be instituted until preregistration or registration of the copyright claim has been made,” and a letter is not a civil action. I suggest filing the registration application before or with the letter, because a lawsuit cannot start until preregistration or registration has been made, and the developer can learn that. The other route is the Copyright Office refusing registration after the deposit, application, and fee required for registration were delivered in proper form.

Can we sue the developer in Minnesota state court?

Not on the copyright claim. Under 28 U.S.C. § 1338(a), “No State court shall have jurisdiction over any claim for relief arising under any Act of Congress relating to patents, plant variety protection, or copyrights.” A copyright infringement claim goes to federal district court. A claim that arises only under Minnesota law, such as breach of a confidentiality agreement or misappropriation under the Minnesota Uniform Trade Secrets Act, is not covered by that sentence.

Is it still infringement if the developer rewrote our code in another language?

It can be. 17 U.S.C. § 106 gives the owner the exclusive right to prepare derivative works, and 17 U.S.C. § 101 defines a derivative work as “a work based upon one or more preexisting works, such as a translation.” A rewrite that carries over the program’s protected expression can fall within that right. A rewrite that takes only the ideas, methods, and system design does not, because 17 U.S.C. § 102(b) excludes them from copyright. The answer turns on what the two programs share.

Is there a deadline to file a copyright claim?

Yes. 17 U.S.C. § 507(b) states: “No civil action shall be maintained under the provisions of this title unless it is commenced within three years after the claim accrued.” Check the current text of the statute before relying on these periods. A Minnesota trade secret or contract claim over the same code has its own limitations period.

Should we register every version of our software?

Not necessarily. Copyright Office Circular 61 treats each version containing new copyrightable authorship as a separate work needing its own application, fee, and deposit. For an unpublished program, the circular says you may be able to register multiple versions together through group registration of unpublished works. A registration does not cover earlier published or registered code. I suggest registering the versions the business depends on, because 17 U.S.C. § 412 limits statutory damages and attorney’s fees for copying that began earlier. The limit runs from the effective date of registration, subject to the narrow exceptions in that section. That date is the day the Office received an acceptable application, deposit, and fee.

Protecting Your Code After a Developer Leaves

A company whose former developer copied its software is in a better position to act when it can show ownership, preserved evidence, and a registration. I suggest starting with who wrote the code and under what agreement, because each later step depends on that answer. The next steps are holding the repositories and devices and filing the registration application, with special handling if a suit is likely. I suggest choosing among a conversation, a license, a demand letter, and a lawsuit by what the business needs, because each path fits a different goal. Trade secret and contract claims can be added where the facts support them. My copyright registration and enforcement work covers each of these steps. If a former developer has copied your company’s code and you want to know which option fits your facts, email [email protected] with a short description. I can start an intake and conflict check before you send any confidential documents.