Daily Zebra Puzzle

A Short History of the Zebra Puzzle and Logic Grid Puzzles

Published 2026-11-28 · 5 min read

Quick answer: The best-known zebra puzzle was printed in Life International on December 17, 1962, and its solution followed on March 25, 1963. Its roots go back to Victorian logic puzzles such as Lewis Carroll's The Game of Logic (1886). Puzzle magazines like Dell's turned "logic grid" puzzles into a staple, and computer scientists have used the zebra puzzle as a test problem since at least the late 1980s. The popular claim that Einstein wrote it has no supporting evidence.

Before the zebra: Victorian logic puzzles

Logic as recreation is older than the grid. Wikipedia's logic puzzle article traces the genre to Charles Lutwidge Dodgson, better known as Lewis Carroll. In 1886 he published The Game of Logic, a book that teaches reasoning with a board and coloured counters. One example asks the reader to confirm the conclusion "Some greyhounds are not fat" from two premises: "No fat creatures run well" and "Some greyhounds run well." Carroll later folded the game into a longer textbook, Symbolic Logic (1897).

Carroll's puzzles are syllogisms. They ask what follows from a set of statements, not which item belongs where. But they share the core idea of every zebra puzzle: a handful of plain sentences, combined carefully, force a single conclusion. His board even divides the "universe" into regions that are ruled in or ruled out, which is a close cousin of the X and ✓ marks on a modern grid.

Later in the 20th century, the mathematician Raymond Smullyan popularised another branch, the "knights and knaves" puzzles about truth-tellers and liars, in books such as The Lady or the Tiger? That is a different family from grid puzzles, but it came out of the same appetite for pure deduction.

December 17, 1962: Life International

The puzzle most people mean by "the zebra puzzle" ran in Life International on December 17, 1962. It had fifteen statements about five houses: their colours, the residents' nationalities, drinks, cigarette brands and pets. It ended with two questions, "Who drinks water? Who owns the zebra?" Neither water nor the zebra appears in any clue, which is what makes the ending so satisfying. The magazine also explained that in the clue about the green house being to the right of the ivory house, "right means your right."

According to the Wikipedia article on the Zebra Puzzle, the March 25, 1963 issue printed the solution along with the names of several hundred successful solvers from around the world. A scan of the original page is included in a 2009 conference paper by Dylan and J. Vassberg, Is Einstein's Puzzle Over-Specified? (cited by Wikipedia). We walk through the full puzzle and its solution in Einstein's Riddle, solved step by step.

Why "Einstein's Riddle"?

The puzzle is widely called "Einstein's Puzzle" or "Einstein's Riddle," supposedly because a young Albert Einstein invented it. It is also sometimes credited to Lewis Carroll. Wikipedia describes the Einstein story as an urban legend and says there is no evidence that either man wrote it. It also notes that the 1962 version names American cigarette brands that didn't exist in Carroll's lifetime or Einstein's boyhood, though that particular point is flagged on Wikipedia as needing a citation. The honest summary: the 1962 Life International text is the earliest version anyone can point to, and its author is unknown.

Many versions, one structure

Retellings changed the details freely: a fish instead of a zebra, different nationalities, drinks or pets. Wikipedia notes that these substitutions don't change the logic. One variant does. Some versions say the green house is to the left of the ivory house, which leads to a different arrangement. A slightly simplified version even appears as a gate-unlocking puzzle in the video game Dishonored 2.

Logic grid puzzles in magazines

Separately from the 1962 puzzle, a whole format grew up in puzzle magazines. Wikipedia's logic puzzle article describes the classic "logic grid" puzzle: a scenario (for example, who brought which dog to a dog show), a set of clues such as "neither Misty nor Rex is the German Shepherd," and a matrix the solver fills in. Most use two to four categories. The same article calls the zebra puzzle perhaps the most famous example of the genre, though it is closer to a table puzzle than a matrix.

Dell was central to this world in the United States. Dell Publishing was founded in 1921 by George T. Delacorte Jr. According to the Penny Dell Puzzles company history, Dell Puzzle Magazines began in 1931, and Dell Pocket Crossword Puzzles has appeared without interruption since 1941. Wikipedia's Dell Publishing article adds that after its first title, Dell Crossword Puzzles (1931), Dell went on to print magazines of word searches, math and logic puzzles. Dell Magazines was sold in 1996 and merged with Penny Press to form Penny Publications, which still publishes Logic & Math titles today.

Dell's puzzle editors also had a hand in a more famous grid. In a 2005 Guardian/Observer report, Dell editor-in-chief Abby Taylor said the oldest copy of "Number Place" in the company archive dated from 1979. That puzzle reached Japan, was renamed Sudoku by the publisher Nikoli in 1984, and went global two decades later. Sudoku and the logic grid are siblings: both ask you to place items so that each appears exactly once per row and column, using deduction rather than arithmetic.

The zebra puzzle in computer science

Because the zebra puzzle is small, fully specified and has exactly one answer, it became a standard test case for programs that solve constraint satisfaction problems. These are problems where you assign values to variables so that every rule holds, and scheduling and design tasks are often modelled the same way.

In a 1993 paper in Computational Intelligence, Patrick Prosser compared nine search algorithms using 450 instances of what he called "the ZEBRA problem." He modelled it as 25 variables (five houses × five categories) and 122 constraints. He chose it partly because it is representative of real design and scheduling problems, and he notes it was already described in earlier work by Rina Dechter (1988, 1990) and Barbara Smith (1992).

The puzzle is still in use. In 2025 a team of researchers published ZebraLogic, a framework that generates logic grid puzzles of controllable difficulty to test large language models. They report that accuracy drops sharply as puzzles grow larger, a pattern they call the "curse of complexity." The paper was accepted to ICML 2025.

From magazine page to daily puzzle

Today the format lives on in print, in apps and on sites like this one. Our puzzles are generated by computer and checked so that each has exactly one solution reachable without guessing. That is the same property that made the 1962 puzzle a fair challenge and a good benchmark. Read how our puzzles are made for the details, or join the long line of solvers with today's puzzle.

Sources

  • Wikipedia, "Zebra Puzzle": https://en.wikipedia.org/wiki/Zebra_Puzzle
  • Wikipedia, "Logic puzzle": https://en.wikipedia.org/wiki/Logic_puzzle
  • Wikipedia, "The Game of Logic": https://en.wikipedia.org/wiki/The_Game_of_Logic
  • Wikipedia, "Dell Publishing": https://en.wikipedia.org/wiki/Dell_Publishing
  • Penny Dell Puzzles, "About Us" (company history): https://www.pennydellpuzzles.com/about-us/
  • David Smith, "So you thought Sudoku came from the Land of the Rising Sun ...", The Observer, May 15, 2005: https://www.theguardian.com/media/2005/may/15/pressandpublishing.usnews
  • Patrick Prosser, "Hybrid Algorithms for the Constraint Satisfaction Problem," Computational Intelligence 9(3), 1993: https://cse.unl.edu/~choueiry/Documents/Hybrid-Prosser.pdf
  • Bill Yuchen Lin et al., "ZebraLogic: On the Scaling Limits of LLMs for Logical Reasoning," arXiv:2502.01100, 2025: https://arxiv.org/abs/2502.01100

Put it into practice

Try today's puzzle at Easy, Medium or Hard, or pick an older one from the archive.

Keep reading