How to open locked doors in Hogwarts Legacy

Hogwarts Legacy Locked Doors - Speaking to Gladwin Moon
(Image credit: Portkey Games)
Hogwarts Legacy Guides

Hogwarts Legacy screenshot

(Image credit: Warner Bros )

Hogwarts Legacy spells: Every spell you can learn
Hogwarts Legacy Merlin trials: How to solve the trials
Hogwarts Legacy Room of Requirement: How to get in
Hogwarts Legacy Demiguise statues: Unlocking Alohomora
Hogwarts Legacy eye chests: How to crack them open
Hogwarts Legacy broom: How to take flight

Hogwarts Legacy's locked doors and chests lead to a variety of secret areas and legendary gear that you can use when battling dark wizards and goblins. There are locked areas scattered all across Hogwarts and Hogsmeade, and there's nothing more frustrating in the early game than finding your curiosity stifled by a solid wooden door.

Of course, there's a spell for unlocking stuff in Harry Potter called Alohomora, and that's how you're going to crack open Hogwarts Legacy's locked containers and treasure-filled chests. While you're here, you might also want to know how to get a broom so you can fly around the map. Otherwise, here's how to get your hands on the Alohomora spell to open locks in Hogwarts Legacy. 

Where to get Alohomora 

Once you've completed enough of the main story and finished the first trial, the season shifts to Autumn, showing a little cutscene of Hogwarts in the process. After this, you'll receive an owl from Caretaker Moon in your common room dorm. In "The Caretaker's Lunar Lament" quest, Moon asks that you sneak into the faculty area at night to steal two Demiguise Moon statues, and he'll teach you the first level of Alohomora so you can do it. This lets you unlock the level one doors and chests you find in Hogwarts, Hogsmeade, and in the wider world.

If you find more Demiguise Moon statues hidden across the map and bring them back to Caretaker Moon, he'll give you upgrades for Alohomora, with seven required for level two locks, and thirteen required for level three. It's important to note that you can only collect Demiguise Moon statues at night, so if you run into one in the day, be sure to change the time in the map menu so you can grab it. They are most often found behind locked doors in Hogwarts and Hogsmeade, but some can be found in certain teacher's offices and classrooms.

How do you open locks in Hogwarts Legacy?

Once you've got Alohomora, approach a locked door and activate it to cast the spell. This begins your average lockpicking minigame where you have to use Q and E to align a green spark, and A and D to align a red spark—this uses dual sticks on controller. As you move them you'll notice that the cogs on the right side and in the middle begin to move. Your objective is to position the green spark and red spark so both sets of cogs are spinning. After that's done the door or chest will unlock, letting you access what's inside. 

PCGamer

PC Gamer is the global authority on PC games—starting in 1993 with the magazine, and then in 2010 with this website you're currently reading. We have writers across the US, Canada, UK and Australia, who you can read about here.

Read more
Avowed lockpicks - Giatta looking directly ahead, standing in an open area of Dawnshore with various ruins behind her.
How to find and use lockpicks in Avowed
Hogwarts Legacy trailer
Where to get Fluxweed Stem in Hogwarts Legacy
Hogwarts Legacy troll bogeys - a troll is warming its hands in front of a tall bonefire near some trees
Where to find Troll Bogeys in Hogwarts Legacy
Avowed pyromancer's key location - A scenic shot of the pyromancer's camp, with the chest open in the background.
Pyromancer's Key location in Avowed
KCD 2 lockpicks - Henry picking a chest
How to get lockpicks in Kingdom Come: Deliverance 2
Avowed Robe of the Arcane Cheater treasure map location - A scenic shot of a cave tucked into a rocky hillside.
Robe of the Arcane Cheater treasure map solution in Avowed
Latest in Action
A young witch watering a smiling mushroom in a magic garden
Here's a roguelite dungeon crawler Steam reviewers call 'a botanical Diablo' and 'like Cult of the Lamb' except you manage a mystical garden
Chatacabra from Monster Hunter Wilds
The latest Monster Hunter Wilds event quest gives piles of Armor Spheres for hunting a Chatacabra, making this a very bad week to be a frog in the Forbidden Lands
A hunter posing with an absurd Blangonga outfit in Monster Hunter Wilds.
Attention, fashion hunters: There's a Monster Hunter Wilds mod to disable all those obnoxious glowing buff effects that distract from your fits
A red Porsche spaceship in front of a red planet
Naughty Dog's next game is definitely steering clear of controversy: 'Let's do something that people won't care as much about. Let's make a game about faith and religion'
Olivia, Alma and a palico
I wish Monster Hunter Wilds wasn't so afraid of letting me play Monster Hunter
Key art of Kent Paul in Grand Theft Auto Vice City.
'My own voice was driving me f***ing insane': GTA Vice City actor admits even he couldn't get past his own, notoriously difficult mission
Latest in Features
A vampire with a dark castle and swarms of bats in the background.
We need to decide on a genre name for Vampire Survivors-like games before a really terrible one sticks
Olivia, Alma and a palico
I wish Monster Hunter Wilds wasn't so afraid of letting me play Monster Hunter
SteelSeries QcK Performance mouse pads overlapping on a desk
The SteelSeries QcK Performance series has reignited my excitement over the simple pleasure of a quality mouse pad… and trying to click skulls with pinpoint accuracy
OneXPlayer 2 pro on a table
I never thought a handheld PC bloated with Windows could replace my Steam Deck, but after gaming on an old OneXPlayer 2 Pro I can see now I judged it too harshly
A screenshot from the original Assassin's Creed game
Assassin's Creed: Shadows is just around the corner, so come and see the last 17 years of the series' PC graphics at max 4K settings
Beyond the Ice Palace 2 screenshots
I’m not sure what’s weirder: that someone made a sequel to a completely forgettable 37-year-old game I played as a kid, or that it was actually worth the wait