How to play Mafia online
Mafia is the party game of lies and accusations, also known as Werewolf. A few players are secretly the Mafia. Everyone else is the town, and the town has to work out who's lying before it's too late.
This guide covers everything for playing on mafiagame.io: setting up, how a round works, trials and last wills, how each side wins, and every role in the game with tips for playing it. All you need is one phone per player. It's free, with no app and no sign-up.
Start a game
A game in eight steps
Start a game
One person taps Host a Game on mafiagame.io. Host from your phone, or put the game on a laptop or TV so the whole room can see the board and hear the narrator.
Everyone joins
Players scan the QR code with their phone camera or type the 6-letter room code, then pick a name and an avatar. No app and no account.
Get your secret role
When the host starts, every phone shows its owner a role. Keep it to yourself. Your phone is the only one that knows.
Night falls
Everyone looks down. The Mafia choose a victim in their private chat, and town roles like the Doctor and Detective use their powers. Night lasts 45 seconds.
Dawn
The narrator tells the town who died, reveals their role and reads their last will.
Discuss and vote
You get 90 seconds to argue, accuse and defend, then 60 seconds to vote someone onto trial.
The trial
The accused gets 30 seconds to defend themselves. Then everyone votes Guilty or Innocent, and every vote is shown. Up to three trials can happen in one day.
Repeat until someone wins
Night and day keep alternating. The town wins when every member of the Mafia is gone. The Mafia win when they equal or outnumber the town. Neutral roles chase their own goals.
How many Mafia are there?
In Classic mode the game picks the roles for you based on how many people are playing, so the sides stay balanced. The rest of the players are town roles, starting with the Doctor and Detective and adding the Lookout and Vigilante in bigger groups.
| Players | Mafia | Neutral | Who they are |
| 5 to 7 | 1 | 1 | Godfather, Jester |
| 8 | 2 | 1 | Godfather + Mafioso, Jester |
| 9 to 12 | 2 | 2 | Godfather + Mafioso, Jester + Executioner (a Mayor joins the town at 12) |
| 13 to 15 | 3 | 3 | Godfather, Mafioso + one support, Jester, Executioner, and a Serial Killer (sometimes a Survivor or Amnesiac instead) |
Want a different mix? Competitive mode adds more Mafia support roles, and Custom mode lets the host pick the exact roster.
The rules that matter
Night
Everyone puts their head down. The Mafia talk in a private family chat and choose one victim, and the Godfather has the final say. Town roles with night powers use them now. Nobody else can chat at night.
Day and trials
At dawn the town learns who died and what role they had. Then comes discussion, followed by a vote. If enough players vote for the same person, that player goes on trial, gets 30 seconds to defend themselves, and the town votes Guilty or Innocent. Every vote is shown to everyone, so voting is information too. There can be up to three trials in a single day.
Last wills
You can write a will at any time. When you die, it's read aloud. Town players should keep theirs up to date with what they know. The Janitor can wipe a will, and the Disguiser can forge one, so a will isn't always what it seems.
How to win
The town wins when every member of the Mafia is dead. The Mafia win as soon as they equal or outnumber the town. The Jester wins by being executed, the Executioner wins when their target is executed, and the Serial Killer wins by being the last one standing.
Every role in Mafia: The Game
Villager Doctor Detective Investigator Lookout Bodyguard Vigilante Veteran Escort Mayor Medium Godfather Mafioso Janitor Blackmailer Disguiser Consigliere Jester Executioner Serial Killer Survivor Amnesiac
Town roles
Find the Mafia and vote them out.
Villager Town
Find the mafia and vote them out during the day. Win when all mafia are eliminated.
How to play it. You have no power except your vote and your voice, which is plenty. Ask people what they did last night, notice who changes their story, and keep your will honest.
Doctor Town
Each night, choose someone to protect from attacks. You may only protect yourself 3 times per game.
How to play it. Protect whoever just made a strong claim, because the Mafia will want them gone. Save your three self-protects for the nights you're sure you're the target.
Detective Town
Each night, investigate a player to learn whether they are suspicious. Beware: the Godfather appears innocent.
How to play it. One check a night adds up fast. Write every result in your will so the town gets it even if you die. Remember the Godfather reads as innocent, so a clean result isn't a free pass.
In the series: Mara Voss is Blackwood’s Detective in MAFIA: The Town of Liars.
Investigator Town
Each night, investigate a player to learn a short list of roles they could be. Cross-reference the claims.
How to play it. Your result is a short list, not an answer. Line it up with what that player claimed in the daytime. If their claim isn't on your list, you've caught a liar.
Lookout Town
Each night, watch a player's house. At dawn you learn who visited them during the night.
How to play it. Watch someone the Mafia are likely to hit. If they die, you'll know who visited. If they live, you'll still learn who's sneaking around at night.
Bodyguard Town
Guard one player each night. If they are attacked, you die in their place — and take the attacker down with you.
How to play it. Guard the player the town can least afford to lose. If the Mafia go for them, you trade your life for one of theirs.
Vigilante Town
You carry 3 bullets. Shoot someone at night — but if you shoot a fellow town member, you die of guilt the following night.
How to play it. Don't shoot on night one. Wait until you're confident, because hitting a townie costs you your life the next night. Three bullets go further than you think.
In the series: Dex Mercer is Blackwood’s Vigilante in MAFIA: The Town of Liars.
Veteran Town
You have 3 alerts. On alert you cannot be killed, and you kill EVERYONE who visits you that night. Even the doctor. Especially the doctor.
How to play it. Go on alert when you feel watched, or right after you've made a loud claim. Anyone who visits you that night dies, friend or foe, so warn the Doctor if you can.
Escort Town
Distract one player each night, blocking their night action entirely. Great for stalling killers.
How to play it. Block the player you suspect most. If you've got a killer, you've bought the town a whole night. Blocking a quiet townie costs very little.
Mayor Town
Once per game, during the day, reveal yourself as the Mayor: from then on your votes count three times. But once revealed, the Doctor can no longer protect you.
How to play it. Don't reveal too early. Once you do, your three votes can swing any trial, but the Mafia know exactly who to kill and the Doctor can't save you. Reveal when the town needs a push.
Medium Town
At night you hold a séance: you can read and talk in the ghost chat with the dead. Ask them what they know.
How to play it. Ask the dead the questions the living can't: who visited them, what role they were, what they suspected. Then bring that back to the day without exposing yourself.
Mafia roles
Kill at night, lie by day, and outnumber the town.
Godfather Mafia
You lead the mafia. Your kill order is FINAL — and you appear innocent to the detective. Win when the mafia equals or outnumbers the town.
How to play it. You look innocent to the Detective, so you can afford to be accused. Claim a quiet town role, vote like a townie, and let your family take the risks.
Mafioso Mafia
Vote with your family each night on who to kill (the Godfather has the final word). Win when the mafia equals or outnumbers the town.
How to play it. Back the Godfather's pick and help shape the daytime vote. A Mafioso who argues well keeps suspicion off the family. If the Godfather dies, you carry the kills.
Janitor Mafia
Mafia support. 3 times per game, clean the mafia's victim: the town learns nothing about their role or will — only you do.
How to play it. Clean a kill when the victim was a power role or left a damning will. The town loses the information, and you quietly learn what they were.
Blackmailer Mafia
Mafia support. 3 times per game, blackmail a player at night. The next day they cannot speak or vote. They may only look down.
How to play it. Silence the loudest townie for a day, or whoever is about to expose your family. A silent player can't defend themselves at their trial.
Disguiser Mafia
Mafia support. 3 times per game, disguise tonight's victim: choose the role the town will see and forge their final will.
How to play it. Make a kill look like something it wasn't and rewrite the victim's will. Point the town at someone innocent, but keep the lie believable.
Consigliere Mafia
Mafia support. Each night, investigate a player and learn their EXACT role. Feed the family the names that matter.
How to play it. Hunt for the Detective, the Doctor and the Mayor. One exact role on the right player is worth more than a kill. If the killers die, you take over the knife.
Neutral roles
Play for yourself. Each one has their own win condition.
Jester Neutral
You win if the town votes you guilty and executes you. Then, on the next night, you haunt one of the players who voted you guilty. Act suspicious, but not too suspicious.
How to play it. Look suspicious enough to get put on trial, but not so suspicious that people work out what you are. If you're executed, you win and you get to haunt one guilty voter.
Executioner Neutral
You win if your target is voted out and executed by the town. If your target dies at night, you become a Villager.
How to play it. Get your target executed. Build a case against them slowly, back other people's accusations, and push the vote when the moment comes. If they die at night, you become a Villager.
Serial Killer Neutral
Kill someone every single night. You win when you are the last one standing. Everyone — town, mafia, everyone — is your enemy.
How to play it. Everyone is your enemy, so make sure everyone suspects someone else. Kill the players who are closest to working you out.
Survivor Neutral
You just want to live. 4 times per game, wear a bulletproof vest at night to survive any attack. You win if you are alive when the game ends, whoever wins.
How to play it. Stay alive, side with whoever is winning, and spend your vests on the nights you feel most exposed. You win with anyone, as long as you're breathing at the end.
Amnesiac Neutral
You remember nothing. Once per game, at night, choose a dead player: at dawn you become their role and join their side.
How to play it. Wait for an important role to die, then remember it. Becoming the Doctor or the Detective can save the town. Becoming the Godfather can end it.
Tips for your first game
Playing town: talk. The Mafia win when the town is quiet and confused. Ask simple questions, remember who voted for whom, and put what you learn in your will.
Playing Mafia: act like town. Vote with the crowd sometimes, defend a teammate only when it looks natural, and pick a cover role nobody can easily disprove.
Playing neutral: you're not on anyone's side, so use both of them. The Jester wants attention, and the Executioner wants one specific person gone.
Frequently asked questions
How many players do you need for Mafia?
At least 5 and up to 15. It really comes alive with 8 or more, when a second member of the Mafia and more special roles join in.
Is Mafia the same as Werewolf?
Yes. Mafia and Werewolf are the same social deduction game with different themes: villagers and werewolves, or townspeople and the Mafia. The rules are the same idea: a hidden minority kills at night and the majority votes by day.
Is this like Town of Salem?
Very much. Town of Salem took classic Mafia and added many roles, last wills and trials. Mafia: The Game uses many of the same ideas, but you play it in person or on a call with your friends, one phone each.
Do I need a narrator or a moderator?
No. The game runs the night, counts the votes and reads the story out loud for you, either on the host's phone or on a shared TV or laptop.
Can we play online over a video call?
Yes. Share the room code and everyone joins from their own device, wherever they are. Talk on any video or voice call while you play.
What is a last will?
A note you can write and update during the game. When you die, it's read out to the town. Use it to leave your investigation results or your suspicions. Some Mafia roles can clean or forge it, so read wills with care.
What are the game modes?
Classic picks a balanced set of roles for your group size. Competitive adds more Mafia support roles and shuffles the neutrals. Custom lets the host build the exact roster. Test lets the host assign each role, which is handy for learning a new one.
Ready?
Grab four or more friends, open mafiagame.io, and trust no one. You can also watch MAFIA: The Town of Liars, our animated series about a town playing this exact game.
Start a game