How to win tic tac toe: the strategy that never loses
Updated November 20, 2026
Tic tac toe looks too simple to have a strategy, but it has one, and it is small enough to learn in ten minutes. Here is how to win tic tac toe whenever your opponent slips, and how to make sure you never lose.
How to win tic tac toe: the short version
- Go first and take a corner.
- Every turn, win if you can, then block if your opponent has two in a row.
- If your opponent didn’t take the center, set up a fork: a move that makes two lines of two at once.
- If they did take the center, take the opposite corner and wait for a mistake.
- Going second, answer a corner with the center, the center with a corner, and an edge with the center. You will never lose.
The rest of this page shows each of these with a board.
The rules in brief
- Two players take turns on a 3×3 grid. One plays X, the other O, and traditionally X goes first.
- On your turn you put one mark in an empty square.
- The first to get three in a row, across, down or diagonally, wins.
- If all nine squares fill up with no line, the game is a draw (sometimes called a cat’s game).
There are eight lines in total. The center is part of four of them, each corner of three and each edge square (the middle of a side) of just two. Keep that in mind: it explains almost everything below.
corner | edge | corner
-------+------+-------
edge |center| edge
-------+------+-------
corner | edge | corner
| Square | How many | Lines through it | Strength |
|---|---|---|---|
| Center | 1 | 4 | Strongest |
| Corner | 4 | 3 | Strong, best for traps |
| Edge | 4 | 2 | Weakest |
Why perfect play is a draw
Tic tac toe is a solved game: if both players always make the best move, it ends in a draw every time. So nobody can “always win”. What you can do is pick the moves that leave your opponent the most ways to go wrong, and punish the mistake when it comes. That is the whole strategy.
The two rules for every turn
Before every move, check these in order:
- Can I win right now? If you have two in a row with an empty third square, take it.
- Do I need to block? If your opponent has two in a row, put your mark in the gap.
Only when neither applies do you think about the moves below. Most games between casual players are lost by skipping rule 2.
The fork: how games are won
A fork is a move that makes two threats at once: two different lines, each with two of your marks and an empty square. Your opponent can block only one, and you complete the other. Nearly every tic tac toe win is a fork, so the real game is about setting one up, or stopping your opponent from setting one up.
Start in a corner
As the first player, the corner is the best opening. Against a corner, there is only one safe reply: the center. Any other square loses by force. For example, if O answers on an edge next to your corner, take the center. O has to block the far corner, and then you take the corner below your first X:
X | O | .
. | X | .
X | . | O
You now threaten the left column and the diagonal. O can block only one: you win.
If O takes the opposite corner, play another corner. O must block between your two X’s, and your third corner makes a fork.
The trap after the center reply
If O answers your corner with the center, take the opposite corner. Now O must play an edge. If O takes a corner instead, O has two in a row, you block it with the last corner, and that block is a fork:
X | . | O
. | O | .
X | . | X
You threaten the left column and the bottom row. If O plays an edge correctly, the game is a draw.
Opening in the center
The center is also strong. O’s safe replies are the four corners; an edge reply loses. After X center, O edge, take a corner next to O’s mark. O must block the opposite corner, and your next corner makes a fork.
If O answers with a corner, try the opposite corner. Now O must take another corner. If O plays an edge, you will block it and the block becomes a fork:
O | O | X
. | X | .
. | . | X
X threatens the right column and the diagonal.
Opening on an edge
The edge is the weakest opening, because the second player has the most safe replies. The simplest one is the center. But if O takes a far corner (one not touching your edge), you can still win. Take the corner beside your X on O’s side of the board, so you have two in a row. O must block in the other corner, and now O’s two corners line up through the center. Take the center: it blocks O and makes a fork:
X | X | O
. | X | .
O | . | .
Tic tac toe strategy table: first move and reply
| X opens | O’s safe replies | Replies that lose by force | What X should do next |
|---|---|---|---|
| Corner | Center only | Any edge or corner | Against the center, take the opposite corner and wait for a mistake. Against anything else, build a fork |
| Center | Any corner | Any edge | Against an edge, take a corner next to O; against a corner, take the opposite corner |
| Edge | Center, the corners next to X, the opposite edge | The far corners and the edges next to X | Against a far corner, make two in a row and fork through the center |
How to never lose as the second player
Learn three answers and two follow-ups:
- X takes a corner: you take the center. If X then takes the opposite corner, play an edge, never a corner.
- X takes the center: you take a corner. If X then takes the opposite corner, play another corner, never an edge.
- X takes an edge: you take the center.
After that, keep blocking every two in a row and watch for any move that would give X two threats at once. Do this and you will never lose a game of tic tac toe.
Tips to win more games
- Go first when you can. The first player has the traps; the second player only defends.
- Open in a corner. It leaves your opponent one safe reply out of eight.
- Block with a threat. When you must block, choose a square that also makes your own two in a row, so your opponent has to answer you.
- Count lines, not squares. Before each move, ask how many lines a square adds to. Two at once is a fork.
- Mix up your openings. Against a friend, change between corner and center so they can’t learn one answer.
Play Tic Tac Toe free
Try these traps in Tic Tac Toe on KepoGames. You are Kepo with the orange X and Puff plays the blue O, on the classic 3×3 board. Easy makes mistakes and misses your lines, Medium blocks most of them, and Hard never loses: the best you can get against it is a draw. Or choose 2 players and pass the device to a friend. Who goes first changes every round. It’s free, with no ads and no sign-up.
Questions
Is there a way to always win tic tac toe?
No. If both players make the best moves, every game of tic tac toe ends in a draw. You can only win when your opponent makes a mistake, so the best strategy is to choose moves that give them the most chances to go wrong, like opening in a corner.
What is the best first move in tic tac toe?
A corner. Against a corner, the only safe reply is the center: any of the other seven squares lets the first player force a win. The center is also a strong opening, but it gives the second player four safe replies, the four corners.
How do you never lose tic tac toe as the second player?
Block every two in a row, and answer the first move correctly: a corner with the center, the center with a corner, and an edge with the center. After corner, center, opposite corner, play an edge, not a corner. After center, corner, opposite corner, play a corner, not an edge.
What is a fork in tic tac toe?
A fork is a move that creates two lines with two of your marks and an empty square at the same time. Your opponent can block only one of them, so you win on your next move. Almost every tic tac toe win comes from a fork.
Who goes first in tic tac toe?
Traditionally X goes first. Going first is an advantage because the first player has more chances to set a trap. In a series of games it is fair to take turns going first, which is what Tic Tac Toe on KepoGames does.
How many lines are there in tic tac toe?
Eight: three rows, three columns and two diagonals. The center is part of four lines, each corner of three and each edge square of only two. That is why the center and the corners are the strong squares.
Can you win tic tac toe if you go second?
Only if the first player makes a mistake. Play the safe replies (center against a corner, a corner against the center, the center against an edge), block every two in a row, and take any fork the first player leaves open. A careless first player who leaves two of your lines open loses.
Blog
- 10 fun games to play when you're bored
- 10 relaxing games to unwind with
- Air hockey rules: how to play air hockey
- Backgammon rules: how to play backgammon, step by step
- Battleship strategy: find ships faster and win
- Card games for one person: 10 to play free
- Charades ideas: 200+ words to act out, from easy to hard
- Checkers strategy: how to win checkers
- Connect 4 strategy: how to win four in a row
- Free games for seniors: solitaire, mahjong and other classics
- Go Fish rules: how to play Go Fish
- Golf card game rules: how to play six-card Golf
- Golf solitaire rules: how to play, scoring and tips
- Hangman words: easy, good and hard words to play with
- Highway traffic games: 6 free car games to play online
- How to play 20 Questions: rules, yes or no questions and ideas
- How to play Battleship: rules and how to win
- How to play checkers: rules and how to win
- How to play chess: the rules, how the pieces move and how to win
- How to play dominoes: rules and scoring
- How to play FreeCell: rules and strategy
- How to play Hearts: rules, scoring and strategy
- How to play mahjong solitaire: rules and tips
- How to play MASH: the paper fortune game, step by step
- How to play pool: 8-ball rules for beginners
- How to play pyramid solitaire: rules and tips
- How to play Reversi: rules and how to win
- How to play solitaire: setup, rules and how to win
- How to play Spider Solitaire: rules and tips to win
- How to play sudoku: the rules, step by step
- How to play the imposter game: rules, words and tips
- How to win solitaire: 10 strategy tips
- Mahjong tiles meaning: every tile explained
- Mancala rules: how to play mancala, step by step
- Minesweeper patterns: how to win minesweeper
- Multiplication chart 1–12: how to read it and learn the times tables
- Puzzle games for adults: 10 brain teasers to play free
- Shut the Box rules: how to play, score and win
- Spades rules: how to play, bidding and scoring
- Speed card game rules: how to play Speed
- Sudoku strategies: how to solve sudoku step by step
- The 10 times table: chart, tricks and practice
- The 11 times table: chart, tricks and practice
- The 12 times table: chart, tricks and practice
- The 2 times table: chart, tricks and practice
- The 3 times table: chart, tricks and practice
- The 4 times table: chart, tricks and practice
- The 5 times table: chart, tricks and practice
- The 6 times table: chart, tricks and practice
- The 7 times table: chart, tricks and practice
- The 8 times table: chart, tricks and practice
- The 9 times table: chart, tricks and practice
- Types of solitaire: 14 games and how they work