Sub topic 4
How the US, UK and EU differ
This chapter assumes you know the basics from earlier chapters: copyright protects original expression, software counts as a literary work, and protection usually needs a human author. Here you will see how three major jurisdictions apply that idea to AI-assisted code. The chapter is general education, not legal advice. Courts, legislatures and regulators are still changing these rules, so check current sources before relying on any detail.
Why jurisdiction matters
Copyright is territorial. A work is protected under the law of each country where protection is claimed. The Berne Convention helps by making countries give foreign works the same treatment as domestic ones. It does not harmonize who counts as an author or how much originality is required.
This matters in practice. A team in Berlin, a contractor in London and a customer in New York may all touch the same repository. The same AI-generated function can have a different legal status in each place. The sections below cover the three most common reference points.
The United States: human authorship is required
US law protects "original works of authorship" fixed in a tangible medium. The statute does not define "author", but courts and the US Copyright Office have consistently read it to mean a human being.
What the courts and the Copyright Office say
- In Thaler v. Perlmutter, Stephen Thaler tried to register an image created by his system with the machine named as sole author. The Copyright Office refused. A federal district court and then the D.C. Circuit (2025) upheld the refusal. The key point is that a work with no human author cannot be registered.
- In its 2023 decision on the graphic novel Zarya of the Dawn, the Office kept protection for the human-written text and for the selection and arrangement of the images. It refused protection for the individual images produced by Midjourney.
- The Office's 2025 report on copyrightability concluded that prompts alone do not usually give the user enough control over the output to make the user its author. Protection can still cover three things:
- human-authored material that the AI output includes, such as code you write yourself;
- creative selection, coordination or arrangement of AI output;
- human modifications that are themselves original.
What this means for code
Suppose you prompt an assistant, "write a function that retries an HTTP request," and paste the result unchanged. The US position is that you probably cannot claim copyright in that output. Suppose instead you rewrite the logic, restructure the module and choose how the pieces fit together. Your contributions are protectable, even if the unmodified generated lines inside the file are not.
Registration adds a practical step. If you apply to register a work containing more than a trivial amount of AI-generated material, the Office expects you to disclose it and to disclaim the AI-generated parts. Most software teams never register, but companies that sell or litigate over code sometimes do.
The United Kingdom: a special rule for computer-generated works
The UK is unusual. The Copyright, Designs and Patents Act 1988 has a provision for "computer-generated" works, meaning works created by a computer where there is no human author.
- Section 9(3) says the author of such a work is "the person by whom the arrangements necessary for the creation of the work are undertaken".
- Section 12(7) sets the term at 50 years from the end of the year the work was made. That is shorter than the usual life-plus-70-years term for human authors.
- Section 178 defines a computer-generated work as one generated by computer in circumstances where there is no human author.
Why this is not a simple yes
On its face the provision gives a UK owner for purely generated code, probably the person who set up and ran the process. In practice there are three problems.
- The originality test is unsettled. UK courts have moved toward the EU-style test of the author's "own intellectual creation". It is unclear how a work with no human author can meet a test built around a human's creative choices.
- "Arrangements" is vague. The statute was written in the 1980s. Is the author the developer who built the model, the company that operates it or the user who typed the prompt? There is almost no case law applying the rule to modern generative tools.
- The rule may change. The UK government consulted on AI and copyright in late 2024 and early 2025. The consultation asked whether to keep, change or remove the computer-generated works provision. Check the current status before relying on it.
Even in the UK, the practical advice is the same as in the US. Where a human makes real creative choices, the work is protected in the ordinary way. The special rule only matters for the leftover case of output with no human author.
The European Union: originality tied to the author
The EU has no equivalent of the UK provision, and no single EU copyright statute. Authorship and ownership are mostly decided by each member state's law. The EU harmonizes the originality standard through directives and Court of Justice (CJEU) case law.
- For software, the Software Directive (2009/24/EC) protects a program if it is original in the sense that it is "the author's own intellectual creation". The Directive treats the author as a natural person or group of natural persons. Member states may let a legal person hold the rights in some cases, such as employer-created works.
- The CJEU's decisions in Infopaq and Painer describe originality as the author making free and creative choices that stamp the work with a "personal touch". Output that a model produced without such human choices has no obvious way to meet that test.
- Some national courts have started to apply this reasoning to AI images. A Czech court, for example, rejected protection for an image generated from a prompt because no human author made the creative choices.
The EU's AI Act is about transparency and risk management for AI systems. It does not decide who owns generated output. Treat questions about ownership as questions of national copyright law.
Side-by-side comparison
| Question | United States | United Kingdom | European Union |
|---|---|---|---|
| Is a human author required? | Yes, in practice and under case law. | Yes for ordinary works. A special rule covers works with no human author. | Yes. Originality is tied to a human author's own intellectual creation. |
| Is purely generated code protected? | Generally no. | Possibly, under s.9(3), but the rule is doubtful and under review. | Generally no. |
| Who owns it if protected? | The human author of the human contributions. | The person who made the necessary "arrangements". | The human author, or the rights holder under national law. |
| Term for no-human-author works | Not applicable. | 50 years from the year of creation. | Not applicable. |
| Are prompts enough? | Usually not, according to the Copyright Office. | Unclear. | Unlikely to meet the originality test on their own. |
| Where does the rule come from? | Statute, Copyright Office practice and court decisions. | A specific statutory provision. | Directives, CJEU case law and national law. |
A decision path for one file
The diagram below shows how a reviewer might think about a single AI-assisted file. It simplifies things, but it matches the shared logic across the three systems.
Practical consequences
Weak or uncertain copyright in generated lines does not make them free for anyone to use in every sense. Several other things still apply:
- Contracts and trade secrets. An employee can be bound by a confidentiality agreement. Code kept private is protected as a trade secret, whatever its copyright status.
- Third-party rights. Generated code can reproduce someone else's copyrighted code. That risk is separate from who owns the output, and later chapters cover it.
- Mixed files. Most real files mix human and generated lines. Protection attaches to the human contributions and to creative selection and arrangement. It does not need to cover every line.
- License headers. Putting a license such as Apache-2.0 on a file only licenses what you actually hold rights in. The header does no harm, but it does not create ownership where none exists.
- Cross-border use. If you sell to customers in several regions, plan for the most cautious position, which is the one where purely generated code gets no copyright.
The habits that help in all three jurisdictions are the same. Make and record real creative edits. Keep prompts and review notes where they are useful. Avoid accepting large blocks of generated code unchanged when exclusive ownership of those blocks matters to you.
Common mistakes
- Treating the UK rule as global. It applies only under UK law. A US or EU court will not apply s.9(3).
- Reading "no copyright" as "no obligations". Licenses, contracts and confidentiality duties can still bind you.
- Assuming a long prompt equals authorship. In the US view, even detailed prompts have generally not been enough. The human has to control the expressive content, for example by editing it.
- Ignoring the EU's national differences. The originality standard is shared, but ownership rules, such as who holds employee works, vary by member state.
Exercise
A developer in London pastes a model's output for a parsing function without changes. A colleague in New York later copies the function into a competing product. Compare how UK and US law would likely treat the developer's claim to the function, and name one uncertainty on the UK side.
Show answer
In the US, the unedited output likely has no human author, so the developer probably has no copyright claim to those lines. In the UK, s.9(3) might make the developer (or whoever made the necessary arrangements) the author of a computer-generated work, with a 50-year term. That is uncertain because the originality test is tied to a human's intellectual creation, "arrangements" is vague for modern tools, and the government has consulted on removing the rule.
Exercise
Your team's file mixes 40 lines of unedited generated code with 60 lines you wrote and a structure you designed. In which of the three jurisdictions is your human contribution protectable, and what should you keep to support that claim?
Show answer
In all three: the US, the UK and the EU protect original human contributions and, in many cases, creative selection and arrangement. Keep evidence of your edits, such as commit history, review notes and a record of which parts you wrote or changed, so you can show what you contributed.