Home › Probability › The Monty Hall problem: should you switch doors?
The Monty Hall problem: should you switch doors?
Three doors, one car, and a choice that fools almost everyone.
The puzzle
You're on a game show facing three closed doors. Behind one is a car; behind the other two are goats. You pick a door. The host, who knows what's behind every door, then opens one of the other doors to reveal a goat. He offers you a choice: stick with your door, or switch to the one remaining closed door.
Two doors are left, so it feels like a 50/50 coin toss. It isn't. Switching wins the car two times out of three.
🚪 Play it yourself
Play ten or twenty rounds each way. Your own results will wobble, which is why the simulator below runs thousands.
📈 Run thousands of games
Dashed lines are the theoretical win rates. With more than three doors, the host opens every other door except one. Hover or tap the chart to read the rates after any number of games.
Why switching wins
The key is that your first pick is made with no information, so it's right only 1 time in 3. Nothing the host does afterwards can change that: he will always be able to open a goat door, whatever you picked. So the chance your original door hides the car stays at 1/3.
The remaining 2/3 has to go somewhere, and there's only one other closed door. Switching wins whenever your first pick was wrong, which happens 2 times in 3.
| Car is behind | You pick | Host opens | Stick gets | Switch gets |
|---|---|---|---|---|
| Door 1 | Door 1 | Door 2 or 3 | 🚗 Car | 🐐 Goat |
| Door 2 | Door 1 | Door 3 | 🐐 Goat | 🚗 Car |
| Door 3 | Door 1 | Door 2 | 🐐 Goat | 🚗 Car |
The 100-door version makes it obvious
Imagine 100 doors. You pick one, and the host, who knows where the car is, opens 98 goat doors and leaves just one other door shut. Would you stick with your original 1-in-100 guess? The door he carefully avoided is now very suspicious: it hides the car 99 times in 100. Set the simulator to 100 doors to watch this happen.
It only works because the host knows
The host's knowledge is what transfers information to you. If he opens a door at random and it just happens to show a goat (sometimes called the "Monty Fall" version), switching and sticking really are 50/50. Tick "The host doesn't know" in the simulator: the games where he accidentally reveals the car are thrown out, and the two lines meet at 50%.
A famous argument
The puzzle is named after Monty Hall, host of the US game show Let's Make a Deal. Statistician Steve Selvin posed it in 1975, but it became famous in 1990 when Marilyn vos Savant answered it in Parade magazine. She said "switch", and thousands of readers, including many with maths PhDs, wrote in to tell her she was wrong. She wasn't. Even the great mathematician Paul Erdős is said to have stayed unconvinced until he saw a computer simulation.
Questions
Is the Monty Hall problem really 2/3?
Yes, as long as the host always opens a door, always reveals a goat, and always offers the switch. Under those rules switching wins 2/3 of the time, which you can confirm by running the simulator.
Why isn't it 50/50 when there are two doors left?
Because the two remaining doors didn't get there the same way. Yours was chosen at random. The other one was chosen by a host who knew where the car was and had to avoid it. That asymmetry is what makes the other door more likely.
Does it matter which door I pick first?
No. Every first pick has a 1/3 chance, and the host can always open a goat door, so the result is the same whichever door you start with.