Hogwarts castle at dusk, its windows lit, on a cliff above a stone viaduct with forested mountains behind

An open-world wizarding adventure

HogwartsLegacy of Magic

Choose your house. Learn your spells.
The whole castle is yours to explore.

Actual gameplay · The castle

See it in motion

Watch
the trailer.

Thirty seconds, captured in the game.

Your letter has arrived

A whole school
to get lost in.

Put on the Sorting Hat, take your place in Gryffindor, Slytherin, Ravenclaw or Hufflepuff, and step out onto the viaduct with the castle ahead of you.

Walk the halls, find the classrooms and common rooms, take a broom over the grounds, duel in the club and play Quidditch for the House Cup.

Free to playBrowser or downloadFour housesNothing to install
Actual gameplay: Hogwarts castle from the south, with its towers, great hall and groundsThe castle

Built from a real
floor plan.

The castle is laid out room by room over several floors: the Great Hall, the Grand Staircase, the Library, classrooms, towers, dungeons and common rooms. Outside are the Quidditch stadium, Hogsmeade, the boathouse and the forest.

  • Dozens of named rooms to discover
  • Students, professors and ghosts in the halls
  • Music, voices and sound throughout

Three ways to play

Explore, duel
and fly.

Walking into the Entrance Hall among students in house robesExplore

Find every
room.

Walk the castle on foot, discover its rooms for house points, open charmed chests and collect wands, robes and brooms.

M for the map, I for your inventory.

A wizard duel in the hall, with a shield charm glowing between two studentsDuel

Wands at
the ready.

Eight spells on the number keys, a basic cast, a shield and a counter. Break wards, fight dark wizards and win the duelling club.

Click to cast, 1 to 8 for spells.

Flying a broom across the castle lawn toward the towersFly

Take the
broom out.

Mount up anywhere outdoors, boost over the towers and fly the rings around the castle for points.

B to mount, Shift to boost.

A Quidditch match in the stadium, with the score and match HUD on screen

Quidditch,
the full game.

Play as Chaser or Seeker in a packed stadium, in a friendly match or a three-match House Cup, at three difficulty levels.

Quidditch is also on the title screen as its own mode, with a flying lesson to start.

Inside the castle

Hall by hall,
floor by floor.

Every hall is lit, furnished and full of people. Use Floo powder to travel between the places you have found.

The Great Hall with floating candles and house banners
The Great Hall, the Library, the staircase and the gallery.
For the House Cup

Play Quidditch.
Win the cup.

Pass, shoot and tackle as a Chaser, or chase the Snitch as Seeker, with a commentator calling the match.

Flying over the pitch during a match
Match day
Casting at an opponent in the duelling club
The duelling club

Third person, wand and broomActual gameplay

Always one more corridor

A castle
to keep.

The whole game is a single HTML file. Play it right here in your browser, or download a copy and it works offline.

WASD
Move
Click
Cast
1 to 8
Spells
B
Broom
M
Map
I
Inventory
Chrome, Safari, Edge & FirefoxBest with a keyboard & mouseBuilt with Claude Opus 5.5
Flying past the castle walls and lit windows
Over the castle
The castle from the south
The castle at dusk

The feast is laid

Your house
is waiting.

Get Hogwarts: Legacy of Magic free.
Play in your browser or download a copy to keep.

An unofficial fan creation, made for fun. Harry Potter, Hogwarts and related names belong to Warner Bros. Entertainment and J.K. Rowling. Not affiliated with or endorsed by them.