Fallout's terminal hacking minigame is a word-deduction puzzle based on Shannon entropy. Here is how it works, the math behind it, and a guaranteed strategy that solves it every time.
Fallout's terminal hacking minigame has been in every mainline Fallout game since Fallout 3 (2008). You face a screen of same-length words. You pick one. The terminal tells you how many letters match the password in the correct position. You have four attempts. Pick wrong four times and the terminal locks you out.
The puzzle is a Mastermind variant. It uses the same deduction structure: guess, get feedback, narrow the possibilities. The difference is that Fallout uses words instead of colored pegs, and the feedback is positional letter matching rather than color matching. The underlying math is identical, and it connects directly to information theory.
Bethesda Game Studios developed Fallout 3 (2008), Fallout: New Vegas (2010, Obsidian), Fallout 4 (2015), and Fallout 76 (2018). The franchise was created by Tim Cain and Leonard Boyarsky at Interplay in 1997. Bethesda now owns the franchise under Microsoft. The Fallout TV series on Amazon, starring Ella Purnell and Walton Goggins, returned for Season 2 on December 16, 2025, running weekly through February 4, 2026, with a confirmed Season 3.
You can practice the puzzle with our Fallout Terminal Hacking tool, which generates word lists and tracks your guesses. It is the fastest way to develop a reliable strategy without loading a save file.
The terminal displays a list of words, all the same length. The length depends on your character's hacking skill and the terminal's difficulty level. Novice terminals show 4-letter words. Advanced terminals show 6- to 8-letter words. Expert and master terminals show 10- to 12-letter words. There are typically 10 to 20 words on the screen.
You select a word. The terminal responds with a number: "3/5 correct" means that 3 of the 5 letters in your chosen word match the password in the exact same position. The remaining 2 letters are wrong, either because they are different from the password or because they are in the wrong position. The feedback is positional only. You do not learn which letters are correct. You only learn the count.
You have four attempts. Each attempt narrows the candidate set. If you guess correctly, the terminal unlocks and you gain access to whatever it controls: doors, safes, turrets, information. If you exhaust all four attempts, the terminal locks you out. In most Fallout games, you can wait 30 seconds (in-game) for the lockout to reset, or reload a save.
The screen also contains hidden "dud" strings embedded in the garbage text between words. Clicking a dud removes a wrong word from the list, which helps you by reducing the candidate set. There is also a chance of finding a "retry" string that resets your attempt counter. These hidden strings are a luck element that rewards careful scanning of the screen, but the core puzzle is the word deduction.
The Wikipedia article on Fallout 3 covers the game's development and the introduction of the hacking minigame. The Wikipedia article on the Fallout series) covers the franchise history from the 1997 original through the Bethesda era and the TV series.
Every guess in the Fallout terminal minigame gives you information. The amount of information depends on how much the guess partitions the remaining candidate set. This is a Shannon entropy problem.
Claude Shannon published "A Mathematical Theory of Communication" in the Bell System Technical Journal in 1948. The paper introduced the concept of information entropy, measured in bits, as the expected amount of information produced by a random event. The Wikipedia article on Claude Shannon covers his broader contributions, but the 1948 paper is the relevant source here.
In the Fallout minigame, each candidate word has a probability of being the password. Before your first guess, all words are equally likely. When you guess a word and receive feedback like "3/5 correct," you can eliminate every word that would not produce that exact feedback if it were the password. The remaining words are the ones that are consistent with the feedback.
The optimal guess is the one that, on average, partitions the candidate set most evenly. If you pick a word that splits the remaining candidates into roughly equal groups regardless of the feedback, you maximize the expected information gain. If you pick a word that is likely to produce one specific feedback value, you learn less on average because most of the probability mass concentrates on one outcome.
This is the same principle behind optimal play in Mastermind, which Donald Knuth analyzed in his 1976 paper "The Computer as Master Mind." Knuth proved that the code can always be solved in five or fewer guesses using a minimax strategy. The Fallout minigame is structurally similar, though the word-length constraints and the four-attempt limit make it tighter. You can explore the Mastermind connection with our Mastermind Solver, which implements the minimax approach.
The practical takeaway is that your first guess should be a word that shares letters with as many other words as possible. A word that has no letters in common with most of the list is a bad first guess, because it will eliminate fewer candidates regardless of the feedback. A word that shares letters with many other words is a good first guess, because the feedback will partition the set more effectively.
The garbage text on the terminal screen is not purely decorative. Embedded in the strings of brackets, symbols, and random characters are clickable sequences that provide two benefits: dud removal and attempt resets.
A dud is a sequence of matching bracket pairs, like "{.@#}" or "<$%*>". When you click the opening bracket, the game highlights the entire sequence. Clicking it removes one wrong word from the candidate list. This is equivalent to getting a free guess that eliminates a candidate without using an attempt. Finding duds is the single most effective way to improve your odds, because it shrinks the candidate set before you spend any of your four attempts.
A retry is a rarer sequence that resets your attempt counter to full. If you have already used two or three attempts, finding a retry gives you a fresh start. Retries appear less frequently than duds, but they are worth scanning for if you are down to your last attempt.
The trick to finding duds and retries is to scan the garbage text for opening brackets: (, [, {, <. When you hover over one, if the corresponding closing bracket is on the same line or a nearby line, the game highlights the full sequence. You click to activate it. The sequence must be contiguous in the garbage text, not spanning across actual word entries.
A systematic approach: scan each line of garbage text from left to right. When you see an opening bracket, hover over it. If the game highlights a sequence, click it. Move to the next line. This takes about 30 seconds per terminal and typically removes 2 to 4 wrong words from the list before you make your first real guess. On a 15-word list, removing 4 duds drops the candidate set to 11, which changes your odds from 1 in 15 to 1 in 11 before you even start guessing.
The dud system is a skill check layered on top of the deduction puzzle. Players who scan for duds consistently solve terminals with fewer attempts. Players who ignore duds and guess blindly will lock out frequently on higher-difficulty terminals.
There is a strategy that solves the Fallout terminal minigame reliably without relying on duds. It works because the feedback structure is deterministic: given a candidate set and a guess, the feedback partitions the set into disjoint groups, and only one group contains the password.
Step 1: Pick any word as your first guess. Note the feedback, say "3/5 correct."
Step 2: For each remaining word in the list, count how many letters it shares with your first guess in the same position. If a word shares exactly 3 letters in the same positions as your guess, it is a candidate. If it shares any other number, eliminate it. This is because the password is the word that would produce the same feedback you received, and the feedback is the positional match count.
Step 3: From the remaining candidates, pick a word that maximizes the expected partition. You do not need to compute Shannon entropy by hand. A practical heuristic: pick a word that differs from your first guess in as many positions as possible while still being a candidate. This tends to produce more even partitions.
Step 4: Note the new feedback. Apply the same elimination: keep only words that are consistent with both guesses. The candidate set shrinks rapidly. By the third guess, you are usually down to 1 or 2 candidates.
Step 5: If you reach your fourth attempt with 2 candidates remaining, pick either one. You have a 50% chance. If you have been scanning for duds between guesses, you have likely already removed enough wrong words that the fourth guess is a certainty.
The key insight is that every guess eliminates every word that is inconsistent with the feedback. You are not guessing randomly after the first attempt. You are applying a constraint filter. The Codenames Analyzer on this site uses a similar constraint-based approach to narrow word candidates, and the Frequency Analysis tool applies the same principle of using statistical patterns to eliminate possibilities.
This strategy works on every difficulty level. On novice terminals with 4-letter words, the candidate set is small enough that two guesses usually suffice. On master terminals with 12-letter words and 20 candidates, the strategy takes three or four guesses, and dud removal becomes more important to stay within the four-attempt limit.
The Fallout TV series on Amazon Prime Video, developed by Geneva Robertson-Dworet and Graham Wagner, premiered its first season in April 2024 to critical and commercial success. It was renewed for a second season, which premiered on December 16, 2025 and ran weekly through February 4, 2026. A third season has been confirmed.
Season 2 moves the story to New Vegas, the setting of Fallout: New Vegas (2010), the Obsidian-developed game that many fans consider the best in the series. The show stars Ella Purnell as Lucy MacLean, a Vault Dweller emerging into the wasteland, and Walton Goggins as the Ghoul, a pre-war actor turned irradiated bounty hunter. The Wikipedia article on the Fallout TV series) covers both seasons in detail.
The show's success has driven new players to the games. Fallout 4 saw a spike in player counts on Steam following the first season's release, and Bethesda has continued to update Fallout 76 with new content through 2026. The franchise is in its strongest cultural position since the late 1990s.
The terminal hacking minigame does not appear prominently in the TV series, which focuses on the macro-level story of vaults, factions, and the wasteland. But the show's attention to Fallout's retrofuturistic aesthetic, with its vacuum-tube computers and green-screen terminals, keeps the visual language of the minigame relevant. When characters interact with terminals in the show, the screens look exactly like the ones players hack in the games.
The terminal hacking minigame has survived across four mainline Fallout games and 18 years of franchise history. Bethesda has not replaced it or simplified it. That persistence is worth examining, because most minigames in RPGs are tolerated at best and actively hated at worst.
The terminal puzzle works because it is short, deterministic, and rewards skill. A player who understands the deduction logic can solve any terminal in under a minute. A player who does not can still brute-force it with luck and dud-scanning. The skill ceiling is low enough that anyone can reach it, but the skill floor is high enough that ignorance has consequences. That is a good design balance for a minigame that appears hundreds of times across a playthrough.
The puzzle also fits the setting. Fallout's retrofuturistic aesthetic is built on 1950s visions of computing: green phosphor screens, vacuum tubes, command-line interfaces. A word-deduction puzzle on a terminal screen feels native to that world in a way that a modern hacking minigame (packet routing, password cracking, firewall bypassing) would not. The minigame is part of the art direction, not just a gameplay system.
Compare this to other recurring minigames. The lockpicking minigame in Fallout and Elder Scrolls has changed form multiple times across entries, because no version has felt definitive. The terminal hacking minigame has stayed the same because it was right the first time. It is a constraint-satisfaction puzzle with a clear information-theoretic structure, dressed in an aesthetic that fits the world. That combination is hard to improve on.
If you want to practice without booting up a Fallout game, the Fallout Terminal Hacking tool on this site generates fresh puzzles on demand. It is the best way to internalize the deduction strategy until it becomes automatic.
The terminal displays a list of same-length words. You pick one and receive feedback showing how many letters match the password in the correct position. You have four attempts. The goal is to use the feedback from each guess to eliminate inconsistent words and narrow down the password.
After each guess, eliminate every word that does not produce the same feedback you received. Pick your next guess from the remaining candidates, choosing a word that differs from previous guesses in as many positions as possible. Scan the garbage text for dud sequences (matching bracket pairs) to remove wrong words without using attempts.
Duds are hidden sequences of matching bracket pairs embedded in the garbage text on the terminal screen. Clicking a dud removes one wrong word from the candidate list without using an attempt. Some sequences also reset your attempt counter. Scanning for duds before guessing significantly improves your odds.
Structurally, yes. Both are deduction puzzles where you guess, receive positional feedback, and narrow the candidate set. Fallout uses words and positional letter matching. Mastermind uses colored pegs and positional color matching. The underlying math, including Shannon entropy and the optimal guessing strategy, is the same.
It first appeared in Fallout 3, developed by Bethesda Game Studios and released in 2008. It has appeared in every mainline Fallout game since: Fallout: New Vegas (2010), Fallout 4 (2015), and Fallout 76 (2018). The mechanic has remained nearly unchanged across all four games.
Fallout Terminal Hacking
Play the Fallout terminal hacking minigame: guess the password from a list of same-length words with X/Y correct feedback, across five difficulty levels.
Mastermind Solver
Solve Mastermind board game codes by entering guesses and black or white peg feedback, with candidate filtering and next-guess suggestions based on Knuth's minimax strategy.
Codenames Analyzer
Analyze Codenames board game clues by ranking grid words against a spymaster's clue word, using semantic association heuristics for the 5x5 word grid.
Mastermind: The 1970s Board Game That's Actually Cryptanalysis
Mastermind is a 1970 board game where one player hides a code and the other cracks it. Donald Knuth proved it can always be solved in 5 guesses. Here is the math.
Codenames Is Secretly a Lesson in Cryptographic Thinking
Codenames by Vlaada Chvatil is a party game built on semantic clustering, ambiguity, and channel capacity. Here is why it teaches real cryptographic thinking.