Tic tac toe looks too simple to have a strategy, yet a handful of traps is enough to beat anyone who has not learned them. This guide shows how to win at tic tac toe whenever your opponent slips and how to never lose when they do not: the eight-step rule that perfect play follows, the best first move, the only safe answers for the second player, and a board diagram for every trap. The counts of possible games are checked against published analyses, and if you play best-of series with friends or a class, the free VISU online scoreboard keeps the tally.
Plan the Next Game Night on One Page
A free VISU Link page keeps the date, the address and the games you plan to play together, so nobody has to dig through the group chat to find them.
Can You Always Win at Tic Tac Toe?
No, and nobody can. Tic tac toe is a solved game: if both players choose the best move every turn, the game always ends in a draw. What you can do is play so that you never lose, and win every time the other player makes a mistake. Every trap in this guide is sprung within the first six moves, which is why a little strategy goes a long way.
- To never lose: on every turn, run through the priority list in the rules section below. It finds a win or a draw from any position where one is still possible.
- Going first: start in a corner. Only one answer, the center, stops you from forcing a win.
- Going second: answer a corner with the center, the center with a corner, and an edge with the center.
- The winning move: every trap in this guide ends with a fork, one mark that creates two threats at once. The opponent can block only one of them.
The game is small enough to count completely. If you count every order of moves and stop when someone gets three in a row or the board is full, there are 255,168 possible games, and 46,080 of them end in a draw, according to Steve Schaefer's analysis for Mathematical Recreations. If rotated and mirrored boards count as the same, the number drops to 26,830 games, and there are only 138 different final positions: 91 won by X, 44 won by O and 3 drawn.
Why the Center and the Corners Matter
A tic tac toe board has eight winning lines: three rows, three columns and two diagonals. The nine squares are not equal, because each one sits on a different number of those lines. The center is on four, each corner is on three, and each edge, meaning the middle square of a side, is on only two.
| Left | Center | Right | |
|---|---|---|---|
| Top | 3 | 2 | 3 |
| Middle | 2 | 4 | 2 |
| Bottom | 3 | 2 | 3 |

