TechBuzzPro

Move iTunes Library to New Computer: Full Guide

· 5 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Moving your iTunes library to a new computer is straightforward if you copy the entire library folder (not just the music files) and then point iTunes at it. The key is to keep the folder structure intact so playlists, ratings, and play counts come along. You'll need an external drive or a network connection, and both computers should have iTunes (or the Music app on macOS Catalina or later) installed.

What You'll Need

  • External hard drive, USB flash drive (large enough), or a network share
  • Both computers with iTunes installed (Windows) or the Music app (macOS Catalina or later)
  • Enough free space on the new computer for the entire library

Step-by-Step

  1. Find your iTunes library folder on the old computer. On Windows, the default location is Users\[YourUsername]\Music\iTunes. On macOS, it's /Users/[YourUsername]/Music/iTunes. If you moved it, search for a folder named iTunes that contains iTunes Library.itl and a Media subfolder.
  2. Close iTunes completely. On Windows, right-click the iTunes icon in the system tray and choose "Quit." On macOS, press Cmd+Q. This ensures the library file is saved correctly.
  3. Connect the external drive to the old computer. If using a network, make sure both computers are on the same network and you have write access to the destination.
  4. Copy the entire iTunes folder to the external drive. Do not copy just the music files—copy the whole folder. This includes the iTunes Library.itl file, iTunes Library.xml (if present), and the Media folder. This can take a while if your library is large.
  5. Eject the external drive safely. On Windows, use "Safely Remove Hardware." On macOS, drag the drive to the Trash.
  6. Connect the external drive to the new computer. Copy the iTunes folder from the external drive to the new computer's Music folder (Windows) or Music folder (macOS). Make sure the path matches the default: Users\[YourUsername]\Music\iTunes on Windows, or /Users/[YourUsername]/Music/iTunes on macOS. If you want to keep it elsewhere, that's fine, but you'll need to hold the Shift key (Windows) or Option key (macOS) when opening iTunes to choose it.
  7. Open iTunes (or Music) on the new computer while holding the Shift key (Windows) or Option key (macOS). A dialog will appear asking you to "Choose Library." Navigate to the iTunes Library.itl file you just copied and select it.
  8. Let iTunes scan and load. It may take a few minutes if the library is large. After loading, check that your playlists, ratings, and play counts are present.
  9. Authorize the new computer. Go to Account > Authorizations > Authorize This Computer, and sign in with your Apple ID. This is necessary to play purchased content.

Common Mistakes

  • Copying only the music files. This loses playlists, ratings, and play counts. Always copy the entire iTunes folder.
  • Not closing iTunes before copying. If iTunes is running, the library file may be locked or in use, leading to a corrupted copy.
  • Opening iTunes on the new computer without using the Shift/Option key. This creates a new empty library instead of loading your copied one.
  • Putting the folder in a different location and then not selecting it. If you don't hold the key, iTunes looks only in the default location.

Tips

  • Use an external drive with enough space. Check the size of your iTunes folder first (right-click > Properties on Windows, Get Info on macOS).
  • Keep the folder structure intact. The Media subfolder contains your actual files, and the .itl file references those paths. Changing the structure can break links.
  • If you have a lot of purchased content, you can also use Apple's "Home Sharing" or iCloud Music Library, but those require an internet connection and may not bring everything.
  • After moving, consider consolidating your library first (File > Library > Organize Library > Consolidate Files) to ensure all files are inside the Media folder, making the copy complete.

Troubleshooting

iTunes opens with an empty library. This usually means you didn't hold the Shift/Option key when opening. Close iTunes, then hold the key again and select the correct iTunes Library.itl file.

Some songs show an exclamation mark. This means the file is missing. Check that the Media folder was fully copied. If you moved the folder to a different drive letter on Windows, you may need to re-link the files: select the songs, go to File > Library > Get Info, and click "Find Files" to locate the missing ones.

iTunes says the library is locked or in use. Close iTunes completely, including the background process. On Windows, open Task Manager and end any iTunes processes. On macOS, force quit if needed.

The library file is corrupted. If you have an iTunes Library.xml file from an older version, you can try importing it: File > Library > Import Playlist, then select the XML file. This will rebuild the library, but may lose some metadata.

If you're moving from an old Mac to a new Mac with the Music app, the process is the same, but the app is called Music. Hold Option when opening Music, and select the iTunes Library.itl file—it will be converted automatically.

Frequently Asked Questions

Do I need to copy the iTunes Library.xml file?

No, the .xml file is only used for compatibility with older software. The .itl file is the main library. If you have it, copy it anyway, but it's not required.

Can I move my library over Wi-Fi instead of using an external drive?

Yes, you can copy the folder over a network share, but it will be slower. Make sure both computers are on the same network and you have write permissions to the destination.

Will my Apple Music subscription and iCloud Music Library sync automatically?

If you have iCloud Music Library enabled, your purchased and matched songs may sync automatically. However, to be safe, still copy the library folder—it contains your local files and metadata.

What if I don't have an external drive?

You can use a large USB flash drive, or you can temporarily connect the two computers with an Ethernet cable and share the folder. Alternatively, use a cloud storage service, but that can be slow and may have size limits.

Do I need to deauthorize the old computer?

Not necessarily, but you're limited to 5 authorized computers. If you're not using the old one for iTunes, deauthorize it (Account > Authorizations > Deauthorize This Computer) to free up a slot.

Can I move just the music files and rebuild the library?

You can, but you'll lose playlists, ratings, and play counts. If you only care about the music files, you can copy the Media folder and then use File > Add to Library to import them, but it's not recommended.