New PC, same iTunes library: the safe move

Gather every song into one folder, carry that folder over, and make iTunes on the new computer open it with playlists, ratings and play counts intact.

FREE$34.95UpdateStar PremiumShare a link to claimThe new laptop is set up, the browser is synced, and the old tower is still humming under the desk. One job is left: the iTunes library you've been feeding for years, with the playlists you built by hand and the star ratings nobody else knows about. Copying a few music folders won't bring those along. iTunes keeps its playlists and play counts in a separate library file, and it only finds your songs again when the folder structure looks the way it expects. Apple's own route takes three moves: consolidate, copy, point iTunes at the copy.

Step 1: Pull every file into the iTunes folder

Over the years, songs end up all over the disk. A CD rip lands in Music, an old download sits in a folder on drive D:, and iTunes simply remembers where each file lives. Copy the iTunes folder alone and those outsiders stay behind. Consolidating fixes that.

  1. Open iTunes on the old PC.
  2. Choose File > Library > Organize Library.
  3. Tick Consolidate files and click OK.

iTunes for Windows library window with the File menu highlighted in the menu bar Organize Library sits under the File menu.

iTunes copies every outside file into the iTunes Media folder and leaves the originals where they are. That means you temporarily need free space for a second copy of those songs. If the old drive is nearly full, clear some space first or the job stops halfway.

Step 2: Find out where your library really lives

By default iTunes keeps everything in your user folder under Music\iTunes, with the songs and videos in the iTunes Media subfolder. Plenty of people moved that folder years ago and forgot about it, so check before you copy.

  1. In iTunes, choose Edit > Preferences.
  2. Click the Advanced tab.
  3. Look at iTunes Media folder location and note the path.

The folder you want to copy is the iTunes folder that contains iTunes Media. Inside it you'll also see a file called iTunes Library.itl. That small file is the part with your playlists, ratings and play counts.

Step 3: Copy the iTunes folder to an external drive

  1. Quit iTunes, so the library file isn't in use while you copy it.
  2. Open File Explorer and go to your iTunes folder.
  3. Drag the whole iTunes folder to an external drive.

For a big library this takes a while. Let it finish, then open the copy on the external drive and check that iTunes Media and iTunes Library.itl are both there. Keep the old PC untouched until the new one plays your music. That copy on the old disk is your safety net if something goes wrong.

Step 4: Put the folder in place on the new PC

Install iTunes on the new computer first and update it to the latest version. Apple asks for that when you restore a library that came from a different machine.

One catch here. On Windows, Apple now splits media across separate apps: Apple Music for songs, Apple TV for films and shows, Apple Devices for syncing an iPhone. Once you install Apple Music or Apple TV, iTunes only handles podcasts and audiobooks. If you want your old library back in iTunes exactly as it was, hold off on those apps until the move is done.

  1. Open iTunes once, then choose File > Exit.
  2. Plug in the external drive.
  3. In File Explorer, drag the backed-up iTunes folder to the new PC's internal drive.

Put it back in the same place it lived before, normally the Music folder inside your user folder. Apple recommends exactly that spot.

Step 5: Tell iTunes which library to open

A fresh iTunes install creates its own empty library and opens that. You switch it to your copied library with a hidden startup option.

  1. Press and hold the Shift key.
  2. While holding it, open iTunes from the Start menu.
  3. In the dialog that appears, click Choose Library.
  4. Select the iTunes folder you just copied, click Open, then pick the iTunes Library.itl file inside it.

Your playlists, ratings and play counts show up right away. If a few songs refuse to play because iTunes can't find them, those files never made it into the iTunes folder, usually because Step 1 was skipped or stopped early. Copy them over from the old PC and drag them into the iTunes window.

The same Shift trick works whenever you want to switch between several libraries, for example one for your music and a separate one for the kids.

Step 6: Authorize the new PC, retire the old one

Music, films and audiobooks you bought in the iTunes Store only play on authorized computers. Your Apple Account allows five of them at a time, and iPhones or iPads don't count.

  1. In iTunes on the new PC, choose Account > Authorizations > Authorize This Computer.
  2. Enter your Apple Account password if iTunes asks.

iTunes for Windows window with the Account menu highlighted

Before the old PC goes to a friend or to the recycler, open iTunes there one last time and choose Account > Authorizations > Deauthorize This Computer. Forgot, and the old machine is already gone? With five authorized computers you can clear them all under Account > View My Account with Deauthorize All. Apple allows that once a year, so don't burn it casually.

Our verdict

This is for anyone who still runs iTunes on Windows with a library older than their phone. Today, run File > Library > Organize Library with Consolidate files on the old PC. It's the step most people skip, and everything after it depends on it.

Related on UpdateStar

about author