Harry Potter Wiki
Harry Potter Wiki

"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 introduction in the Book of Spells[src]

The Unlocking Charm (Alohomora), also known as the Thief's Friend, was a charm that unlocked objects such as doors or windows.[1][4][5] 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.[1]


A mechanical lock being broken with this charm

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.[1]

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.[1]

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.[2] and a spellbook that could be found in the Hogwarts Library.[6] 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.[7]

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.[8]

The door guarding the Philosopher's Stone was protected against the Unlocking Charm; a winged key was necessary to open it.[9] A single door in the Department of Mysteries was impervious to this spell as well; it may be presumed that it opens in the room where the British Ministry of Magic studies the power of love in the Department of Mysteries.[10]


There was a spell called the Anti-Alohomora Charm which was used to counteract this spell.[1] Magical locks also existed and were placed on several doors, but could be unlocked with this charm.[6][11][12]

Known uses


"Oh, move over,” Hermione snarled. She grabbed Harry’s wand, tapped the lock, and whispered, “Alohomora!” The lock clicked and the door swung open —"
— Hermione using this charm to unlock a door on the Third-Floor corridor[src]
Caster(s) Date Notes
Eldon Elsrickle 1600s The first wizard to use it in the western world. Elsrickle had learnt the spell from an Ancient African sorcerer and used it to ransack the houses of London, Muggle, and wizarding alike.[1]
Newt Scamander 6 December, 1926 Used it to open a safe at Steen National Bank to retrieve his escaped Niffler.[13]
Lord Voldemort 31 October, 1981 Used it to break into the Potters' house, before murdering James and Lily Potter and trying to murder their son Harry Potter.[14]
Albus Potter Used it after time-travelling to the day his grandparents were killed to unlock the doors of St Jerome's Church in order to let Harry Potter's friends come and help him to duel Delphini.[15]
Jacob's sibling 1984–1985 school year Jacob's sibling and Rowan Khanna used this charm to unlock the door of the room that contains the Cursed ice.[16]
Hermione Granger 1991 Used it to open a forbidden entrance on the Third-floor corridor of Hogwarts Castle.[17]
6 June, 1994 Used it to open the window to Professor Filius Flitwick's office to rescue Sirius Black.[18]
2 August, 1997 Used it to open Regulus Black's bedroom in 12 Grimmauld Place.[19]
Death Eaters 18 June, 1996 One of the Death Eaters used it to open doors to Time Room shut by the Hermione Granger.[10]
St Mungo's staff Unknown The Janus Thickey Ward at St Mungo's Hospital for Magical Maladies and Injuries can only be entered by using this spell. Healers and visitors may enter, but patients are unable to get out.[20]
Scorpius Malfoy 1 September, 2020 Used it to open the Minister for Magic's office at the Ministry of Magic when he, Albus Potter and Delphini infiltrated the Ministry to steal a Time-Turner.[21]


"They tugged and heaved at the door, but it wouldn’t budge, not even when Hermione tried her Alohomora Charm."
— Hermione Granger's unsuccessful use of this charm in the Underground Chambers[src]
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.[1]
Queenie Goldstein 7 December 1926 Tried to unlock Percival Graves' office at the Magical Congress of the United States of America using this spell and the Opening Charm, but was unsuccessful. She speculated that he had secured it with advanced spells.[13]
Hermione Granger 4 June, 1992 Tried to unlock the locked door in the Flying Key room, but the door could only open with the key.[9]
18 June, 1996 Tried to unlock the locked door to the Love Chamber in the Department of Mysteries, shortly before the Battle of the Department of Mysteries.[10]
Harry Potter 1 September, 1996 Tried to unlock the Hogwarts gates with no effect since Albus Dumbledore had bewitched them.[22]
17 June 1996 Harry Potter assumed that Umbridge's office door had been bewitched so that this spell wouldn't work.[23]

Known practitioners

See also


J. K. Rowling stated that the word was from the West African Sikidy figures used in geomancy and has the literal meaning "Friendly to thieves".[27]

Behind the scenes

The hand movement promoted by Warner Bros.

Harry opening Dolores Umbridge's Office with this spell in the film adaptation of Harry Potter and the Order of the Phoenix

A locked door having been unlocked with this spell in the console versions of the Philosopher's Stone video game

Alohomora as seen in Harry Potter: Puzzles & Spells

The wand movement shown in Harry Potter: Hogwarts Mystery

The wand movement for the Unlocking Charm as seen in Harry Potter: Wizards Unite


The Harry Potter Wiki has 9 images related to Unlocking Charm.

