Fail Open / Fail Closed
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="proxy.php?url=https%3A%2F%2Fstatuscodefyi.com%2Fiframe%2Fglossary%2Ffail-open-fail-closed%2F" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://statuscodefyi.com/glossary/fail-open-fail-closed/
Add a dynamic SVG badge to your README or docs.
[](https://statuscodefyi.com/glossary/fail-open-fail-closed/)
Use the native HTML custom element.
Two opposing failure modes for a system check or gate. Fail open allows requests through when the check itself is unavailable, prioritizing availability over correctness — common in rate limiters and feature flags where a brief outage is less harmful than blocking all traffic. Fail closed blocks all requests when the check fails, prioritizing security or data integrity — common in authentication middleware and fraud detection. Choosing the right mode depends on the cost of false positives versus false negatives.