How does the gambler’s fallacy work?
Imagine watching a coin land heads again and again. Tails may start to feel overdue, as though the coin needs to balance its record. That feeling is the gambler’s fallacy: treating previous outcomes as a reason for the opposite outcome to become more likely, even when each trial is independent.
A fair coin has no memory. If one flip cannot affect the next, a run of heads does not change the chance of tails on the following flip. The run may be striking to an observer, but it has not altered the mechanism producing the next result. OpenStax explains independence in terms of whether the occurrence of one event changes the probability of another.
The important qualification is if. The fallacy is not the act of looking at past results; it is assuming that independent events must compensate for one another. Before deciding whether a streak matters, ask whether earlier outcomes can physically or procedurally influence what happens next.
Why a streak feels like a signal
People expect a random sequence to look mixed up. A long run of the same outcome can look less random than frequent alternation, even though runs are possible in random data. Seeing a streak tells you something about what has already happened. It does not, by itself, tell you that the process is preparing to reverse.
There is also a subtle difference between judging a whole sequence and predicting its next outcome. A particular long sequence can be unlikely when specified in advance. Once most of that sequence has already occurred, however, those past results are no longer uncertain. For an independent process, the only question left is the probability of the next result.
That distinction is easy to lose when watching events unfold. An observer may think, “Surely this cannot keep happening,” while actually asking a different question: “How surprising would it have been to predict this entire run beforehand?” The surprise of the completed run is real; the supposed pressure on the next trial is not.
A worked coin-flip example
Everything in this worked example is synthetic and illustrative, including the observed sequence, its counts, and its calculated probabilities. Suppose a fair coin has landed heads on six illustrative flips in a row. You must predict the seventh illustrative flip. Under the stated assumptions of fairness and independence, the chance of heads next is 1/2, and the chance of tails next is also 1/2.
Before any flips, the chance of the particular illustrative sequence of seven heads is (1/2)^7, or 1/128. That small probability describes the entire sequence from the starting point. After the first six illustrative heads have occurred, their probability is not multiplied into the decision about the remaining flip. The conditional chance of another head, given those six illustrative heads, is still 1/2.
The same calculation works in reverse. Before the sequence began, the chance of the first six illustrative heads followed by tails was also 1/128. Once those six illustrative heads are known, neither possible ending has gained an advantage. Tails would break the run, but breaking a run is not more probable merely because the run looks long.
What independence does and does not mean
Independent events are events for which learning one outcome does not change the probability of the other. For the illustrative coin flips above, this is an assumption about the coin and the flipping process. It is not a conclusion drawn from seeing a streak. OpenStax’s discussion of independent events provides the probability framework behind that assumption.
Independence does not mean outcomes will alternate neatly. Nor does it mean that every short stretch will contain an even mix. A process can have stable probabilities while its observed results temporarily look uneven. Over many trials, proportions can become more stable without creating a rule that the next trial must correct a previous imbalance.
It also matters what was selected for attention. A streak noticed after watching many events is different from a sequence chosen in advance for a prediction. Describing how surprising a noticed streak is requires care about what other patterns would have caught your eye. None of that changes the next-trial calculation when independence is genuinely established.
When past outcomes can matter
Some processes are not independent. If drawing an object removes it from a container without replacement, the contents change, so an earlier draw can affect the probabilities of later draws. If a machine’s condition changes over time, recent output may help reveal its current state. In those settings, using history to update a prediction can be reasonable.
A streak can also prompt a question about whether the assumed process is accurate. Perhaps an apparently fair device is biased, or the method of recording outcomes has changed. Investigating those possibilities is different from claiming that a reversal is due. The evidence would need to support a change in the underlying probability, not merely show a pattern that feels unusual.
Statisticians can examine patterns in sequences, including runs. For example, NIST describes a runs test as a way to assess whether the ordering of observations is consistent with randomness. A test can raise questions about a model; it does not establish from a memorable streak alone that the next result must go the other way.
A practical check before predicting
When an outcome feels overdue, first identify the event you are predicting: the next result, or an entire sequence specified before it began? Then ask whether earlier results can change the process that produces that event. This separates a valid conditional prediction from a reaction to how surprising the past looks.
Use this short checklist:
- Is there a credible reason to believe the trials are independent?
- Am I predicting the next outcome rather than reassessing an already observed run?
- Did I notice this pattern only after seeing the results?
- If I think the probability has changed, what evidence shows that the process changed?
If the trials are independent and the process is unchanged, a streak is part of the history, not a debt the next outcome has to repay.
Keep these distinctions
- The gambler's fallacy is the belief that a random outcome becomes more likely because the opposite outcome has occurred repeatedly.
- If trials are independent, earlier results do not change the probability of the next result.
- Past results can be informative when the process is not independent, but that requires evidence about how the process works.
Sources checked
These sources support the statistical definitions and boundaries. The scenario, prose, calculations, and figure on this page are original to Count & Chance.
- 01Independent and Mutually Exclusive EventsOpenStax / checked 2026-09-18
- 02Runs TestNIST / checked 2026-09-18