Gin Rummy is a card game for two players. Each player gets 10 cards. On your turn you take one card and throw one away, trying to fit your hand into sets of the same number and runs of one suit. The cards that do not fit are counted against you, and when they add up to 10 or less you can knock to end the hand. Score the most over several hands and you win.
We have our own free Gin Rummy in Game Attic, our collection of free browser games, and this guide uses it for the examples. You play against Max, the computer, on five levels from Easy to Master. You can play Gin Rummy free while you read. After the rules, we look at the two questions most players argue about: how good a hand you are likely to be dealt, and whether to knock straight away or wait. For that we used 2 million random deals and about 120,000 hands played by Game Attic's computer players.
How to play Gin Rummy: the rules
- Deal. Use one normal deck of 52 cards with no jokers. Each player gets 10 cards. Turn the next card face up to start the pile, and put the rest face down as the deck.
- Your turn. Take the top card of the deck or the top card of the pile. Then throw one card face up onto the pile. You cannot throw back the card you just took from the pile.
- Sets and runs. A set is 3 or 4 cards of the same number, like three 9s. A run is 3 or more cards of one suit in a row, like the 5, 6, 7 and 8 of spades. The ace is low only, so A 2 3 is a run but Q K A is not.
- Loose cards. Cards that are not in a set or a run are loose cards (many rule books call them deadwood). They count against you: an ace is 1, the 2 to 10 count what is printed, and the jack, queen and king are 10 each.
- Knock. After you throw, if your loose cards add up to 10 or less, you may knock. Both players lay their cards down, grouped into sets and runs.
- Lay off. After a knock, the other player may add loose cards to the knocker's sets and runs, so they no longer count.
- Gin. If all 10 of your cards are in sets and runs, you have gin. The other player may not lay off.
- The end of the deck. If only 2 cards are left in the deck and nobody has knocked, the hand is a draw and the cards are dealt again.

A card can be in only one set or run at a time. If you hold the 7, 8 and 9 of hearts and two other 7s, the 7 of hearts can go in the run or in the set of 7s, not both. In Game Attic you do not have to work this out: the game always groups your hand the best way and shows your loose card total under your cards.
How scoring works in Gin Rummy
When a player knocks, both sides count their loose cards after the lay off.
- The knocker has fewer loose points: the knocker scores the difference.
- The other player has the same or fewer: that is an undercut. The other player scores the difference plus a 25 point bonus.
- Gin: the player with gin scores 25 plus all of the other player's loose points.
Here is a knock worked through.

You knock with only the 5 of clubs loose. Max has a set and a run, plus four loose cards worth 35. But Max can lay the king of spades on your 10, jack and queen of spades, and the 10 of hearts on your 7, 8 and 9 of hearts. That leaves the 6 of diamonds and the 9 of clubs, 15 points. You score 15 minus 5, which is 10 points.
Hands go on until someone reaches the target. In Game Attic that is 50 points on Easy, 75 on Medium and 100 on the three harder levels. Many home games also play to 100, and some add bonuses for each hand won. Bonus sizes vary too: some rule books give 20 for gin or 10 for an undercut. Game Attic uses 25 for both.
What you get dealt
We dealt 2 million random 10 card hands and grouped each one the best way it could be grouped. The deal is usually a long way from a knock.

- The average dealt hand has 57 points of loose cards.
- 60% of dealt hands have no set or run at all. 36% have one, and only 3% have two.
- Only 1 deal in about 1,600 lets you knock on your very first throw.
- Gin straight from the deal came up 16 times in 2 million deals, about 1 in 125,000.
So the first few turns are about building, not knocking. Low cards help twice: they are more likely to fit somewhere, and they cost little if they do not. That is why most players throw kings and queens early unless they already fit.
When to knock in Gin Rummy
This is the big question in the game. Knock early and you end the hand before your opponent can improve, but you risk an undercut. Wait and you might get gin, but your opponent might knock first.
How often a knock gets undercut
First we let two computer players, both using Game Attic's Hard logic and both knocking the moment they could, play 30,000 hands. We then sorted the knocks by how many loose points the knocker had.

A knock with 1 to 3 loose points was almost never undercut, under 1 time in 200. A knock with 10 was undercut about 1 time in 13. Against someone who knocks early too, a knock at 10 is usually safe: your opponent rarely has fewer points than you.
Knocking early against waiting
Next we changed one player's knocking rule and kept everything else the same. That player played 30,000 hands against an opponent who always knocks as soon as it can. The patient player only knocks when its loose cards are at or under a lower number, or when 10 or fewer cards are left in the deck.

