How to Get the Elder Wand in Hogwarts Legacy
One of the most powerful artifacts in the wizarding world, there are two possible ways players can use the Elder Wand in Hogwarts Legacy.

This guide contains spoilers for Hogwarts Legacy's main story
The Elder Wand is said to be the Deathly Hallows built by the God of Death. It appears in the Hogwarts legacy as the ultimate weapon owned by the player. There are two ways to obtain it. The Elder Wand can defeat any enemy in the game with any spell, and it is even more powerful than the Unforgivable Curses like Avada Kedavra. However, if players want to obtain this item, they must progress to a specific event through the main story, or connect to a quiz on an external site associated with their account. Fortunately, unlike the books, players don't have to defeat the Elder Wand's previous owner, can't use it in the Hogwarts legacy, and can't communicate with the same incarnation that brought the other Deathly Hallows. Instead, a player's WB game account must be linked to a Wizarding World website account before they can take the quiz known as the sorting ceremony. Similar to choosing a house in Hogwarts Legacy, the Sorting Ceremony has players answer a few questions with an Elder Wood Wand as a reward for their participation.
How To Unlock The Elder Wand in Hogwarts Legacy

Players must correctly answer questions on the Wizarding World website to obtain the Elder Wand and customize its core components to their liking. There are seven questions in total, so players have to be careful with their answers to get the variation they want. The correct answer for the player to obtain the Elder Wand is:
The only other way to obtain the Elder Wand is to temporarily use the artifact at the end of the story. One of the Final Trials was set by Niamh Fitzgerald, and during the game's final story sequence, players are given a limited time to use the power of the Elder Wand against a wave of enemies. This quest is an epic finale to the Hogwarts legacy story, as players get to enjoy the Elder Wand's extraordinary powers at least once before the credits roll.