To get Alohomora, the unlocking charm, in Hogwarts Legacy, you must progress the main story until you get to The Caretaker’s Lunar Lament. This is a main story quest around 5 hours into the game.
During this quest, the Hogwarts caretaker Gladwin Moon teaches you Alohomora so you can get through a locked door into the Hogwarts Faculty Tower.
- Progress through all of the main story quests in Hogwarts Legacy until your reach The Caretaker’s Lunar Lament
- Start The Caretaker’s Lunar Lament by meeting Gladwin Moon near the Grand Staircase
- He will help you pick up your first Demiguise Moon

- Next, follow Gladwin Moon to the locked entrance of the Faculty Tower
- Here, he will teach you the Alohomora spell so you can unlock the door of the Faculty Tower

- Work your way through the mission by sneaking using Disillusionment to collect the other two Demiguise Moons
- These are clearly marked on your minimap, so should be easy to get, provided you have some patience to walk by the teachers and prefects while they aren’t looking
- One Demiguise is in the Prefects’ Bathroom, and the other is in the Hospital Wing
- These are clearly marked on your minimap, so should be easy to get, provided you have some patience to walk by the teachers and prefects while they aren’t looking
- Return to Gladwin Moon to end this quest
- Once you complete The Caretaker’s Lunar Lament, you can roam around Hogwarts and the open world to unlock any level 1 locks with Alohomora
UPDATE: This new trick will save you tons of time with Alohomora as you open every lock in Hogwarts Legacy!
However, to unlock every lock in the game, you will need to upgrade your Alohomora Spell to level 3. Although, unlike all of the other spells in Hogwarts Legacy, you do not use talent points to upgrade Alohomora.
If you’re unlocking chests for rare loot, make sure you have space in your inventory. If you’re struggling for space, make sure to upgrade how much gear you can carry in Hogwarts Legacy!

How to Upgrade Alohomora Lockpick Spell in Hogwarts Legacy
To upgrade Alohomora in Hogwarts Legacy, you must bring Demiguise Moons to Gladwin Moon for the side quest The Man Behind the Moons.
- Return 9 Demiguise Moons to unlock Alohomora Level 2
- Return 13 more Demiguise Moons to unlock Alohomora Level 3
You can find Gladwin Moon by the entrance to the Hogwarts Faculty Tower, where he taught you Alohomora.
Here are the locations of every Demiguise Statue in Hogwarts Legacy so you can upgrade your Alohomora as soon as possible!
As there are so many Demiguise statues to find, The Man Behind the Moons will probably be one of the very last out of Hogwarts Legacy’s over 100 side quests that you complete!

How to Open Locked Doors & Chests in Hogwarts Legacy
To unlock a locked door or chest in Hogwarts Legacy, you need to have the Alohomora spell at the required level for that specific lock, go up to it, and press the unlock button.
Then, you must complete an unlocking minigame where you rotate a green and a red spark to spin gears and open the lock.
- Find a locked door or chest
- Make sure your Alohomora is at the required level
- Press the interact button to start the unlocking minigame
- PlayStation: Square
- Xbox: X

- To complete the minigame and unlock the lock, you must move both the green and red sparks into positions that turn the gears
- The left analog stick moves the green spark, and the right analog stick moves the red spark
- Slowly rotate both analog sticks until you see the gears move
- The green spark controls the gears in the bottom right
- The red spark controls the gears in the center
- Once you have found the spark position that rotates a set of gears, keep the corresponding analog stick held in that direction to keep the gears moving
- Then, get the other set of gears rotating using the other analog stick to move the other spark
- Finally, hold both analog sticks in the correct places, and the lock should open!
While you’ll be able to unlock locked chests using Alohomora, there is a much creepier kind of chest that has another method to open. Find out how to unlock the Eyeball Chests in Hogwarts Legacy so you can get plenty of gold!