Advertisement
Hogwarts Legacy

Cheats & codes

Hogwarts Legacy Cheat Codes

Grouped by type and platform, each one labelled reported working or tested.

There are 20 cheat codes for Hogwarts Legacy across PC (Microsoft Windows). Each code below lists the exact button combination or console command, what it does, and whether using it disables achievements.

Verified
Sponsored

Console commands

10

Debug Camera Console Command

Detaches the camera from the player for free camera flight around the area

Install the UE4SS mod, press the tilde key to open the console, type toggledebugcamera and press Enter, then type it again to return to the player camera

PC Reported working
Did this work for you?

Requires the UE4SS mod on PC to open the console. Save first, as the debug camera can leave the player stuck off map. Console use can disable achievements, so back up saves first

Fly Console Command

Lets the player character fly and walk on air at the same height, with collisions still on

Install the UE4SS mod, press the tilde key to open the console, type fly and press Enter

PC Reported working
Did this work for you?

Requires the UE4SS mod on PC to open the console. While flying, normal actions like attacking are blocked. Console use can disable achievements, so back up saves first

Freeze AI Console Command

Freezes AI in place. In Hogwarts Legacy the player character also freezes in current engine builds

Install the UE4SS mod, press the tilde key to open the console, type playersonly and press Enter, then type it again to unfreeze

PC Reported working
Did this work for you?

Requires the UE4SS mod on PC to open the console. Do not use it mid combat, as the player also freezes. Console use can disable achievements, so back up saves first

Ghost Console Command

Lets the player character fly through solid objects with collisions off

Install the UE4SS mod, press the tilde key to open the console, type ghost and press Enter

PC Reported working
Did this work for you?

Requires the UE4SS mod on PC to open the console. While in ghost mode, normal actions like attacking are blocked. Console use can disable achievements, so back up saves first

God Mode Console Command

Sets the standard Unreal god flag on the player character

Install the UE4SS mod, press the tilde key to open the console, type god and press Enter

PC Reported working
Did this work for you?

Requires the UE4SS mod on PC to open the console. FearLess notes god alone has no effect in Hogwarts Legacy because the game does not check the flag. Console use can disable achievements, so back up saves first

Normal Game Speed Console Command

Restores game speed to normal speed

Install the UE4SS mod, press the tilde key to open the console, type slomo 1 and press Enter

PC Reported working
Did this work for you?

Requires the UE4SS mod on PC to open the console. Console use can disable achievements, so back up saves first

Slow Motion Console Command

Slows game speed to half speed

Install the UE4SS mod, press the tilde key to open the console, type slomo 0.5 and press Enter

PC Reported working
Did this work for you?

Requires the UE4SS mod on PC to open the console. Console use can disable achievements, so back up saves first

Summon Moonstone Console Command

Spawns a Moonstone rock actor in front of the player

Install the UE4SS mod, press the tilde key to open the console, type summon BP_Moonstone_M_C and press Enter

PC Reported working
Did this work for you?

The actor must already be loaded in the current map. Requires the UE4SS mod on PC to open the console. Console use can disable achievements, so back up saves first

Teleport Console Command

Teleports the player character to the spot the mouse pointer is aimed at

Aim the mouse pointer at a spot, press the tilde key to open the console, type teleport and press Enter

PC Reported working
Did this work for you?

Requires the UE4SS mod on PC to open the console. Run fly first if the target is high up, so the player does not fall after teleporting. Console use can disable achievements, so back up saves first

Walk Console Command

Returns the player character to normal walking and turns collisions back on

Install the UE4SS mod, press the tilde key to open the console, type walk and press Enter

PC Reported working
Did this work for you?

Requires the UE4SS mod on PC to open the console. Console use can disable achievements, so back up saves first

Unlockables

10

Unlock Alohomora the Lockpicking Spell

Alohomora opens level 1 locked doors and chests through a lock turning minigame

Complete the main quest The Caretakers Lunar Lament with Gladwin Moon, then cast Alohomora at a locked door and turn both dials until they spin

PC Reported working
Did this work for you?

Higher level locks need Alohomora level 2 and level 3, earned by returning Demiguise Moons to Gladwin Moon

Unlock Avada Kedavra the Killing Curse

Avada Kedavra instantly defeats most enemies with a single cast

Reach level 28, complete Sebastian Sallow side quest In the Shadow of the Relic, choose Everyone should know about that curse, then choose Yes please

