Three Magic cipher cards side by side on a dark blurred background: Hidden Strings, Whispering Madness and Stolen Identity

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.

A pale man in a dark cloak tracing a map with a quill while a glowing green skeletal creature hovers over his shoulder
Whispering Madness. Art by Clint Cearley. Card image via Scryfall; © Wizards of the Coast.

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.

QuestionAnswer
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 counteredNothing 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 battlefieldThe 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 creatureThe card stays encoded and the new controller casts the copies.
Damage to two players at onceOne trigger, so one copy, for each player dealt damage.
Double strikeTwo combat damage steps, so two copies.
Strionic ResonatorCopies 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.

An armoured dark lord with a crackling purple crown walking through a stone hall while a pale figure whispers behind him
Hidden Strings. Art by Daarken. Card image via Scryfall; © Wizards of the Coast.

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.
GamePlanKill by turn 8By turn 10Copies castCards lost
Nothing in the wayCast once, never encode45.8%84.4%00
Nothing in the wayStack on one carrier46.2%84.5%8.510
Nothing in the waySpread over carriers44.7%83.8%8.40
Nothing in the wayEncode on the biggest creature46.8%84.7%8.410
Nothing in the wayStack, ninjutsu may return it51.2%87.6%6.790.35
Ground blockers from turn 3Cast once, never encode9.9%45.2%00
Ground blockers from turn 3Stack on one carrier14.1%56.6%9.340
Ground blockers from turn 3Spread over carriers13.4%54.4%9.180
Ground blockers from turn 3Encode on the biggest creature13.2%52.9%7.230
Ground blockers from turn 3Stack, ninjutsu may return it15%58.6%7.70.37
Removal 35% each turnCast once, never encode28.4%64.7%00
Removal 35% each turnStack on one carrier32%68%6.521.06
Removal 35% each turnSpread over carriers30.7%67.5%6.60.96
Removal 35% each turnEncode on the biggest creature31.5%68.5%6.391.2
Removal 35% each turnStack, ninjutsu may return it34.7%71.6%5.431.25
Board wipe, end of turn 6Cast once, never encode6.8%33.1%00
Board wipe, end of turn 6Stack on one carrier7.4%37%5.561.27
Board wipe, end of turn 6Spread over carriers7.7%35.8%5.351.26
Board wipe, end of turn 6Encode on the biggest creature7.9%37.7%5.651.28
Board wipe, end of turn 6Stack, ninjutsu may return it8.6%41.2%4.711.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 turnStack, by turn 10Spread, by turn 10Stack, cards lostSpread, cards lost
15%78%77.3%0.570.48
35%68.4%67.6%1.060.96
60%54%54%1.41.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).

A masked assassin in spiked black armour crouching on a cracked stone floor surrounded by blue frost
Stolen Identity. Art by Clint Cearley. Card image via Scryfall; © Wizards of the Coast.

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.

CardCostEffect, copied on every hitSetEDHREC decksPrice
Whispering Madness{2}{U}{B}Every player discards their hand, then draws as many as the most anyone discardedGTC53,168$2.30
Hidden Strings{1}{U}Tap or untap two permanents; untapping two lands gives you two manaDGM41,984$0.38
Stolen Identity{4}{U}{U}Token copy of target artifact or creatureGTC33,935$0.35
Arcane Heist{2}{U}{U}Cast an instant or sorcery from an opponent’s graveyard for freeOTC31,830$3.03
Writ of Return{3}{B}{B}Return a creature card from your graveyard to the battlefield tappedNCC9,788$0.37
Trait Doctoring{U}Change a colour word or basic land type on a permanent until end of turnDGM7,256$0.31
Voidwalk{3}{U}Exile a creature, it returns at the next end stepGTC6,672$0.19
Hands of Binding{1}{U}Tap an opponent’s creature; it doesn’t untap next turnGTC4,942$0.14
Paranoid Delusions{U}{B}Target player mills threeGTC4,249$0.18
Last Thoughts{3}{U}Draw a cardGTC3,709$0.15
Call of the Nightwing{2}{U}{B}1/1 flying Horror token, which can carry cipher itselfGTC3,657$0.18
Midnight Recovery{3}{B}Return a creature card from your graveyard to handGTC2,638$0.16
Undercity Plague{4}{B}{B}Target player loses 1 life, discards a card and sacrifices a permanentGTC2,014$0.22
Shadow Slice{4}{B}Target opponent loses 3 lifeGTC1,383$0.04
Mental Vapors{3}{B}Target player discards a cardGTC1,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.

