Set on the prosperous Long Island of 1922, The Great Gatsby provides a critical social history of America during the Roaring Twenties within its narrative. That era, known for unprecedented economic prosperity, the evolution of jazz music, flapper culture, and bootlegging and other criminal activity, is plausibly depicted in Fitzgerald's novel. Fitzgerald uses these societal developments of the 1920s to build Gatsby's stories from simple details like automobiles to broader themes like Fitzgerald's discreet allusions to the organized crime culture which was the source of Gatsby's fortune. Fitzgerald educates his readers about the garish society of the Roaring Twenties by placing a timeless, relatable plotline within the historical context of the era.
Fitzgerald's visits to Long Island's north shore and his experience attending parties at mansions inspired The Great Gatsby's setting. Today, there are a number of theories as to which mansion was the inspiration for the book. One possibility is Land's End, a notable Gold Coast Mansion where Fitzgerald may have attended a party. Many of the events in Fitzgerald's early life are reflected throughout The Great Gatsby. Fitzgerald was a young man from Minnesota, and like Nick, he was educated at an Ivy League school, Princeton (in Nick's case, Yale.) Fitzgerald is also similar to Jay Gatsby, as he fell in love while stationed in the military and fell into a life of decadence trying to prove himself to the girl he loves. Fitzgerald became a second lieutenant, and was stationed at Camp Sheridan, in Montgomery, Alabama. There he met and fell in love with a wild seventeen-year-old beauty named Zelda Sayre. Zelda finally agreed to marry him, but her preference for wealth, fun, and leisure led her to delay their wedding until he could prove a success. Like Nick in The Great Gatsby, Fitzgerald found this new lifestyle seductive and exciting, and, like Gatsby, he had always idolized the very rich. In many ways, The Great Gatsby represents Fitzgerald's attempt to confront his conflicting feelings about the Jazz Age. Like Gatsby, Fitzgerald was driven by his love for a woman who symbolized everything he wanted, even as she led him toward everything he despised.
In her book Careless People: Murder, Mayhem and the Invention of 'The Great Gatsby' (2013), Sarah Churchwell speculates that parts of the ending of The Great Gatsby (1925) by F. Scott Fitzgerald were based on the Hall-Mills Case. Based on her forensic search for clues, she asserts that the two victims in the Halls-Mills murder case inspired the characters who were murdered in The Great Gatsby.