If both targets are illegal when Grave Exchange tries to resolve, it won’t resolve and none of its effects will happen. If only one target is legal, the effect relevant to that target will happen and the other will not.

Artwork
Loading artwork…
Grave Exchange
Avacyn Restored · #105 · EN
Nonfoil—Foil—
Card rules
Return target creature card from your graveyard to your hand. Target player sacrifices a creature of their choice.
"It's a cold, dark journey either way." —Eruth of Lambholt
Common · Illustrated by Sam Wolfe Connelly
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Penny Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Old School Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Grave Exchange targets both a creature card in your graveyard and a player. You can’t cast it unless there is a legal target to choose for both. You can target a player who controls no creatures.