Skip to content
  • Pricing
  • Contact us
  • Login
Start for free
All terms
Feature Flags

What is a Feature Toggle?

A feature toggle is a runtime switch that controls whether a feature is active for a given user, without deploying new code.

A feature toggle is a runtime switch that controls whether a feature is active for a given user, without deploying new code. The term is a synonym for feature flag. Both refer to the same mechanism: a conditional in your code that checks a configuration value to decide which experience a user sees.

Martin Fowler's 2010 taxonomy popularized "feature toggle" and categorized toggles by lifespan and purpose (release toggles, experiment toggles, ops toggles, permission toggles). The categories remain useful. The terminology has shifted. "Feature flag" is now the dominant term in engineering practice, in vendor documentation, and in Confidence.

Why do two terms exist?

The mechanism was invented independently by multiple teams and described with different names. "Feature toggle," "feature flag," "feature switch," and "feature gate" all appeared in engineering literature between 2009 and 2013. As the practice matured, "feature flag" won the naming war. Most modern platforms, including Confidence, LaunchDarkly, and Statsig, use "feature flag" as the primary term.

If you're searching for information or evaluating tools, treat the terms as interchangeable. The underlying concept is identical: decouple deployment from release by wrapping a feature in a conditional that can be changed at runtime.

Learn experimentation, step by step

A free course on running trustworthy experiments, from your first A/B test to sequential analysis.

Start Bootcamp

Ready to run your first experiment? Start free with Confidence.

Related terms

Feature Flags
Feature Flag

A feature flag is a runtime switch that controls whether a feature is active for a given user, without deploying new code.

Feature Flags
Rollout

A rollout is the process of releasing a feature to users in controlled stages using feature flags.

Feature Flags
Kill Switch

A kill switch is a feature flag designed specifically for instant emergency deactivation of a feature.

Spotify

Product

  • Feature flags
  • Confidence Loop
  • Product Analytics
  • Session Recordings
  • Pricing
  • Comparisons

Solutions

  • Startups
  • Scale-ups
  • Enterprise
  • Engineers
  • Data scientists
  • Product managers
  • Data warehouse teams
  • Security

Resources

  • Docs
  • Blog
  • Bootcamp
  • Glossary
  • Why not Bayes?
  • RFP guides
  • Playlist (opens in a new tab)

Company

  • About
  • Contact us
  • Status (opens in a new tab)

Legal

  • Master Customer Agreement (opens in a new tab)
  • Data Processor Appendix (opens in a new tab)
  • Privacy Policy
  • Security (opens in a new tab)

© 2026 Spotify