Andar Bahar rules are short. A dealer turns up one card, then deals cards to two sides, Andar and Bahar, until a card matches the first card’s rank. The side that gets the match wins.
How is Andar Bahar played?
Andar Bahar is a card game played with one 52-card deck in which players back one of two sides, Andar (“inside”) or Bahar (“outside”), and the dealer’s cards decide the winner. Players make no card decisions. The only choice is which side to back.
The game is also an Indian card game with local versions. Pagat, a card-game reference, says it is said to have started in Bengaluru, and that it became common in online casinos in the 21st century. That origin is a reported claim, not a documented one.
What are the steps in one round?
A round has five steps. The same steps apply at a live casino table, in a home game and in a play-money version.
- The dealer shuffles and cuts the deck.
- The dealer turns one card face up in the middle. This is the middle card. Many players call it the joker, the trump card or the Mukhya card (“main” card in Hindi). It is not wild. Only its rank (for example, a seven) matters.
- Players place a stake on Andar or Bahar before any more cards come out.
- The dealer deals single cards face up, alternating between the two sides, until a card has the same rank as the middle card.
- The side that received the matching card wins. The other side loses.
The suit never matters in the main bet. A seven of hearts in the middle is matched by any seven.
Which side gets the first card, and who wins?
The side that is dealt the first card wins more often, so it matters which side that is. The side that receives the matching card wins.
In one common version, the colour of the middle card decides the starting side. Pagat describes it this way: a black middle card sends the first card to Andar, and a red one sends it to Bahar. Other versions always start with Andar. Wizard of Odds, a gambling-maths reference, says it does not matter which side the dealer starts on: whichever side is dealt first wins about 51.5% of rounds. So the payout attached to the first-dealt side is what sets the cost.
A second way to see the result: count the cards dealt after the middle card. If the count is odd, the first-dealt side won. If it is even, the second side won.
Why does the first-dealt side win more often?
The first-dealt side wins 51.5% of the time because the first matching card is likelier to appear early than late, and the early positions (1st, 3rd, 5th and so on) belong to that side. Here is the working.
After the middle card is turned up, 51 cards remain. Exactly 3 of them match its rank. Think of all the ways those 3 matching cards can sit in 51 positions: C(51,3) = 20,825 equally likely layouts.
The round ends at the first matching card. Say that card sits at position k. The other 2 matching cards must then sit somewhere in the 51 minus k later positions, which gives C(51 minus k, 2) layouts. Add this up for the odd positions k = 1, 3, 5 up to 49:
- Layouts where the first match is at an odd position (first-dealt side wins): 10,725
- Layouts where it is at an even position (second side wins): 10,100
So the first-dealt side wins 10,725 / 20,825 = 429 / 833 = 51.50%, and the second side wins 48.50%. The gap is small, but a house can price it.
What do Andar and Bahar pay, and what is the house edge?
Under the common live-table rule, the first-dealt side pays 0.9 to 1 and the second side pays 1 to 1. A payout of 0.9 to 1 means a 1,000 stake wins 900 and the stake is returned (1,900 in total). The house edge is the average share of each stake the house keeps over many rounds, covered in what is house edge.
The house edge on a bet is the win chance times the payout, minus the lose chance. Here is the worked maths for a stake of 1 unit.
- First-dealt side at 0.9:1: (0.5150 x 0.9) minus 0.4850 = minus 0.0215. Edge 2.15%.
- Second side at 1:1: (0.4850 x 1) minus 0.5150 = minus 0.0300. Edge 3.00%.
The edge source is the same in both cases: the payout is set below the fair price. A fair payout for the first side would be about 0.942 to 1 (0.4850 divided by 0.5150), and the house pays 0.9. A fair payout for the second side would be about 1.062 to 1 (0.5150 divided by 0.4850), and the house pays 1.
The table shows what each pairing of side and payout costs. It uses the exact win chances above. Only the first two rows are the common live-table rule.
| Bet | Win chance | Payout | House edge |
|---|---|---|---|
| First-dealt side | 51.50% | 0.9 to 1 | 2.15% |
| Second side | 48.50% | 1 to 1 | 3.00% |
| First-dealt side | 51.50% | 0.85 to 1 | 4.72% |
| Second side | 48.50% | 0.95 to 1 | 5.43% |
The lower payouts in rows three and four appear in some versions listed by Wizard of Odds. A first-dealt side paying 0.95 to 1 would favour the player by 0.43% (0.5150 x 0.95 minus 0.4850), so a casino cannot offer it as written. Always read the payout rules shown at a table before you read any edge figure.
What do the side bets cost?
Side bets on the middle card or the number of cards dealt carry higher edges than the main bet. These are simple examples, using the payouts quoted by Wizard of Odds.
| Side bet | Win chance | Payout | House edge |
|---|---|---|---|
| Middle card is a specific rank | 1 in 13 | 11.45 to 1 | 4.23% |
| Middle card is a specific rank, at a lower payout | 1 in 13 | 11 to 1 | 7.69% |
| Middle card is a specific suit | 1 in 4 | 2.8 to 1 | 5.00% |
| Middle card is red (or black) | 1 in 2 | 0.9 to 1 | 5.00% |
Check one: for the rank bet at 11.45 to 1, (1 x 11.45 minus 12) / 13 = minus 0.0423. Payouts vary by table, so treat these as examples of the method, not a table menu. The same method works for any side bet: win chance times payout, minus lose chance.
What does the edge cost in money?
At a stake of 10 units a round and 30 rounds an hour (an assumed pace, since tables differ), the average cost is about 6.45 units an hour on the first-dealt side (10 x 30 x 0.0215) and about 9.00 units an hour on the second side (10 x 30 x 0.0300). Real sessions swing well above and below those averages. A short winning run is variance, not a pattern.
Do patterns, streaks or betting systems change anything?
No. The deck is shuffled each round, so past results tell you nothing about the next round. A run of Bahar wins does not make Andar “due”. Changing stake size after wins or losses changes how fast money moves, not the edge on each round. No system lowers the edge, because the edge comes from the payout. The two sides cost different amounts, 2.15% and 3.00%, but both lose money on average. Neither is a way to profit.
How is Andar Bahar played as a social or play-money game?
At home, the rules are the same but the money is out. Players sit round a dealer, agree a play-money stake (tokens, matchsticks or points) and follow steps 1 to 5. Rotating the dealer role keeps the game fair. For other card games for gatherings, see Diwali card games.
A home game with a play-money or points stake has no house, so there is no house edge, only the small built-in lean: the first-dealt side wins 51.5% of rounds. Groups that want an even contest can rotate which side is dealt first from round to round. Related card games with their own rules include Teen Patti rules and rummy rules.
There is also a South Indian cousin called Mangatha, which Pagat describes as having no middle card and an agreed target rank from 2 to 10. It is a different game, not covered here.
How does the casino table version differ?
A casino or live-studio version adds a fixed payout table, a stake limit, a dealer who banks the game and often a menu of side bets. The house edge in the earlier tables comes from those payouts. Rules, payouts and side bets differ by game maker and by country, so the table’s own rules page is the source for that table. Game-maker pages that list a game may not show payouts at all. One we checked listed a maximum win of 120 times the stake and no payout table.
Is Andar Bahar legal in India?
This section covers law only and is not legal advice. As of 2 November 2026, the position has three parts.
- Online money games are prohibited nationally. The Promotion and Regulation of Online Gaming Act, 2025 (Act No. 32 of 2025) defines an online money game as an online game in which users pay or stake money hoping to win, whether it is based on skill, chance or both. Section 5 bars offering one, and section 9(1) sets a penalty of up to three years’ imprisonment, a fine of up to one crore rupees, or both. A law firm summary reports the Act came into force on 1 May 2026, after gazette notifications on 22 April 2026. A Press Information Bureau release dated 18 March 2026 describes the same ban. The Act’s own text leaves the start date to the government.
- Offline gambling is covered by older laws. The Public Gambling Act, 1867 is an old central law that applies in named areas and penalises keeping, or being found in, a common gaming house. Its section 12 leaves games of mere skill outside it. Whether a game counts as skill is a legal question this post does not decide. States also have their own gambling laws, which this post does not review.
- Court challenges to the 2025 Act have been moved to the Supreme Court. We could not confirm their current status.
If you want a fuller picture of the law by state, read gambling law in India. This post gives no guidance on playing for real money online in India.
What should you remember before playing any casino game?
If you play a table game anywhere it is legal, decide a budget and a time limit before you start and treat the stake as the price of entertainment, not an income. See set a gambling budget and time limit. If gambling is causing you or someone close to you worry, the Get help page lists free, confidential support by country.
