Cipher MTG: How It Works, All 15 Cards, Where to Encode, and a $53 Yuriko Deck (2026)
Cipher turns a sorcery into a repeating effect. When the spell resolves you may exile it “encoded” on a creature you control, and every time that creature deals combat damage to a player you cast a free copy. There are 15 cipher cards, 11 from Gatecrash in 2013, 2 from Dragon’s Maze and two from later Commander decks (Writ of Return in 2022, Arcane Heist in 2024). All 15 are sorceries, and all are blue, black or both.
This guide covers the rules with rule numbers, all 15 cards with prices and play counts, the best creatures to carry them, legality, the best commanders, and a $53 Yuriko, the Tiger’s Shadow deck. We also played that deck 20,000 times for each of five ways to use cipher, to settle two questions players argue about: should you put all your cipher cards on one creature, and what happens when ninjutsu wants your carrier?
Short answer: encode on a creature that can’t be blocked; each encoded card was cast about 3 times on average by turn 10. Cipher matters most when the board is clogged: against blockers, encoding won 11 percentage points more games by turn 10 than casting the same cards once. Whether you stack the cards on one creature or spread them made under two and a half points of difference in every game we ran, removal included. And in a Ninja deck, don’t protect a carrier from your own ninjutsu: returning it anyway won 2 to 4 points more games.

How cipher works
Rule 702.99a (6 November 2026 rules) says cipher is two abilities. The first works while the spell is on the stack: “If this spell is represented by a card, you may exile this card encoded on a creature you control”. The second works while the card is in exile: “For as long as this card is encoded on that creature, that creature has ‘Whenever this creature deals combat damage to a player, you may copy the encoded card and you may cast the copy without paying its mana cost.’”
So the card goes straight from the stack to exile and never reaches the graveyard. The creature gets a triggered ability for as long as the card stays there. Rule 702.99c adds: “The card remains encoded on that object even if it changes controller or stops being a creature, as long as it remains on the battlefield.”
Leaving the battlefield ends it
Rule 400.7: “An object that moves from one zone to another becomes a new object with no memory of, or relation to, its previous existence.” If the creature is bounced, blinked, killed or returned to your hand, the card stays in exile but is encoded on nothing, and the creature that comes back is a new object. There is no way to move a cipher card to another creature.
| Question | Answer |
|---|---|
| Is the creature targeted? | No. You choose it as the spell resolves, so hexproof and shroud creatures can carry cipher cards. |
| When do I choose the creature? | As the spell finishes resolving, after its other effects. Whispering Madness draws you cards first. |
| Can I encode on a Vehicle or a manland? | Only if it is already a creature when the spell starts resolving. |
| The spell is countered | Nothing happens, cipher included. The card goes to the graveyard. |
| When do I cast the copy? | While the combat damage trigger resolves, so a sorcery is cast in the combat damage step. Timing rules for its type are ignored. |
| Can I cast the copy later? | No. If you don’t cast it then, or it has no legal targets, it is gone. |
| Can the copy be encoded too? | No. Cipher only encodes a spell “represented by a card”, and a copy isn’t one. The original card stays on the creature. |
| The creature leaves the battlefield | The card stays in exile, encoded on nothing. A blink, a bounce or a ninjutsu return ends it too. |
| The creature loses its abilities (Turn to Frog) | No trigger that turn, but the card stays encoded and works again next time. |
| An opponent steals the creature | The card stays encoded and the new controller casts the copies. |
| Damage to two players at once | One trigger, so one copy, for each player dealt damage. |
| Double strike | Two combat damage steps, so two copies. |
| Strionic Resonator | Copies the trigger, so you get a second copy of the spell. |
Cipher and ninjutsu
Most cipher decks are Ninja decks, because both want a creature that connects. They also pull against each other. Ninjutsu’s cost includes “Return an unblocked attacking creature you control to its owner’s hand” (rule 702.49a), and the best creature to return is a cheap unblockable one: the same creature you want to encode on. Return a carrier and every card on it is lost.
The usual advice is never to return a carrier. We tested that below, and in a Yuriko deck the advice was wrong.

