← Back to the game

How to never lose at Tic-Tac-Toe

In short
  • Before every move: win if you can, otherwise block.
  • If they take a corner, take the center; if they take the center, take a corner.
  • Against two opposite corners, play an edge, never a corner.

In Tic-Tac-Toe, two players who make no mistakes always draw. So never losing comes down to very little: a golden rule, the right answer to the three possible openings, and one trap to recognize. Everything below has been checked by the game's engine, which knows all 5,478 positions of the grid.

✕ Play Tic-Tac-Toe

The golden rule: win if you can, otherwise block

Before every move, ask yourself two questions, always in this order:

  1. Do I have two marks in a line with the third square free? If so, play it: you win.
  2. Does my opponent have two, with the third square free? If so, take it: you block.

This rule avoids every "silly" defeat. It is not enough on its own, though: you can follow it every single move and still lose, because your opponent has created two threats at once. That is why you need to know the right answers at the start of the game.

When your opponent starts: the right answer

There are only three different openings: the center, a corner and an edge. All the others are the same position with the grid turned round.

They open…You answer…Squares that lose
in a cornerin the center (the only square that does not lose)the other seven
in the centerin a corner, any of themthe four edges
on an edgein the center, in a corner next to their mark, or on the opposite edgethe other two edges and the two far corners
They open in a corner: only the center holds.
They open in the center: a corner, never an edge.
They open on an edge: four replies hold.

In these figures, ✓ marks a reply that keeps the draw and ✗ a reply that loses if your opponent then plays well. The easiest thing to remember: if they take a corner, take the center; if they take the center, take a corner.

The opposite-corners trap

This is the most common trap in Tic-Tac-Toe. X opens in a corner, you answer correctly in the center, and X takes the opposite corner. You hold the center and everything looks calm. Yet only four squares are still safe:

Two opposite corners against your center: play an edge, never a corner.
You took a corner: X blocks your diagonal and threatens two squares at once.

If you take a corner, you do threaten the diagonal, but X has to block it… by taking the last corner, which gives them three corners. They then threaten two lines at once (the two ✓ squares in the second figure) and you can only block one. If you play an edge instead, you are the one threatening a line through the center: X has to block, and the game heads for a draw.

When you start: how to catch your opponent out

Against a perfect player, your nine possible first moves are equal: they all lead to a draw. Against a player who can go wrong, a corner is the best choice, because it leaves them only one good reply out of eight.

You open in a corner, they answer…You win by playing…
in the centernothing is forced: take the opposite corner and wait for them to take a corner
on an edge next to your cornerthe center, the other edge next to your corner, or the corner next to yours that does not touch their mark
in a corner next to yourseither of the two remaining corners
in the opposite cornereither of the two remaining corners
on a far edgethe center, or either of the two corners next to yours
They answer on the neighboring edge: three squares win.
They answer in the opposite corner: take a third corner.

Opening in the center is also a good choice: if your opponent answers on an edge, almost every move wins.

You open in the center and they answer on an edge: six squares win.
After their block, your third mark creates the double threat.

Spotting a double threat

A double threat, or fork, means two lines waiting to be completed at the same time. It almost always comes about the same way: three marks that are not in a line but share two open lines, for example three corners, or the center and two squares around it forming an L. Before placing your second mark, check whether your third one could create a fork; before letting your opponent place theirs, check the same thing for them.

Practicing on this site

And once classic Tic-Tac-Toe holds no more secrets, infinite tic-tac-toe changes everything: each player only has three marks and the oldest one disappears, so no position is ever safe.

Frequently asked questions

Play now

This guide in other languages : 🇪🇸 Español · 🇮🇹 Italiano · 🇩🇪 Deutsch