Western fiction is a genre of literature set in the American Old West frontier and typically set from the late eighteenth to the late nineteenth century. Well-known writers of Western fiction include Zane Grey from the early 20th century and Louis L'Amour from the mid 20th century. The genre peaked around the early 1960s, largely due to the popularity of televised Westerns such as Bonanza. Readership began to drop off in the mid- to late 1970s and has reached a new low in the 2000s. Most bookstores, outside of a few west American states, only carry a small number of Western fiction books.
The predecessor of the western in American literature emerged early with tales of the frontier. The most famous of the early 19th century frontier novels were James Fenimore Cooper's five novels comprising the . Cooper's novels were largely set in what was at the time the American frontier: the Appalachian Mountains and areas west of there. As did his novel The Prairie (1824), most later westerns would typically take place west of the Mississippi River.
The Western as a specialized genre got its start in the "penny dreadfuls" and later the "dime novels". Published in June 1860, Malaeska; the Indian Wife of the White Hunter is considered the first dime novel. These cheaply made books were hugely successful and capitalized on the many stories that were being told about the mountain men, outlaws, settlers, and lawmen who were taming the western frontier. Many of these novels were fictionalized stories based on actual people, such as Billy the Kid, Buffalo Bill, Wyatt Earp (who was still alive at the time), Wild Bill Hickok, and Jesse James.