Where to encode: we tested five plans
We played the Yuriko deck from the end of this guide against one opponent at 40 life, 20,000 games per row, ten turns, on the play. Ninjas come in by ninjutsu when there is an unblocked attacker to return, and Yuriko comes in first from the command zone. The plans:
- Cast once: the cipher spells are cast for their effect and go to the graveyard.
- Stack: every cipher card goes on one carrier, the best creature that can’t be blocked (Invisible Stalker first, since hexproof also stops removal).
- Spread: each card goes on the unblockable creature carrying the fewest.
- Biggest creature: encode on the creature with the most power, blockable or not.
- Careless: stack, but ninjutsu returns the weakest unblocked attacker even if it carries cipher cards.
| Game | Plan | Kill by turn 8 | By turn 10 | Copies cast | Cards lost |
|---|---|---|---|---|---|
| Nothing in the way | Cast once, never encode | 45.8% | 84.4% | 0 | 0 |
| Nothing in the way | Stack on one carrier | 46.2% | 84.5% | 8.51 | 0 |
| Nothing in the way | Spread over carriers | 44.7% | 83.8% | 8.4 | 0 |
| Nothing in the way | Encode on the biggest creature | 46.8% | 84.7% | 8.41 | 0 |
| Nothing in the way | Stack, ninjutsu may return it | 51.2% | 87.6% | 6.79 | 0.35 |
| Ground blockers from turn 3 | Cast once, never encode | 9.9% | 45.2% | 0 | 0 |
| Ground blockers from turn 3 | Stack on one carrier | 14.1% | 56.6% | 9.34 | 0 |
| Ground blockers from turn 3 | Spread over carriers | 13.4% | 54.4% | 9.18 | 0 |
| Ground blockers from turn 3 | Encode on the biggest creature | 13.2% | 52.9% | 7.23 | 0 |
| Ground blockers from turn 3 | Stack, ninjutsu may return it | 15% | 58.6% | 7.7 | 0.37 |
| Removal 35% each turn | Cast once, never encode | 28.4% | 64.7% | 0 | 0 |
| Removal 35% each turn | Stack on one carrier | 32% | 68% | 6.52 | 1.06 |
| Removal 35% each turn | Spread over carriers | 30.7% | 67.5% | 6.6 | 0.96 |
| Removal 35% each turn | Encode on the biggest creature | 31.5% | 68.5% | 6.39 | 1.2 |
| Removal 35% each turn | Stack, ninjutsu may return it | 34.7% | 71.6% | 5.43 | 1.25 |
| Board wipe, end of turn 6 | Cast once, never encode | 6.8% | 33.1% | 0 | 0 |
| Board wipe, end of turn 6 | Stack on one carrier | 7.4% | 37% | 5.56 | 1.27 |
| Board wipe, end of turn 6 | Spread over carriers | 7.7% | 35.8% | 5.35 | 1.26 |
| Board wipe, end of turn 6 | Encode on the biggest creature | 7.9% | 37.7% | 5.65 | 1.28 |
| Board wipe, end of turn 6 | Stack, ninjutsu may return it | 8.6% | 41.2% | 4.71 | 1.49 |
Encoding pays when the board is clogged. With nothing in the way, encoding and casting once killed equally often by turn 10 (84.4% and 84.5%), though encoding drew 1.8 more cards a game. Against blockers the gap was 11.4 points (45.2% against 56.6%), because an unblockable 1/1 with Shadow Slice and Hidden Strings on it keeps hitting while the rest of the team is walled.
Evasion matters more than power. Encoding on the biggest creature cast 7.23 copies a game against blockers, against 9.34 on an unblockable carrier, and won fewer games.
Stacking against spreading was a draw. The gap was under two and a half points in every game. Spreading should be safer against removal, but the removal finds a carrier either way, and stacking puts more copies on the creature most likely to connect.
The ninjutsu result. Letting ninjutsu return a carrier lost cards (about 0.25 carriers a game) and cast fewer copies, yet won 3.1, 2.0, 3.6 and 4.2 points more games by turn 10. A Ninja hitting with Yuriko out reveals a card and drains for its mana value every time, and that beat one more Last Thoughts. So in Yuriko, take the ninjutsu. In a deck without Ninjas, protect the carrier.
How much removal is too much?
The removal game at three rates. Each turn from turn 4, the opponent kills our most valuable creature it can target with the chance shown (hexproof, shroud and equipped creatures are skipped).
| Removal each turn | Stack, by turn 10 | Spread, by turn 10 | Stack, cards lost | Spread, cards lost |
|---|---|---|---|---|
| 15% | 78% | 77.3% | 0.57 | 0.48 |
| 35% | 68.4% | 67.6% | 1.06 | 0.96 |
| 60% | 54% | 54% | 1.4 | 1.35 |
At every rate the two plans finished within a point of each other. The real defence is the carrier itself: Invisible Stalker (hexproof), Whispersilk Cloak (shroud) and Swiftfoot Boots. What the model leaves out: colours, opposing attacks and flyers, a third and fourth player, counterspells (held), Satoru’s granted ninjutsu, and some card effects (Voidwalk and Paranoid Delusions are cast with no effect counted; Arcane Heist counts as one card).

