← Back to Game

How to Play Mafia

The complete guide to playing Mafia online — rules, roles, phases, strategies, and tips for beginners and experienced players alike.

What is Mafia?

Mafia is a classic social deduction party game where players are secretly assigned roles — either as innocent Town members or as members of the Mafia. The Town's goal is to identify and eliminate all Mafia members through discussion and voting. The Mafia's goal is to secretly eliminate Town members each night until they equal or outnumber the remaining townspeople.

Originally created in 1986 by Dmitry Davidoff at Moscow State University, Mafia has become one of the most popular party games worldwide. It's also known as "Werewolf" in some variations. The game tests your ability to read people, bluff convincingly, build alliances, and think critically under pressure.

Our online version supports 8 to 30 players and includes AI bots that can fill empty seats, so you can play with any group size. Games typically last 15–45 minutes depending on the number of players.

Getting Started

1️⃣

Create or Join a Game

Visit the home page and click "Create Game" to host a new game, or "Join Game" to enter a room code shared by a friend. You can also use "Quick Play" to instantly join an available public game.

2️⃣

Wait in the Lobby

Once in the lobby, wait for other players to join. The host can add AI bots to fill seats and configure game settings like phase durations, enabled roles, and bot difficulty. You need at least 8 players to start an online game — or just 5 in In-Person Mode.

Heads up: free players can add up to 3 AI bots per game. Need more? A Premium Pass unlocks up to 12 bots per game + control over how often bots chat.

3️⃣

Receive Your Role

When the game starts, you'll be secretly assigned a role. Only you can see your role — keep it hidden! Your role determines your abilities and win condition.

4️⃣

Survive and Win

Use your abilities, discuss with other players, and vote strategically. The game continues through day and night cycles until one team achieves their win condition.

Free Tier & Premium Pass

The core game is completely free. AI bots are the only perk we gate, because every bot game has real API costs.

🆓 Free

  • Unlimited games with human players
  • Up to 3 AI bots per game
  • Bot chat frequency fixed at default (35%)
  • All standard roles (Villager, Mafia, Doctor, Detective, Jester, Mayor, Bodyguard, Vigilante)
  • Full chat, stats, custom themes
  • ·Shows ads on home and results pages

