Free auditStart free
GuideError · CDN and hosting

S3 Access Denied (403 Forbidden)

Decode an Amazon S3 Access Denied 403: explicit vs implicit deny, the policy type in the message, Block Public Access, KMS, Requester Pays and CloudFront.

5 min
read
3
sources
Oct 23, 2026
updated
Scaplet Editorial Team
author
In one line

S3 returns Access Denied (HTTP 403 Forbidden) when AWS explicitly or implicitly denies the request. An explicit denial is a Deny statement; an implicit denial is the absence of any Allow. For same-account and same-organization requests, the error message names the policy type that denied it. Read that message first, then fix that policy.

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
01Good to know

What S3 Access Denied means

Access denied (HTTP 403 Forbidden) errors appear when AWS explicitly or implicitly denies an authorization request. AWS defines the two cases:
  • An explicit denial occurs when a policy contains a Deny statement for the specific AWS action.
  • An implicit denial occurs when there is no applicable Deny statement and also no applicable Allow statement.

Because an IAM policy implicitly denies an IAM principal by default, the policy must explicitly allow the action. So the fix for an implicit denial is adding an Allow, and the fix for an explicit denial is changing or removing a Deny. For the general status, see 403 Forbidden.

03S3 Access Denied causes and fixes

The usual causes, in the order to check

Cause

Bucket or IAM policy

What AWS says
Policy must explicitly allow the action; with no bucket policy, other accounts and anonymous requests are implicitly denied
Check
Run aws sts get-caller-identity to confirm who you are, then review that identity's policies
Cause

Block Public Access

What AWS says
Settings override policies, permissions and ACLs; all four settings are on by default for new buckets since April 2023; the most restrictive combination of access point, bucket and account applies
Check
The four settings at account, bucket and access point level
Cause

Requester Pays

What AWS says
A request without the right parameter gets Access Denied (403 Forbidden)
Check
Pass --request-payer requester in the CLI or the x-amz-request-payer header in SDK requests
Cause

Encryption with SSE-KMS

What AWS says
A customer managed key needs kms:GenerateDataKey to upload and kms:Decrypt to download; an AWS managed key needs a requester in the account that owns aws/s3
Check
The KMS key policy and the object's encryption
Cause

Blocked SSE-C

What AWS says
If SSE-C is blocked on the bucket, writes specifying it are rejected with an HTTP 403 AccessDenied
Check
The BlockedEncryptionTypes setting
Cause

Object Lock

What AWS says
A permanent DELETE request (one with a version ID) on an object under a retention period returns Access Denied (403 Forbidden); a legal hold can cause the same
Check
Retention period or legal hold
Cause

VPC endpoint, SCP, RCP, permissions boundary, session policy

What AWS says
Each can deny, explicitly or implicitly
Check
The policy type named in the message
Requester Pays buckets need an explicit flag
aws s3 cp s3://amzn-s3-demo-bucket/object.txt /local/path \
  --request-payer requester

The Block Public Access rules explain a common surprise. Setting a public bucket policy or ACL doesn't help if a Block Public Access setting prevents it. IgnorePublicAcls causes an implicit denial; RestrictPublicBuckets causes an explicit one and also rejects all anonymous (unsigned) calls.

04Explained

When it is CloudFront in front of S3

If the 403 appears through CloudFront, AWS says to check two things: that you use the S3 website endpoint format (bucket-name.s3-website-region.amazonaws.com) rather than the REST API endpoint, and that the bucket policy allows your distribution's OAI or OAC with s3:GetObject. The CloudFront side, including geo restrictions and WAF, is in 403 on CloudFront.

05Explained

Visitors: what you can and can't do

If a public file on someone's site shows an S3 Access Denied page, the bucket owner has to change the policy. Retrying or signing in somewhere else won't help. Tell the site owner which URL failed and when. If you are the bucket owner, use the table above.
06Explained

What it does to SEO

Images, PDFs and scripts served from S3 that return 403 to Googlebot are treated like any 4xx other than 429: Google treats the content as nonexistent. Google ignores any content it receives from a URL that returns a 4xx status code. See 4xx errors and Google's page on how HTTP status codes affect its crawlers.

Questions

Asked a lot.

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

01What does S3 AccessDenied mean?

AWS explicitly or implicitly denied the request. An explicit denial is a Deny statement for the action; an implicit denial is the absence of any applicable Allow. The error message names the policy type for same-account and same-organization requests.

02Why does my S3 bucket policy still give Access Denied?

Block Public Access settings override bucket policies, ACLs and permissions. Other possible causes are an SCP, a VPC endpoint policy, a permissions boundary, KMS key permissions, Requester Pays settings or Object Lock.

03Why is the S3 error message so generic?

Enhanced access denied messages are returned only for same-account requests or requests in the same AWS organization. Cross-account requests outside the organization, and requests to directory buckets, return a generic Access Denied.

04How do I access a Requester Pays bucket?

Include the --request-payer requester parameter in the AWS CLI, or set the x-amz-request-payer header to requester in SDK requests. The caller also needs permissions such as s3:GetObject and s3:ListBucket.

Sources · 3

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • amazon.com
  • google.com
  1. 01Troubleshoot access denied (403 Forbidden) errors in Amazon S3docs.aws.amazon.com · checked 2026-10-25
  2. 02HTTP 403 status code (Permission Denied) - Amazon CloudFront Developer Guidedocs.aws.amazon.com · checked 2026-10-25
  3. 03How 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