PC Reported working
Did this work for you?

Cannot be used on students or faculty members, and learning it is permanent

Unlock Broom Flight

Flying a broom lets you travel fast across the open world and reach high places

Complete the Flying Class main quest after Jackdaw Rest, then buy any broom at Spintwitches Sporting Needs in Hogsmeade for 600 Galleons

PC Reported working
Did this work for you?

Brooms cannot be used inside Hogwarts castle or in some restricted areas

Unlock Crucio the Torture Curse

Crucio damages and curses a target, and cursed enemies take extra damage from follow up attacks

Complete Sebastian Sallow side quest In the Shadow of the Study and choose the dialogue option to learn the curse, then finish the spell learning minigame

PC Reported working
Did this work for you?

Learning the curse is optional and permanent, it cannot be unlearned later

Unlock Graphorn the Lord of the Shore Mount

The Graphorn is a ground mount with a powerful charge attack that can damage enemies

Complete the San Bakar Trial main quest, fight the Lord of the Shore until prompted, then choose Kneel or Attack to tame it

PC Reported working
Did this work for you?

The Graphorn stays on the ground and cannot fly like a broom or Hippogriff

Unlock Highwing the Hippogriff Mount

Highwing is a flying mount that carries you across the map much faster than walking

Complete the High Keep main quest and rescue Highwing from poachers with Natty, then summon the mount from the mounts menu

PC Reported working
Did this work for you?

Flying mounts cannot be summoned inside Hogwarts castle or in restricted zones

Unlock Imperio the Mind Control Curse

Imperio forces an enemy to fight on your side until the effect ends or you dismiss it

Complete Sebastian Sallow side quest In the Shadow of Time and accept his offer to learn the curse, then finish the spell learning minigame

PC Reported working
Did this work for you?

Learning the curse is optional and permanent, it cannot be unlearned later

Unlock Talent Points

Talent points buy upgrades in five trees: Spells, Dark Arts, Core, Stealth, and Room of Requirement

Complete the Jackdaw Rest main quest to reach the Map Chamber and meet Professor Rackham, then earn one talent point per level from level 5 onward

PC Reported working
Did this work for you?

Talent points are limited while there are 48 talents, so not every talent can be taken at once

Unlock the Room of Requirement

The Room of Requirement gives you potion stations, potting tables, a gear loom and space to customise your own room

Reach level 6, complete Flying Class, then meet Professor Weasley at the Astronomy Tower for the Room of Requirement main quest

PC Reported working
Did this work for you?

The room opens only after the main story reaches this quest, it cannot be accessed earlier

Unlock the Vivarium Beast Sanctuary

The Vivarium is a sanctuary inside the Room of Requirement where rescued beasts live and provide materials

Complete the Deek quest The Elf, The Nab-Sack, and the Loom, then enter the Vivarium from the Room of Requirement

PC Reported working
Did this work for you?

Beasts must be rescued with the Nab-Sack first, and more Vivarium biomes open as you progress

A code stopped working after a patch? Tell us and we will retest it. Know one we are missing? Submit it here. What the tested badge means, and which codes carry it.

Tools for Hogwarts Legacy cheats

Buy Hogwarts Legacy on Amazon

Opens Amazon search results; check the edition and platform before buying. As an Amazon Associate I earn from qualifying purchases.

Quick answers

About Hogwarts Legacy cheats

How many cheats does Hogwarts Legacy have?
This page lists 20 for Hogwarts Legacy: 10 console commands and 10 unlockables.
How do you enter cheats in Hogwarts Legacy?
Install the UE4SS mod, press the tilde key to open the console, type toggledebugcamera and press Enter, then type it again to return to the player camera. A few codes use a different method, shown beside each one.
Do cheats disable achievements in Hogwarts Legacy?
10 of the 20 codes here carry a warning about achievements or trophies. The note reads: "Requires the UE4SS mod on PC to open the console. Save first, as the debug camera can leave the player stuck off map. Console use can disable achievements, so back up saves first."
Which platforms are these Hogwarts Legacy cheats for?
The codes on this page are listed for PC (20 codes). Where the game came out on other systems, the codes may differ there.
Are these Hogwarts Legacy cheats still working?
All 20 are marked "Reported working": each comes from a documented source, and none has been run by us yet. A code we test gets a dated "Tested" badge.
Advertisement