The changes to the Yahoo Music site are expected to be complete by early Wednesday. Spotify's rollout across the rest of Yahoo will take longer. Rhapsody had been a Yahoo partner since February 2008.
Yahoo visitors will soon be able to hit a play button and have songs play without leaving the website, while the previous incarnation required users to navigate away from the page, said Yahoo spokeswoman Lisa Goodwin.
Yahoo Inc. will also create an app for the Spotify platform that will provide original content like artist profiles.
Spotify is free on computers but users who pay $10 a month can choose songs for playback on mobile devices.