What Are You Doing the Rest of Your Life?

is a song with lyrics written by Alan Bergman and Marilyn Bergman and original music written by Michel Legrand for the 1969 film The Happy Ending, performed by Michael Dees.

[2] The same title was used 25 years earlier by Ted Koehler and Burton Lane for their song for the 1944 film Hollywood Canteen.

[3] Alan Bergman would recall that after Michel Legrand had written eight melodies which were somehow not viable for the film, Marilyn Bergman suggested the opening line "What are you doing the rest of your life?

", and Legrand then completed the song's melody based on that phrase.

[4] Marilyn Bergman would later comment on the dual meanings of the phrase "What are you doing the rest of your life?"