# 451 Unavailable For Legal Reasons

> 451 means access to a page is denied because of a legal demand. See who blocks it, what a visitor can do, and how site owners should send it correctly.

Canonical: https://scaplet.com/errors/http/451

Guide Error · HTTP status codes

451 means access to a page is denied because of a legal demand. See who blocks it, what a visitor can do, and how site owners should send it correctly.

3 min

read

6

sources

Oct 24, 2026

updated

Scaplet Editorial Team

author

451 4xx · Client error

The short answer

A 451 Unavailable For Legal Reasons error means the server is denying access to the resource as a consequence of a legal demand. The block may come from the origin site, an ISP, a search engine, a cache or a DNS provider. Visitors usually can't fix it. Site owners should send the code with an explanation and a blocked-by link.

1. [What a 451 means and who causes it](#what-a-451-means-and-who-causes-it)
2. [What to do as a visitor](#what-to-do-as-a-visitor)
3. [How to send 451 correctly as a site owner](#how-to-send-451-correctly-as-a-site-owner)
4. [What it does to SEO](#what-it-does-to-seo)

30-second check

## Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F451%20(%22451%20Unavailable%20For%20Legal%20Reasons%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F451%20(%22451%20Unavailable%20For%20Legal%20Reasons%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F451%20(%22451%20Unavailable%20For%20Legal%20Reasons%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F451%20(%22451%20Unavailable%20For%20Legal%20Reasons%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

_01_Who can return a 451

## What a 451 means and who causes it

RFC 7725 says the [status code](/glossary/http-status-codes) "indicates that the server is denying access to the resource as a consequence of a legal demand". The server might not be an origin server: the RFC says this kind of demand typically most directly affects the operations of ISPs and search engines.

Blocker

### The origin site

Why

It received a legal demand about the content

How to tell

The page body explains the demand; the Link header may name the site

Blocker

### An ISP or network

Why

A legal order covers its users

How to tell

The page body, and the Link header if the ISP sends one

Blocker

### A search engine or cache provider

Why

A demand covers content it serves

How to tell

The Link header with rel="blocked-by" names the [entity](/glossary/entity)

Blocker

### A DNS server

Why

A demand covers the name

How to tell

The Link header, if the entity sends one

The code implies neither the existence nor the nonexistence of the resource. Even if the legal demands were removed, a request might still not succeed. That makes 451 different from 403, where the server refuses for its own reasons.

_02_How it works

## What to do as a visitor

1. 1

### Read the page

RFC 7725 says responses SHOULD include an explanation of the legal demand: the party making it, the applicable legislation or regulation, and the classes of person and resource it applies to.
2. 2

### Find out who blocked it

RFC 7725 says an entity that blocks access SHOULD include a Link header with rel="blocked-by" identifying itself. Check it in the response headers.
3. 3

### Don't count on a header

RFC 7725 warns that clients cannot rely on 451. Some legal authorities may also demand that the demand itself not be disclosed, so the explanation can be missing.
4. 4

### Ask the site

If you think the block is wrong, contact the site or the blocking entity named in the headers.

RFC 7725 itself notes that in many cases clients can access the denied resource using technical countermeasures such as a VPN or the Tor network. It describes that as a technical fact, and does not advise it.

_03_Check it

## How to send 451 correctly as a site owner

Use 451 only when the denial results from a legal demand. For ordinary refusals use 403, and for removed content use 404 or 410. Put the explanation in the body. If you are the blocking entity, add the Link header. MDN notes the rel="blocked-by" link must identify the entity implementing the blockage, not the party that made the demand, which belongs in the body.

**Add always**nginx's add_header only adds headers to certain status codes (200, 201, 204, 206, 301, 302, 303, 304, 307, 308) unless you add the always parameter. Without it, a 451 goes out with no Link header.

RFC 7725 says a 451 response is cacheable by default. If the demand ends, purge any cache holding it.

Return 451 with a blocked-by link

```
location /blocked-page { add_header Link '<https://example.com/legal>; rel="blocked-by"' always; return 451 'Unavailable For Legal Reasons. See https://example.com/legal'; }
```

_04_Explained

## What it does to SEO

A 451 is a 4xx response. Google does not index URLs that return a 4xx status code, and already-indexed ones are removed over time, so a page you block with 451 will drop from the index. Don't use it to hide ordinary content. See [4xx errors](/seo-issues/4xx-errors) and Google's documentation on how HTTP status codes affect its crawlers. Related: [403 Forbidden](/errors/http/403) and [404 Not Found](/errors/http/404).

Sources · 6

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- rfc-editor.org
- mozilla.org
- nginx.org
- iana.org
- google.com

1. 01 [RFC 7725: An HTTP Status Code to Report Legal Obstacles](https://www.rfc-editor.org/rfc/rfc7725.html) rfc-editor.org · checked 2026-10-25
2. 02 [MDN: 451 Unavailable For Legal Reasons](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/451) developer.mozilla.org · checked 2026-10-25
3. 03 [nginx: ngx_http_rewrite_module (return)](https://nginx.org/en/docs/http/ngx_http_rewrite_module.html) nginx.org · checked 2026-10-25
4. 04 [nginx: ngx_http_headers_module (add_header)](https://nginx.org/en/docs/http/ngx_http_headers_module.html) nginx.org · checked 2026-10-25
5. 05 [IANA HTTP Status Code Registry](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml) iana.org · checked 2026-10-25
6. 06 [How HTTP status codes affect Google's crawlers](https://developers.google.com/crawling/docs/troubleshooting/http-status-codes) developers.google.com · checked 2026-10-25

Questions

## Asked a lot.

4 questions people ask next, answered from the sources on this page.

_01_ What does the HTTP status code 451 mean?

It means the server is denying access to the resource because of a legal demand, as defined in RFC 7725.

_02_ How do I fix error 451?

As a visitor you usually can't, because the block is legal. Read the page and the Link header to see who blocked it and contact them. As a site owner, 451 is your choice to send, so confirm a legal demand really applies.

_03_ Why is the number 451?

MDN says the number refers to Fahrenheit 451, the novel.

_04_ Is 451 the same as 403?

No. A 403 is the server refusing for its own reasons. A 451 says the refusal is a result of a legal demand, and the blocker may not be the origin server.

## Keep learning

[All errors](/errors)

[Learn HTTP 401 Unauthorized HTTP status codes](/errors/http/401) [Related 4xx errors Status codes and links](/seo-issues/4xx-errors) [Read next 403 Forbidden HTTP status codes](/errors/http/403) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in errors
[429 Too Many Requests in nginx](/errors/http/429/nginx) [HTTP 431 Request Header Fields Too Large](/errors/http/431) [HTTP 499 Client Closed Request](/errors/http/499) [HTTP 500 Internal Server Error](/errors/http/500)

More in HTTP status codes
[415 Unsupported Media Type](/errors/http/415) [416 Range Not Satisfiable](/errors/http/416) [417 Expectation Failed](/errors/http/417) [418 I'm a Teapot](/errors/http/418) [421 Misdirected Request](/errors/http/421) [422 Unprocessable Content (Unprocessable Entity)](/errors/http/422) [423 Locked](/errors/http/423) [424 Failed Dependency](/errors/http/424) [425 Too Early](/errors/http/425) [426 Upgrade Required](/errors/http/426) [428 Precondition Required](/errors/http/428) [429 Too Many Requests](/errors/http/429) [451 Unavailable For Legal Reasons](/errors/http/451) [502 Bad Gateway](/errors/http/502) [503 Service Unavailable](/errors/http/503) [504 Gateway Timeout](/errors/http/504) [505 HTTP Version Not Supported](/errors/http/505) [506 Variant Also Negotiates](/errors/http/506) [507 Insufficient Storage](/errors/http/507) [508 Loop Detected](/errors/http/508) [510 Not Extended](/errors/http/510) [511 Network Authentication Required](/errors/http/511) [5xx errors](/errors/http/5xx-errors) [HTTP 200 OK](/errors/http/200)

Terms on this page
[HTTP status codes](/glossary/http-status-codes) [Entity](/glossary/entity)

Free · 2 minutes

## Tools point. Agencies advise. _This one ships._

Run the free audit, then approve the fixes. Every change can be undone.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **0→7** ChatGPT citations in six weeks Paylane