Notes and references

  1. 1.00 1.01 1.02 1.03 1.04 1.05 1.06 1.07 1.08 1.09 1.10 1.11 Wonderbook: Book of Spells
  2. 2.0 2.1 Harry Potter and the Philosopher's Stone (film) - Chapter 17 (Three-headed Sentinel)
  3. See this video
  4. 4.0 4.1 Bloomsbury Glossary: A
  5. Fantastic Beasts: The Crimes of Grindelwald - Fantastic Beasts: A Cinematic Yearbook
  6. 6.0 6.1 6.2 6.3 Harry Potter and the Philosopher's Stone (video game)
  7. 7.0 7.1 7.2 Harry Potter: Hogwarts Mystery, Year 1, Chapter 8 (Preparing for the Room) - Charms Lesson "Alohomora"
  8. Harry Potter and the Chamber of Secrets, Chapter 1 (The Worst Birthday)
  9. 9.0 9.1 9.2 Harry Potter and the Philosopher's Stone, Chapter 16 (Through the Trapdoor)
  10. 10.0 10.1 10.2 10.3 Harry Potter and the Order of the Phoenix, Chapter 34 (The Department of Mysteries)
  11. 11.0 11.1 Harry Potter and the Chamber of Secrets (video game)
  12. 12.0 12.1 12.2 Harry Potter and the Prisoner of Azkaban (video game)
  13. 13.0 13.1 13.2 13.3 Fantastic Beasts and Where to Find Them: The Original Screenplay
  14. 14.0 14.1 Harry Potter and the Philosopher's Stone (film) - Chapter 8 (The Boy Who Lived)
  15. 15.0 15.1 Harry Potter and the Cursed Child, Act Four, Scene Eleven
  16. 16.0 16.1 16.2 Harry Potter: Hogwarts Mystery, Year 1, Chapter 9 (Inside the Room)
  17. 17.0 17.1 Harry Potter and the Philosopher's Stone, Chapter 9 (The Midnight Duel)
  18. 18.0 18.1 Harry Potter and the Prisoner of Azkaban, Chapter 21 (Hermione's Secret)
  19. Harry Potter and the Deathly Hallows, Chapter 10 (Kreacher's Tale)
  20. 20.0 20.1 Harry Potter and the Order of the Phoenix, Chapter 23 (Christmas on the Closed Ward)
  21. 21.0 21.1 Harry Potter and the Cursed Child, Act One, Scene Eleven
  22. 22.0 22.1 Harry Potter and the Half-Blood Prince, Chapter 7 (The Slug Club)
  23. Harry Potter and the Order of the Phoenix, Chapter 32 (Out of the Fire)
  24. Harry Potter and the Prisoner of Azkaban (film)
  25. Harry Potter: Hogwarts Mystery, Year 3, Chapter 7 (Jacob's Room)
  26. Harry Potter: Hogwarts Mystery, Year 5, Chapter 30 (Into the Vault)
  27. Rowling, J. K. (2008-04-14). Statement of J.K. Rowling in testimony during the WB and JKR vs. RDR Books. Archived on 2008-04-16 from http://web.archive.org/web/20080423072217/www.the-leaky-cauldron.org/2008/4/15/first-day-of-jkr-wb-vs-rdr-books-trial
Charms (class)
PS Wingardium Leviosa feather.gif
Charm-book writers and developers
Blagdon Blay · Daisy Pennifold · Delfina Crimp · Miranda Goshawk · Jarleth Hobart · Basil Horton · Helixa Hyslop · Syna Hyslop · Randolph Keitch · Levina Monkstanley · Orabella Nuttley · Mnemone Radford · Scarpin · Elliot Smethwyck · Felix Summerbee · Violeta Stitch
Professors Fortinbras · Filius Flitwick · Unidentified 19th-century professor · Unidentified male professor
Textbooks Achievements in Charming · Extreme Incantations · Quintessence: A Quest · The Standard Book of Spells
Charms studied at Hogwarts
Anti-Alohomora Charm · Ascendio · Banishing Charm (Depulso) · Blackboard Writing Spell · Blue sparks · Box Blasting Charm (Cistem Aperio) · Bubble-Head Charm · Cheering Charm · Cleaning Charm · Colour Change Charm (Colovaria) · Confundus Charm (Confundo) · Counter-charm for hiccoughs · Dancing Feet Spell (Tarantallegra) · Descendo · Disarming Charm (Expelliarmus) · Disillusionment Charm · Drought Charm · Entrancing Enchantments (Theoretically) · Eradication Spell (Deletrius) · Engorgement Charm (Engorgio) · Extinguishing Spell · Exploding Charm (Bombarda) · Fire-Making Spell (Incendio) · Freezing Charm (Immobulus) · Freezing Spell (Glacius) · Full Body-Bind Curse (Petrificus Totalus) · General Counter-Spell (Finite Incantatem) · Gouging Spell (Defodio) · Growth Charm · Ice Jinx · Knitting Charm · Knockback Jinx (Flipendo) · Leg-Locker Curse (Locomotor Mortis) · Levitation Charm (Wingardium Leviosa) · Locking Spell (Colloportus) · Locomotion Charm (Locomotor) · Lumos Solem Spell (Lumos Solem) · Mending Charm (Reparo) · Memory Charm (Obliviate) · Muffliato Charm (Muffliato) · Nonverbal spells · Pack Charm (Pack) · Red Sparks (Vermillious) · Reductor Curse (Reducto) · Scouring Charm (Scourgify) · Seize and pull charm (Carpe Retractum) · Severing Charm (Diffindo) · Shrinking Charm (Reducio) · Silencing Charm (Silencio) · Slowing Charm (Arresto Momentum) · Skurge Charm (Skurge) · Softening Charm (Spongify) · Spell for growing legs · Substantive Charm · Summoning Charm (Accio) · Tickling Charm (Rictusempra) · Unlocking Charm (Alohomora) · Vinegar to wine spell · Wand-Extinguishing Charm (Nox) · Wand-Lighting Charm (Lumos) · Lumos Maxima · Water-Making Spell (Aguamenti)
The Standard Book of Spells
Book of Spells 1.png
Grade 1 · Grade 2 · Grade 3 · Grade 4 · Grade 5 · Grade 6 · Grade 7
Charms included in the series: Dancing Feet Spell (Tarantallegra) · Disarming Charm (Expelliarmus) · Engorgement Charm (Engorgio) · Fire-Making Spell (Incendio) · Freezing Charm (Immobulus) · General Counter-Spell (Finite Incantatem) · Levitation Charm (Wingardium Leviosa) · Locking Spell (Colloportus) · Memory Charm (Obliviate) · Mending Charm (Reparo) · Nonverbal spell · Severing Charm (Diffindo) · Skurge Charm (Skurge) · Softening Charm (Spongify) · Substantive Charm · Summoning Charm (Accio) · Tickling Charm (Rictusempra) · Unlocking Charm (Alohomora) · Wand-Lighting Charm (Lumos)