Flag debt
Also called: feature-flag debt, toggle debt
Last updated:
Flag debt is the form of technical debt created when feature flags pile up faster than they are retired. Every flag is a branch in the code and a row in the configuration; once its decision is made — the rollout finished, the experiment concluded — the flag becomes dead weight that engineers still have to read around, test, and reason about. Flag debt is the sum of those un-retired flags.
Where flag debt comes from
Paying flag debt down
Want the full picture? Read the concept guide: Stale flag detection →
Related terms
Stale flag
A stale flag is a feature flag that no longer makes a live decision — it serves one variation to everyone, receives no traffic, or was never used — yet still exists as a conditional branch in code.
Feature flag
A feature flag is a conditional in your code whose value is controlled from a remote dashboard, letting you turn functionality on or off without deploying new code.
Flag evaluation
Flag evaluation is the process an SDK runs to decide which variation a feature flag returns for a given user — applying prerequisites, targeting rules, and rollouts to the user context.
Try it in your own app
Free Solo plan covers 10 flags and 2 environments. No credit card, no demo call — sign up and ship.