On this page: Rules · Easy, Medium and Hard · Buttons and scores · Strategy · FAQ
Ultimate Tic Tac Toe rules: how to play
Ultimate Tic Tac Toe is a game for two players, X and O, on nine small tic tac toe boards arranged as one big 3×3 board, 81 squares in all. You win a small board with three in a row inside it, and you win the game with three small boards in a row.
- The first move can go in any of the 81 squares.
- The square you mark decides where your opponent plays next. Mark the top-right square of any small board, and your opponent has to play in the top-right small board, unless that board is closed (rule 5).
- Three in a row inside a small board wins it. This page draws a big X or O over a won board.
- A small board that fills up with no three in a row counts for nobody.
- A won or full board is closed. If your opponent's move sends you to a closed board, you may play in any open board.
- Three won small boards in a row, across, down or corner to corner, win the game. If every small board closes and nobody has that line, the game is a draw.

On your turn, the line under the turn names the board you must use, such as "Play in the top-right board", or says "Play in any open board" when you may go anywhere. Only the boards you may use are highlighted, and squares outside them can't be clicked.

Other versions of the rules
This page follows the rules in Wikipedia's article on the game. Ben Orlin's 2013 post also lets a player sent to a won board go anywhere. Wikipedia describes a variant where you must keep playing in a won board while it still has empty squares. A 2020 paper by Bertholon and coauthors showed that in that variant the first player can always force a win; the paper's title gives the bound as "at most 43 moves".
Easy, Medium or Hard: how the AI plays
With vs AI picked, you play the computer. You are X unless you pick O next to Play as; that switch waits for the next game, and the screen shows "from next game" until it starts. With 2 Players picked, two people share one phone, tablet or computer, and the top of the game says whose turn it is. There is no network play, so you can't play someone on another device.
X opens the first game. After that, the first move changes sides with every new game, including the new game you get when you switch mode or level. The first move follows the mark, not the player: if you keep the same mark against the AI, it opens every second game, and switching between X and O changes that order.
| Level | How the AI picks a square | In our test games |
|---|---|---|
| Easy | Any square you could legally play, at random. | Lost all 200 games against Medium. |
| Medium | Plays out 1,000 random games from the position (Monte Carlo tree search) and takes the move it explored most. | Won all 200 games against Easy and lost all 20 against Hard. |
| Hard | The same search, run for 0.7 seconds per move. | Won all 20 games against Medium. |
Easy suits learning the rules, because it plays random legal moves. Hard won every test game against Medium, so it is the strongest choice on this page. On Medium and Hard, the AI plays a move that wins the game at once when it has one. We ran the test games with this page's game code on a desktop computer, and the first move switched sides each game. Hard has no guarantee of perfect play: it searches for 0.7 seconds and then moves, and we have not measured it against expert human players.

Ultimate Tic Tac Toe strategy
Each square you mark tells your opponent where to play next, so look at the board you are sending them to before you play. If they can finish three in a row there, choose a different square.
- Sending your opponent to a closed board lets them play in any open board. In 100,000 games of random moves on this page's rules code, 99.4% had at least one such free move.
- The big board counts lines like a normal tic tac toe board. The center board sits on 4 of its winning lines, each corner board on 3, and each edge board on 2.
- Giving up a small board can be the right move if it wins you a more important one. Wikipedia's article on the game makes the same point.

When both sides move at random, going first helps a little. In those 100,000 random games, with X moving first every time, X won 41.0%, O won 36.8% and 22.3% were draws. A game lasted 58.9 moves on average, with about 9 legal squares to choose from on each turn.
In short: the square you mark picks your opponent's next board, and three small boards in a row win. The game at the top of this page starts on Medium, so switch to Easy if you want to learn the rules first.
Ultimate Tic Tac Toe FAQ
How do you play Ultimate Tic Tac Toe?
Two players take turns marking squares on nine small tic tac toe boards set out as one big 3×3 board. The square you mark sends your opponent to the small board in the same position. Win three small boards in a row to win the game.
How do you win Ultimate Tic Tac Toe?
You win with three small boards in a row on the big board: across, down or corner to corner. You win a small board by getting three in a row inside it.
What happens if you are sent to a board that is already won or full?
You can play in any open small board. On this page the line under the turn then says "That board is closed. Play in any open board", and every open board is highlighted.
Can you tie in Ultimate Tic Tac Toe?
Yes. A small board that fills up with no three in a row counts for nobody. If every small board is closed and neither side has three in a row on the big board, the game is a draw. This page does not break a draw by counting who won more small boards.
Has Ultimate Tic Tac Toe been solved?
Not for the rules on this page: none of the sources below reports a solution. Wikipedia says the game cannot reasonably be solved by brute force. In 2020, Bertholon and coauthors showed a forced win for the first player in a variant where you must keep playing in a won board that still has empty squares.
Can I play Ultimate Tic Tac Toe against the computer?
Yes. Pick vs AI and choose Easy, Medium or Hard. Easy picks random legal moves. Medium and Hard search ahead, and Hard thinks for about 0.7 seconds per move.
Can two people play Ultimate Tic Tac Toe on one device?
Yes. Pick 2 Players and pass the phone, tablet or computer between turns. There is no way to play someone on another device from this page.
Who invented Ultimate Tic Tac Toe?
No source we read names an inventor or a year. In his 2013 post on Math with Bad Drawings, Ben Orlin says he saw mathematicians playing it at a picnic.
Does the game save my score?
Yes, in this browser on this device. There is one score for each level and one for 2 Players, and they stay after you close the page. If your browser blocks site storage, nothing is saved, and a private window forgets the scores when you close it.
Last checked on : we played one game against Hard and one full 2 Players game in Chrome at 1280×800. The test games (200 Medium against Easy, 20 Hard against Medium) and the 100,000 random games ran on this page's game code in Node.js 24 on an Intel Xeon E5-2696 v3.
Sources, read on November 16, 2026: Wikipedia, "Ultimate tic-tac-toe" (other names, the rules, the variant, no brute-force solution, giving up a small board); Ben Orlin, "Ultimate Tic-Tac-Toe" (the picnic, the free move after a won board); Guillaume Bertholon, Rémi Géraud-Stewart, Axel Kugelmann, Théo Lenoir and David Naccache, "At Most 43 Moves, At Least 29" (the variant's forced win).