tictactoe.net
  1. Play
  2. Guides
  3. Infinite tic tac toe

Variant guide

Infinite tic tac toe: rules, strategy and the winning move

By TicTacToe.net · Updated 15 October 2026 · 5 min read

In infinite tic tac toe your pieces don't stay put: you can only keep three, and the oldest one vanishes when you place a fourth. Ordinary tic tac toe is a guaranteed draw. This version isn't — we solved it by computer, and the first player can always win. The catch is the opening: it's the one square classic strategy tells you to avoid.

The short version

How to play

  1. Play on a normal 3×3 grid. X goes first and players alternate, as usual.
  2. Each player may have at most three marks on the board.
  3. Once you have three, placing a new mark makes your oldest mark disappear first. You can't place on the square of a mark that's about to vanish.
  4. Get three in a row and you win. Because the board never fills up, there's no draw by a full board.

You'll also see it called disappearing tic tac toe or tic tac toe where pieces disappear. Some apps tweak the rules — counting the limit for the whole board, or removing the old mark at a different moment — and that changes the strategy. Everything on this page is for the rules above, which is exactly how Fade mode on our 3×3 board works — you can play infinite tic tac toe online right here.

X's A1 (faded) is next to go. Playing C1 does not win — A1 vanishes as C1 is placed.

We solved it: the first player wins

Infinite tic tac toe has 116,074 possible positions (counting who is to move and the order each player's marks were placed, since that decides which one vanishes next). That's small enough to solve completely. We worked backwards from every finished game — a technique called retrograde analysis — until every position was marked as a forced win, a forced loss, or neither.

The results:

We checked these results a second way, using the same game engine that runs our site, and both methods agree. The checks run automatically every time we update the site.

The winning opening: an edge. Any of the four works.
Open in a corner and O must take the centre — then nobody can force a win.

Why the edge works here

In classic tic tac toe the corners and centre are strong because they sit on the most lines, and marks are permanent. In the infinite version, permanence is gone: every mark you place is one you'll lose three moves later. The computer only tells us that the edge wins, not why — but here's our best reading. What matters is tempo: making threats that force your opponent's replies, so you control which of their marks disappear and when. An edge opening seems to keep X's options flexible enough to keep threatening, while O's own oldest marks fade out from under its defence.

Strategy tips

  1. Watch both ghosts. Your oldest mark (shown faded in our game) leaves when you move; your opponent's leaves when they move. A two-in-a-row that includes a fading mark isn't a real threat.
  2. Count threats after the fade. When you block, ask what your move costs you: the mark that disappears may have been blocking one of your opponent's lines.
  3. Force, then strike. A threat your opponent must answer lets you predict their next move — and which of their marks disappears next. Chain two of those and the board opens up.
  4. As O, take the right first reply. Centre against a corner, a corner against the centre. Against an edge, perfect play loses — so make X find the win.

Try the edge opening against the bot.

Play infinite tic tac toe

Fade mode works on our bigger boards too: 4×4 and 5×5 keep five marks each and need four in a row, and 6×6 keeps six. Those are far too large to solve this way, so they're still a real fight.

Questions people ask

What is infinite tic tac toe?

A variant where each player can only have three marks on the board. When you place a fourth, your oldest mark disappears. The board never fills up, so the game continues until someone gets three in a row.

Who wins infinite tic tac toe with perfect play?

The first player. X can force a win in at most 7 moves (13 moves in total), but only by opening on an edge square. After a corner or centre opening, the second player can hold out forever.

Can infinite tic tac toe end in a draw?

Not by filling the board — it never fills. With good defence a game can go on indefinitely, so many versions, including ours, call it a draw after a move limit.

What is the best first move in infinite tic tac toe?

An edge — the middle square of any side. It is the only opening that forces a win. Corners and the centre, the best squares in classic tic tac toe, only lead to an endless stand-off against good defence.

Keep reading