Tic-Tac-Toe Tips and Strategy

Tic tac toe looks too simple to need a strategy, yet most games are decided by one missed block or one clever fork. Learn a few patterns and you will never lose again, and you will win often against anyone who does not know them.

Play now

The two rules that come first

Before any clever plan, check two things on every turn. First, can you win right now by completing three in a row? Then do it. Second, does your opponent have two in a row with the third square empty? Then block it.

These two checks sound obvious, yet nearly every lost game skips one of them. Only when neither applies should you think about the strategy below.

The fork: the winning trick

A fork is a move that creates two threats at once. Your opponent can block only one, so you win with the other. Almost every won game of tic tac toe is won with a fork.

Example: X takes the top-left corner, O takes an edge such as the top middle. X takes the center, threatening the diagonal. O must block in the bottom-right corner. Now X takes the bottom-left corner, threatening both the left column and the other diagonal. O can only block one, and X wins.

Playing X: the best first move

After a corner opening, if O takes the center, X can take the opposite corner. O must now avoid a subtle trap: answering in another corner lets X fork, so O should play an edge.

  • Corner opening: the strongest practical choice. Of O's eight possible replies, only the center avoids a loss with correct play.
  • Center opening: also good. O must answer in a corner; an edge reply lets X build a fork.
  • Edge opening: the weakest start. It gives O the easiest defense, though it cannot lose by itself.

Playing O: how to defend

  • If X opens in a corner, take the center. Any other reply loses against good play.
  • If X opens in the center, take a corner. An edge reply loses.
  • If X opens on an edge, the center or an adjacent corner is safe.
  • When X holds two opposite corners and you hold the center, play an edge, not a corner. This is the classic beginner trap.

How to never lose

Tic tac toe is a solved game: with perfect play from both sides it always ends in a draw. That means you can guarantee at least a draw by following the defensive rules above and always making the win-or-block check. Our Hard level plays exactly this way, which is why the best result against it is a draw.

Common mistakes

  • Chasing your own line and forgetting to block the opponent's.
  • As O, answering a corner opening with an edge or a corner.
  • As O, taking a corner when X holds two opposite corners.
  • Playing too fast. Even in a tiny game, a two-second check prevents most losses.

Using undo and hints well

Undo is free, so when you lose, take moves back until you find the one that allowed the fork. Then play the position again with a different move. That single habit teaches the game faster than anything else.

A hint costs a short video and always shows a perfect move. Use it in a position you find confusing, then work out why that move is right. When you can draw the Hard level every time, you have mastered the game; the rules page has the full basics if you are teaching someone else.

Where to go next

If tic tac toe starts to feel solved, it is. Try Four in a Row or Gomoku, which use the same idea of making a line but on boards big enough to stay interesting for years.

FAQ

What is the best first move in tic tac toe?
A corner. It leaves your opponent only one safe reply, the center.
Is there a trick to always win?
No. Against perfect play nobody can win. Against most people, though, a corner opening followed by a fork wins often.
How do I always get at least a draw?
Win if you can, block if you must, and as O answer a corner with the center and the center with a corner.
Why can I never beat Hard?
Hard searches every possible game to the end and never makes a mistake, so a draw is the best anyone can do.

More games

Privacy settings

Choose which optional cookies and similar technologies we may use. You can change this at any time with the “Privacy settings” link at the bottom of every page.

Strictly necessaryAlways on

Keep your saved games, sound and language settings and this choice on your device. Always on, because the site cannot work properly without them.

Anonymous statistics that show us which games and pages are used, so we can improve them.

Lets Google and its partners use cookies to personalise ads and measure them. If this is off, you may still see ads, but they won't be based on your interests. Turning it off also opts you out of the “sale” or “sharing” of your personal information.