---
title: "How to Connect 9 Dots With 4 Straight Lines (Without Lifting Your Pencil)"
canonical: "https://pencilvsfeedback.com/pl/9-dots-4-lines-puzzle"
locale: "pl"
type: "HowTo"
videoUrl: "https://pencilvsfeedback.com/pl/shorts/can-you-connect-9-dots-with-4-lines"
---

# How to Connect 9 Dots With 4 Straight Lines — Interactive Solution & Proof

## Direct Solution
To connect all 9 dots in a 3×3 grid using only 4 continuous straight lines without lifting your pencil, you must extend two lines past the imaginary outer border of the 3×3 square—the literal origin of the phrase 'thinking outside the box.' Using grid coordinates where the dots sit at (1,1) through (3,3), trace: (1) top-left (1,1) across the top row past (3,1) to phantom point (4,1); (2) diagonally down-left through (3,2) and (2,3) out to phantom point (1,4); (3) straight up the left column through (1,3), (1,2), and back to (1,1); and (4) diagonally down-right through (2,2) to (3,3).

## 4-Line Coordinate Proof
| Line | Start | End | Dots Hit | Why It Works |
| --- | --- | --- | --- | --- |
| 1 | (1, 1) Top-Left | (4, 1) One column past Top-Right | 3 dots: (1,1), (2,1), (3,1) | Overshooting by exactly one dot-spacing sets up the 45° return diagonal. |
| 2 | (4, 1) Outside Top-Right | (1, 4) One row below Bottom-Left | 2 new dots: (3,2) and (2,3) | The 45° diagonal slices cleanly across two interior edge dots and lands directly under column 1. |
| 3 | (1, 4) Outside Bottom-Left | (1, 1) Back to Top-Left | 2 new dots: (1,3) and (1,2) | Traveling straight back up column 1 clears the entire left edge and puts the tip back at (1,1). |
| 4 | (1, 1) Top-Left | (3, 3) Bottom-Right | 2 final dots: (2,2) and (3,3) — all 9 connected! | The final main diagonal passes straight through the center dot and bottom-right corner without lifting the pencil. |

## Bonus Variations
### Can you connect 9 dots with 3 straight lines?
Yes—because real dots have non-zero width (diameter), three very long, nearly parallel zig-zag lines extending far outside the grid can clip the top edge of one dot, the center of the middle dot, and the bottom edge of the third dot in each row.

### Can you connect 9 dots with 1 single line?
In lateral-thinking riddles, yes—either by using a brush/marker wide enough to cover all three rows at once, folding the paper accordion-style so all 9 dots line up in a single crease, or wrapping the paper into a cylinder so one continuous helical line spirals through all 9 dots.

## Frequently Asked Questions
### How do you connect 9 dots with 4 straight lines without lifting your pen?
Start at the top-left dot, draw right across the top row and extend one dot-width past the top-right dot, angle diagonally down-left through the middle-right and bottom-center dots to one row below the bottom-left dot, draw straight up the left column back to the top-left dot, and finish diagonally down-right through the center dot to the bottom-right dot.

### Why is the 9 dots puzzle so hard for most people?
Psychologists call this the Gestalt closure or self-imposed boundary bias: the 3×3 grid looks like an invisible square box, so solvers unconsciously assume their lines must stay inside the perimeter—even though the rules never forbid going outside.

### Who invented the 9 dots puzzle?
The earliest widely known print publication of the nine-dots puzzle appeared in Sam Loyd's 1914 'Cyclopedia of Puzzles' (as Christopher Columbus's Egg Puzzle), and management consultants in the 1970s popularized it as the origin of the phrase 'thinking outside the box.'

### Is it possible to stay inside the 3×3 square and use only 4 straight lines?
No. Mathematically, if every turning vertex must remain inside or on the 3×3 convex hull of ideal mathematical points, a 4-segment polyline can hit at most 8 of the 9 points. Going outside the perimeter is mathematically required.

