HTTP 451 Unavailable For Legal Reasons — What It Means
What HTTP status code 451 Unavailable For Legal Reasons means, when servers return it, and how to handle it correctly.
Published September 26, 2026
HTTP 451 Unavailable For Legal Reasons means the resource cannot be served due to a legal demand, such as a court order or government censorship. The number nods to Fahrenheit 451.
What it means
The response should say who imposed the restriction.
Common causes: Court orders and takedowns; Regional legal restrictions (GDPR, DMCA); Government blocking.
On the wire
GET /article HTTP/1.1
HTTP/1.1 451 Unavailable For Legal Reasons
Link: <https://authority.example>; rel="blocked-by"
Practical examples
Test it from the shell
curl -i https://example.com/path # look for HTTP 451Handling 451 in code or config
res.status(451).send('Unavailable for legal reasons')How to fix it
Contact the site owner or use a lawful alternative; Return Link: rel="blocked-by"; Explain the restriction.
1. Reproduce: curl -i <url>
2. Confirm the status is 451
3. Apply the fix above and re-testCommon mistakes
- Contact the site owner or use a lawful alternative
- Return Link: rel="blocked-by"
- Ignoring the response headers that explain the details.
Key takeaways
- 451 means Unavailable For Legal Reasons.
- HTTP 451 Unavailable For Legal Reasons means the resource cannot be served due to a legal demand, such as a court order or government censorship.
- Read the response headers and logs for the exact cause.
FAQ
Why 451?
A reference to the novel Fahrenheit 451 about censorship.
Is 451 a client or server error?
It is a client error status code, in the 4xx class.