How to Beat Impossible Tic Tac Toe (Or at Least Not Lose)
Updated 2026-11-18
If a tic tac toe game calls itself impossible or unbeatable, it usually plays every move perfectly. On a 3 by 3 board, nobody can beat a perfect player. The best result you can get is a draw. This page explains why, how to make sure you always get that draw, and where you can actually win.
Why you cannot beat it
Tic tac toe has so few positions that a computer can check every one. There are 255,168 possible games, and the result is that neither side can force a win against perfect defence. A bot built to check every line never makes a mistake, so there is nothing to trap.
So the goal changes. Aim to never lose, then watch for a bot that is not perfect after all.
Never lose to it
If you go first
- Take a corner. This gives the computer the most ways to go wrong.
- If it does not take the centre, you can win. Make a fork: a move that creates two lines of two at once.
- If it does take the centre, take the opposite corner. Then block whatever it threatens.
If it goes first
- If it opens in the centre, take a corner. An edge loses.
- If it opens in a corner, take the centre. Any other reply loses with correct play.
- If it opens on an edge, take the centre, then block with care.
- After that, on every move: win if you can, otherwise block, otherwise avoid giving it a fork.
The full list of moves, in order, is in how to win at tic tac toe.
Check whether it is really perfect
Many games labelled impossible are not. Some only look a couple of moves ahead, and some make a random move now and then. Try the corner opening and see whether the computer answers in the centre. If it takes an edge or another corner, you have a fork and a win. If it always finds the right reply, you are playing a perfect bot, and a draw is the real result.
We did not measure how strong the computer is in any particular game here, so test it yourself with the corner opening.
Where you can win
Perfect play only makes 3 by 3 a draw. Bigger boards are different.
- Tic Tac Toe 2 Player lets you pick 3 by 3, 5 by 5 or 7 by 7, and has a CPU mode. The line under the board tells you how many marks to line up. The bigger boards have far more room for traps.
- Tic Tac Toe Pro offers 3 by 3, 4 by 4 and 5 by 5 against the AI. It does not say how long the winning line is on the larger boards, so check the in-game information first.
- Magical Tic Tac Toe and Head 2 Head Tic Tac Toe are different takes on the same idea if you want something less familiar.
If you want a game you can win
Play a friend. A human will make mistakes, and the fork trick wins against most people. Or try games with more room for plans: Connect 4 or checkers strategy.
FAQ
- Can you beat impossible tic tac toe?
- Not on a 3 by 3 board if the computer plays perfectly. The best result is a draw.
- How do I never lose at tic tac toe?
- Win if you can, then block, then avoid giving a fork. If you go first, take a corner. If it opens in a corner, take the centre.
- What is the best first move against a perfect computer?
- A corner. It makes the computer find the one correct reply, the centre.
- Why can a computer not be beaten?
- There are only 255,168 possible games, and a program can check them all.
- Is there a bigger version where I can win?
- Yes. Tic Tac Toe 2 Player has 5 by 5 and 7 by 7 boards with a CPU mode.
- What if the computer does not take the centre?
- Then it is not perfect. Make a fork and win.



