Midnight Cowboy is a 1969 American buddy drama film, based on the 1965 novel of the same name by James Leo Herlihy. The film was written by Waldo Salt, directed by John Schlesinger, and stars Jon Voight and Dustin Hoffman, with notable smaller roles being filled by Sylvia Miles, John McGiver, Brenda Vaccaro, Bob Balaban, Jennifer Salt, and Barnard Hughes. Set in New York City, Midnight Cowboy depicts the unlikely friendship between two hustlers: naïve prostitute Joe Buck (Voight), and ailing con man "Ratso" Rizzo (Hoffman).
Joe Buck, a young Texan working as a dishwasher, quits his job and heads to New York City to become a male prostitute. Initially unsuccessful, he manages to bed a middle-aged woman, Cass, in her posh Park Avenue apartment. The encounter ends badly as he gives her money after she is insulted and throws a tantrum when he requests payment.