This section needs additional citations for verification
. (May 2012)
Some of Lovecraft's work was inspired by his own nightmares. His interest started from his childhood days when his grandfather would tell him Gothic horror stories.
Lovecraft's most significant literary influence was Edgar Allan Poe. He had a British writing style due to his love of British literature. Like Lovecraft, Poe's work was out of step with the prevailing literary trends of his era. Both authors created distinctive, singular worlds of fantasy and employed archaisms in their writings. This influence can be found in such works as his novella The Shadow over Innsmouth where Lovecraft references Poe's story "The Imp of the Perverse" by name in Chapter 3, and in his poem "Nemesis", where the "... ghoul-guarded gateways of slumber" suggest the "... ghoul-haunted woodland of Weir" found in Poe's "Ulalume". A direct quote from the poem and a reference to Poe's only novel The Narrative of Arthur Gordon Pym of Nantucket is alluded to in Lovecraft's magnum opus At the Mountains of Madness. Both authors shared many biographical similarities as well, such as the loss of their fathers at young ages and an early interest in poetry.
He was influenced by Arthur Machen's carefully constructed tales concerning the survival of ancient evil into modern times in an otherwise realistic world and his beliefs in hidden mysteries which lay behind reality. Lovecraft was also influenced by authors such as Oswald Spengler and Robert W. Chambers. Chambers was the writer of The King in Yellow, of whom Lovecraft wrote in a letter to Clark Ashton Smith: "Chambers is like Rupert Hughes and a few other fallen Titans – equipped with the right brains and education but wholly out of the habit of using them". Lovecraft's discovery of the stories of Lord Dunsany, with their pantheon of mighty gods existing in dreamlike outer realms, moved his writing in a new direction, resulting in a series of imitative fantasies in a "Dreamlands" setting.
Lovecraft also cited Algernon Blackwood as an influence, quoting The Centaur in the head paragraph of "The Call of Cthulhu". He declared Blackwood's story "The Willows" to be the single best piece of weird fiction ever written.
Another inspiration came from a completely different source: scientific progress in biology, astronomy, geology, and physics. His study of science contributed to Lovecraft's view of the human race as insignificant, powerless, and doomed in a materialistic and mechanistic universe. Lovecraft was a keen amateur astronomer from his youth, often visiting the Ladd Observatory in Providence, and penning numerous astronomical articles for local newspapers. His astronomical telescope is now housed in the rooms of the August Derleth Society.
Lovecraft's materialist views led him to espouse his philosophical views through his fiction; these philosophical views came to be called cosmicism. Cosmicism took on a dark tone with his creation of what is today often called the Cthulhu Mythos, a pantheon of alien extra-dimensional deities and horrors which predate humanity, and which are hinted at in eons-old myths and legends. The term "Cthulhu Mythos" was coined by Lovecraft's correspondent and fellow author, August Derleth, after Lovecraft's death; Lovecraft jocularly referred to his artificial mythology as "Yog-Sothothery".
Lovecraft considered himself a man best suited to the early 18th century. His writing style, especially in his many letters, owes much to Augustan British writers of the Enlightenment like Joseph Addison and Jonathan Swift.
Among the books found in his library (as evidenced in Lovecraft's Library by S. T. Joshi) was The Seven Who Were Hanged by Leonid Andreyev and A Strange Manuscript Found in a Copper Cylinder by James De Mille.
Lovecraft's style has often been subject to criticism, yet scholars such as S. T. Joshi have shown that Lovecraft consciously utilized a variety of literary devices to form a unique style of his own – these include conscious archaism, prose-poetic techniques combined with essay-form techniques, alliteration, anaphora, crescendo, transferred epithet, metaphor, symbolism, and colloquialism.