Waiting for 7 or less made no difference. Waiting for 4 or less gained 0.7 points a hand. Waiting for gin gained 3.1 points a hand, which over a game to 100 is a clear edge. The reason shows up in the hand results: 29% of hands ended in an undercut, against 4% when both players knocked early. A patient player keeps cutting its loose cards, so when the eager player knocks with 8 or 9, the patient one often has less and takes the 25 point bonus.
There is a catch, and it matters. Our eager player knocked at every chance, even with 10 points, and neither player tried to read the other's hand. Against a strong opponent who knocks low and early, waiting for gin is riskier, because they may end the hand before you get there. The rule we take from it: knock straight away when your loose cards are low (4 or under), and the more likely your opponent is to have a good hand, the lower you should go before knocking. If your opponent has picked up several cards from the pile, they are probably close, and that is a good time to knock with what you have.
Tips for winning at Gin Rummy
- Throw high loose cards early. A loose king costs you 10 points if the other player knocks. A loose 2 costs 2.
- Watch what your opponent takes from the pile. If they took the 8 of hearts, do not throw the 7 or 9 of hearts, or another 8. Game Attic's Hard and harder levels play this way.
- Keep cards that can fit two ways. The 7 of hearts next to the 6 of hearts and another 7 can become a run or a set.
- Do not take a pile card just because it is low. Take it if it makes or nearly makes a set or run. Every pile card you take also tells your opponent what you are building.
- Count before you knock. Look at your opponent's sets and runs as they appear on the pile and think about what they could lay off.
- Knock with low totals, wait with high ones. Our tests say knocks at 1 to 4 are almost never undercut. At 9 or 10, think about whether your opponent is likely to be close.
Gin Rummy with 3 or 4 players
Gin Rummy is made for two. With three people, two play and the third sits out and plays the winner of each hand. With four, players usually split into two pairs who play at the same time, and partners add their scores together. Game Attic's version is the two player game, you against Max.
A little history
The usual story is that Gin Rummy was made up in New York in 1909 by Elwood T. Baker, a card teacher, as a quicker form of an older rummy game. It became very popular in the 1930s and 1940s, helped along by film stars who played it between takes. The name is often explained as a joke on gin and rum, but nobody knows for sure.
Play Gin Rummy free
This is Gin Rummy from Game Attic, the same game as on the full site, set to Medium (a game to 75). On your turn, tap the deck or the pile to take a card. Then tap the card you want to throw and press Throw. When your loose cards would be 10 or less, the Knock button lights up. Your loose card total is always shown under your hand, and the Hint button tells you which card to take or throw. After each hand you see both hands grouped, the cards laid off, and the points. Use the buttons along the top to change the level or start a new game.
For the full screen version, which keeps your wins and the level you last picked, play Gin Rummy in Game Attic. It is free in your browser, with no download and no sign-up. If you like card games, try Spades, where you bid tricks with a partner, or Hearts, where you try to take as few points as you can.
Questions people ask
How do you play Gin Rummy step by step?
Each player gets 10 cards, and one card is turned up to start the pile. On your turn, take the top card from the deck or the pile, then throw one card onto the pile. Try to group your cards into sets of the same number and runs of one suit. When your loose cards add up to 10 or less, you can knock, and the player with fewer loose points scores the difference.
What is the difference between knocking and gin?
You can knock when your loose cards add up to 10 or less. Gin means you have no loose cards at all. Gin scores a 25 point bonus plus your opponent's loose points, and your opponent cannot lay off cards on your sets and runs.
What is an undercut in Gin Rummy?
When someone knocks and the other player has the same or fewer loose points after laying off, the other player undercuts. They score the difference plus a 25 point bonus.
Is the ace high or low in Gin Rummy?
Low. An ace counts 1 point, and A 2 3 is a run, but Q K A is not.
When should you knock in Gin Rummy?
In our tests, knocks with 1 to 4 loose points were almost never undercut, so knock then. With 9 or 10, think about your opponent: if they have taken several cards from the pile, knock before they get closer. Against an opponent who knocks at every chance, waiting for gin scored 3.1 points a hand more.
Can you play Gin Rummy online for free?
Yes. Gin Rummy in Game Attic is free in your browser against a computer player, on five levels from Easy to Master, with a free hint button.
How we worked it out
The rules come from Game Attic's own Gin Rummy, which plays the standard two player game: 10 cards each, ace low, knock at 10 or less, 25 points for gin and 25 for an undercut, and a redeal when 2 cards are left. The deal numbers come from 2 million random hands, each grouped the best possible way by the game's own code. The knocking numbers come from a program that runs that code with Game Attic's computer players, both using the Hard level's logic for taking and throwing cards: 30,000 hands for each of four knocking rules, about 120,000 hands in all, with who goes first alternating.
Game Attic and its Gin Rummy are made by Logic Loft Games and are not connected with any other Gin Rummy game or app.
By Tim Nye, Logic Loft Games
Related articles

How to Play Skyline Bounce: Flick and Climb 20 Towers
The official guide to Skyline Bounce for iPhone and Android: the flick, the safety floor, bank pockets, and all 20 towers from 12 to 180 floors.

Pairdle Hunt: How to Play and the Math of Hidden Words
Pairdle Hunt is Logic Loft's word-hunt game, now free to play in Game Attic. How to play, how scoring works, and how many words hide in one grid.

How to Play Hangman, and the Best Letters to Guess
The rules of Hangman, the best first letter for every word length, and why MOM, not JAZZ, is the hardest everyday word, from 6,298 words played by computer.

