Should you switch doors in the Monty Hall problem?
Probability
Medium
A conditional probability puzzle where the host’s rule determines the answer.
Published
November 16, 2026
NoteQuestion
A car is behind one of three closed doors, and the other two doors are empty. Each door is equally likely to hide the car. You pick door 1. The host knows where the car is. He always opens one of the two other doors, never the one with the car, and then offers you a switch. When both of them are empty, he picks one by tossing a fair coin. He opens door 3. Should you switch to door 2, and what is the chance that switching wins the car?
Try it first, then open the solution.
TipSolution
Switch. Switching wins the car with probability 2/3, and staying wins with probability 1/3.
Staying wins if your first pick was right, and each door hides the car with probability 1/3. The question is whether switching does better, now that you know the host opened door 3. With \(C_i\) for “the car is behind door \(i\)” and \(H_3\) for “the host opens door 3”, compare
The same steps give \(P(C_1 \mid H_3) = (1/6)/(1/2) = 1/3\), the chance of your first pick, so switching wins twice as often as staying. If the host opened door 2 or door 3 at random, and door 3 happened to be empty, each closed door would hide the car with probability 1/2, so the answer depends on the host’s rule.
The animation draws the steps for 300 games.
The common wrong answers each skip the host’s rule:
Answer
The slip
1/2 for each closed door
treats the two closed doors as equally likely, which ignores that the host never opens the car’s door
stay, because door 1 keeps its chance
is right that door 1 keeps 1/3, but forgets that door 2 now holds the other 2/3