Eyes Wide Shut is a 1999 erotic mystery psychological drama film directed, produced, and co-written by Stanley Kubrick. It is based on the 1926 novella Dream Story by Arthur Schnitzler, transferring the story's setting from early twentieth-century Vienna to 1990s New York City.