
What Is a “Flag”? A Beginner-Friendly Explanation of Its Meaning, Origins, and Usage
Brief Explanation
In games, the program internally tracks whether certain conditions have been met, and events or the story may change depending on that status. For example, if the condition “spoke with a specific character” is met, a new event may occur afterward. The act of fulfilling such a condition has come to be colloquially referred to as “setting a flag.”
From there, the meaning expanded, and in anime and manga, predictable plot developments or foreshadowing—such as when a certain line is spoken and you think, “If this line comes up, this is probably what’s going to happen next”—also came to be called “flags.”
Explanation
“Flag” is originally a computer science term referring to a ‘flag’ that controls conditional branching in a program. In video games, it refers to a mechanism where events or story developments change when specific conditions are met, and the fulfillment of these conditions has come to be described as “the flag is set” or “setting the flag.”
The term subsequently spread among anime and video game fans, and people began using the word “flag” to describe real-life events as well. Today, it is used—primarily online—to refer to “a sign or omen that a certain event is about to occur,” even in contexts unrelated to video games or anime.
The main types of flags are as follows.
・Death Flag
Words, actions, or plot developments that foreshadow the imminent death of a fictional character. Typical examples include scenes where the character expresses hopes for the future, such as “If I survive, I’ll go back home” or “I’ll get married once this is over.”
・Romance Cues
Words, actions, or plot developments that foreshadow a romantic relationship developing between characters
Common Expressions Related to Flags
・Resolve a death flag
A “death flag” actually comes true, and events unfold exactly as foreshadowed
・Set a flag
Acting in a way that fulfills the conditions for a certain event to occur or that foreshadows its development
・Break the flag
Avoiding foreshadowed plot points and preventing the predicted developments
In real-life conversations, it’s often used in situations where someone points out a sign or foreshadowing of a certain event, as in phrases like “That’s a death flag, isn’t it?” or “I’ve set that flag.”
Examples of Use
・“If you talk big like that, it's a death flag.”
・“That scene where they're alone together right before the confession—isn't that a romantic hint?”
• “The plot resolved the foreshadowing too quickly.”
FAQ
Q. Why is “flag” a term that comes from video games?
A. In video games, events are triggered when a character performs a specific action, and in programming terminology, the conditions for these events are referred to as “flags.” The expression “to set a flag” became popular among anime and video game fans and has since come to be used in reference to real-world events as well.
Q. What is a “death flag”?
A. This refers to words, actions, or plot developments that foreshadow the imminent death of a fictional character. Scenes in which a character expresses hopes for the future—such as “I’ll get married once this is over” or “I want to see my family when I return home”—or tries to protect something important are well-known examples of death flags.
Q. What does “breaking a flag” mean?
A. This refers to avoiding a foreshadowed plot development by defusing a “death flag.” For example, when a character who had been marked with a death flag manages to survive, we say they “broke the flag.”
Q. Since when has the term “flag” been in use?
A. Originally a term used in programming, it was also used in the gaming world during the 1980s to refer to things like “conditions under which an event occurs.” It later spread among gaming fans, and by the 2000s, it had come to be widely used online—much like “death flag”—to mean “a sign that a specific development is likely to occur.” However, the exact origin of the term in its current sense is unclear.
Q. Do “flag” and “clue” mean the same thing?
A. They are similar, but their meanings differ slightly. “Fusenshi” refers to descriptions or information that the author intentionally includes in advance to set the stage for later developments in the story. On the other hand, “flag” is a term often used to describe actions, dialogue, or plot developments that prompt viewers or readers to predict, “This is probably going to happen next.” For example, if a character says, “We’ll get married once this battle is over,” viewers might think, “Is that a death flag?”
Related Terms
・Death Flag
Words, actions, or plot developments that foreshadow a character's imminent death
・Romance Cues
A plot development that foreshadows a romantic relationship between the characters
・Resolving plot threads
The fact that a previously announced development actually comes to pass

This guide explains subculture terms used in games, anime, manga, and online in a way that’s easy to understand, even for people who aren’t familiar with the works themselves.
“I’ve heard that term before, but I don’t know what it means.”
To answer questions like this, we’ve carefully researched the origins, meanings, usage examples, works where the terms appear, and related terms—all summarized in language that’s easy for beginners to understand.
- 新世紀エヴァンゲリオンとは?初心者にもわかりやすく解説
- What Is “Bocchi”? A Beginner-Friendly Explanation of Its Meaning, Origin, and Usage







