LLexfolio

Lessig: Code Is Law and the Four Modalities

Last updated: 4 December 2026

Architecture as regulation.

The rule in outline

(a) The four modalities

In Code and Other Laws of Cyberspace (1999), revised as Code: Version 2.0 (2006), Lawrence Lessig argued that behaviour is regulated by four constraints, each of which can be used by the State directly or indirectly.

ModalityHow it constrainsOffline exampleTechnology example (India)
LawSanction after the actPenalty for drunk drivingPenalties under the DPDP Act 2023
Social normsCommunity disapprovalShame for litteringCommunity guidelines and user reporting on platforms
MarketPriceTax on cigarettesSubsidised computing capacity for AI start-ups under the IndiaAI Mission; zero merchant discount rate on UPI shaping payment choices
Architecture (code)Physical or technical design makes conduct possible or impossibleSpeed breakersEncryption, age gates, content filters, the design of UPI and Aadhaar authentication

(b) “Code is law”

The central claim: in digital spaces, software architecture is the most powerful regulator, because it acts before conduct, automatically and often invisibly. Whoever writes the code (private firms) therefore exercises regulatory power. Two consequences for lawyers:

Why people choose the Law and Emerging Technologies Notes for LL.M. and LL.B. (Rs. 499)

  • You learn to: Write Law and Emerging Technologies answers with the rule, the authority and a clear conclusion, in the time you have
  • 8 units, from Law and Technology: Theory and Regulatory Design to Drones, Autonomous Systems, Space and the Future, with the latest amendments and judgments, problem questions in every unit and a case index
  • Comparison tables, short notes and definitions in every unit, and model answers with the marks marked
  • Format: an online reader of 144 lessons, read on any device after logging in (no download)

See the notes and the free preview

The detail examiners look for

  1. The State can regulate indirectly, by requiring firms to change their code (for example, mandatory traceability or labelling obligations on intermediaries).
  2. Constitutional values must be built into code, because a design choice can remove a freedom that law would have protected. Lessig’s warning was that code is not neutral and that public values (privacy, free speech, fair use) may be lost silently.
  • Joel Reidenberg, “Lex Informatica” (1998): technical standards and system design form a source of rules parallel to law, and policy makers should use them deliberately.
  • Roger Brownsword, technological management: regulators increasingly do not tell people what they ought to do; they design environments so that wrongdoing is impossible (for example, a car that will not start if the driver is over the alcohol limit). Brownsword warns that this erodes moral agency, since people comply not because they choose to but because they cannot do otherwise, and it can bypass the procedural safeguards of the rule of law.
  • Karen Yeung, “hypernudge”: big data driven design choices shape behaviour continuously and in a personalised way, raising concerns of manipulation and legitimacy.

(d) Criticisms of Lessig

  • The thesis can overstate the power of code: users route around controls (VPNs, jailbreaks).
  • It understates law’s ability to discipline code through liability and procurement rules.
  • Architecture regulation lacks transparency and accountability: it is not debated in a legislature and is hard to challenge in court.

The sentence to write. “Lessig’s insight is that law is only one of four regulators, and that in digital environments the most effective regulator is code, which constrains before conduct and without process; the lawyer’s task is therefore to ensure that public values are built into design and that private architects of code are themselves accountable to law.”

Quick FAQs

What are the four modalities? Law, norms, market and architecture.

What did Easterbrook argue? There is no special law of the horse.

Who wrote of Lex Informatica? Joel Reidenberg.

Why people choose the Law and Emerging Technologies Notes for LL.M. and LL.B. (Rs. 499)

  • You learn to: Write Law and Emerging Technologies answers with the rule, the authority and a clear conclusion, in the time you have
  • 8 units, from Law and Technology: Theory and Regulatory Design to Drones, Autonomous Systems, Space and the Future, with the latest amendments and judgments, problem questions in every unit and a case index
  • Comparison tables, short notes and definitions in every unit, and model answers with the marks marked
  • Format: an online reader of 144 lessons, read on any device after logging in (no download)

See the notes and the free preview

Related guides

This guide is general legal information for study, not legal advice. Statutory provisions are amended and cases are decided every year, so check the current text of the law before relying on any section or citation. Lexfolio is independent and is not affiliated with any university, board or government body.

Useful books for this topic

As an Amazon Associate, Lexfolio earns from qualifying purchases. Prices and availability are shown on Amazon.

Free CLAT PG 2027 sample: exam guide + 2 judgment passages

Get our 16 page CLAT PG starter free: the 2027 pattern, how to read judgment passages fast, the 25 key Supreme Court judgments of 2026, and two practice passages with 10 explained questions. Plus new free guides and law updates by email. Unsubscribe any time.

Learn this properly, with a certificate. Police and FIRs, consumer and bank fraud complaints, property, wills and inheritance, work rights, family law, cyber fraud and RTI, in plain English. Certificate Course in Everyday Law for Every Indian, ₹349: self-paced lessons, module quizzes and a final test; pass at 60% for a verifiable Lexfolio certificate.

See all Lexfolio certificate courses

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *