Lore
Boggart-Banishing Spell
Charm that was used to defeat a Boggart
The spell that defeats a Boggart can be tricky, because it involves making the creature into a figure of fun, so that fear can be dispelled in amusement. If the caster is able to laugh aloud at the Boggart, it will disappear at once. The incantation is ‘Riddikulus’, and the intention is to force the Boggart to assume a less-threatening and hopefully comical form.
The Boggart-Banishing Spell (Riddikulus) was a charm that was used to defeat a Boggart. It caused the creature to assume a form that was humorous to the caster, along with a whip-crack noise, thereby taking away the Boggart's ability to terrorise.
Boggarts were defeated by laughter, so forcing them to assume an amusing form was the first step to defeating them. However, as the Boggart was amortal, the spell merely "banished" them, not destroyed.
History

The charm that repels a boggart is simple, yet it requires force of mind. You see, the thing that really finishes a boggart is laughter. What you need to do is force it to assume a shape that you find amusing. We will practice the charm without wands first. After me, please ... riddikulus!
This was one of the spells that Professor Albus Dumbledore taught his Defence Against the Dark Arts class in the 1910s. Among those students were Newton Scamander and Leta Lestrange; the aforementioned of which mastered the spell, whilst the latter failed to do so.
At the start of the 1986–1987 school year, Professor Pomona Sprout used this spell to banish a Boggart that manifested in the Greenhouse after Herbology class. Throughout the school year, Jacob's sibling used this spell on various occasions against Boggarts that had been released due to someone having tampered with the Vault of Fear, including the break-in of the Vault by themselves.
In September 1993, Professor Remus Lupin taught this spell to his third year Defence Against the Dark Arts class in. Thanks to Lupin's teaching, Harry Potter was able to use this against a Boggart in the Triwizard Maze in 1995.
This spell was apart of the practical examination of the Defence Against the Dark Arts O.W.L.
During the Calamity of the 2010s, members of the Statute of Secrecy Task Force often used this charm to combat Boggart Confoundables in order to release Foundables.
Casting

...You will raise your wand — thus — and cry 'Riddikulus' — and concentrate hard on your grandmother's clothes. If all goes well, Professor Boggart Snape will be forced into that vulture-topped hat, and that green dress, with that big red handbag.
A simple charm that required the force of mind, to cast, the spell caster must first acknowledge what they fear the most (as it will most likely be what the Boggart will take the form of) and then visualise it into something amusing.
The problem was because the Boggart would have assumed said form at the moment of direct encounter, the one attempting to use this charm would usually have lost concentration after seeing the Boggart manifest their worst fears, making this spell useless. As such, it was always advisable to first take one step at a time when practising this spell.
Known uses

'R-r-riddikulus!' squeaked Neville. There was a noise like a whip-crack. Snape stumbled; he was wearing a long, lace-trimmed dress and a towering hat topped with a moth-eaten vulture, and he was swinging a huge crimson handbag.
- Caster(s) Date Notes - Unidentified Hufflepuff girl 1913 Fantastic Beasts: The Crimes of Grindelwald - The Original Screenplay - Newt Scamander In a Defence Against the Dark Arts class taught by Albus Dumbledore, Newt successfully cast the spell against a Boggart.

- Unidentified student Used the spell to turn a Boggart in the shape of a shark into a flotation device in the same lesson. - Used the spell to turn a Boggart in the shape of a zombie into having the head of a pumpkin in the same lesson. - Used the spell to turn a Boggart in the shape of a vampire into a buck-toothed bunny rabbit in the same lesson. - Lyall Lupin Late 1950s or early 1960s HarryPotter.com - Pomona Sprout 1986–1987 school year Used it to banish a Boggart in the Hogwarts greenhouses, after it manifested as a werewolf for Penny Haywood. - Jacob's sibling Used it to banish a Boggart in the form of Merula Snyde for Tulip Karasu. - Lord Voldemort in Jacob's room. - Used it to banish several Boggarts in the Vault of Fear. - Harry Potter: Hogwarts Mystery - Neville Longbottom September 1993 Boggart in the form of Severus Snape, during a Defence Against the Dark Arts with Professor Remus Lupin. - Ronald Weasley giant spider, by removing its legs. - Seamus Finnigan Used it to defeat a Boggart in the form of a banshee, by silencing its voice. - Dean Thomas Used it to defeat a Boggart in the form of a Loose Hand, by trapping it in a mousetrap. - Parvati Patil Used it to defeat a Boggart in the form of a mummy, by unravelling its sheets. - Remus Lupin Used it to defeat a Boggart in the form of a full moon, by turning it into a cockroach. - Third-years June 1994 Harry Potter and the Prisoner of Azkaban - Harry Potter 24 June, 1995 Harry Potter and the Goblet of Fire - June 1996 Harry Potter and the Order of the Phoenix - Molly Weasley August 1995 Harry Potter and the Order of the Phoenix - Remus Lupin Used this spell to deal with the Boggart at 12 Grimmauld Place, after when Molly Weasley failed to. - Tiburon Merriweather's great-grandchild 2010–2011 school year Harry Potter: Magic Awakened - Daniel Page his mother as a criminal.
Known practitioners
• Tiburon Merriweather's great-grandchild
Sources
Adapted from the original article, under CC BY-SA 3.0.






