Eyes Wide Shut is a 1999 erotic mystery psychological drama film directed, produced and co-written by Stanley Kubrick. Based on the 1926 novella Traumnovelle (Dream Story) by Arthur Schnitzler, the movie transfers the story from early 20th-century Vienna to 1990s New York City. The film follows the sexually charged adventures of Dr. Bill Harford, who is shocked when his wife, Alice, reveals that she had contemplated having an affair a year earlier. He then embarks on a night-long adventure, during which he infiltrates a massive masked orgy of an unnamed secret society.
Kubrick obtained the filming rights for Dream Story in the 1960s, considering it a perfect text for a film adaptation about sexual relations. He revived the project in the 1990s when he hired writer Frederic Raphael to help him with the adaptation. The film, which was mostly shot in the United Kingdom, apart from some exterior establishing shots, includes a detailed recreation of exterior Greenwich Village street scenes made at Pinewood Studios. The film's production, at 400 days, holds the Guinness World Record for the longest continuous film shoot.
Kubrick died six days after showing his final cut to Warner Bros. Pictures, making this the final film he directed. In order to ensure a theatrical R rating in the United States, Warner Bros. digitally altered several sexually explicit scenes during post-production. This version was released on July 16, 1999, to moderately positive reactions from film critics. Box office receipts for the film worldwide were about $162 million. The uncut version has since been released in DVD, HD DVD and Blu-ray Disc formats.