Accidental magic is the phenomenon of magic being performed involuntarily, typically by young witches and wizards who have not yet learned to control their powers. These magical outbursts are almost always triggered by strong, heightened emotions such as fear, anger, surprise, or distress. The resulting magic is spontaneous and uncontrolled, often manifesting in a way that reflects the child's subconscious wants or needs at that moment. This phenomenon is the very first sign of magical ability in a child. For children raised in wizarding families, it is an expected part of growing up. For Muggle-born witches and wizards, these inexplicable events are often their first, and most confusing, encounter with the magical world. Once a young witch or wizard begins their formal education at a school like Hogwarts School of Witchcraft and Wizardry, they are taught how to channel and control their magic using a wand. As their training progresses, instances of accidental magic typically cease. In rare and tragic cases, such as that of Ariana Dumbledore, severe psychological trauma can cause a child's magic to remain wild and dangerously uncontrollable.
The novels feature several key instances of accidental magic, primarily from the childhoods of major characters.
The Ministry of Magic is fully aware that accidental magic occurs in underage witches and wizards and generally does not punish the child for it. The Decree for the Reasonable Restriction of Underage Sorcery is not typically enforced in these cases, as the magic is involuntary. For significant breaches of the International Statute of Secrecy caused by accidental magic, the Department of Magical Accidents and Catastrophes is responsible for containment and cleanup. A specific subdivision, the Accidental Magic Reversal Squad, is tasked with reversing the effects of larger-scale magical accidents. The Ministry's leniency is demonstrated when Harry Potter inflates Aunt Marge. Despite the severity of the act, Minister for Magic Cornelius Fudge dismisses the incident and does not press charges, primarily because the Ministry was preoccupied with the escape of Sirius Black from Azkaban.