Skip to content
MBS Galaxy

Tic tac toe rules and how to win

Tic tac toe (noughts and crosses, or XO) is a two-player game on a 3x3 grid: players take turns placing X and O, and the first to get three in a row wins. To win, complete your own line when you can, block your opponent’s when you must, take a corner as X or the centre as O, and set up a fork: one move that makes two threats. With perfect play it always ends in a draw. Here are the rules, the board sizes, and the habits that win.

Updated 23 November 2026 · Checked against Grid Duel 1.0.3 on Google Play
You
Pip

Your move: you play X.

0Draws 0 0

The rules of tic tac toe

  1. Two players take turns. One plays X, the other plays O.
  2. On your turn, place your mark in any empty square. Marks never move once placed.
  3. Make an unbroken line of your marks across a row, down a column or along a diagonal to win.
  4. If the board fills up and nobody has a line, the game is a draw.

In Grid Duel you play X against a computer rival, or a friend takes O on the same phone. Online, the first player is picked at random and plays X, and you swap sides if you ask for a rematch.

3x3, 4x4 and 5x5 boards

On the classic 3x3 board you need three in a row. On 4x4 and 5x5 you need four in a row. On the bigger boards a single block no longer ends a line, games run longer, and the player behind has more chances to come back.

On 5x5, X has two in a row with open space at both ends: one more mark makes a threat O must answer.

How to win at tic tac toe

Before every move, check two things in this order:

  1. Can you complete a line right now? Then do it.
  2. Can your opponent complete one on their next move? Then block it.

Only when neither is true do you get to build. On 3x3:

  • Moving first, take a corner. It leaves your opponent the most ways to go wrong. The centre is safe too.
  • Moving second, take the centre if it is free. If they took the centre, take a corner.
  • With perfect play from both sides, 3x3 is always a draw. Winning means making the other player slip, usually into a fork.
Opening in a corner: three of the four lines through it are still open.

The fork: two threats at once

A fork is a move that makes two lines of two at the same time. Your opponent can block only one, so you win with the other. Against a careful opponent, a fork is the usual way to win on 3x3, and missing your opponent’s fork is the usual way to lose.

Left: X holds opposite corners and O the centre. Right: O took a corner, so X blocks in the top-right corner and threatens the top row and the right column at once (red). O can block only one.

To stop a fork, look one move ahead: if a square would give your opponent two threats, take it first, or make a threat of your own that forces them to answer.

On 4x4 and 5x5 the same idea grows into open threes; see 4x4 and 5x5 tic tac toe.

Practise against the computer

The board at the top of this page uses Grid Duel’s three rivals. Pip misses lines, Rook blocks but can be forked, and Sage never loses on 3x3. How each one thinks, and how to beat it, is in tic tac toe vs computer. Playing a friend? See two player tic tac toe.

Questions

Is tic tac toe always a draw?

With perfect play from both players, yes: 3x3 tic tac toe always ends in a draw. Wins come from mistakes, usually a missed fork. On 4x4 and 5x5, where you need four in a row, perfect play also draws, but the bigger boards leave far more room for mistakes, so real games end in a win much more often.

What is the best first move in tic tac toe?

A corner. It leaves your opponent the most ways to go wrong; the only safe reply is the centre. The centre is also a strong first move. An edge square is the weakest start.

How do you win tic tac toe every time?

You can't against a perfect player, but you never have to lose. Before every move, complete your own line if you can, block your opponent's if you must, and otherwise build toward a fork: one move that makes two threats at once.

Is noughts and crosses the same as tic tac toe?

Yes. Noughts and crosses is the British name for tic tac toe, and XO is another. The rules are the same: three in a row on a 3x3 grid wins.