Because of symmetry there are really only three different first moves: a corner, an edge or the center. Rotate the board and every corner becomes any other corner, and the same is true of the edges. Between perfect players all three openings lead to a draw. What changes is how much room they leave the opponent for a mistake:
| X opens in | Replies that hold the draw for O | Replies that lose |
|---|---|---|
| A corner | Only the center | The other 7 squares |
| The center | Any of the 4 corners | Any of the 4 edges |
| An edge | The center, the 2 corners next to X, or the opposite edge | The 2 edges at right angles to X and the 2 far corners |
The corner leaves the second player the smallest choice of safe squares, a point Wikipedia attributes to Martin Gardner. The same article cites another analysis arguing that the center is the better opening against players who are not perfect, so both are reasonable choices. This guide teaches the corner first because its traps are the easiest to set up on purpose.
The Eight Rules of Perfect Play
This is the priority list from Newell and Simon's 1972 tic tac toe program, as Wikipedia summarizes it from a 1993 study by Kevin Crowley and Robert Siegler on how children play. On every turn, go down the list and make the first move that applies:
- Win: if you have two in a row with the third square empty, take it.
- Block: if your opponent has two in a row with the third square empty, take that square.
- Fork: make a move that gives you two open lines of two at the same time.
- Block a fork: if your opponent can make a fork on their next move, stop it. When they have more than one possible fork, make a two in a row of your own that forces them to answer, as long as their answer does not create a fork.
- Center: take the center if it is free.
- Opposite corner: if your opponent is in a corner, take the corner across from it.
- Empty corner: take any free corner.
- Empty edge: take any free edge.
The order matters. Rule 1 comes before rule 2: if you can win this turn, win, even if your opponent is also threatening. Rule 4 is the easiest to skip, because the danger is not on the board yet. Before every move, ask not only "can they win next turn?" but "can they make two threats next turn?"
A fork is easier to see than to describe. In the board below, X has just made one:
| Left | Center | Right | |
|---|---|---|---|
| Top | X1 | O2 | |
| Middle | X3 | ||
| Bottom | X5 | O4 |
How to Win When You Go First
Put your first X in a corner. Your plan then depends on where O answers:
| O answers in | Your plan as X | Result with best play |
|---|---|---|
| Any edge | Take the center. O must block the diagonal, and then one of the free corners gives you two threats. | You win |
| Any other corner | Take another free corner so that O has to block between your two X's, then take the last corner. | You win |
| The center | Take the corner opposite your first X and wait for O's second move. | Draw, unless O then takes a corner |
The board in the rules section shows exactly how the edge answer is punished: corner, edge, center, forced block, and a corner that threatens two lines. The corner answer loses in a similar way. If O takes the corner opposite yours, take one of the two remaining corners. O must block the square between your X's, and the last corner gives you two threats.
The Trap After a Center Reply
When O answers correctly with the center, take the corner opposite your first X. Now O has to choose between the four edges and the two free corners, and the corners look tempting because corners are "good squares". They lose:
| Left | Center | Right | |
|---|---|---|---|
| Top | X1 | O4 | |
| Middle | O2 | ||
| Bottom | X5 | X3 |
If O plays an edge instead, you have to block, the threats run out, and the game ends in a draw. That is the correct result between two good players, and it is not a failure: the point of the corner opening is that O has to find the right answer twice in a row.
If You Prefer to Open in the Center
The center opening works too. If O answers on an edge, take a corner next to that edge. O must block the diagonal, and the free corner that does not touch O's edge gives you two threats. If O answers in a corner, the game should end in a draw, but keep an eye out for the mistake covered in the next section.
Running a Class or Family Tournament?
Put the rules, the pairings and the schedule on a free VISU Link page, and share one link or QR code with everyone who is playing.
How to Never Lose When You Go Second

