# Explicit deny

Facts read 16 Nov 2026. Page reviewed 16 Nov 2026.

An explicit deny is a statement with Effect set to Deny that matches a request. It overrides every allow in identity-based policies, resource-based policies, permissions boundaries, SCPs and RCPs. A request with no matching allow is denied implicitly. Only the explicit kind cannot be overridden by another policy.

## An example, sourced

AWS evaluation documentation says that when identity-based and resource-based policies are combined, an explicit deny in either of them overrides the allow, and the same applies to deny statements in permissions boundaries, SCPs and RCPs.

## Why it matters here

Reading a policy for what it allows is half of the job. A deny elsewhere can remove an allow, and a Deny written on a key that can be absent may not apply.

## Related pages

- [NotAction: meaning and an example](/glossary/notaction/)
- [Amazon Resource Name: meaning and an example](/glossary/arn/)
- [External ID: meaning and an example](/glossary/external-id/)
- [All of them](/glossary/)

## Sources

- https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html (read 16 Nov 2026)

Last reviewed 16 Nov 2026. Canonical: https://iampolicygenerator.com/glossary/explicit-deny/

This site is not affiliated with Amazon Web Services. AWS service and product names are used only to describe AWS services.
