This song was not written for the movie; Goffin and Masser wrote it in 1973 and had Thelma Houston record it, but her version was never released (it did appear on YouTube
). When Berry Gordy asked Masser to compose music for Mahogany
, he revisited "Do You Know Where You're Going To." The verses were changed a bit to suit the storyline, but the major elements of the song - including the arrangement and chorus - were kept intact.
For Houston, it was another tough break, as she had been recording for years without a hit. She finally came out on top with her 1976 disco hit "Don't Leave Me This Way
," which went to #1 in the US.