Premium Pass · $1.99 / 48hrs

  • Up to 12 AI bots per game
  • Adjustable bot chat frequency slider (0–70%)
  • No ads anywhere
  • Godfather role unlocked (appears as Town to the Detective — Mafia's ultimate weapon)
  • One-time charge, no subscription, no auto-renewal
  • ·Pay once, access ends automatically after 48hrs

How to buy

  1. Click "⭐ Get Premium Pass" on the home page (or hit the upgrade prompt when you run out of bot games).
  2. You'll be redirected to Stripe's secure checkout — pay $1.99 with any major card.
  3. After payment, you'll land on a success page showing your PREM-XXXXXXXX code. Premium activates immediately on your device.
  4. Save the code somewhere — you'll need it if you ever clear cookies or switch browsers.

I have a code — how do I activate it?

On the home page, click "Have a premium or supporter code?" and enter your PREM-XXXXXXXX code. Premium activates on the current device. You can also redeem from inside the lobby if you're already playing.

Legacy supporter codes

If you got a supporter code before 2026-04, it still works — just enter it in the same "Have a code?" box. Legacy codes don't expire and keep their original perks (ad-free, Godfather role).

Game Phases

Each round of Mafia cycles through these four phases. Understanding the flow is key to playing well.

🌙

Night Phase

Duration: 30–60 seconds

The town sleeps while dark deeds unfold. The Mafia secretly votes to kill a player. The Doctor chooses someone to protect. The Detective investigates a player. The Vigilante may choose to shoot. The Bodyguard selects someone to guard.

  • All actions happen simultaneously — nobody knows what others are doing.
  • Mafia members can see each other and coordinate their kill target.
  • On the first night, one random town member receives protection from being killed.
  • If the Mafia can't agree on a target (tie vote), nobody dies.
☀️

Day Phase

Duration: 2–5 minutes

The town wakes up to discover what happened during the night. If someone was killed (and not saved by the Doctor or Bodyguard), they are eliminated and their role is revealed. Surviving players discuss who they suspect and can nominate players for trial.

  • Any living player can nominate another living player (you cannot nominate yourself).
  • Each player can only nominate once per day phase.
  • A player can only be nominated once — no double nominations.
  • If enough players vote to put the nominee on trial, the trial phase begins.
  • If the day timer expires with no successful trial, night falls.
⚖️

Trial Phase

Duration: Up to 2 minutes

The accused player stands before the town and has a chance to defend themselves. They can present their case, claim a role, provide alibis, or try to redirect suspicion. The accused can end their defense early by clicking "Done Defending."

  • All players can chat during the trial — it's a discussion, not a monologue.
  • The accused should use this time to convince the town of their innocence.
  • Pay attention to what the accused says — inconsistencies may reveal their true role.
🗳️

Verdict Phase

Duration: 30 seconds

After the defense, all living players (except the accused) vote guilty or innocent. If a majority votes guilty, the accused is eliminated. If the vote is tied or majority innocent, the accused is acquitted and the game continues.

  • The accused player cannot vote on their own verdict.
  • The Mayor's vote counts as 2 votes during the verdict.
  • If a Jester is voted guilty, they win and the game ends immediately.
  • A tied vote results in acquittal — the accused survives.
  • If no votes are cast, the accused is spared.

All Roles

Each player is assigned one of these roles at the start of the game. Roles are divided into three teams: Town (working together to find Mafia), Mafia (trying to eliminate Town), and Neutral (independent win conditions).

🏘️

Villager

Town

A regular townsperson. Vote during the day to find and eliminate the Mafia.

Ability: None — your power is your vote and your voice.
💡Pay attention to behavior patterns and inconsistencies in claims.
🔪

Mafia

Mafia

A member of the organized crime syndicate hiding among the townspeople. Each night, the Mafia collectively votes to eliminate one town member.

Ability: Night kill — vote with other Mafia members to eliminate a player.
💡Coordinate kills with your team and create alibis to avoid suspicion.
💊

Doctor

Town

The town physician who can save lives. Each night, choose one player to protect from the Mafia's attack. If the Mafia targets your protected player, they survive.

Ability: Night protect — save one player from being killed (cannot self-protect).
💡Protect high-value targets like confirmed Town roles. Keep your identity secret.
🔍

Detective

Town

The town investigator. Each night, investigate one player to learn whether they are aligned with the Town or the Mafia. Be careful — the Godfather will appear innocent.

Ability: Night investigate — learn a player's alignment (Town or Mafia).
💡Don't reveal your role too early or Mafia will target you. Share results strategically.
⚠️The Godfather and Jester will appear as Town when investigated.
🃏

Jester

Neutral

A wild card with a unique win condition. The Jester's sole goal is to get voted out during the day phase. If the town eliminates you by vote, you win the game — and the game ends immediately.

Ability: Passive — win by being voted out during a trial.
💡Act suspicious enough to get accused, but not so obvious that people catch on. Mimic Mafia behavior without overplaying it.
👑

Mayor

Town

The elected leader of the town. Your vote counts double in all day-phase votes, giving you significant influence over trial outcomes.

Ability: Passive — your vote counts as 2 votes in all day-phase voting.
💡Time your reveal carefully — once known, you become a Mafia target. Your double vote is most powerful in close verdicts.
🛡️

Bodyguard

Town

A selfless protector who guards a chosen player each night. If your target is attacked by the Mafia, you die in their place — making the ultimate sacrifice to save a key player.

Ability: Night guard — protect a player; if they are attacked, you die instead.
💡Guard key confirmed Town roles. Sacrificing yourself to save the Detective can win the game.
🔫

Vigilante

Town

A gun-toting town member who takes justice into their own hands. You can kill one player per night, but you have limited shots. Use them wisely — killing a fellow town member hurts your team.

Ability: Night kill — shoot one player (limited uses, Town-aligned).
💡Be absolutely certain before pulling the trigger. Killing a Town member is devastating.
🎩

Godfather

Mafia

The mastermind behind the Mafia. You appear as Town when investigated by the Detective, making you the perfect liar. You participate in Mafia kills like any other Mafia member.

Ability: Passive — appears as Town to the Detective. Participates in night kills.
💡Use your innocent investigation result to claim Detective or other Town roles convincingly. You are the Mafia's greatest asset.
⚠️Replaces one Mafia slot. Requires Premium Pass (or a legacy supporter code) to enable in settings.

Play In Person — Party Mode

Playing with friends in the same room? Turn on In-Person Mode in the lobby settings and the app becomes your game master — no human moderator needed.

🎙️

A Narrator Runs the Game

A deep narrator voice announces every phase out loud — "Town, close your eyes… Mafia, choose your victim…" — reads the death stories at dawn, runs the trials, and calls the winner. Phones are used only for secret actions.

📺

Big Screen for Your TV

Open letsplaymafia.com/screen/YOURCODE on a TV or laptop: it shows a QR code friends scan to join, then becomes the shared game board — phase timer, player wall, a graveyard of death stories, vote reveals, and the final role reveal with awards. The Big Screen takes over narration automatically.

🙈

Privacy Built In

Roles and night actions hide behind hold-to-peek shields so nobody can shoulder-surf your phone. Eliminated players get one shot at last words, read aloud to the room. Small groups welcome — in-person games start at just 5 players.

🎲

Chaos Events (Optional)

Hosts can enable random public twists — Full Moon (the Detective learns a target's exact role), Bloodlust (the Mafia may claim two victims), and Town Hall (a single accusation forces a trial). Set it to Mild or Wild in the lobby settings. Works in online games too.

Win Conditions

Town Victory

The Town wins when all Mafia members (including the Godfather) have been eliminated. Town members win as a team — even dead Town players share the victory.

Mafia Victory

The Mafia wins when they equal or outnumber the remaining Town players. At that point, the Mafia can no longer be voted out and effectively controls the town.

Jester Victory

The Jester wins by being voted out during a day-phase trial. If the Jester is eliminated by vote, the game ends immediately with a Jester victory — regardless of the Town/Mafia balance.

Strategy Tips

Playing as Town

  • Pay attention to who is quiet — Mafia members sometimes avoid drawing attention.
  • Track voting patterns — Mafia members often vote to protect each other.
  • Be cautious with role claims — verify them against the night's events.
  • If you're the Detective, share your information carefully. Revealing too early makes you a target.
  • Coordinate with confirmed Town members to build a voting majority.

Playing as Mafia

  • Blend in — participate in discussions and accuse others to look like an active Town member.
  • Prioritize killing power roles (Detective, Doctor) at night to weaken the Town.
  • Don't always defend your Mafia teammates — sometimes letting them get voted out looks more natural.
  • Create confusion by accusing innocent players and casting doubt on real evidence.
  • If you're the Godfather, use your innocent investigation result to claim Detective.

Playing as Jester

  • Act slightly suspicious — mimic Mafia behavior without being too obvious.
  • Make weak defenses when accused to encourage a guilty vote.
  • Avoid being killed at night — the Mafia might eliminate you if they suspect you're Jester.
  • Timing is everything — you need to be suspicious enough to get nominated but not so obvious that players recognize the Jester play.

Frequently Asked Questions

How many players do I need to play?
Online games need 8 to 30 players. In-Person Mode (for groups in the same room) starts with just 5. AI bots can fill empty seats if you don't have enough human players.
Can I play on my phone?
Yes! The game is fully responsive and works on any device with a web browser — phones, tablets, laptops, and desktops. You can even install it as a Progressive Web App (PWA) for quick access.
How long does a game last?
A typical game lasts 15–45 minutes depending on the number of players and how quickly the Town can identify the Mafia (or vice versa).
What happens if I disconnect?
The game will attempt to reconnect you automatically. If you're disconnected for a long time, you may be replaced by an AI bot to keep the game going.
Can the Doctor protect themselves?
No, the Doctor cannot self-protect. They must choose another player to save each night.
What happens if the Mafia can't agree on a target?
If the Mafia votes result in a tie, nobody is killed that night. This is rare but can happen.
Can dead players still participate?
Dead players can observe the game but cannot vote, nominate, or use night abilities. They can see chat but cannot send messages.
What are AI bots?
AI bots are computer-controlled players powered by GPT-4o-mini that can fill empty seats in your game. They participate in discussions, vote, and use their night abilities. You can set their difficulty to Easy, Normal, or Hard.
What is Party Mode?
Party Mode is designed for in-person play. It adds privacy screens and decoy actions so people nearby can't peek at your role or deduce your night action from watching your screen.
How are roles assigned?
Roles are randomly assigned when the game starts. The number of Mafia scales with the player count (roughly 1 Mafia per 4 players). Special roles (Doctor, Detective, etc.) are added based on game size.
What does the Mayor do?
The Mayor's vote counts as 2 votes in all day-phase voting (trial votes and verdicts). This makes the Mayor a high-value target for the Mafia.
Is it free to play?
Yes — games with human players are completely free and unlimited. For AI-bot games, free players can add up to 3 bots per game (unlimited such games). A Premium Pass at $1.99 / 48hrs raises that to 12 bots per game and unlocks the bot chat frequency slider, plus removes ads and unlocks the Godfather role. No subscription, no auto-renewal.
How does the bot limit work?
Free players can add up to 3 AI bots per game they host. Games with only human players have no limit. Premium Pass raises the per-game cap to 12 bots and unlocks the bot chat frequency slider. The cap is enforced server-side and checked whenever you tap "+ Bot".
I have a premium code — how do I activate it?
On the home page or in a lobby, click "Have a premium or supporter code?" and paste your PREM-XXXXXXXX code. Premium activates on the current device immediately. You can transfer the same code to another device by entering it there (only one device holds the active binding at a time).
I lost my premium code. Can I recover it?
If you still have the browser/device where you purchased, premium should still be active. If you lost both, email tejas03usa@gmail.com with your Stripe session ID (from your charge confirmation email) and we can look up your code. See the /support page for the full recovery process.
What happens when my Premium Pass expires?
After 48 hours, premium features turn off automatically — ads come back, the Godfather role re-locks, the bot-chat-frequency slider locks, and the per-game bot cap drops back to 3. The transition is silent and your device keeps working normally. You can buy another pass any time, or use a legacy supporter code if you have one.
Can I get a refund on the Premium Pass?
If the pass fails to activate due to a technical issue on our end, we refund in full. If you bought by mistake and haven't used the pass, email tejas03usa@gmail.com within 24 hours of purchase. Because the pass is a 48-hour digital service delivered instantly, partial refunds for unused time are not offered. Full terms: /terms (section 6).
Can I play with strangers?
Yes! Create a public game and it will appear in the Browse Games list on the home page. Other players can join directly or through Quick Play.
What happens when the Jester gets voted out?
If the Jester is eliminated by a day-phase vote, they win and the game ends immediately. The Jester does not win if killed at night by the Mafia or Vigilante.
How does the Bodyguard work?
The Bodyguard chooses a player to guard each night. If that player is attacked by the Mafia, the Bodyguard dies instead and the target survives.
Can the Vigilante kill Mafia members?
Yes, the Vigilante can kill anyone — but they have limited shots. They should be careful to avoid accidentally killing Town members.