Free auditStart free
GuideError · HTTP status codes

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.

3 min
read
6
sources
Oct 24, 2026
updated
Scaplet Editorial Team
author
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
  2. What to do as a visitor
  3. How to send 451 correctly as a site owner
  4. 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 withChatGPTClaudePerplexityGoogleAI Mode
01Who can return a 451

What a 451 means and who causes it

RFC 7725 says the status code "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
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.

02How 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.

03Check 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.

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';
}
04Explained

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 and Google's documentation on how HTTP status codes affect its crawlers. Related: 403 Forbidden and 404 Not Found.

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. 01RFC 7725: An HTTP Status Code to Report Legal Obstaclesrfc-editor.org · checked 2026-10-25
  2. 02MDN: 451 Unavailable For Legal Reasonsdeveloper.mozilla.org · checked 2026-10-25
  3. 03nginx: ngx_http_rewrite_module (return)nginx.org · checked 2026-10-25
  4. 04nginx: ngx_http_headers_module (add_header)nginx.org · checked 2026-10-25
  5. 05IANA HTTP Status Code Registryiana.org · checked 2026-10-25
  6. 06How HTTP status codes affect Google's crawlersdevelopers.google.com · checked 2026-10-25
Questions

Asked a lot.

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

01What 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.

02How 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.

03Why is the number 451?

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

04Is 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.

Free · 2 minutes

Tools point. Agencies advise. This one ships.

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

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • 0→7 ChatGPT citations in six weeks Paylane