All 15 cipher cards
Sorted by how many decks play them on EDHREC. Prices are the cheapest ordinary printing on Scryfall on 26 November 2026; 13 of the 15 cost under a dollar. By colour: 7 blue, 5 black and 3 blue-black. 6 rares, 3 uncommons, 6 commons.
| Card | Cost | Effect, copied on every hit | Set | EDHREC decks | Price |
|---|---|---|---|---|---|
| Whispering Madness | {2}{U}{B} | Every player discards their hand, then draws as many as the most anyone discarded | GTC | 53,168 | $2.30 |
| Hidden Strings | {1}{U} | Tap or untap two permanents; untapping two lands gives you two mana | DGM | 41,984 | $0.38 |
| Stolen Identity | {4}{U}{U} | Token copy of target artifact or creature | GTC | 33,935 | $0.35 |
| Arcane Heist | {2}{U}{U} | Cast an instant or sorcery from an opponent’s graveyard for free | OTC | 31,830 | $3.03 |
| Writ of Return | {3}{B}{B} | Return a creature card from your graveyard to the battlefield tapped | NCC | 9,788 | $0.37 |
| Trait Doctoring | {U} | Change a colour word or basic land type on a permanent until end of turn | DGM | 7,256 | $0.31 |
| Voidwalk | {3}{U} | Exile a creature, it returns at the next end step | GTC | 6,672 | $0.19 |
| Hands of Binding | {1}{U} | Tap an opponent’s creature; it doesn’t untap next turn | GTC | 4,942 | $0.14 |
| Paranoid Delusions | {U}{B} | Target player mills three | GTC | 4,249 | $0.18 |
| Last Thoughts | {3}{U} | Draw a card | GTC | 3,709 | $0.15 |
| Call of the Nightwing | {2}{U}{B} | 1/1 flying Horror token, which can carry cipher itself | GTC | 3,657 | $0.18 |
| Midnight Recovery | {3}{B} | Return a creature card from your graveyard to hand | GTC | 2,638 | $0.16 |
| Undercity Plague | {4}{B}{B} | Target player loses 1 life, discards a card and sacrifices a permanent | GTC | 2,014 | $0.22 |
| Shadow Slice | {4}{B} | Target opponent loses 3 life | GTC | 1,383 | $0.04 |
| Mental Vapors | {3}{B} | Target player discards a card | GTC | 1,237 | $0.12 |
Whispering Madness leads with 53,168 decks, and in the right deck it is a lock: every hit refills your hand and empties theirs before they can use it. Hidden Strings and Stolen Identity are next. Hidden Strings untapping two lands means each copy is free mana for your second main phase; Stolen Identity copies your best creature, or theirs, every turn. Shadow Slice is the plain clock, 3 life a hit. The ones to skip in Commander are Trait Doctoring and Mental Vapors, which do very little against three opponents.
There are no cipher creatures or commanders, and no new cipher card has been printed since Arcane Heist in April 2024.

