Free auditStart free
GuideError · HTTP status codes

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.

5 min
read
5
sources
Oct 22, 2026
updated
Scaplet Editorial Team
author
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?
  2. Who causes a 403: the client, the origin or a layer in front?
  3. How visitors can get past a 403
  4. How site owners find the cause
  5. 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
02Where 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
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
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
Source

Amazon S3

How to tell
AccessDenied message
Where to look
Bucket policy, IAM, Block Public Access; see S3 Access Denied
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)
03Checklist

How visitors can get past a 403

  1. 01Check 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. 02Don'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. 03If 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. 04Ask the site owner for access. Only the owner can change a rule that blocks you.
04How 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 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.

Causes and fixes differ by server and platform. See the 403 guides for Apache, Chrome, Cloudflare, CloudFront, IIS, nginx, WordPress.

05Explained

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 for how to find and fix affected URLs, and Google's page on how HTTP status codes affect its crawlers.

Related errors: API Gateway.

Questions

Asked a lot.

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

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

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

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

04Why 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. 01RFC 9110: HTTP Semanticsrfc-editor.org · checked 2026-10-25
  2. 02403 Forbidden - HTTP - MDN Web Docsdeveloper.mozilla.org · checked 2026-10-25
  3. 03Error 403 - Cloudflare Support docsdevelopers.cloudflare.com · checked 2026-10-25
  4. 04HTTP 403 status code (Permission Denied) - Amazon CloudFront Developer Guidedocs.aws.amazon.com · checked 2026-10-25
  5. 05How HTTP status codes affect Google's crawlersdevelopers.google.com · checked 2026-10-25
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