This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)(Learn how and when to remove this template message)
Magic, as the word is used in this article, includes mystical, paranormal, or supernatural activity as it appears in J. R. R. Tolkien's fictional realm of Middle-earth. In an unsent draft of a letter in 1954, Tolkien argues that magia and goeteia are both used for good and bad purposes, but neither is inherently good or bad in itself.
Prophecy is real in Middle-earth: Boromir and Faramir have true dreams about the One Ring and the Halfling; Glorfindel prophesies the nature of the Witch-king's doom; Mandos declared the Prophecy of the North to the Noldor; and both Melian and her descendant Elrond are known to possess the gift of foresight, allowing them to sense and see what is yet to come. Likewise, Aragorn foretells danger to Gandalf if he enters Moria, as well as predicting that he and Éomer may meet again on the field of battle.
For so sworn, good or evil, an oath may not be broken, and it shall pursue oathkeeper and oathbreaker to the world's end. – Quenta Silmarillion
Middle-earth is populated by numerous mythical and fictional beings.
The Ainur possess supernatural abilities that are seen by some as a form of magic. After the creation of Middle-earth, there were some Ainur who felt obligated to watch over the new creation. They entered Middle-earth to guard the creation, and became the Valar and the Maiar.
Dragons were all descended from Glaurung, the father of dragons, created by Morgoth in Angband during the First Age. They had a specific hypnotic power called a dragon spell, putting receivers of the spell under an eternal sleep 
The Nazgûl, or Ringwraiths, were the remnants of powerful kings and sorcerers of men. They used numerous spells, including beckoning spells, location spells and fire spells as weapons. They also used their black breath to cast curses, which caused a dark depression among their foes, causing them to freeze in terror.
Werebears, such as Beorn, who helps Bilbo Baggins, Gandalf and their party on their journey to the Lonely Mountain. They are strong and powerful shapeshifters. They are also cannibals in their shifted form 
In addition to the different types of supernatural creatures, in Middle-earth there was a shadow realm where creatures such as the Ringwraiths have a different presence than that observable in the normal world. High Elves also existed in both worlds. Tolkien wrote "...for those who have dwelt in the Blessed Realm live at once in both worlds, and against both the Seen and the Unseen they have great power.":235 Mortals can see this world whilst wearing a Ring of Power, as both Frodo and Sam do. The effect is also caused by the wound Frodo receives from the Morgul Blade. This wound is an attempt to transform him into a wraith and allows him to see the shadow world more clearly, including seeing Glorfindel as he appears on the other side. The wound also causes permanent psychological effects on Frodo.
In The Hobbit, it is revealed that Gandalf gave the Old Took a pair of magic diamond studs that fastened themselves and never came undone till ordered. The functions of palantíri are similar to modern videophones (although sound was not transmitted, instead thoughts were "transferred between wills") and powerful telescopes; but palantíri do not have any mechanical workings and are clearly magical, resembling specula, or divining spheres used by soothsayers. Not least of all are the Rings of Power and the Silmarils themselves.
The Door of Durin in Khazad-dûm is a prime example of a seemingly normal object which is in fact supernatural. The door is nothing special by itself, but the moon-runes and their response to a password are supernatural and thus magical. Moon-letters were also discovered by Elrond on Thror's map of the Lonely Mountain, which revealed the method of opening the secret entrance:
"Stand by the grey stone when the thrush knocks," read Elrond, "and the setting sun with the last light of Durin's Day will shine upon the key-hole." – The Hobbit
This special combination of spatial and temporal circumstances can be considered a form of magic. In The Hobbit, the Elvenking of Mirkwood, Thranduil, uses magic doors to guard his palace, making it almost impossible for anyone to enter or exit against his will.
The Staves of the Five Wizards, the Istari, also seem to be objects of magic, as they appeared to be a primary part of the Wizards' own power and the Wizards frequently used them to help them in their labours. Saruman's staff was famously broken in his parley with Gandalf the White at Orthanc. (Saruman did acquire another staff,:261 but it had no special powers.) Gandalf the Grey's staff had also been broken, on the Bridge of Khazad-dûm. Gandalf the Grey was inseparable from his staff;:375 indeed the name Gandalf means 'wand-elf' or 'staff-elf'.:399 It was with him when he arrived in Middle-earth from the enchanted land of Valinor,:289 and he used its several powers on various occasions. When the wizard was re-incarnated as Gandalf the White he had a new staff, but it soon disappeared from history after being used only twice for magic and then finally to knock on the doors of Orthanc. After that Gandalf emanated white magic from his bare hand.:128
The craftsmanship of Elves displays their subtle, instinctive control of magic. The food lembas, given to the Fellowship by the Elves of Lothlórien, was capable of keeping a "traveller on his feet for a day of long labour",:386 and the hithlain rope is described as strong, tough, light, long, soft to the hand, packs close and, at Sam's spoken command, un-knotted itself. Hithlain appears to have been produced from the bark of mallorn trees, and was possibly also used to make elven-cloaks. The cloaks that the Fellowship received from the Elves were thought by Pippin to be magic, and although the Elves neither confirmed nor denied this (Galadriel herself seemed confused about Sam's use of the word when explaining about her mirror), they said that the cloaks are a great aid in keeping out of the sight of unfriendly eyes; this was confirmed by the subsequent experiences of the Fellowship. Some of the gifts Galadriel gives to the Fellowship, such as Frodo's Phial and Sam's box of earth from the gardens of Galadriel, also seem to possess magical properties.
Elven and Númenórean swords are not just masterfully created weapons, but they also frequently possess magical powers such as the sword Sting, which glows blue when Orcs are nearby. Some Elven swords even bordered on sentience, such as the Black Sword, wielded by Túrin Turambar. The Black Sword was crafted by Eöl, a Sylvan or Sindarin Elf, who poured his hatred into the weapon. Crafted from a fallen star, it could pierce any earthly metal; even the scales of Glaurung. However, it hated its wielder. It was indeed cursed, and led to the death of Beleg. Túrin, before killing himself with it, seems to hear it speak to him, declaring revenge on him for the death of its master and Brandir.
In the The Fellowship of the Ring, Gandalf uses spells to conjure fire, create light, open the doors of Moria, bless Sam Gamgee's pony (Bill), hold the door in the Chamber of Mazarbul, and break the Bridge of Khazad-dûm. Gandalf also tells Frodo Baggins that "it has not been hard for me to read your mind and memory,":232 and both Aragorn and Glorfindel are able to tell the severity of Frodo's injury. Also in The Fellowship of the Ring, as the Nazgûl attempt to follow Glorfindel, Elrond (the Lord of Rivendell) commands a giant wave to sweep the Nazgûl away.
In The Two Towers, Gandalf first uses magic to disarm Aragorn and Gimli and destroy an arrow Legolas fires at him. Later in the book, he uses his voice at Orthanc to compel Saruman to return to the parley, to break Saruman's staff, and to dismiss him after doing so. Gandalf also tells Gimli that Saruman could "look like me in your eyes, if it suited his purpose with you".:181–182 In other words, Saruman can use magic to create illusions.
In The Return of the King, Gandalf uses a shaft of white light to drive off the Nazgûl assaulting him. The Witch-king of Angmar is known as a dark sorcerer, and Galadriel uses her mirror to show scenes from the past, present, and future.
In the stories of The Silmarillion, Lúthien and Beren change shape to infiltrate Angband, and Lúthien uses magic to put Carcharoth, Morgoth, and everyone in Morgoth's castle into a deep slumber. Finrod sings spells to hide his identity from Sauron, Melian uses magic to create a barrier around her land of Doriath – which is, for a time, seemingly impenetrable – and Sauron uses wizardry to create a phantom of Eilinel to deceive Gorlim before killing him.
Patrick Curry argued that Tolkien felt the need for a magical cosmology incorporating polytheism and animism with Christian values like compassion and humility, to counter modernity's "war against mystery and magic". He observed that Tolkien considered magic something negative, associated with modern science and machinery, as he stated in his essay On Fairy-Stories; a means of "power, ... [and] domination of things and wills" that corrupts those who use it,:61–64 for example trapping Saruman in his desire for ultimate knowledge and order.:68 Such magic contrasts with the enchantment that occurs in early drafts of his fictional elvish lands, which he saw as a form of pure art and an appreciation of the wonders of the world. In a draft of a letter, Tolkien distinguished these two kinds of magic with the Greek words magia (magic) and goeteia (sorcery), respectively. While the elves use goeteia only for artistic purposes and are always aware of the difference between reality and deception, the enemy employs it to deceive and terrify. Tolkien wrote also that neither kind of magic is good or evil per se in his tales, but using them to control free will is the supremely bad motive of his fiction.
- The Letters of J. R. R. Tolkien, No.155 to Naomi Mitchison (draft)
- Tolkien, J.R.R. (1977), The Silmarillion, New York City: Houghton Mifflin, ISBN 0-618-12698-8
- "Creatures of Middle-Earth". alatosmanveru. Retrieved March 8, 2014.
- "Beings and races of the Middle-earth Universe". Library of the Ancients. Retrieved March 8, 2014.
- Tolkien, J.R.R. (1988). The Return of the King: being the third part of The Lord of the Rings (2nd ed.). London: Unwin Hyman. ISBN 0-04-823047-2.
- Tolkien, J.R.R. (1955). The Lord of the Rings: The Fellowship of the Ring (1st ed.). London u.a.: Allen & Unwin. ISBN 0-04-823045-6.
- Tolkien, J.R.R. (1980). Unfinished Tales. The Random House Publishing Group. p. 430. ISBN 978-0-345-35711-3.
- Tolkien, J.R.R. (1966). The Two Towers: being the second part of The Lord of the Rings (2nd ed.). London: G. Allen & Unwin. ISBN 0-04-823046-4.
- Tolkien, J.R.R. (1984). Unfinished Tales of Númenor and Middle-Earth (Repr. ed.). London: Allen & Unwin. ISBN 0-04-823179-7.
- Beth Russell (2005), 'Botanical Notes on the Mallorn', in Mallorn (the journal of the Tolkien Society), no.43 p.21 note 27, ISSN 0308-6674.
- Curry, Patrick (2004). Defending Middle-Earth: Tolkien: Myth and Modernity. Houghton Mifflin Harcourt. p. 19.
As we shall see, the spiritual world of Middle-earth is a rich and complex one. It contains both a polytheist-cum-animist cosmology of 'natural magic' and a Christian (but non-sectarian) ethic of humility and compassion. Tolkien clearly felt that both are now needed. The 'war against mystery and magic' by modernity urgently requires a re-enchantment of the world, which a sense of Earth-mysteries is much better-placed to offer than a single transcendent deity.
- Curry, Patrick (2004). Defending Middle-Earth: Tolkien: Myth and Modernity (1st Houghton Mifflin Books ed. ed.). Boston: Houghton Mifflin. ISBN 0-6184-7885-X.
- Purtill, Richard L. (2003) . J.R.R. Tolkien: Myth, Morality, and Religion (new ed.). Ignatius Press. pp. 139–140. ISBN 0-89870-948-2.