A grinning thief in a purple hat and coat leaping from a window with an armful of glowing scrolls
Arcane Heist. Art by Anna Pavleeva. Card image via Scryfall; © Wizards of the Coast.

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 equipmentCostWhyPrice
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.

CommanderColoursEDHREC decksWhy
Yuriko, the Tiger’s ShadowU B31,759Commander ninjutsu; each Ninja hit reveals a card and drains for its mana value. The deck below.
Satoru UmezawaU B14,690Gives every creature in your hand ninjutsu; the other Ninja commander.
Tetsuko Umezawa, FugitiveU2,096Makes small creatures unblockable. Its EDHREC page plays five cipher cards, the most of the commanders we checked.
Lazav, Dimir MastermindU B3,122Hexproof, so a safe carrier from the command zone. Plays four cipher cards on EDHREC.
Gonti, Canny AcquisitorB G U11,371Arcane Heist is on its EDHREC page; casting opponents’ spells is the deck.
Raffine, Scheming SeerW U B10,566Plays 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.

FormatCipher cards legalNotes
Standard0None
Pioneer13All but Arcane Heist, Writ of Return
Modern13All but Arcane Heist, Writ of Return
Pauper6Hands of Binding, Hidden Strings, Last Thoughts, Midnight Recovery, Paranoid Delusions, Shadow Slice
Historic (Arena)1Hidden Strings
Legacy / Vintage15All of them
Commander15All of them

Writ of Return and Arcane Heist were printed only in Commander decks, which is why they miss Pioneer and Modern.

A woman in a fur-trimmed coat holding a glowing blue orb with a skeleton inside it, lit by golden light
Writ of Return. Art by Kai Carpenter. Card image via Scryfall; © Wizards of the Coast.

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).

RoleCountCards
Cipher13Whispering 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
Ninjas15Ninja 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)13Changeling 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 advantage9Brainstorm, Ponder, Preordain, Opt, Thought Scour, Night’s Whisper, Fact or Fiction, Mulldrifter, Augur of Bolas
Removal and counters7Go for the Throat, Infernal Grasp, Feed the Swarm, Rapid Hybridization, Reality Shift, Counterspell, Arcane Denial
Equipment3Swiftfoot Boots, Whispersilk Cloak, Lightning Greaves
Ramp6Sol Ring, Arcane Signet, Dimir Signet, Talisman of Dominance, Mind Stone, Fellwar Stone
Lands33Rogue’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

CardPriceReplacesWhy
Sakashima’s Student$20.05Moonblade ShinobiCopies your best creature as a Ninja, ninjutsu {1}{U}
Higure, the Still Wind$15.28Okiba-Gang ShinobiTutors a Ninja on each hit; {2} makes a Ninja unblockable
Ink-Eyes, Servant of Oni$11.23SkullsnatcherReanimates a creature from their graveyard on each hit
Fallen Shinobi$6.52Walker of Secret WaysPlays the top two cards of their library on each hit
Strionic Resonator$7.40Fellwar StoneCopies the cipher trigger: two free spells from one hit
Snapcaster Mage$15.87OptRecasts 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.

MechanicExtra castsCost of eachNeeds
CipherOne per combat damage hit, foreverFreeA creature that connects
ReboundOne, next upkeepFreeCast from hand
FlashbackOne, from the graveyardThe flashback costThe card in the graveyard
Splice onto ArcaneOne per Arcane spellThe splice costArcane spells to splice onto
A winged spider-like Horror with a skull face hanging in a dark sky under a full moon
Call of the Nightwing. Art by Adam Paquette. Card image via Scryfall; © Wizards of the Coast.

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

Similar Posts