A Feature Flag (or toggle) is an if/else statement in your code that lets you turn features on/off without deploying new code. You can show Feature X to 10% of users, or only beta users, or only on Tuesdays. This lets you deploy code safely, test with small groups, and kill bad features instantly without rolling back deploys. Essential for continuous deployment and A/B testing.
Use feature flags when rolling out risky features (test with 5% of users first), doing A/B tests (show variant to 50% of users), or want to separate code deployment from feature release (deploy Friday, enable Monday). Also useful for beta features, gradual rollouts, or letting customer success enable features per customer. Every production app should have feature flags.
Product Management
Toggle features on/off