Are clauses in software licenses which forbid reverse engineering legal?
- User
Are clauses in software licenses which forbid reverse engineering legal?
- Assistant
Short answer:Whether a clause that bans reverse-engineering is enforceable depends very much onwhere you are and why you are reversing the code.In those clauses are usually enforced as ordinary contracts, while in the European Union they are largelyvoidwhen they conflict with statutory rights to de-compile for interoperability or debugging. Trade-secret and DMCA rules add extra layers that matter even when the clause itself is invalid.
Below is a roadmap of the main rules and cases so you can see where the lines are drawn (this is not legal advice).
['Topic', 'Rule of thumb', 'Key cases / statutes'] ['Contract law', 'A “no-reverse-engineering” term in a click-wrap or shrink-wrap license is generally enforceable as a private contract, even though copyright law would otherwise permit some reverse engineering.', ' v. Baystate(Fed. Cir. 2003) andDavidson (Blizzard) v. Jung(8th Cir. 2005) upheld breach-of-contract claims when licensees decompiled software in violation of the clause.WikipediaStudicata'] ['Copyright pre-emption', 'A minority of courts have said such clauses are pre-empted if they merely copy copyright rules,but those decisions are now the outliers.', 'Vault Corp. v. Quaid(5th Cir. 1988) found the state statute (not a contract) invalid, but later federal cases limited its reach.Association of Research Libraries'] ['Fair use / § 117', 'You stillcanrely on fair-use or 17 U.S.C. § 117 defenses ifno contract applies(e.g., you never assented) or the clause is found unconscionable, but those arguments usually fail once assent is proven.', ''] ['DMCA § 1201', 'Even if the contract is silent, defeating a technological protection measure (TPM) to get at the code can violate the anti-circumvention rules, unless you fit one of the Library of Congress security-research exemptions.', ''] ['Trade-secret law', 'Reverse engineering acquired “by fair and honest means” is a defense under the UTSA and DTSA, butcontractual promisesoverride that defense. A 2025 AI-model case is testing the limits of this principle.Patently-O', '']
Bottom line (US):If you clicked “I agree,” the clause will almost always stick,unlessyou are within a DMCA exemption, the clause is unconscionable, or the licensor cannot prove assent.
- European Union (and , which retained these rules)
['Statutory right', 'Effect on license terms', 'Authority'] ['Directive 2009/24/EC, Art. 6 (Interoperability)', 'Decompiling “to obtain information necessary to achieve interoperability” is a statutory right; any contractual term to the contrary isnull and void.', 'Recital 50 & Art. 6(1).'] ['Art. 5(3) (Observation, study, test)', 'Permits observing or testing to understand ideas underlying the program; cannot be waived by contract.', ''] ['CJEU C-13/20 – Top System SA v. Belgian State (2021)', 'Extended the protection: licensees may also decompile when necessary todebugthe software; contractual prohibitions cannot block it.Lexology', '']
National laws (, , etc.) transpose the Directive almost verbatim, so a no-reverse-engineering clause isunenforceableto the extent it collides with those rights. For actsoutsideinteroperability/debugging (e.g., cloning for commercial competition) ordinary contract and copyright remedies apply.