Danish literature () stretches back to the Middle Ages. The earliest preserved texts from Denmark are runic inscriptions on memorial stones and other objects, some of which contain short poems in alliterative verse. In the late 12th century Saxo Grammaticus wrote Gesta Danorum. During the 16th century, the Lutheran Reformation came to Denmark. During this era, Christiern Pedersen translated the New Testament into Danish and Thomas Kingo composed hymns. Fine poetry was created in the early 17th century by Anders Arrebo (1587–1637). The challenges faced during Denmark's absolute monarchy in 1660 are chronicled in Jammersminde (Remembered Woes) by Leonora Christina of the Blue Tower. Ludvig Holberg (1684–1754), influenced by the ideas of the Enlightenment and Humanism, is considered the founder of modern Danish and Norwegian literature. Neoclassical poetry, drama, and the essay flourished during the 18th century influenced by French and English trends. German influence is seen in the verse of the leading poets of the late 18th century such as Johannes Ewald and Jens Baggesen. Other 18th century writers include the hymn writer Hans Adolph Brorson and the satirical poet Johan Herman Wessel.

During Denmark's Golden Age (1800–1850), literature centred on Romantic thinking, with authors such as philosopher Henrik Steffens (1773–1845) and the poet Bernhard Severin Ingemann (1789–1862). One of the most important figures in Danish literary culture was Nikolaj Grundtvig (1783–1872). Hans Christian Andersen (1805–1875) is remembered first and foremost for his fairy tales, written between 1835 and 1872. Søren Kierkegaard (1813–1855) was an existentialist philosopher and a theologian. Jens Peter Jacobsen (1847–1885) began the naturalist movement in Denmark with his romantic, melancholic poems. The Modern Breakthrough was a Scandinavian movement influenced by naturalism towards the end of the 19th century (1870–1890), led by Georg Brandes (1842–1927). Other writers include Holger Drachmann (1846–1908), Herman Bang (1857–1912), and Sophus Schandorph (1836–1901).

Henrik Pontoppidan (1857–1943) became a Nobel prize winner in 1917 for his "authentic descriptions of present-day life in Denmark". The 20th century began with reactions against the naturalist movement, moving instead towards nationalism. A national conservative trend was embodied in the works of Kaj Munk (1898–1944) and Valdemar Rørdam (1872–1946). Modern realism was practiced by Bang and J.P. Jacobsen. Social realism was practiced by Hans Kirk (1898–1962) and Martin Andersen Nexø (1869–1954). Jeppe Aakjær (1866–1930), Johannes Jørgensen (1866–1956) and Nobel prize-winner Johannes V. Jensen (1873–1950) brought a new dimension to Danish literature. Karen Blixen (1885–1962), who also used the pen name "Isak Dinesen" is notable for her memoir Out of Africa (1937).

Important post-WW II authors include Tove Ditlevsen (1917–1976), Klaus Rifbjerg (1931–2015), Dan Turèll (1946–1993), Leif Davidsen (born 1950), Bjarne Reuter (born 1950), Peter Høeg (born 1957), Jens Christian Grøndahl (born 1959), Benny Andersen (1929–2018), Anders Bodelsen (1937–2021), Elsebeth Egholm (born 1960), Christian Kampmann (1939–1988), Dea Trier Mørch (1941–2001), Jakob Ejersbo (1968–2008), Jussi Adler-Olsen (born 1950), and Birgithe Kosovic (born 1972). Among today's most successful authors are Leif Davidsen who writes gripping spy stories with a political extension, Bjarne Reuter with his intriguing novels for younger readers and Jens Christian Grøndahl whose love stories with a psychological twist include "Silence in October" and "An Altered Light".

Middle Ages

The earliest preserved texts from Denmark are runic inscriptions on memorial stones and other objects. Some of them contain short poems in alliterative verse.

The advent of Christianity in the 10th century brought Denmark into contact with European learning, including the Latin language and alphabet, but it was not until the late 12th century that this was to bear significant literary fruit in Gesta Danorum, an ambitious historical work by Saxo Grammaticus. Saxo's work is an important primary source for the study of Scandinavian myths and legends as well as a lively account of Danish history up to the author's own time. Other medieval literary works include the Danish ballads, recorded since the 16th century by aristocratic ladies in their manuscript albums. These led to the "Book of a Hundred Ballads (1591) published by Anders Sørensen Vedel, "Collection Tragica" (1695) by Metter Gøya and the "Book of a Hundred Ballads" by Peter Syv in 1695."Literature" , Danish foreign ministry. Retrieved 2 May 2010.

16th and 17th centuries

The 16th century brought the Lutheran Reformation to Denmark and a new period in the nation's literature. Major authors of the time include the humanist Christiern Pedersen, who translated the New Testament into Danish, and Poul Helgesen who vigorously opposed the Reformation. The 16th century also saw Denmark's earliest plays, including the works of Hieronymus Justesen Ranch. The 17th century was an era of renewed interest in Scandinavian antiquities with scholars like Ole Worm at the forefront. Though religious dogmatism was on the rise the passionate hymns of Thomas Kingo transcended the genre with personal expression.