Best creatures to encode on
A cipher card is only as good as the creature under it. You want a creature that connects every turn, ideally one that removal can’t target. These are all in the deck below. For more on getting through, see our guides to skulk, shadow and hexproof, shroud and ward.
| Creature or equipment | Cost | Why | Price |
|---|---|---|---|
| Invisible Stalker | {1}{U} | Hexproof and unblockable: the carrier removal can’t reach | $0.64 |
| Changeling Outcast | {B} | Unblockable and a Ninja, so it also triggers Yuriko | $1.02 |
| Tetsuko Umezawa, Fugitive | {1}{U} | Every creature with power or toughness 1 or less becomes unblockable | $0.09 |
| Dimir Infiltrator | {U}{B} | Unblockable, and can transmute for any card with mana value 2 | $0.32 |
| Latch Seeker | {1}{U}{U} | Unblockable with 3 power | $0.13 |
| Slither Blade | {U} | Unblockable for one mana | $0.38 |
| Baleful Strix | {U}{B} | Flying and deathtouch; draws a card | $4.46 |
| Spectral Sailor | {U} | Flash flyer for one mana | $0.10 |
| Whispersilk Cloak | {3} | Unblockable and shroud on any creature | $2.05 |
| Swiftfoot Boots | {2} | Hexproof and haste, so a fresh carrier attacks the turn it arrives | $1.71 |
A note on power: the carrier’s damage hardly matters, since the copies do the work. A 1/1 unblockable creature with three cipher cards on it is one of the scariest creatures on a board.
Best commanders for cipher
No legendary creature has cipher, so pick one that connects. For lists to start from, see a public Yuriko deck, a Tetsuko deck and a Satoru deck from our community, or read the ninjutsu guide.
| Commander | Colours | EDHREC decks | Why |
|---|---|---|---|
| Yuriko, the Tiger’s Shadow | U B | 31,759 | Commander ninjutsu; each Ninja hit reveals a card and drains for its mana value. The deck below. |
| Satoru Umezawa | U B | 14,690 | Gives every creature in your hand ninjutsu; the other Ninja commander. |
| Tetsuko Umezawa, Fugitive | U | 2,096 | Makes small creatures unblockable. Its EDHREC page plays five cipher cards, the most of the commanders we checked. |
| Lazav, Dimir Mastermind | U B | 3,122 | Hexproof, so a safe carrier from the command zone. Plays four cipher cards on EDHREC. |
| Gonti, Canny Acquisitor | B G U | 11,371 | Arcane Heist is on its EDHREC page; casting opponents’ spells is the deck. |
| Raffine, Scheming Seer | W U B | 10,566 | Plays Writ of Return; attacking every turn suits cipher. |
One legality note: Yuriko is legal as a commander in Commander, but banned as a commander in Duel Commander and Competitive Brawl (it can still be in the 99 there). Our banned list has the details.
Cipher legality
From Scryfall on 26 November 2026. No cipher card is banned or restricted in any format.
| Format | Cipher cards legal | Notes |
|---|---|---|
| Standard | 0 | None |
| Pioneer | 13 | All but Arcane Heist, Writ of Return |
| Modern | 13 | All but Arcane Heist, Writ of Return |
| Pauper | 6 | Hands of Binding, Hidden Strings, Last Thoughts, Midnight Recovery, Paranoid Delusions, Shadow Slice |
| Historic (Arena) | 1 | Hidden Strings |
| Legacy / Vintage | 15 | All of them |
| Commander | 15 | All of them |
Writ of Return and Arcane Heist were printed only in Commander decks, which is why they miss Pioneer and Modern.

