Impractical Joke only stops damage from being prevented by effects that specifically use the word "prevent."

Artwork
Loading artwork…
Impractical Joke
Secrets of Strixhaven · #119 · EN
Nonfoil—Foil—
Card rules
Damage can't be prevented this turn. Impractical Joke deals 3 damage to up to one target creature or planeswalker.
Strixhaven students have a sense of humor. The spirits of the Blood Age do not.
Uncommon · Illustrated by Caroline Gariba
Format legality
Alchemy Legal
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Future Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pioneer Legal
Standard Legal
Standard Brawl Legal
Timeless Legal
Tlr Legal
Vintage Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
You don't have to choose a target for Impractical Joke. However, if you do and the target is illegal as Impractical Joke tries to resolve, it won't resolve and none of its effects will happen. Damage can still be prevented this turn.
Protection prevents damage, so protection abilities will be unable to prevent damage during a turn in which Impractical Joke has resolved. However, this won't allow spells or abilities to target permanents they wouldn't ordinarily be able to target because of protection, even if that spell or ability would deal damage to those permanents.