Tic tac toe looks simple, but most people playing tic tac toe online rely on instinct and end up losing to anyone who knows the pattern. The good news is the strategy is not complicated — once you know it, you will never lose again.

The key fact to understand first: tic tac toe is a solved game. With perfect play from both sides it always ends in a draw. That means your realistic goal is not to always win — it is to never lose. A win only happens when your opponent makes a mistake, and you need to be ready to punish it.

If you go first

Going first is an advantage. Here is the order of priorities:

1. Take the centre

Always start in the middle square. It is involved in four winning lines — both diagonals, the middle row, and the middle column. No other square comes close.

 _ | _ | _
 _ | X | _
 _ | _ | _

If your opponent doesn't take the centre when they go first, take it immediately on your next move.

A note on corner openings: Starting in a corner is mathematically just as strong as the centre — both lead to a guaranteed draw with perfect play from both sides. A corner opening is actually harder for most human opponents to defend against correctly, which is why you'll sometimes see strong players and computer AIs open there. The centre-first strategy in this guide is simply easier to learn and apply consistently. Once you've mastered it, experimenting with a corner opening is a natural next step.

2. Take a corner on your second move

After the centre, go for a corner — ideally the opposite corner to wherever your opponent played.

 _ | _ | X
 _ | X | _
 _ | _ | _

This sets up a fork: two different ways to win at the same time. Your opponent can only block one.

3. Create a fork

A fork is when you have two open lines that each need just one more of your marks to win. Your opponent can only block one — so you win the other.

The classic fork from the centre + opposite corner setup:

 X | _ | X
 _ | X | _
 _ | _ | _

Now you are threatening to win along the top row AND the right column. There is no way to block both.

If you go second

Going second means you are defending. Your goal is to force a draw and wait for your opponent to slip up.

Rule 1: If they take a corner, take the centre

 X | _ | _
 _ | O | _
 _ | _ | _

The centre is so powerful that giving it up when going second is almost always a losing move.

Rule 2: If they take the centre, take a corner

 _ | _ | _
 _ | X | _
 O | _ | _

This is your best defensive position and keeps the most options open.

Rule 3: Block immediately if they have two in a row

This sounds obvious, but players miss it when they are focused on their own attack. If your opponent has two marks in a line with the third square empty — block it. No exceptions.

Rule 4: Watch for the fork and stop it early

If your opponent is building a fork — two separate lines of two — you need to disrupt it before it is complete. The way to do this is to create your own threat that forces them to block, buying you time to break up their setup.

The moves that lose most games

Most losses come from the same handful of mistakes:

Why the Hard mode on TicToe.org is unbeatable

The Hard mode here runs an algorithm called minimax, which maps out every possible game from the current position and picks the move that guarantees the best outcome no matter what you do. It never makes a mistake, so you will never beat it — but if you apply the strategy above, you can force a draw every single time.

Try it. Start in the centre, take a corner, build a fork. You will see exactly how the algorithm responds and start to understand why these moves work.

Cheat sheet

Going first: centre → corner → fork

Going second: if they take a corner, take the centre. If they take the centre, take a corner. Block two-in-a-row immediately. Always.

Play against the unbeatable AI →