Budget Yuriko cipher deck ($53)
The list the tests above played. It is 100 cards, all Commander legal, inside Yuriko’s blue-black colour identity, with no Game Changers. Cheapest printings come to $52.74 on Scryfall on 26 November 2026 (basics not counted).
| Role | Count | Cards |
|---|---|---|
| Cipher | 13 | Whispering Madness, Hidden Strings, Stolen Identity, Arcane Heist, Writ of Return, Voidwalk, Hands of Binding, Paranoid Delusions, Last Thoughts, Call of the Nightwing, Midnight Recovery, Shadow Slice, Undercity Plague |
| Ninjas | 15 | Ninja of the Deep Hours, Ingenious Infiltrator, Silver-Fur Master, Moon-Circuit Hacker, Thousand-Faced Shadow, Mistblade Shinobi, Dokuchi Silencer, Prosperous Thief, Skullsnatcher, Moonblade Shinobi, Throat Slitter, Okiba-Gang Shinobi, Walker of Secret Ways, Satoru Umezawa, Biting-Palm Ninja |
| Carriers (evasive creatures) | 13 | Changeling Outcast, Invisible Stalker, Tetsuko Umezawa, Fugitive, Latch Seeker, Dimir Infiltrator, Mist-Cloaked Herald, Slither Blade, Triton Shorestalker, Faerie Seer, Spectral Sailor, Siren Stormtamer, Baleful Strix, Gudul Lurker |
| Card advantage | 9 | Brainstorm, Ponder, Preordain, Opt, Thought Scour, Night’s Whisper, Fact or Fiction, Mulldrifter, Augur of Bolas |
| Removal and counters | 7 | Go for the Throat, Infernal Grasp, Feed the Swarm, Rapid Hybridization, Reality Shift, Counterspell, Arcane Denial |
| Equipment | 3 | Swiftfoot Boots, Whispersilk Cloak, Lightning Greaves |
| Ramp | 6 | Sol Ring, Arcane Signet, Dimir Signet, Talisman of Dominance, Mind Stone, Fellwar Stone |
| Lands | 33 | Rogue’s Passage, Path of Ancestry, 11 other nonbasics, 10 Island, 10 Swamp |
Budget Yuriko Cipher
100 cards — one click loads the full list into a TCGplayer cart so you can check real prices and grab the whole deck at once.
Buy this deck on TCGplayerAffiliate link — buying through it supports KrakenTheMeta at no extra cost to you.How it plays: cheap unblockable creatures on turns 1 and 2, then Yuriko by commander ninjutsu, returning one of them, on turn 2 or 3. From there, each Ninja hit reveals a card and drains for its mana value, and the cipher cards go on whichever unblockable creature has the best protection. With Whispering Madness on a carrier, opponents never keep a hand for long. Check the list in the deck analyzer, look up any card on the card finder, or browse community decks.
Upgrades
| Card | Price | Replaces | Why |
|---|---|---|---|
| Sakashima’s Student | $20.05 | Moonblade Shinobi | Copies your best creature as a Ninja, ninjutsu {1}{U} |
| Higure, the Still Wind | $15.28 | Okiba-Gang Shinobi | Tutors a Ninja on each hit; {2} makes a Ninja unblockable |
| Ink-Eyes, Servant of Oni | $11.23 | Skullsnatcher | Reanimates a creature from their graveyard on each hit |
| Fallen Shinobi | $6.52 | Walker of Secret Ways | Plays the top two cards of their library on each hit |
| Strionic Resonator | $7.40 | Fellwar Stone | Copies the cipher trigger: two free spells from one hit |
| Snapcaster Mage | $15.87 | Opt | Recasts a cipher card from the graveyard |
How to beat cipher
Kill the carrier. The cipher cards stay in exile, encoded on nothing, and can’t come back. Bounce and exile work just as well. If the carrier has hexproof, a board wipe or an edict (a sacrifice effect) gets around it, and flying or reach blockers stop the evasive flyers. Making the creature lose its abilities for a turn (Turn to Frog) stops that turn’s copies without ending the encoding. Countering the cipher spell itself is the cleanest answer, because a countered cipher card goes to the graveyard and is never encoded.
Cipher vs rebound, flashback and splice
Several mechanics let you cast a spell more than once. Cipher is the only one with no limit, as long as the creature keeps connecting.
| Mechanic | Extra casts | Cost of each | Needs |
|---|---|---|---|
| Cipher | One per combat damage hit, forever | Free | A creature that connects |
| Rebound | One, next upkeep | Free | Cast from hand |
| Flashback | One, from the graveyard | The flashback cost | The card in the graveyard |
| Splice onto Arcane | One per Arcane spell | The splice cost | Arcane spells to splice onto |

Cipher FAQ
What does cipher do in MTG?
When a cipher spell resolves, you may exile it encoded on a creature you control. Each time that creature deals combat damage to a player, you may cast a copy of the spell for free (CR 702.99).
Does cipher target the creature?
No. You choose the creature as the spell resolves, so creatures with hexproof or shroud are fine.
What happens to the cipher card if the creature dies?
It stays in exile but is no longer encoded on anything. It doesn’t come back.
Can I encode a copy of a cipher spell?
No. Only a spell represented by a card can be encoded, so copies just resolve.
Can I cast the copy at instant speed?
You cast it while the combat damage trigger resolves, ignoring sorcery timing. You can’t save it for later.
Can I encode more than one card on a creature?
Yes, and each one triggers separately on every hit.
Does ninjutsu keep the cipher card?
No. Returning the creature to your hand ends the encoding, and the Ninja that comes in gets nothing.
How many cipher cards are there?
15, all sorceries: 11 from Gatecrash, 2 from Dragon’s Maze, Writ of Return and Arcane Heist.
Is cipher legal in Standard?
No. 13 cipher cards are legal in Pioneer and Modern, 6 in Pauper and all 15 in Commander.
See also our guides to commander damage and combat damage keywords. Data: Scryfall (card text, rulings, legality, prices, 26 November 2026), EDHREC (deck counts), Comprehensive Rules effective 6 November 2026. Simulations: 20,000 games per plan, per game type and per removal rate.
Build your next deck with AI
KrakenTheMeta’s AI deck builder researches the current meta and writes you a complete, format-legal decklist in about a minute — free to try.
Build a Deck with AIor browse community decks