History of science fiction

Twenty Thousand Leagues Under the Seas illustration by Neuville and Riou. Twenty Thousand Leagues Under the Seas, Jules Verne's 1870 novel, is considered one of the earliest works of modern science fiction.

The literary genre of science fiction is diverse, and its exact definition remains a contested question among both scholars and devotees. This lack of consensus is reflected in debates about the genre's history, particularly over determining its exact origins.

Some writers have identified precursors to the genre in ancient literature such as the Sumerian Epic of Gilgamesh (earliest Sumerian text versions c. 2150–2000 BCE). Others argue that science fiction only became possible sometime between the 17th and early 19th centuries, following the Scientific Revolution and major discoveries in astronomy, physics, and mathematics.

Science fiction developed and boomed in the 20th century, as the deep integration of science and inventions into daily life encouraged a greater interest in literature that explores the relationship between technology, society, and the individual. Scholar Robert Scholes calls the history of science fiction "the history of humanity's changing attitudes toward space and time ... the history of our growing understanding of the universe and the position of our species in that universe". In recent decades, the genre has diversified and become firmly established as a major influence on global culture and thought.