Hogwarts Legacy

Protego and Stupefy: How to Block and Counter in Hogwarts Legacy

Learn how to cast Protego, hold for Stupefy, read yellow and red indicators, and turn every enemy attack into a stun and counter in Hogwarts Legacy.

SoulSurferBy SoulSurfer 4 min read

A snarling armored goblin in a dark cave in Hogwarts Legacy

If you spend most fights dodge rolling in a panic, you’re playing Hogwarts Legacy on hard mode without realizing it. Two spells flip combat in your favor: Protego to block and Stupefy to counter. (Don’t worry, they’re simpler than they sound.)

Here’s how to cast them on every platform, how to read the attack warnings, how to land a perfect Protego, and which talents make the combo even better.

Protego and Stupefy Basics

Protego is the Shield Charm and Stupefy is the Stunning Spell. Together they’re Hogwarts Legacy’s block and counter system.

  • What Protego Does: Throws up a shield that blocks incoming blockable attacks.
  • What Stupefy Does: A counter you cast out of a successful Protego. It stuns the enemy you are targeting (not always the one who attacked you) and opens a window for your combo.
  • Fixed Button: Neither spell goes on your spell sets. They live on their own button, which is exactly why so many players forget about them.
  • Always Available: The game teaches both in its opening hours, so you have them from the start of your Hogwarts adventure.
A Hogwarts professor with glasses raising her wand to demonstrate a spell in Hogwarts Legacy
Protego and Stupefy are part of your combat basics from the opening hours.

Controls by Platform

It’s one button everywhere. Tap it for Protego, hold it after a block for Stupefy.

PlatformProtegoStupefy
PCQHold Q after a block
PlayStationTriangleHold Triangle after a block
XboxYHold Y after a block
Nintendo SwitchXHold X after a block
Protego and Stupefy buttons on each platform.

Oh, and Stupefy only works as a counter. You can’t fire it on its own; it needs a successful Protego first.

How to Block and Counter: Step by Step

  1. Watch your head. Right before an enemy attacks, a warning ring appears around your character’s head.
  2. Read the color. Yellow means the attack can be blocked, so get ready for Protego. Red means it can’t be blocked, so dodge roll.
  3. Cast Protego. Press the Protego button before the hit lands. The window for a regular block is fairly forgiving.
  4. Go for the perfect block. The ring contracts as the attack closes in. Cast as it tightens to its smallest point and you get a perfect Protego.
  5. Hold the button. Keep it held after the block. Your character fires Stupefy at your current target.
  6. Punish. The stunned enemy is open. Hit them with your combo before they recover.

(Pro tip: if you’re new to action combat, forget perfect timing at first. Just cast Protego early and hold it. Precision comes with repetition. Once blocking feels natural, start watching the ring and nudge your timing later each fight.)

Quick Reference: Warning Colors

WarningAttack TypeYour Best Response
Yellow ringBlockableProtego, hold for Stupefy
Red ringUnblockableDodge roll
What each attack warning means.

Your best bet against a red warning is always the dodge. Don’t count on Protego against those hits.

Talents That Upgrade Protego and Stupefy

Three talents boost this combo. Grab them as soon as your level allows; you’ll use these spells in almost every fight.

TalentLevelEffect
Protego Absorption5Successful Protego blocks fill your Ancient Magic meter, and perfect blocks fill it faster
Stupefy Mastery16Enemies hit by Stupefy stay stunned longer
Protego Mastery22A perfect Protego releases a damaging blast that breaks enemy shields
Protego and Stupefy talents.

Protego Absorption is the sneaky great one. Every block now also charges your Ancient Magic, so defending turns straight into your biggest attack. Don’t mix up the two big Protego upgrades: Protego Expertise unlocks at level 16 and makes a Perfect Protego send two projectiles back, while Protego Mastery unlocks at level 22.

A snarling armored goblin in a dark cave in Hogwarts Legacy
Goblin camps are a good place to practice your block timing.

Why This Combo Matters

  • Less Damage Taken: Blockable attacks simply stop hurting.
  • Free Openings: Stupefy stuns the attacker so you can combo safely.
  • Ancient Magic: With Protego Absorption, blocking builds toward your strongest move.
  • Shield Breaking: With Protego Mastery, perfect blocks crack enemy shields without swapping to the right colored spell.
  • Calmer Fights: You stop rolling constantly and start controlling the pace.

Pro Tips

  • Color First: Read the ring before you press anything. Blocking a red attack is the most common mistake.
  • Hold Longer Than You Think: If Stupefy never fires, you’re letting go too early or the block failed. Keep holding.
  • Practice on Easy Targets: Spiders and small goblin camps are great for learning the timing.
  • Crowds: Block the yellow attacks you can and roll away from the red ones. You don’t have to answer everything.
  • Plan the Follow-Up: Decide what you’ll cast during the stun before it lands.

Combat is a big reason the game holds up so well; our look at whether Hogwarts Legacy is worth playing in 2026 digs into that. Plenty of players are still dueling on PC, and the live Hogwarts Legacy player count shows how many right now. For more guides, visit our Hogwarts Legacy hub.

Protego and Stupefy FAQ

How do you cast Stupefy in Hogwarts Legacy?

Block an attack with Protego and keep holding the button. Stupefy fires back at the attacker. It can’t be cast on its own.

What button is Protego?

Q on PC, Triangle on PlayStation, Y on Xbox and X on Nintendo Switch.

What do the yellow and red circles mean?

Yellow attacks can be blocked with Protego. Red attacks can’t, so dodge roll instead.

How do you get a perfect Protego?

Cast Protego just as the warning ring around your head shrinks to its smallest point, right before the hit lands.

Your Next Step: Read the ring, tap Protego, hold for Stupefy, punish. Do that a few dozen times and you’ll be countering without thinking. Nailed it? Then you’re winning!

Share XRedditFacebook
SoulSurfer

SoulSurfer

Vincenzo Antoniani has spent more hours exploring hostile alien biomes than most people spend commuting to work. Whether he's diving for Managed Democracy in Helldivers 2, scavenging the dunes of Arrakis in Dune: Awakening, or getting chased by something with too many teeth in Subnautica 2, Vincenzo brings a survivor's eye for detail to everything he writes. He's also a longtime World of Warcraft raider who somehow still finds time to explore every new planet, ocean, and desert gaming throws at him. When he's not narrowly escaping death in a procedurally generated nightmare, Vincenzo is digging through patch notes, testing builds, and figuring out the fastest way to not die so you don't have to learn the hard way. Expect guides that are equal parts practical and slightly haunted by whatever killed him last.