The film opens with a montage of images of Manhattan accompanied by George Gershwin's Rhapsody in Blue. Isaac Davis, played by Allen, is introduced as a man who loves New York City. He is a twice-divorced 42-year-old comedy writer dealing with the women in his life. He is dating Tracy (Mariel Hemingway), a 17-year old high school girl. However, he falls in love with his best friend's mistress, Mary Wilkie (Diane Keaton). Also, his lesbian ex-wife, Jill (Meryl Streep), is writing a tell-all book about their relationship. Over the course of the movie, Isaac tries to figure out whom he ultimately wants to be with, Tracy or Mary.