You must follow all normal timing rules when casting a spell with mayhem. For example, you can't cast a creature card with mayhem you couldn't normally cast during an opponent's turn, even if you discard that card during an opponent's turn.

Artwork
Loading artwork…
Ultimate Green Goblin
Marvel's Spider-Man · #157 · EN
Nonfoil—Foil—
Card rules
At the beginning of your upkeep, discard a card, then create a Treasure token.
Mayhem 2
(You may cast this card from your graveyard for 2
if you discarded it this turn. Timing rules still apply.)
5/4
Osborn's lust for power was nothing short of monstrous.
Rare · Illustrated by Jesper Ejsing
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
Penny 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
PreDH Not Legal
Premodern Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Mayhem represents an alternative cost that can be paid to cast a spell from your graveyard if you discarded the card with mayhem that turn. You must pay any additional costs the spell has.