Magic often serves as a plot device and has long been a component of fiction, from the days of Homer and Apuleius down through the tales of the Holy Grail and King Arthur, to more contemporary authors such as J. R. R. Tolkien, C. S. Lewis, Ursula K. Le Guin, Robert Jordan, Terry Brooks, J. K. Rowling, Mercedes Lackey, and Derek Landy.
Historically, witches such as the Weird Sisters in William Shakespeare's Macbeth, wizards such as Prospero in The Tempest or characters like Doctor Faustus in Christopher Marlowe's play of the same name were widely considered to be real.:1027 Contemporary authors tend to treat magic as an imaginary idea, opting to build their worlds with a blank slate where the laws of reality do not carry as much weight.:1027
Within a work of fantasy, magic helps advance the plot, often providing power to the hero or their opponents. The use of magic frequently manifests itself in a transformation of the character, if not the transformation of the fictional world.:143
For magic to carry out its function, it often comes at a price equal to its value.:143
Fictional magic may or may not include a detailed magic system, but it is not uncommon for the author to omit details or explanations of certain limitations, ostensibly for pacing or other purposes; in these cases, it is possible that magic will serve more as a convenience to the author rather than a device for the character.
In nearly any given fantasy magical system, the magical ability of the character is limited. Limitations can add conflict to the story and prevent characters from becoming all-powerful with magic, although characters with unlimited power (such as deities or transcendental beings) are not unheard of in fiction.:616 Fantasy writers use a variety of techniques to limit the magic in their stories, such as limiting the number of spells a character has or may cast before needing rest, restricting a character's magic to the use of a specific object, limiting magic to the use of certain rare materials, or restricting the magic a character can use through its negative consequences. Some works feature magic that is performed through the use of certain words or incantations to cast spells. While many works use this method without offering an explanation for it, others do offer an explanation.:134:167–168 In some works, such as The Wheel of Time, types of magic are divided by color.
Authors introduce magic into their stories, and to their characters, in varying ways. Although there is great variation in how spontaneously magic occurs, how difficult it is to wield, and how the guidelines to the magic are implemented, there are a handful of methods for introducing magic found in many fictional works. In many fantasy works, writers depict magic as an innate talent, equivalent for example to perfect pitch.:616 Magic may also be gained through a pact with a devil or with other spirits, a characteristic common in folklore. In some works, such as fairy tales, magic items either endow the main characters with magical powers or have magical powers themselves. They are often used as plot devices or MacGuffins to drive the plot of a story.[page needed]
- Magic in Terry Pratchett's Discworld series.
- Magic in the Earthsea series.
- Magic in the Harry Potter series.
- Magic in the works of J. R. R. Tolkien.
- Channeling in the works of Robert Jordan.
- Master of the Five Magics in the works of Lyndon Hardy.
- Kidō in the Bleach anime and manga series.
- Magic in the Bartimaeus trilogy (Jonathan Stroud's series).
- The Force, a magic-like concept in the Star Wars universe.
- Magic in video and role-playing games.
- Magic of Dungeons & Dragons
- Hard and soft magic systems
- Clute, John; Grant, John; Ashley, Mike; Hartwell, David G.; Westfahl, Gary (1999). The Encyclopedia of Fantasy (1st ed.). New York: St. Martin's Griffin. ISBN 0312198698.
- Martin, Philip (2002). The Writer's Guide to Fantasy Literature: From Dragon's Lair to Hero's Quest: How to Write Fantasy Stories of Lasting Value (1st ed.). Waukesha, Wisconsin: Writer Books. ISBN 0871161958.
- Attebery, Brian (1980). The Fantasy Tradition in American Literature: From Irving to Le Guin. Bloomington: Indiana University Press. ISBN 0253356652.
- "The Limits of Magic". The Victorian Web. Archived from the original on 2004-08-23. Retrieved 2013-10-16.
- "Comic Relief live chat transcript, March 2001". Accio Quote!. March 2001. Retrieved 2013-10-16.
- Card, Orson Scott (1990). How to Write Science Fiction and Fantasy (1st ed.). Cincinnati, Ohio: Writer's Digest Books. pp. 47–49. ISBN 0898794161.
- Bonser, Wilfrid (1 January 1925). "118. The Significance of Colour in Ancient and Mediaeval Magic: With Some Modern Comparisons". Man. 25: 194–198. doi:10.2307/2840849. JSTOR 2840849.
- Briggs, Katharine (1976). An Encyclopedia of Fairies: Hobgoblins, Brownies, Bogies, and Other Supernatural Creatures (1st ed.). New York: Pantheon Books. p. 279. ISBN 039473467X.
- Thompson, Stith (1977). The Folktale. Berkeley: University of California Press. ISBN 9780520035379.
- Frye, Northrop (1971). Anatomy of Criticism; Four Essays (2nd ed.). Princeton: Princeton University Press. p. 152. ISBN 0691012989.
- Lawrence Watt-Evans, "Watt-Evans' Laws of Fantasy", Starlog
- Patricia C. Wrede, "Magic and Magicians", Fantasy Worldbuilding Questions
- Anders, C.J. (2011) "The Rules of Magic, According to the Greatest Fantasy Sagas of All Time" io9.com (includes 7x51 chart)