← All posts
For Developers

Do You Own the Code Copilot Writes for You?

The machine didn’t write your software, but it might have written enough of it to make your copyright claim worthless. You are a developer sitting in front of a screen, watching a ghost write your functions. You tap the tab key, and a hundred lines of logic appear. It feels like magic. It feels like productivity. But the law doesn't care about your workflow. The law cares about who is the human author. If you are asking if you own AI generated code, you are asking the wrong question. You need to ask if your code is copyrightable at all.

The Gap Between License and Law

You need to separate two concepts that developers usually lump together: the terms of service and the law of authorship. When you pay for a subscription to a tool like GitHub Copilot or Cursor, you are signing a contract. These companies usually grant you a license to use the code their software produces. They might even promise to defend you if someone sues you for using it. That is a contract. It binds the company and you.

Copyright is different. Copyright is a government-granted monopoly that stops other people from copying your work. This monopoly only exists if your work meets the standard of human authorship. The United States Copyright Office is very clear on this. Their guidance states that they will not register works produced by a machine without significant human creative input. If you paste a prompt into a chat window and accept the full block of code, you have provided a request, not creative expression. The machine did the heavy lifting. The Copyright Office sees that as a machine-made product, not a human-authored work.

The Thaler Precedent

You can look at the case of Thaler v. Perlmutter to see how the courts view this. Stephen Thaler tried to register a work of visual art that he claimed was created entirely by his AI system. The court slammed the door shut. They ruled that human authorship is a foundational requirement for copyright. If there is no human at the wheel, there is no copyright.

This creates a massive risk for your codebase. If your core logic is generated by an AI without substantial human modification, your code might be in the public domain the moment it hits the repository. Anyone could grab it, resell it, or use it in their own project. You can't sue them for copyright infringement because you don't actually hold a copyright. Statutory damages, which are the cash penalties a court can award you for infringement, can range from $750 to $30,000 per work. If you don't own the copyright, that money is never coming to you. You are building on sand.

Zarya of the Dawn and the Human Touch

Look at the Zarya of the Dawn case for a glimpse of where the line is drawn. In this case, an author used an AI to generate images for a comic book. The Copyright Office decided that the arrangement of those images and the text written by the human were protected. However, the individual images created by the AI were not.

Think about your code. If you use an AI to write a boilerplate function, that might be fine. If you use it to write the primary algorithm that powers your entire platform, you are in a gray area. Did you rewrite the logic? Did you tweak the variables? Did you structure the architecture? If you just copy and paste, you have no human authorship. You have a pile of text that anyone can take. You can register your work with the Copyright Office for a filing fee of about $65. You get a three-month window after publication to register if you want to be eligible for statutory damages. But if the Office decides your code is AI-generated, they will reject your application. You lose your fee, and you lose your claim.

Why Your Workflow Matters

You are probably thinking that no one will ever know. You think you can just hide the fact that an AI wrote your functions. That is a dangerous game. If you ever end up in court over a stolen codebase, the defense will demand to see your development history. They will look for your commits and your logs. If they find that your code was generated in blocks by a tool, they will argue it is not copyrightable. You will be forced to prove that you made the creative decisions. If you can't show your fingerprints, you can't claim ownership.

The tools you use are designed to make you fast. They are not designed to make you a copyright holder. The companies behind these tools want you to keep paying your monthly fee. They don't lose anything if your code isn't copyrightable. You are the one taking the risk. You are the one who might lose the ability to protect your intellectual property.

Guarding Your Intellectual Property

Stop treating your AI-generated output as finished work. Start treating it as a rough draft. If you want to own your code, you must be the author. This means you need to edit, refactor, and fundamentally change what the tool provides. You need to make creative choices that a machine cannot make. You need to define the logic, choose the data structures, and handle the edge cases.

The law currently views AI as a tool similar to a pencil or a camera. A camera doesn't hold the copyright to the photo you take. You do, because you chose the framing and the lighting. If the camera took the photo while you were in another room, you wouldn't own it. The AI is the camera. You are the photographer. If you aren't pointing the lens, you aren't making the art.

Copyrightable is not a law firm. We do not provide legal advice, and you should always confirm current copyright rules at copyright.gov before making business decisions. You are responsible for your own work. Don't rely on the output of a machine to secure your future.

The only way to ensure your code is truly yours is to keep your human fingerprints all over it. Read our methodology on how to audit your development process to ensure your contributions meet the threshold for copyright protection.

Related reading

Want the record behind your own work? See how the methodology scores authorship.

Want a contemporaneous record of how you authored your work?

Try it free