There are 16 Dandelion Key locations in Hogwarts Legacy scattered across various places. Once you approach one key, it will fly over to the relevant house cupboard. You can open it by swapping when the key flies in front of the keyhole. Below are the detailed steps you can find all these Dandelion Keys.
1. Astronomy Tower
Go up the wooden staircase; the first key will be on the top steps. Then, it will fly to the house cupboard near the cabinet at the bottom of the stairs. Open the cupboard with it and get the first house token. Go back to Nellie Oggspire, and she will advise you to enter your house token into the house chest near the entrance of the house common room. Once you have entered it into the chest, you must find the remaining keys.
2. Near the Dark Arts Classroom
You will find this key near the Rhinoceros skeleton.
3. Transfiguration Classroom
Find this key near the staircase when you go through the northwest door.
4. Portions Classroom
You will find this key near the entrance of the classroom.
5. Bottom of the Northern Stairs at the Central Hall
Go down the northern staircase and find the fifth Dandelion key location in Hogwarts Legacy at the bottom.
6. Top of the Staircase at the Central Hall
Run up to the staircase, and you will find the sixth one near the south staircase.
7. Library
You will find this key near the south stacks of the Library.
8. Quad Courtyard
Run up to the south staircase. The eighth Dandelion key location in Hogwarts Legacy will be at the top.
9. Grand Staircase
You will find the ninth one when you go down the Grand Staircase.
10. Great Hall
Go to the east corner of the hall, and the key is near the fireplace.
11. Entrance Hall
Enter from the north door of the great hall and go through the several doors until you reach the balcony of the Entrance Hall. The eleventh key will be there.
12. Bell Tower Key 01
From Bel Tower Courtyard, go up the southeast stairs and through the door. Go down the stairs from there and enter from the door at the end of the stairs. Then again, go down the stairs, and you will find the twelfth one near the stone statue in front of the horse armor.
13. Bell Tower Key 02
Once you open the cupboard from the twelfth key, go downstairs, passing the dragon down the hall. Go south near the locked door, and you will run down to the thirteenth one.
To find the final three Dandelion Keys Locations in Hogwarts Legacy, you need to unlock the Alohomora spell since you must enter the restricted area of the south wing.
14. Faculty Tower
Unlock and enter from the southwest door of the Faculty Tower and go up the west staircase. The fourteenth one is flying around the room with the Arithmetic puzzle door.
15. Upper Clock Tower
Go up further from the same staircase, reach the top of the clock tower, and find the fifteenth one.
16. Lower Clock Tower
Start from the Clock Tower Courtyard and enter from the door to the south. Go up until you get in on the wooden platform, and you will find the final key there.
Once you have obtained all Dandelion Keys from these locations in Hogwarts Legacy, go to the house chest and enter them into it. This will complete the quest, and you will receive the Relic House Uniform. However, it will have a different appearance according to your house. Finding all of these keys will take some time. But considering the reward, it is worth it.