When making serial predictions in a binary decision task, there is a clear tendency to assume that after a series of the same external outcome (e.g., heads in a coin flip), the next outcome will be the opposing one (e.g., tails), even when the outcomes are independent of one another. This so-called "gambler's fallacy" has been replicated robustly. However, what drives gambler's fallacy behavior is unclear. Here we demonstrate that a run of the same external outcome by itself does not lead to gambler's fallacy behavior. However, when a run of external outcomes is accompanied by a concurrent run of failed guesses, gambler's fallacy behavior is predominant. These results do not depend on how participants' attention is directed. Thus, it appear...