# 403 Forbidden

> A 403 means the server understood your request and refuses it. See who sent it (origin, CDN or WAF), how visitors get past it and how owners fix it.

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

Guide Error · HTTP status codes

A 403 means the server understood your request and refuses it. See who sent it (origin, CDN or WAF), how visitors get past it and how owners fix it.

5 min

read

5

sources

Oct 22, 2026

updated

Scaplet Editorial Team

author

403 4xx · Client error

The short answer

A 403 Forbidden response means the server understood the request but refuses to fulfill it. Unlike a 401, signing in again usually changes nothing. The refusal can come from the origin server's permission rules or from a CDN, firewall or WAF in front of it. Visitors can't force past it. Owners find which layer answered, then change that layer's rule.

1. [What does 403 Forbidden mean?](#what-does-403-forbidden-mean)
2. [Who causes a 403: the client, the origin or a layer in front?](#who-causes-a-403-the-client-the-origin-or-a-layer-in-front)
3. [How visitors can get past a 403](#how-visitors-can-get-past-a-403)
4. [How site owners find the cause](#how-site-owners-find-the-cause)
5. [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%2F403%20(%22403%20Forbidden%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%2F403%20(%22403%20Forbidden%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%2F403%20(%22403%20Forbidden%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%2F403%20(%22403%20Forbidden%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

_01_401 and 403 side by side

## What does 403 Forbidden mean?

RFC 9110 defines 403 as a response where the server understood the request but refuses to fulfill it. A server that wants to explain why can say so in the response content. If the request carried credentials, the server considers them insufficient, and the client should not automatically repeat the request with the same credentials. The RFC adds that a request might be forbidden "for reasons unrelated to the credentials".

### Meaning

401 Unauthorized

The request lacks valid authentication credentials

403 Forbidden

The server understood the request and refuses it

### Does signing in help?

401 Unauthorized

Yes, with new or replaced credentials

403 Forbidden

Usually no

### Required header

401 Unauthorized

WWW-Authenticate with a challenge

403 Forbidden

None

### Typical cause

401 Unauthorized

Missing, expired or wrong credentials

403 Forbidden

Missing permission, or a rule that blocks the request

MDN puts the practical consequence plainly: for a 403, authenticating or re-authenticating makes no difference, and a client that repeats the request without modification should expect the same error. A 403 is usually tied to application logic, such as a role that lacks permission for a resource or action.

See [401 Unauthorized](/errors/http/401) for the other half of the pair. The wider family is covered in [HTTP status codes](/glossary/http-status-codes).

**A 403 can pose as a 404**RFC 9110 says an origin server that wants to hide that a forbidden resource exists may answer 404 instead. If a URL you know is real returns 404 only for some users, a permission rule may be behind it.

_02_Where a 403 comes from and where to look

## Who causes a 403: the client, the origin or a layer in front?

The status code alone does not say which system sent it. The response body, the branding on the error page and a direct request to the origin usually do.

Source

### Origin web server

How to tell

Plain server error page, no CDN branding

Where to look

Permission rules such as an Apache .htaccess file, mod_security rules and IP deny rules; see [403 in nginx](/errors/http/403/nginx)

Source

### Cloudflare

How to tell

Cloudflare-branded body, or a 1xxx error code

Where to look

Security Events log by Ray ID; see [403 on Cloudflare](/errors/http/403/cloudflare)

Source

### Amazon CloudFront

How to tell

Error comes from the distribution

Where to look

WAF web ACL, geographic restrictions, signed URLs, alternate domain names; see [403 on CloudFront](/errors/http/403/cloudfront)

Source

### Amazon S3

How to tell

AccessDenied message

Where to look

Bucket policy, IAM, Block Public Access; see [S3 Access Denied](/errors/cdn/s3-access-denied)

Source

### Akamai

How to tell

Error page showing a Reference number

Where to look

Edge Diagnostics; see [Akamai reference numbers](/errors/cdn/akamai-reference-number)

Source

### The application

How to tell

JSON or page naming a missing role or scope

Where to look

The app's own authorization logic (MDN's example is a 403 saying deleting users requires the 'admin' role)

**Cloudflare says how to separate its 403s from your server's**Cloudflare's docs state that a 403 without Cloudflare branding is returned directly by the origin web server, not by Cloudflare, and is typically a permission rule on your server.

_03_Checklist

## How visitors can get past a 403

1. 01 Check that you are signed in to an account that has access. A 403 on a resource you can see elsewhere often means your account lacks the permission, not that the page is gone.
2. 02 Don't keep retrying the same request. RFC 9110 says a client should not automatically repeat it with the same credentials, and it will usually fail the same way.
3. 03 If the error page shows a Ray ID or an error code, send the owner a screenshot. Cloudflare's guidance for its 1020 block page is to give the website owner a screenshot of the message, because the owner can look the event up.
4. 04 Ask the site owner for access. Only the owner can change a rule that blocks you.

_04_How it works

## How site owners find the cause

1. 1

### Identify the layer that answered

Request the URL, then request it again straight to the origin, bypassing the CDN. AWS's CloudFront guidance for a custom origin is to make the request directly to the origin: if the error reproduces without CloudFront, the origin is causing it.
2. 2

### Read the log at that layer

Use the Cloudflare Security Events log, the AWS WAF web ACL, or the origin's access and error logs. Match on timestamp, client IP or request ID.
3. 3

### Name the rule that fired

Look for a permission, IP, WAF, geo or signed-URL rule that matches the request. The fix is a change to that rule, not a retry.
4. 4

### Test as the blocked client

Repeat the request with the same IP, [user agent](/glossary/user-agent) and credentials the failing client used. A request from your own machine proves little.

Compare the public response with a direct-to-origin response

```
# Through the public hostname curl -sI https://example.com/page # Straight to the origin IP, keeping the Host header and TLS name curl -sI --resolve example.com:443:203.0.113.10 https://example.com/page
```

If both return 403, fix the origin. If only the public hostname does, the CDN, WAF or load balancer in front of the origin is the one refusing.

**Don't allow everything to make it go away**Opening a rule to all traffic ends the error and the protection with it. Change the narrowest rule that matches, then confirm the blocked request now passes and unrelated requests are still refused.

Causes and fixes differ by server and platform. See the 403 guides for [Apache](/errors/http/403/apache), [Chrome](/errors/http/403/chrome), [Cloudflare](/errors/http/403/cloudflare), [CloudFront](/errors/http/403/cloudfront), [IIS](/errors/http/403/iis), [nginx](/errors/http/403/nginx), [WordPress](/errors/http/403/wordpress).

_05_Explained

## What it does to SEO

Google treats every 4xx except 429 the same way: the URL is reported as not having content, and an indexed URL is removed from the index. Its documentation also says not to use 401 or 403 to limit crawl rate, because 4xx codes other than 429 have no effect on it. A 403 on a page you want indexed is therefore a ranking problem, not just a visitor problem. See [4xx errors](/seo-issues/4xx-errors) for how to find and fix affected URLs, and Google's page on how HTTP status codes affect its crawlers.

Related errors: [API Gateway](/errors/cdn/api-gateway-403-forbidden).

Questions

## Asked a lot.

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

_01_ Does 403 Forbidden mean I'm blocked?

Not always. It means the server refuses the request. The reason can be a permission rule, an IP deny rule, a WAF or security rule, or a role your account lacks. Cloudflare lists origin permission rules, mod_security rules and IP deny rules among the common origin-side causes.

_02_ What is the difference between 401 and 403?

A 401 says the request lacks valid authentication credentials and carries a WWW-Authenticate challenge, so new credentials can help. A 403 says the server understood the request and refuses it, so re-authenticating usually makes no difference.

_03_ Should my client retry a 403?

Not with the same request. RFC 9110 says the client should not automatically repeat it with the same credentials, and MDN says to expect the same error. Change the credentials, the permission or the blocking rule first.

_04_ Why does a page return 404 for some people and 403 for others?

RFC 9110 allows an origin server to answer 404 instead of 403 to hide that a forbidden resource exists. Some sites do this for users without permission.

Sources · 5

## Every fact, linked and dated.

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

- rfc-editor.org
- mozilla.org
- cloudflare.com
- amazon.com
- google.com

1. 01 [RFC 9110: HTTP Semantics](https://www.rfc-editor.org/rfc/rfc9110.html) rfc-editor.org · checked 2026-10-25
2. 02 [403 Forbidden - HTTP - MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/403) developer.mozilla.org · checked 2026-10-25
3. 03 [Error 403 - Cloudflare Support docs](https://developers.cloudflare.com/support/troubleshooting/http-status-codes/4xx-client-error/error-403/) developers.cloudflare.com · checked 2026-10-25
4. 04 [HTTP 403 status code (Permission Denied) - Amazon CloudFront Developer Guide](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/http-403-permission-denied.html) docs.aws.amazon.com · checked 2026-10-25
5. 05 [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

## Keep learning

[All errors](/errors)

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

Other 403 errors
[403 Forbidden on CloudFront](/errors/http/403/cloudfront) [API Gateway 403 Forbidden](/errors/cdn/api-gateway-403-forbidden) [S3 Access Denied (403 Forbidden)](/errors/cdn/s3-access-denied) [403 Forbidden in Apache](/errors/http/403/apache) [403 Forbidden in Chrome](/errors/http/403/chrome)

Nearby in errors
[401 Unauthorized in the WordPress REST API](/errors/http/401/wordpress)

More in HTTP status codes
[HTTP 409 Conflict](/errors/http/409) [HTTP 412 Precondition Failed](/errors/http/412) [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) [HTTP 501 Not Implemented](/errors/http/501) [HTTP redirect codes](/errors/http/http-redirect-codes) [HTTP status code list](/errors/http/http-status-code-list) [REST API status codes](/errors/http/rest-api-status-codes) [100 Continue](/errors/http/100) [101 Switching Protocols](/errors/http/101) [402 Payment Required](/errors/http/402) [403 Forbidden](/errors/http/403) [404 Not Found](/errors/http/404) [406 Not Acceptable](/errors/http/406) [411 Length Required](/errors/http/411) [413 Request Entity Too Large](/errors/http/413) [414 URI Too Long](/errors/http/414) [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)

Terms on this page
[HTTP status codes](/glossary/http-status-codes) [User agent](/glossary/user-agent)

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
