Hogwarts Legacy features three distinct endings, though the path to reach them is largely determined by a single pivotal choice near the very end of the game rather than a cumulative "morality" system. The two primary narrative endings are the "Good" Ending, where you choose to keep the ancient magic contained within the repository to protect the world, and the "Evil" (or "Ambition") Ending, where you decide to open the repository and harness its power for yourself. Regardless of which of these two you choose, the immediate aftermath is similar, though the dialogue and cutscenes reflect your character's intent. There is also a "True" Ending (the Secret Ending), which serves as a post-game epilogue. This ending is only unlocked after you complete the main story and reach Level 34, which allows you to participate in the end-of-year O.W.L. exams and the House Cup ceremony. This final ending provides the ultimate closure for your student's journey at Hogwarts, regardless of your earlier "moral" choices.