TicTacToe — Free online game — play solo or with a friend
Your turn
Play tic tac toe online for free. Take on the computer on easy or hard, or share one screen with a friend. Nothing to download, no sign-up, no ads, and it works on phone, tablet and desktop.
Tic tac toe game: how to play
Tic tac toe is played on a 3x3 grid. X always moves first, then players alternate. The first player to line up three of their own marks in a row — across, down or diagonally — wins. If all nine squares fill with no line, the game is a draw. A full game takes under a minute, which is why tic tac toe is the fastest thing you can play in a browser.
Ways to play tic tac toe online
Play alone against the computer on easy or hard, or hand the device back and forth with a friend — one takes X, the other takes O. Scores for X, O and draws are kept between rounds, so you can run a first-to-ten match. It is free, unlimited, ad-free and needs no account.
How to win tic tac toe every time
Tic tac toe is a solved game: perfect play from both sides always ends in a draw. You win only when your opponent makes a mistake, so the strategy is to create two threats at once — a fork — that cannot both be blocked.
- Going first? Open in a corner. It sets more fork traps than the centre and beats most human replies.
- If your opponent answers a corner opening with anything except the centre, you can force a win.
- Going second? Take the centre. It is the only reply that guarantees you at least a draw.
- Block first, always: if the other side has two in a row, close that line before building your own.
- Look for forks before you attack — a move that makes two winning lines wins on the next turn.
How to win tic tac toe against the AI
Hard mode runs a full minimax search, so the computer sees every possible ending and never loses — the best result against it is a draw, and getting one means playing perfectly yourself. Easy mode mostly plays random moves, so it will miss blocks and leave forks open; that is the mode to farm wins in while you learn the patterns.
Frequently asked questions
Is this tic tac toe game free?
Yes. Every mode is free with no sign-up, no download and no in-game purchases. Open the page and play.
Can I play tic tac toe alone or with a friend?
Both. Play solo against the computer on easy or hard, or pick the two-player mode and pass one device back and forth, with scores kept between rounds.
How do you win tic tac toe if you go first?
Open in a corner rather than the centre. Unless your opponent replies in the centre, you can build a fork — two winning lines at once — that they cannot block, and win on the following move.
Can you always win at tic tac toe?
No. Tic tac toe is a solved game, so two players who never make a mistake always draw. You can only win when the other side slips, which is why hard mode never loses.
How do I beat the computer on hard?
You cannot beat it — hard mode uses minimax and plays perfectly. Aim for a draw by taking the centre when you move second and blocking every two-in-a-row immediately. Use easy mode if you want wins.
Does it work on mobile?
Yes. The board scales to any screen, works offline after the first visit and can be added to your home screen like an app.
Free to play — no signup