Answer: Yes. The 9 dots puzzle answer is four straight lines, drawn without lifting your pen, and the trick is that the lines must leave the square the dots seem to form. Start at the top-left dot, draw diagonally through the centre to the bottom-right dot and keep going past it, then turn up the right side, cut back across the top, and run along the bottom row. Every dot gets crossed.
The 9 dots puzzle answer looks impossible for the first minute, and that is the whole point. Nine dots sit in a neat three by three grid, and the task sounds simple: connect them all with four straight lines, without lifting your pen. Most people fill a page with attempts that stay inside the grid, and every one fails. The answer is not a cleverer route inside the square. It is the realisation that the square was never part of the rules.
This is one of the oldest creativity tests in interviewing. It dates back to the early 1900s, and management consultant W. J. J. Gordon made it famous in the 1960s as a training exercise. It is also the puzzle behind the phrase “think outside the box”, because the box is the one your own brain draws around the dots. Consulting firms still use it to see how a candidate reacts when the obvious approach fails.
The Puzzle: 9 Dots, 4 Lines, One Pen
Here is the puzzle exactly as an interviewer would set it:
Nine dots are arranged in three rows of three. Connect all nine dots using only four straight lines, without lifting your pen from the paper, and without retracing any line.
That is all. The dots look like this, and it helps to number them before you start:
| 1 | 2 | 3 |
| 4 | 5 | 6 |
| 7 | 8 | 9 |
Dot 1 is the top-left corner, dot 5 is the centre, and dot 9 is the bottom-right corner. Every step below refers to these numbers.
Why Most Candidates Get Stuck
Almost every failed attempt makes the same mistake before the pen even moves. The candidate looks at the nine dots, sees a square, and silently decides the lines must stay inside it. Nobody said that. The puzzle says nothing about a boundary, but the brain adds a rule that was never given.
Once that false rule is in place, the puzzle really is impossible. Inside the square, four lines cannot cover nine dots in one continuous path, however you arrange them. Candidates try the rows, the columns and the diagonals, and run out of lines every time. The way out is to question the rule you invented. A line can start and end anywhere on the page.
The 9 Dots Puzzle Answer, Step by Step
Here is the full solution, one line at a time. Follow the numbers on the grid above.
Step 1: Draw the diagonal, then keep going
Put your pen on dot 1, the top-left corner. Draw a straight diagonal line through dot 5, the centre, and through dot 9, the bottom-right corner. Do not stop at dot 9. Keep going past the corner of the grid, well into the empty space beyond it. This is the move most people refuse to make. Line one has now covered dots 1, 5 and 9.
Step 2: Turn and climb the right-hand side
Without lifting your pen, turn sharply and draw a straight line upwards, through dot 6, the middle dot of the right-hand column, and dot 3, the top-right corner. Do not stop at the dot. Keep going past the top of the grid into empty space. Line two has now covered dots 6 and 3.
Step 3: Cut back diagonally across the top
From the empty space above dot 3, draw a straight diagonal line down and to the left, through dot 2, the top-middle dot, and dot 4, the middle-left dot. Keep going past dot 4. Line three has now covered dots 2 and 4.
Step 4: Run along the bottom row
From the empty space left of dot 4, draw a straight horizontal line to the right along the bottom row, through dot 7, the bottom-left corner, and dot 8, the bottom-middle dot, finishing at dot 9. Line four has now covered dots 7 and 8.
Count them up: line one covered dots 1, 5 and 9; line two covered dots 6 and 3; line three covered dots 2 and 4; line four covered dots 7 and 8. All nine dots, four lines, one continuous stroke.
Why the 9 Dots Puzzle Answer Works
Simple counting explains the solution, and it also proves four lines is the smallest number possible. A straight line through this grid can pass through at most three dots. The first line can cover three, but every line after that starts where the last one ended, so it can add at most two new dots. Three lines can therefore cover at most seven dots, two short. Four lines are needed, and the solution above shows four are enough.
Notice what each line does. The first line is the only one that covers three dots, because it runs down the long diagonal. The other three each add two fresh dots by travelling through empty space the solver had mentally fenced off. The extensions past the grid are not decoration. They make the turns possible, because a turn can only happen at the end of a line, and the ends must sit outside the grid.
The Trap Most Candidates Fall Into
The trap is not a lack of logic. It is an assumption so natural that most candidates never notice they made it: the dots form a square, so the candidate treats the square as a wall. Strong candidates catch themselves and ask which rule is actually written down. Asking the interviewer whether the lines can leave the grid is a weaker move, because it gives the answer away.
What the Interviewer Is Testing in the 9 Dots Puzzle Answer
This puzzle tests four things, and none of them is drawing skill. First, it tests whether you question hidden assumptions. In consulting and finance work, the costliest mistakes come from rules nobody stated but everybody followed. Second, it tests how you handle a dead end. Some candidates repeat the same failed pattern faster, while others pause, step back and rethink. Interviewers remember the pause far more than the speed.
Third, it tests whether you can explain your thinking out loud. The answer alone is worth little if the interviewer cannot see how you got there, so talk through each line as you draw it. Fourth, it tests comfort with a problem that looks impossible. A good candidate stays calm, tries something, and adjusts.
Try It Yourself: Two Follow-Ups
Once you have the four-line answer, the puzzle still has more to give. These follow-ups come up in interviews.
Can you do it in three lines?
With the dots treated as mathematical points, no. The counting above shows three lines can cover at most seven dots. But if the dots are printed as circles with real size, three lines can work, because a line can clip the edge of a dot and still count as passing through it. The answer depends on the exact rules.
Can you do it in one line?
Yes, if you are allowed to fold the paper. Fold it so the three rows sit on top of each other, then a single straight line crosses all nine dots. It is a joke answer, but it makes a serious point.
Try Another Puzzle Next
If you liked the 9 dots puzzle, try the Three Logicians Bar Puzzle, where three logicians answer a yes or no question with “I don’t know” and still get it right. Or take on the Bridge and Torch Puzzle, where four people must cross in 17 minutes with one torch. For a longer challenge, the 100 Prisoners and 1 Light Bulb Puzzle rewards the same kind of careful thinking.
Frequently Asked Questions
Can you solve the 9 dots puzzle in 3 lines?
Not if the dots are points. Three connected lines can cover at most seven dots, so three lines are two dots short. With printed dots that have real size, three lines can work by clipping the edges of the dots.
Why is it called thinking outside the box?
The phrase comes from this puzzle. The nine dots form a square, and solvers imagine a box around them. The solution requires drawing lines outside that box, so the puzzle became the standard example of thinking beyond self-imposed limits.
Is the 9 dots puzzle really asked in interviews?
Yes, it appears in consulting and corporate interviews as a creativity and lateral thinking test, and it is listed in interview preparation collections such as GeeksforGeeks. Interviewers use it to watch how a candidate handles hidden assumptions, not to test drawing skill.
Enjoying this? Add StudyFromNotes as a preferred source on Google to see our latest notes and updates more often:

Lauren Brooks is a finance professional who writes about the CPA and CFA exams, study strategy, and global finance careers. Lauren has sat professional finance exams and builds notes from the official syllabus and exam blueprints, with worked examples and one-page revision boxes. The beat covers US and UK exam routes, interview preparation, and the study habits that carry candidates through long exam seasons.
Leave a Reply