Fine poetry was created in the early 17th century by Anders Arrebo (1587–1637)."Arrebo, Anders" article in Dansk biografisk Lexikon, p 345, retrieved January 2, 2009 He is remembered in particular for Hexaemeron, a poem describing the six days of the Creation (c. 1622), published posthumouslyPreminger, Alex and T. V. F. Brogan, et al., The New Princeton Encyclopedia of Poetry and Poetics, 1993. New York: MJF Books/Fine Communications

External struggles with Sweden and internal rivalries among the nobility leading to Denmark's absolute monarchy in 1660 are chronicled from a royal prisoner's redemptive perspective in Jammersminde (Remembered Woes), in the heartfelt prose of Leonora Christina of the Blue Tower, written 1673–1698, but first published in 1869.

18th century

Ludvig Holberg (1684–1754), influenced by the ideas of the Enlightenment and Humanism, is considered the founder of modern Danish and Norwegian literature. He is best known for the comedies he wrote in 1722–1728. Among the most popular are Jean de France and Erasmus Montanus, both in the satirical style of Molière with pretentious, stereotyped characters. The first is about a Dane who, after picking up notions of the French language and lifestyle while in Paris, tries to impress his countrymen on his return to Denmark. The second presents Rasmus Berg, the son of a farmer. On completing his college education, he Latinized his name to Montanus and became a menace to his family and neighbours with all he has learned."Biography of Ludvig Holberg" , YourDictionary.com. Retrieved 14 April 2010.

Neoclassical poetry, drama, and the essay flourished during the 18th century influenced by French and English trends. German influence is seen in the verse of the leading poets of the late 18th century such as Johannes Ewald and Jens Baggesen."Johannes Ewald: Biografi", Kalliope. . Retrieved 14 April 2010."Jens Baggesen", Kalliope. . Retrieved 14 April 2004.

Other 18th century writers include the pietist hymn writer Hans Adolph Brorson and the witty, satirical poet Johan Herman Wessel."Hans Adolph Brorson", Den store Danske. Retrieved 15 April 2010."Johan Herman Wessel (1742–85)", Kalliope.org. Retrieved 16 April 2010.

19th century The Golden Age During Denmark's Golden Age (1800–1850), literature centred on Romantic thinking. It was introduced in 1802 by the philosopher Henrik Steffens who gave a successful series of lectures at Elers Kollegium. He presented the main themes of German romanticism, emphasising the relationship between nature, history and mankind."Guide to the Danish Golden Age: Literature" . Retrieved 25 April 2010. The movement was maintained by the romanticists, especially Adam Oehlenschläger (1779–1850). Remembered today for his Digte (1803) and Poetiske Skrifter (1805), Oehlenschläger quickly became the leading poet in Denmark."Adam Oehlenschläger", Den store Danske. Retrieved 14 April 2010. Bernhard Severin Ingemann (1789–1862) also published a collection of romantic poems before producing first a number of plays, then a successful series of novels and finally a number of fine religious poems which, after being set to music, became an important addition to the hymns sung in Danish churches."Bernhard Severin Ingemann" , Guide to the Danish Golden Age. Retrieved 25 April 2010.

One of the most important figures in Danish literary culture was Nikolaj Grundtvig (1783–1872) who instilled a growing spirit of nationalism based initially on his Northern Mythology (1808) and his long drama, The Fall of the Heroic Life in the North (1809). In addition to a huge stream of articles and poems, he wrote a number of books, including two histories of the world (1814 and 1817), the long historical poem Roskilde-Riim (Rhyme of Roskilde) (1813), and a book-sized commentary, Roskilde Saga. Grundtvig's hymn book effected a great change in Danish church services, substituting the hymns of the national poets for the slow measures of the orthodox Lutherans. In all Grundtvig wrote or translated about 1,500 hymns, including "God's Word Is Our Great Heritage", most of which are still frequently sung today."N. F. S. Grundtvig" , Archiv for Dansk Litteratur. Retrieved 14 April 2010.

Hans Christian Andersen (1805–1875) is remembered first and foremost for his fairy tales, written between 1835 and 1872 not only for children but for adults too. Among the most popular are "The Steadfast Tin Soldier", "The Snow Queen", "The Little Mermaid", "Thumbelina", "The Little Match Girl", and "The Ugly Duckling". Considered to be the father of the modern fairytale, Andersen wrote a total of 156 fairy stories, only 12 of which drew on folk tales. But Andersen also wrote a number of travel sketches, several novels including the well-received: "The Improvisatore" (1835), a series of poems, and his autobiography "The Fairy Tale of My Life" (1855).

Søren Kierkegaard (1813–1855) was an existentialist philosopher and a theologian. Much of his philosophical work deals with the issues of how one lives, focusing on the priority of concrete human reality over abstract thinking and highlighting the importance of personal choice and commitment. His principal aesthetic works include Either/Or (Enten-Eller) (1843), Philosophical Fragments (Philosophiske Smuler) (1844), Stages on Life's Way (Stadier paa Livets Vei) (1845) and Concluding Unscientific Postscript to Philosophical Fragments (Afsluttende uvidenskabelig Efterskrift) (1846). Opposing Hegelian philosophy, they promote the existential approach which raises the individual's awareness of God but intensifies his despair at not being able to achieve eternal truth. His religious works include Works of Love (Kjerlighedens Gjerninger) (1847) and Practice in Christianity (Indøvelse i Christendom) (1850)."Søren Aabye Kierkegaard (1813–1855)", Philosophy Pages. Retrieved 21 April 2010.

Modern Breakthrough