Puzzles · Logic · Challenging
The poisoned wine bottles
The king has 1000 wine bottles; one is poisoned. Poison kills in exactly 10 hours. The king has 10 prisoners to test wines before a feast in 10 hours. What is the maximum number of bottles the king can identify as safe?
Posted on r/puzzles · Oct 7, 2026 · 2.4k upvotes · 1.8k comments
The answer
Give it a real try first. Tap the box when you're ready.
All 999 of them. He finds the poisoned bottle too.
Number the bottles 0 to 999 and write each number in binary. Ten binary digits go up to 1,023, so every bottle gets its own 10-digit code.
Give each prisoner one digit position. Prisoner 1 sips from every bottle whose first digit is 1, prisoner 2 from every bottle whose second digit is 1, and so on. Everyone drinks at the same moment.
Ten hours later, write a 1 for each prisoner who died and a 0 for each who didn't. That 10-digit number is the poisoned bottle. Every other bottle is safe. Nine prisoners would not be enough, since 29 = 512 codes can't cover 1,000 bottles.
What Reddit said
The comments give the answer away, so this is hidden too.
This is our most-discussed puzzle so far, with about 1,800 comments. The top comment wasn't about binary at all.
- The clock problem. u/War34Eagle pointed out that if the poison takes exactly 10 hours and the feast is in 10 hours, pouring and sipping from 1,000 bottles leaves the king out of time. It got over 1,300 upvotes, and replies agreed the timing made several answers defensible.
- The key idea. u/Remarkable_Fee4136 spotted that 1,000 is less than 210, so every bottle can get its own combination of tasters. u/Frosty-Froyo856 spelled out the binary numbering.
- Splitting into batches. Many people gave each prisoner 100 bottles, which only clears 900 (u/AkaiRedInc). u/JustLookingForBeauty squeezed that up to about 909, and u/Stare_Decisis tried overlapping batches for 990. Binary codes beat them all.
- One prisoner, one sip every 30 seconds. u/Tricky-Act-31415 had a single prisoner taste every bottle in sequence, then serve the bottles in the same order as each one proves safe. The replies mostly worried about alcohol poisoning.
- How much wine is a sip? u/pskought and u/bqbdpd asked whether a prisoner mixing samples from 500 bottles still gets a lethal dose.
The thread showed the question was looser than it should be, so we rewrote this puzzle in the app to close the loopholes.