As O you cannot force a win against a careful X. Your job is to give the first player nothing, and to punish the first mistake. Your first move is decided by X's opening:
- X in a corner: take the center. Every other square loses.
- X in the center: take a corner. Every edge loses.
- X on an edge: the center is the simplest answer. The two corners next to X and the opposite edge also hold.
Your Second Move Is Where Games Are Lost
After a corner opening and your center reply, a good X takes the opposite corner. Play an edge now, not a corner. The edge creates a threat, X has to block it, and no fork is left on the board:
| Left | Center | Right | |
|---|---|---|---|
| Top | X1 | O4 | |
| Middle | O2 | ||
| Bottom | X3 |
After a center opening, the danger is the reverse. You took a corner, and X takes the corner opposite yours. Here an edge loses and a corner is correct:
| Left | Center | Right | |
|---|---|---|---|
| Top | O2 | O4 | |
| Middle | X1 | ||
| Bottom | X3 |
How O Actually Wins
O wins when X makes a threat that O blocks with a fork. Look for blocks that are also attacks: when you have to stop a line, check whether the square you are forced to take also builds two lines of your own.
| Left | Center | Right | |
|---|---|---|---|
| Top | X1 | ||
| Middle | X5 | O2 | X3 |
| Bottom | O6 | O4 |
In that game X opened in a corner, O took the center, X played an edge, and O took the corner opposite X's first mark. X's threat on the left looked aggressive, but it handed O the one square that wins. Before you make a threat, check where your opponent will have to block.
Common Mistakes and How to Practice
These four mistakes account for every trap shown above:
- Answering a corner opening with anything but the center. X can force a win against every other reply.
- Taking a corner as O after X takes the opposite corner. In the corner-center-corner line, only an edge is safe.
- Making a threat without checking the block. If the square your opponent must take gives them a fork, your threat just lost the game.
- Blocking when you could win. Always check rule 1 before rule 2.
The fastest way to learn the traps is to play the same opening on purpose. Take X and open in a corner for ten games, then take O and answer corner openings for ten more. After that, play the hardest level of a tic tac toe app. Against an opponent that never makes a mistake, a draw is the best result anyone can get, so if you never lose there, your defense is sound.
Because X moves first and gets the first chance to set a trap, switch who starts after every game. If two players argue about who opens the first game, a spin of the free random name picker settles it. For a best-of-five or best-of-ten, the online scoreboard in Simple counter mode gives each side a tap-to-add score with no time limit. Draws do not add a point for anyone, so note them on paper if you want to keep them.
With children, tic tac toe is a good first lesson in thinking one move ahead. Wikipedia notes that the game is often used to teach good sportsmanship, and the fork gives you something concrete to ask: "Can you find a move that makes two threats?" For more games that need little or no equipment, see these games to play with friends without anything.
Variants for When 3x3 Gets Too Easy
Once both players know the traps, the classic board keeps ending in draws. These versions keep the idea and add room to think:
- 4x4, four in a row: a bigger board, but still a draw with perfect play. On a 4x4 board where three in a row wins, the first player can force a win, so pick the rule before you start.
- 3D on a 3x3x3 cube: drawn as three boards stacked on paper. The first player wins easily by taking the very center of the cube, so it is more of a puzzle than a game.
- Qubic, 4x4x4: four in a row through a cube of four layers, with 76 winning lines to watch instead of 8. Oren Patashnik published an analysis in 1980 showing that the first player can force a win.
- Ultimate tic tac toe: nine small boards inside one big board. The square you pick inside a small board sends your opponent to the matching small board for their next move. Winning a small board claims that square on the big board, and three big squares in a row win the game. If you are sent to a board that is already won or full, you can play anywhere.
- Misere tic tac toe: the player who makes three in a row loses. On a 3x3 board it is still a draw with perfect play.
If your table wants a real two-player strategy game after that, the guide to the best two player board games sorts options by how they play.
Where Tic Tac Toe Comes From
Games played on three-in-a-row boards are much older than the name. Wikipedia notes boards of this kind found on roofing tiles in ancient Egypt from around 1300 BC, and a Roman version called terni lapilli, in which each player had only three pieces and moved them around once all were placed.
The names came much later. The British call it noughts and crosses, a name that first appeared in print in 1858, and in the United States a draw is often called a cat's game. Brazilians call the game jogo da velha, Portugal calls it jogo do galo, Spain calls it tres en raya, and Mexico, Chile and Costa Rica often call it gato. The board and the strategy are the same in every language.
Make Game Night Easy to Join
Create a free VISU Link page for your group's game nights and share it by link or QR code, so every invite starts with the same date, place and rules.
Frequently Asked Questions
Can you always win at tic tac toe?
No. If both players make the best move every turn, the game always ends in a draw. You can make sure you never lose by following the eight-rule priority list, and you can win whenever your opponent makes a mistake, such as answering a corner opening with anything other than the center.
What is the best first move in tic tac toe?
Between perfect players every first move leads to a draw. A corner leaves your opponent only one safe reply, the center, so it sets the most traps. One analysis cited by Wikipedia favors the center against players who are not perfect, so both are good choices.
How do you win tic tac toe when you go second?
You cannot force a win as the second player, but you can always avoid losing: answer a corner with the center, the center with a corner, and an edge with the center. You win when the first player slips, for example by making a threat that you can block with a move that also creates two threats of your own.
Can you beat a computer at tic tac toe?
Not if the program plays perfectly. Against a perfect opponent, person or program, the best possible result is a draw. If you draw every game against the hardest level of an app, you are already playing perfectly.
How many possible games of tic tac toe are there?
Counting every order of moves, there are 255,168 possible games, and 46,080 of them end in a draw. If rotations and reflections of the board count as the same game, there are 26,830 games and only 138 different final positions: 91 won by X, 44 won by O and 3 drawn.

