20 Logic Puzzles with Answers and Explanations

Logic puzzles don’t need any special knowledge – just careful thinking. Here are 20 classic logic puzzles with answers and explanations, from the famous river crossing to the two guards and the burning ropes. Each answer explains why it works, so you can learn the trick for next time.

Contents

Classic Logic Puzzles

1. A farmer must cross a river with a wolf, a goat and a cabbage. His boat can carry him and only one item. Left alone, the wolf eats the goat and the goat eats the cabbage. How does he get everything across?

Show answer

Take the goat over first. Go back, take the wolf over, bring the goat back. Take the cabbage over (wolf and cabbage are safe together), go back and fetch the goat. Same puzzle with a fox, rabbit and cabbage

2. You face two doors: one leads to freedom, the other to doom. One guard always lies, the other always tells the truth, and you don’t know which is which. You may ask one guard one question. What do you ask?

Show answer

Answer: Ask either guard: “Which door would the other guard say leads to freedom?” Then take the opposite door – both guards will point to the doom door.

3. Three switches are outside a closed room with one light bulb inside. You can flip the switches as you like, but you may enter the room only once. How do you find the right switch?

Show answer

Answer: Turn switch 1 on for a few minutes, then off. Turn switch 2 on and enter. If the bulb is on: switch 2. If it’s off but warm: switch 1. If off and cold: switch 3.

4. You have two ropes. Each takes exactly one hour to burn, but they burn unevenly. How do you measure 45 minutes?

Show answer

Answer: Light rope A at both ends and rope B at one end. When A burns out (30 minutes), light the other end of B. B’s remaining half-hour now burns in 15 minutes: 30 + 15 = 45 minutes.

5. Four people must cross a bridge at night with one torch. The bridge holds two at a time and a pair walks at the slower person’s speed. They take 1, 2, 5 and 10 minutes. What is the fastest total time?

Show answer

17 minutes: 1+2 cross (2), 1 returns (1), 5+10 cross (10), 2 returns (2), 1+2 cross (2).

6. You have 9 identical-looking balls; one is slightly heavier. Using a balance scale only twice, how do you find it?

Show answer

Answer: Weigh 3 against 3. If balanced, the heavy ball is in the other 3; if not, it’s in the heavier group. Then weigh 1 against 1 from that group – the heavier one is it, or the third if they balance.

Logic puzzle: three switches and one bulb, enter the room only once
The three switches puzzle – the trick involves more than just light.

Truth, Lies and Labels

7. On an island, knights always tell the truth and knaves always lie. A says: “At least one of us is a knave.” What are A and B?

Show answer

A is a knight, B is a knave. If A were a knave, his statement would be true – impossible for a liar. So A is a knight, and his true statement means B is a knave.

8. Three boxes are labelled “Apples”, “Oranges” and “Mixed”, but every label is wrong. You may take one fruit from one box. How do you label them all correctly?

Show answer

Answer: Take a fruit from the box labelled “Mixed”. It must contain only one kind – say apples. The box labelled “Oranges” can’t be oranges or apples, so it’s mixed, and the last box is oranges.

9. A box has three drawers: gold–gold, silver–silver and gold–silver coins. You open a random drawer and pull out a gold coin. What is the chance the other coin in that drawer is gold?

Show answer

2/3. There are three gold coins you could have drawn, and two of them sit in the gold–gold drawer.

10. A drawer has 10 black and 10 white socks. In the dark, how many socks must you take to be sure of a matching pair?

Show answer

3 socks – with only two colours, three socks always include a pair.

Number and Pattern Logic

11. What comes next: 1, 11, 21, 1211, 111221, …?

Show answer

312211 – each term describes the previous one: “one 1” = 11, “two 1s” = 21, “one 2, one 1” = 1211, and so on. Full explanation

12. What is the angle between the hands of a clock at 3:15?

Show answer

7.5°. The minute hand is at 90°. The hour hand has moved a quarter of the way from 3 to 4: 90° + 7.5° = 97.5°.

13. In two years I’ll be twice as old as I was five years ago. How old am I?

Show answer

12. x + 2 = 2(x − 5), so x = 12.

14. At a party, 10 people each shake hands with everyone else exactly once. How many handshakes?

Show answer

45 – 10 × 9 ÷ 2.

15. 25 horses, a track that races 5 at a time, no stopwatch. What is the minimum number of races to find the 3 fastest?

Show answer

7 races: 5 heats, 1 race of the heat winners, and a final race of the 5 remaining candidates for 2nd and 3rd.

16. If yesterday was the day after Monday, what day is tomorrow?

Show answer

Thursday – yesterday was Tuesday, so today is Wednesday.

17. A snail is at the bottom of a 10-metre well. Each day it climbs 3 m, each night it slips back 2 m. On which day does it get out?

Show answer

Day 8 – after 7 days it is at 7 m, and on day 8 it climbs the last 3 m before slipping.

18. A girl has as many brothers as sisters, but each brother has twice as many sisters as brothers. How many boys and girls are in the family?

Show answer

4 girls and 3 boys.

19. Which number is the odd one out: 2, 3, 5, 9, 11, 13?

Show answer

9 – it is the only one that is not a prime number.

20. You have a 3-litre and a 5-litre jug and unlimited water. How do you measure exactly 4 litres?

Show answer

Answer: Fill the 5, pour into the 3 (2 left). Empty the 3, pour the 2 in. Fill the 5 again and top up the 3 (needs 1). 4 litres remain in the 5.

More Riddle Collections

More Puzzles and Brain Teasers

  • 100 Brain Teasers with Answers
  • 30 Cipher Puzzles (Atbash, Caesar, Scytale)
  • Pigpen Cipher – Key and 20 Puzzles
  • Einstein's Riddle & Zebra Puzzles
  • 20 Mystery Puzzles with Answers

Frequently Asked Questions

What is a logic puzzle?

A logic puzzle is a problem you solve with reasoning alone, using only the facts given. No maths beyond basics or general knowledge is needed.

What is the most famous logic puzzle?

The river crossing (wolf, goat and cabbage) is centuries old, and the two guards puzzle is famous from films and job interviews.

Are logic puzzles good for kids?

Yes. Start with the socks and snail puzzles, then try the river crossing. They build patience and step-by-step thinking.