J. R. R. Tolkien's fantasy books on Middle-earth, especially The Lord of the Rings and The Silmarillion, drew on a wide array of influences including language, Christianity, mythology, archaeology, ancient and modern literature, and personal experience. He was inspired primarily by his profession, philology; his work centred on the study of Old English literature, especially Beowulf, and he acknowledged its importance to his writings.
He was a gifted linguist, influenced by Germanic, Celtic, Finnish, Slavic, and classical language and mythology. His fiction reflected his Christian beliefs and his early reading of adventure stories and fantasy books. Commentators have attempted to identify many literary and topological antecedents for characters, places and events in Tolkien's writings. Some writers were certainly important to him, including the Arts and Crafts polymath William Morris, and he undoubtedly made use of some real place-names, such as Bag End, the name of his aunt's home.
Tolkien stated that he had been influenced by his childhood experiences of the English countryside of Warwickshire and its urbanisation by the growth of Birmingham, and his personal experience of the First World War.
Philology
Tolkien was a professional philologist, a scholar of comparative and historical linguistics. He was especially familiar with Old English and related languages. He remarked to the poet and The New York Times book reviewer Harvey Breit that "I am a philologist and all my work is philological"; he explained to his American publisher Houghton Mifflin that this was meant to imply that his work was "all of a piece, and fundamentally linguistic [sic] in inspiration. ... The invention of languages is the foundation. The 'stories' were made rather to provide a world for the languages than the reverse. To me a name comes first and the story follows."
Crist 1
Tolkien began his mythology with the 1914 poem The Voyage of Earendel the Evening Star, inspired by the Old English poem Crist 1. Around 1915, he had the idea that his constructed language Quenya was spoken by Elves whom Eärendil meets during his journeys. From there, he wrote the Lay of Earendel, telling of Earendel and his voyages and how his ship is turned into the morning star. These lines from Crist 1 also gave Tolkien the term Middle-earth (translating Old English Middangeard). Accordingly, the medievalists Stuart D. Lee and Elizabeth Solopova state that Crist 1 was "the catalyst for Tolkien's mythology".
Beowulf
Tolkien was an expert on Old English literature, especially the epic poem Beowulf, and made many uses of it in The Lord of the Rings. For example, Beowulfs list of creatures, , "ettens [giants] and elves and demon-corpses", contributed to his creation of some of the races of beings in Middle-earth, though with so little information about what elves were like, he was forced to combine scraps from all the Old English sources he could find.
He derived the Ents from a phrase in another Old English poem, Maxims II, , "skilful work of giants"; The Tolkien scholar Tom Shippey suggests that Tolkien took the name of the tower of Orthanc (orþanc) from the same phrase, reinterpreted as "Orthanc, the Ents' fortress". The word occurs again in Beowulf in the phrase , "[a mail-shirt, a] cunning-net sewn, by a smith's skill": Tolkien used searo in its Mercian form *saru for the name of Orthanc's ruler, the wizard Saruman, incorporating the ideas of cunning and technology into Saruman's character. He made use of Beowulf, too, along with other Old English sources, for many aspects of the Riders of Rohan: for instance, their land was the Mark, a version of the Mercia where he lived, in Mercian dialect *Marc.
Sigelwara
Several Middle-earth concepts may have come from the Old English word Sigelwara, used in the Codex Junius to mean "Aethiopian". Tolkien wondered why there was a word with this meaning, and conjectured that it had once had a different meaning, which he explored in detail in his essay "Sigelwara Land", published in two parts in 1932 and 1934.J. R. R. Tolkien, "Sigelwara Land" Medium Aevum Vol. 1, No. 3. December 1932 and Medium Aevum Vol. 3, No. 2. June 1934. He stated that Sigel meant "both sun and jewel", the former as it was the name of the sun rune *sowilō (ᛋ), the latter from Latin sigillum, a seal. He decided that the second element was *hearwa, possibly related to Old English heorð, "hearth", and ultimately to Latin carbo, "soot". He suggested this implied a class of demons "with red-hot eyes that emitted sparks and faces black as soot". Shippey states that this "helped to naturalise the Balrog" (a demon of fire) and contributed to the sun-jewel Silmarils. The Aethiopians suggested to Tolkien the Haradrim, a dark southern race of men.
Nodens
In 1928, a 4th-century Romano-British cult temple was excavated at Lydney Park, Gloucestershire. Tolkien was asked to investigate a Latin inscription there: "For the god Nodens. Silvianus has lost a ring and has donated one-half [its worth] to Nodens. Among those who are called Senicianus do not allow health until he brings it to the temple of Nodens." funded by the European Research Council via the LatinNow project The Anglo-Saxon name for the place was Dwarf's Hill, and in 1932 Tolkien traced Nodens to the Irish hero Nuada Airgetlám, "Nuada of the Silver-Hand".J. R. R. Tolkien, "The Name Nodens", Appendix to "Report on the excavation of the prehistoric, Roman and post-Roman site in Lydney Park, Gloucestershire", Reports of the Research Committee of the Society of Antiquaries of London, 1932; also in Tolkien Studies: An Annual Scholarly Review, Vol. 4, 2007
Shippey thought this "a pivotal influence" on Tolkien's Middle-earth, combining as it did a god-hero, a ring, dwarves, and a silver hand. The J.R.R. Tolkien Encyclopedia notes also the "Hobbit-like appearance of [Dwarf's Hill]'s mine-shaft holes", and that Tolkien was extremely interested in the hill's folklore on his stay there, citing Helen Armstrong's comment that the place may have inspired Tolkien's "Celebrimbor and the fallen realms of Moria and Eregion". The Lydney curator Sylvia Jones said that Tolkien was "surely influenced" by the site. The scholar of English literature John M. Bowers notes that the name of the Elven-smith Celebrimbor is the Sindarin for "Silver Hand", and that "Because the place was known locally as Dwarf's Hill and honeycombed with abandoned mines, it naturally suggested itself as background for the Lonely Mountain and the Mines of Moria."
Christianity
Tolkien was a devout Roman Catholic. He once described The Lord of the Rings to his friend, the English Jesuit Father Robert Murray, as "a fundamentally religious and Catholic work, unconsciously so at first, but consciously in the revision." Many theological themes underlie the narrative, including the battle of good versus evil, the triumph of humility over pride, and the activity of grace, as seen with Frodo's pity toward Gollum. In addition the epic includes the themes of death and immortality, mercy and pity, resurrection, salvation, repentance, self-sacrifice, free will, justice, fellowship, authority and healing. Tolkien mentions the Lord's Prayer, especially the line "And lead us not into temptation but deliver us from evil" in connection with Frodo's struggles against the power of the One Ring. Tolkien said "Of course God is in The Lord of the Rings. The period was pre-Christian, but it was a monotheistic world", and when questioned who was the One God of Middle-earth, Tolkien replied "The one, of course! The book is about the world that God created – the actual world of this planet."
The Bible and traditional Christian narrative also influenced The Silmarillion. The conflict between Melkor and Eru Ilúvatar parallels that between Satan and God. Further, The Silmarillion tells of the creation and fall of the Elves, as Genesis tells of the creation and fall of Man. As with all of Tolkien's works, The Silmarillion allows room for later Christian history, and one version of Tolkien's drafts even has Finrod, a character in The Silmarillion, speculating on the necessity of Eru Ilúvatar's eventual incarnation to save Mankind. A specifically Christian influence is the notion of the fall of man, which influenced the Ainulindalë, the Kinslaying at Alqualondë, and the fall of Númenor.
Mythology
Germanic
Tolkien was influenced by Germanic heroic legend, especially its Norse and Old English forms. During his education at King Edward's School in Birmingham, he read and translated from the Old Norse in his free time. One of his first Norse purchases was the Völsunga saga. While a student, Tolkien read the only available English translation of the Völsunga saga, the 1870 rendering by William Morris of the Victorian Arts and Crafts movement and Icelandic scholar Eiríkur Magnússon. The Old Norse Völsunga saga and the Middle High German Nibelungenlied were coeval texts made with the use of the same ancient sources.Evans, Jonathan. "The Dragon Lore of Middle-earth: Tolkien and Old English and Old Norse Tradition". In Both of them provided some of the basis for Richard Wagner's opera series, Der Ring des Nibelungen, featuring in particular a magical but cursed golden ring and a broken sword reforged. In the Völsunga saga, these items are respectively Andvaranaut and Gram, and they correspond broadly to the One Ring and the sword Narsil (reforged as Andúril). The Völsunga saga also gives various names found in Tolkien. Tolkien's The Legend of Sigurd and Gudrún discusses the saga in relation to the myth of Sigurd and Gudrún.
Tolkien was influenced by Old English poetry, especially Beowulf; Shippey writes that this was "obviously" the work that had most influence upon him. The dragon Smaug in The Hobbit is closely based on the Beowulf dragon, the points of similarity including its ferocity, its greed for gold, flying by night, having a well-guarded hoard, and being of great age.Shippey's discussion is at ; it is summarized in Tolkien made use of the epic poem in The Lord of the Rings in many ways, including elements like the great hall of Heorot, which appears as Meduseld, the Golden Hall of the Kings of Rohan. The Elf Legolas describes Meduseld in a direct translation of line 311 of Beowulf (líxte se léoma ofer landa fela), "The light of it shines far over the land". The name Meduseld, meaning "mead hall", is itself from Beowulf. Shippey writes that the whole chapter "The King of the Golden Hall" is constructed exactly like the section of the poem where the hero and his party approach the King's hall: the visitors are challenged twice; they pile their weapons outside the door; and they hear wise words from the guard, Háma, a man who thinks for himself and takes a risk in making his decision. Both societies have a king, and both rule over a free people where, Shippey states, just obeying orders is not enough.
The figure of Gandalf is based on the Norse deity Odin in his incarnation as "The Wanderer", an old man with one eye, a long white beard, a wide brimmed hat, and a staff. Tolkien wrote in a 1946 letter that he thought of Gandalf as an "Odinic wanderer". The Balrog and the collapse of the Bridge of Khazad-dûm in Moria parallel the fire jötunn Surtr and the foretold destruction of Asgard's bridge, Bifröst.