Lore
Unlocking Charm
Charm that unlocked objects such as doors or windows
There are many ways to pass through locked doors in the magical world (see the Fire-Making Spell, Gouging Spell, and the Reductor Curse) where you wish to enter or depart discreetly, however, the Unlocking Charm is your best friend.
The Unlocking Charm (Alohomora), also known as the Unlocking Spell or the Thief's Friend was a charm that unlocked objects such as doors or windows. It was also able to open doors locked by the Locking Spell (Colloportus), and as such, acted as its counter-charm. The Anti-Alohomora Charm could be used to prevent this charm from working on a locked target.
History
Welcome, everyone. Today you will learn the Unlocking Charm, Alohomora! It's the very best spell when a wizard forgets his keys. Come to think of it, with Alohomora, why would a wizard even need keys? A discussion for another day, I suppose. Wands up, everyone!
The Unlocking Charm had its origins in Africa, whereupon it was called the Thief's Friend. The first known person to have mastered the charm was an Ancient African sorcerer, who taught it to thief Eldon Elsrickle during the latter's trip to the continent in the 17th century. Upon returning to his native Britain, Elsrickle used it to terrorise London, stealing from homes of Muggles and wizards alike, until Blagdon Blay invented the Anti-Alohomora Charm. Before he died, Elsrickle gave knowledge of the Unlocking Charm in exchange for his freedom on the infrequent occasions he broke into a magical household, resulting in the spell being widespread in the country.
Before the discovery of Alohomora, the most popular unlocking spell was Portaberto, which splintered the lock from a door but occasionally left a smoking hole where the key should have gone. Before Portaberto, however, the most popular opening spell was Open Sesame, which ripped doors from their hinges and tore them into firewood. All of these were more rudimentary and by far less subtle than Alohomora.
Descriptions of this spell were written in numerous books, including the first volume of the Standard Book of Spells series, where it was described in chapter seven. and a spellbook that could be found in the Hogwarts Library. This spell was also taught in Charms class in the first year at Hogwarts School of Witchcraft and Wizardry and was one of the first spells students learnt.
In the summer of 1992, Harry Potter considered using this charm to unlock the cage of his pet owl Hedwig at 4 Privet Drive, but did not, since he knew that underage wizards and witches were not allowed to use magic outside of Hogwarts.
The door guarding the Philosopher's Stone was protected against the Unlocking Charm; a winged key was necessary to open it. A single door in the Department of Mysteries was impervious to this spell as well; it is possible that it opened in the room where the British Ministry of Magic studied the power of love in the Department of Mysteries.
Counter-charm
There was a spell called the Anti-Alohomora Charm which was used to counteract this spell. Magical locks also existed and were placed on several doors, but could be unlocked with this charm.
Successful

'Oh, move over,' Hermione snarled. She grabbed Harry's wand, tapped the lock, and whispered, 'Alohomora!' The lock clicked and the door swung open —
- Caster(s) Date Notes - Eldon Elsrickle 1600s wizarding alike. - Sebastian Sallow Before or in the 1890–1891 school year Hogwarts Legacy - Eleazar Fig 1890 Hogwarts Legacy - Unidentified 19th-century Hogwarts student 1890–1891 school year Hogwarts Legacy - Newt Scamander 6 December 1926 Fantastic Beasts and Where to Find Them: The Original Screenplay - 1932 Fantastic Beasts: The Secrets of Dumbledore - Unidentified Circus Arcanus performer c. 1927 url=https://www.youtube.com/watch?v=tWXgLpqDYfc - Lord Voldemort 31 October 1981 Harry Potter and the Philosopher's Stone (film), Chapter 8 (The Boy Who Lived ) - Albus Potter Harry Potter and the Cursed Child - Jacob's sibling 1984–1985 school year Harry Potter: Hogwarts Mystery - 1985–1986 school year Harry Potter: Hogwarts Mystery - 1986–1987 school year Harry Potter: Hogwarts Mystery - 1986–1987 school year Harry Potter: Hogwarts Mystery - Jacob's sibling, Jae Kim or Nymphadora Tonks 1990–1991 school year Harry Potter: Hogwarts Mystery - Hermione Granger 1991 Harry Potter and the Philosopher's Stone - 6 June 1994 Harry Potter and the Prisoner of Azkaban - 2 August 1997 Harry Potter and the Deathly Hallows - Death Eaters 18 June 1996 Harry Potter and the Order of the Phoenix - St Mungo's staff (such as Miriam Strout) 25 December 1996 Harry Potter and the Order of the Phoenix - Tiburon Merriweather's great-grandchild 2008–2009 school year Harry Potter: Magic Awakened - Scorpius Malfoy 1 September 2020 Harry Potter and the Cursed Child
Unsuccessful

They tugged and heaved at the door, but it wouldn’t budge, not even when Hermione tried her Alohomora Charm.
- Caster(s) Date Notes - Eldon Elsrickle 1600s He eventually found that all wizarding households placed an Anti-Alohomora Charm on their doors and could no longer unlock their doors. - Queenie Goldstein 7 December 1926 Fantastic Beasts and Where to Find Them: The Original Screenplay - Jacob's sibling 1986–1987 school year Harry Potter: Hogwarts Mystery - Hermione Granger 4 June 1992 Harry Potter and the Philosopher's Stone - 18 June 1996 Harry Potter and the Order of the Phoenix - Harry Potter 1 September 1996 Harry Potter and the Half-Blood Prince - 17 June 1996 Harry Potter and the Order of the Phoenix
Known practitioners
• Tiburon Merriweather's great-grandchild
• Unidentified Circus Arcanus performer
Sources
Adapted from the original article, under CC BY-SA 3.0.






