Zriddle logo

How to play a zebra puzzle

Play today's puzzle

A small zebra puzzle board with colour tiles, a zebra and a dog placed, beside a light bulb tile and a tick tile

A zebra puzzle gives you a row of houses and a list of clues. Each house has one item from every category (a colour, a pet, a drink). Use the clues to cross off what cannot be true until only one arrangement is left. You never need to guess.

Zebra puzzles are also called Einstein riddles, Einstein's puzzle or logic grid puzzles. The name comes from the most famous one, which asks "who owns the zebra?". You can read that classic on our Einstein's riddle page.

The rules of a zebra puzzle

  1. Know the setup. There is a row of places, numbered from the left: houses, or bags on a carousel, or stools at a counter, depending on the theme. Each place gets exactly one item from every category.
  2. Every item is used once. If there are four pets, each pet lives in exactly one house, and no two houses share a pet.
  3. Read the clues as facts. Every clue is true. "Next to" means the house directly beside, on either side. "Left of" means as you look at the row.
  4. Cross off what cannot be. Most of the work is ruling things out. Each clue removes some options from some squares.
  5. Place what must be. When an item has only one square left in its row, or a square has only one item left, that is the answer for that square.
  6. Repeat until the grid is full. Each new answer makes other clues useful again, so go back over the clues after every placement.

A worked example: who owns the zebra?

Here is a small puzzle with three houses and three categories: house colour ( red, blue, green), pet (🐱 cat, 🦓 zebra, 🐶 dog) and drink (🥛 milk, 🍵 tea, 🧃 juice). It has five clues.

  1. The milk drinker lives in house 1.
  2. The cat owner drinks milk.
  3. The zebra owner is directly left of the person in the green house.
  4. The tea drinker owns the zebra.
  5. The person in the blue house is at one of the ends.

At the start, every square could hold any item from its row.

In these grids a faded tile is crossed off, a tile with a red line was crossed off in that step, and an outlined square was filled in that step.

Start: everything is still possible
House 1House 2House 3
Colour
Pet🐱🦓🐶🐱🦓🐶🐱🦓🐶
Drink🥛🍵🧃🥛🍵🧃🥛🍵🧃

Step 1: use the fixed clue

Clue 1 puts milk in house 1. That means milk is crossed off in houses 2 and 3, and tea and juice are crossed off in house 1.

Step 2: link two things together

Clue 2 says the cat owner drinks milk, so the cat lives in house 1 too. Cross the cat off houses 2 and 3.

After clues 1 and 2
House 1House 2House 3
Colour
Pet🐱🐱🦓🐶🐱🦓🐶
Drink🥛🥛🍵🧃🥛🍵🧃

Step 3: use the edge of the row

Clue 3 says the zebra owner is directly left of the green house. The zebra cannot be in house 3, because nothing is to its right. House 1 already has the cat. So the zebra is in house 2, and the green house is house 3, directly to its right. The dog is the only pet left, so it goes in house 3.

After clue 3
House 1House 2House 3
Colour
Pet🐱🦓🐶
Drink🥛🥛🍵🧃🥛🍵🧃

Step 4 and 5: finish off

Clue 4 puts tea with the zebra in house 2, which leaves juice for house 3. Clue 5 says the blue house is at one of the ends: house 1 or house 3. House 3 is green, so house 1 is blue and house 2 is red.

Solved
House 1House 2House 3
Colour
Pet🐱🦓🐶
Drink🥛🍵🧃

Answer: the zebra owner lives in the red house, house 2, and drinks tea.

Real puzzles are bigger, but they work the same way. For more methods, see how to solve zebra puzzles, and for the exact meaning of each clue, read all 12 clue types explained.

Play today's puzzle

How to play on Zriddle

Zriddle has four new puzzles every day. They are free and you do not need an account.

LevelSizeWhat it asks of you
Easy4 places, 3 categoriesRead each clue against the grid. Includes a couple of extra clues to help you along.
Medium5 places, 4 categoriesThe same reasoning, with no spare clues and more clue types, such as "between" clues.
Hard5 places, 5 categoriesAdds "either, or" clues and needs pair reasoning: two items that share the same two squares.
Expert6 places, 5 categoriesNo clue puts an item straight into a numbered place, and some steps need a short "what if" test.

Every puzzle has exactly one answer. Our computer solver checks this before a puzzle is used.

Try the practice puzzle first

If you are new, tap the How to play button (the question mark at the top of the game) and choose "Try the 1 minute practice puzzle". A coach walks you through a three-house puzzle one move at a time, so you learn the controls by using them. It does not count towards your stats.

Controls

  • Fill a square: tap it, choose "This is it", then tap the item. Tap it again to take it back.
  • Cross things off: tap a square, switch to "Cross off", and tap everything that square cannot be. The small tiles in each square show what is still possible.
  • Mark a clue as used: tap the clue to dim it. Tap again to bring it back.
  • Undo and Reset: undo takes back your last move. Reset clears the board, but the timer keeps running.
  • Timer: each puzzle stays covered until you press Reveal puzzle, and its timer starts at that moment. Every size has its own timer. Tap the timer to hide it if you would rather not see it.

When every square is filled, Zriddle checks your grid. If something is wrong, it tells you how many squares are wrong, and that counts as a mistake.

Hints

The hint button looks at your board as it is right now. If you have made a mistake, it points that out first. Otherwise it tells you which clue you can use next, and you can tap "Show me" to see what it crosses off. If no single clue helps, it may point to a row where an item has run out of places. When a step needs a "what if" test, it offers to fill in one square for you. Hints are counted in your result.

Streaks, stats and sharing

  • Streak: solve at least one of the day's puzzles on that day to keep your streak going. Your best streak is kept too.
  • Stats: for each level you can see how many you have solved, your best and average times, and how many were flawless (no hints and no mistakes).
  • Sharing: when you finish, you can copy a result made of emoji squares, with no spoilers. Green squares were right first time, yellow squares were wrong at a check, and a light bulb marks a square a hint filled in. Your time, hints and mistakes are shown underneath, or a star if you solved it flawlessly.
  • Past days: tap the date at the top to play any of the last 14 days. Only puzzles solved on their own day count towards your streak.

Your progress, stats and settings are saved in your browser on this device. New puzzles appear at midnight on your device's clock.

Questions about playing

Do I ever need to guess?

No. Each puzzle is checked to have one answer that you can reach by reasoning. On Expert, a step may need you to try an option and see that it breaks a clue, which is still logic rather than a guess.

What do I do when I am stuck?

Go back through every clue and ask what it rules out now, given what you have already placed. Most stuck moments come from a clue you used once and did not revisit. If that fails, tap Hint.

More answers are on the zebra puzzle FAQ.

Play today's puzzle