Play Mahjong Solitaire Online
Take matching tiles off in pairs until the table is clear. A tile is free when nothing lies on it and its left or right side is open.
Layout, deals and tile size
Beta: this game is new this week. Help us finish it: tell us what works and what doesn't in the box under the game. It moves to the main games list after two weeks.
How to play mahjong solitaire here
- Find a free tile. Free tiles are bright. A tile is blocked when another tile lies on it, even partly, or when tiles touch it on both the left and the right.
- Tap it. Every free tile that matches it gets a dashed outline.
- Tap its match. Both tiles leave the table. Tap the same tile again to let go of it.
- Clear the table. Your score is the number of tiles you cleared, up to 144.
Hint shows a free pair (see how it picks below). Undo takes back pairs one at a time, as often as you like. Shuffle mixes the tiles still on the table among the same spots and takes 6 tiles off your score each time; it needs two taps, and you cannot undo past it. When no free pair is left, the page says so: undo, shuffle, or end the game there to keep your score.
Today's deal is the same for everyone today. New deal gives a random deal number with the layout you picked; send the number to a friend with Challenge a friend after a game.
The tiles
- Characters: a Chinese numeral, one to nine, over the character 萬. The small number in the corner gives the value.
- Bamboo: one to nine bamboo sticks. The one of bamboo is a single stalk with two leaves.
- Circles (also called dots): one to nine circles.
- Winds: 東 east, 南 south, 西 west and 北 north, with E, S, W or N in the corner.
- Dragons: a red 中, a green 發, and the white dragon, an empty blue frame.
- Flowers (plum, orchid, chrysanthemum, bamboo; F1 to F4) and seasons (spring, summer, autumn, winter; S1 to S4): one of each, so any flower matches any flower and any season any season.
The other designs come four of each, so each design makes two pairs. That is where the choices are: with three of a kind free, which two you take can decide the game.
Rules this game uses
We checked the rules against Pagat's page on solitaire tile matching games and the Wikipedia article on mahjong solitaire on 2026-10-23.
- 144 tiles, the full set, in a stack several layers high. The Knoll layout uses 72: 16 of the 34 designs, picked by the deal, four of each, plus the flowers and seasons.
- Free tile. Pagat allows a tile at the end of a row that no tile covers; Wikipedia says a tile that can slide left or right. They come to the same thing, and we use it: nothing on top, and the left or right side open.
- Matching. Identical tiles match. Neither source spells out the flowers and seasons, which come one of each; we use a common computer-version rule (our choice): any flower matches any flower and any season any season.
- The end. You win by clearing the table. With no free pair left, the game is over unless you undo or shuffle.
- Shuffle (our rule). Wikipedia says some versions shuffle when no pair is left; the 6-tile cost is our choice, so a clean clear always beats a clear with help.
Where the tiles come from
The tiles belong to mahjong, a game for four players that took shape in China during the Qing dynasty, in the 19th century. The oldest tile sets that survive date from around 1870 (Wikipedia on mahjong; Pagat describes the four-player game as a kind of rummy played with tiles). The characters on them are ordinary Chinese words: 萬 (wàn) means ten thousand, the winds are the four directions, 中 (zhōng) means middle (Wiktionary), and 發 (fā) can mean to make a fortune (Wiktionary).
The solitaire is much newer, and it is not a traditional Chinese game. Brodie Lockard wrote it as a computer game called Mah-Jongg in 1981, on the PLATO system, according to Wikipedia; Pagat says it "seems to have originated as a computer game." Later commercial versions were sold with a story about an ancient Chinese game, and no source we found supports that. It borrows mahjong's tiles for a matching puzzle and plays nothing like four-player mahjong.
How the computer helps, and plays fair
There is no opponent here. The computer does two jobs: it deals, and it suggests a pair when you ask. Every tile is face up, so the hint uses only what you can see. It never looks at how the deal was built.
How the hint picks a pair
It scores every free matching pair and shows the highest. A tie goes to the pair it found first, so the same position always gets the same hint.
| The pair... | Points |
|---|---|
| is safe: every remaining tile of that design is free right now (two or four of them), so taking them cannot hurt | 1000 |
| frees a tile that is blocked now (for each one) | 10 |
| sits high up (for each layer above the table, both tiles counted) | 1 |
It looks only one move ahead, so it can walk into a dead end. Treat it as a nudge, not a solver.
How winnable deals are made
With "Winnable deals only" on, the computer builds the deal backward. It starts from an empty table and places the tiles two at a time, as matching pairs, and each pair must land where both tiles would be free at that moment. A tile goes down only when everything under it is already in place, and each row grows outward from one tile, so no gap is left that could never be free. Played in reverse, that build order clears the whole table, so at least one way through always exists. If a build runs out of room it starts over (up to 200 times; in our tests of deals 1 to 300 on every layout, about one deal in five needed a restart, none needed more than 4 tries, and none ran out). A shuffle with the setting on is built the same way when the tiles left allow it; when no winnable order exists, the shuffle is random and the page says so.
The same deal number always builds the same deal on every device, which is how Today's deal and challenge links work. Our tests replay the build order of the first 40 deals on every layout to a clear table.
What our simulation shows
We let two simple players try deal numbers 1 to 1,000 on every layout (node scripts/mahjong-solitaire-sim.mjs, so the numbers repeat). One always takes our hint; the other takes any free pair at random. Neither uses undo or shuffle. This is how often each one cleared the table:
| Layout | Hint player, winnable deals | Hint player, random deals | Random player, winnable deals | Random player, random deals |
|---|---|---|---|---|
| Hill | 44.4% | 25.4% | 22.3% | 12.5% |
| Twin Hills | 82.5% | 69.8% | 51.1% | 42.5% |
| Ridge | 2.4% | 0.6% | 0.7% | 0.1% |
| Knoll | 80.4% | 67.2% | 51.2% | 38.8% |
On the Hill, today's layout, winnable deals nearly double the hint player's clears, from 25.4% to 44.4%, and it clears 129 tiles on average instead of 122. Allowed one shuffle when stuck, it clears 92.8% of winnable deals and 48.6% of random ones. "Winnable" means a way through exists, not that it is easy: the Ridge's long rows keep most tiles blocked, and even the hint player clears only 2.4% of its winnable deals without undo. These are numbers for simple computer players, not a measure of how people play; with undo, you will do better.
The layouts
- Hill (144 tiles): A stepped hill five layers high, 8 tiles across: tall rather than wide, so the tiles stay big on a phone.
- Twin Hills (144 tiles): Two four-layer hills side by side, 13 tiles across, for a wide screen. Short rows, so more tiles are free.
- Ridge (144 tiles): A long ridge 12 tiles across and five layers high, for a wide screen. Long rows keep most tiles blocked: the hardest here.
- Knoll (72 tiles): Half a set, 72 tiles in four layers: 16 of the 34 tile designs (picked by the deal) plus all eight flowers and seasons. A quick game with the biggest tiles.
Mahjong solitaire questions
Which tiles can I take?
Only free tiles. A tile is free when no tile lies on top of it, even partly, and its left side or its right side is open. Tiles above and below it in the picture do not matter. Here a free tile looks bright and a blocked one is dimmed; tap a blocked tile and the page tells you what is in the way.
Do the flowers and seasons have to match exactly?
No. There is only one of each flower and one of each season, so any flower pairs with any other flower and any season with any other season. A flower never pairs with a season. The corner marks F1 to F4 and S1 to S4 tell them apart.
Is every deal winnable?
With "Winnable deals only" on (the default), yes: each deal is built backward from an empty table, so at least one order of moves clears it. Choosing the wrong pair can still leave you stuck, so use Undo. Turn the setting off for a fully random deal, which may have no way through.
Is mahjong solitaire an old Chinese game?
The tiles are. The four-player game mahjong took shape in China in the 19th century. The solitaire that uses its tiles is much newer: it began as a computer game in 1981, and it plays nothing like four-player mahjong.