The fastest way: use your external drive and iTunes authorization

The simplest path is to copy your entire iTunes Media folder to an external drive, then import it on your new computer. This works because iTunes stores all your music, playlists, and metadata in one location. You do not need to re-download anything or rebuild your library from scratch.

Before you start, authorize your new computer in iTunes so it can play protected content you purchased from the iTunes Store. Open iTunes on the new machine, go to Account menu, select Authorization, then Authorize This Computer. You will need your Apple ID and password. Each Apple ID can authorize up to five computers at once.

Key Takeaways

  • Your iTunes Media folder contains all your music files and can be copied directly to a new computer using an external drive or network transfer.
  • You must authorize your new computer with your Apple ID before it can play any music you purchased from iTunes Store.
  • iTunes library files (.itl files) do not transfer between computers — you rebuild the library by pointing iTunes to your copied music folder.
  • If you use iCloud Music Library, you can sync your entire library wirelessly instead of moving files manually.
  • Deauthorize your old computer after the transfer is complete to free up one of your five allowed authorizations.

Finding and copying your iTunes Media folder

Your iTunes Media folder is where iTunes stores the actual music files. On a Mac, it is usually in Users > [Your Name] > Music > iTunes > iTunes Media. On Windows, it is usually in Users > [Your Name] > Music > iTunes > iTunes Media. The folder contains subfolders organized by artist and album.

Connect an external drive to your old computer and copy the entire iTunes Media folder to it. This can take anywhere from a few minutes to several hours depending on how much music you have. Do not move the folder — copy it, so you still have the original on your old computer until the transfer is complete and verified.

Once the copy finishes, eject the external drive safely and connect it to your new computer. Copy the iTunes Media folder from the drive to the same location: Users > [Your Name] > Music > iTunes on Mac, or Users > [Your Name] > Music > iTunes on Windows.

Rebuilding your iTunes library on the new computer

When you open iTunes on your new computer for the first time, it creates a new, empty library. You need to tell iTunes where to find your music files. Go to iTunes Preferences (Edit menu on Windows, iTunes menu on Mac), click the Advanced tab, and look for the iTunes Media folder location. Click Change and navigate to the iTunes Media folder you just copied.

Next, go to File menu and select Library > Organize Library. Check the box that says "Consolidate files" — this tells iTunes to catalog all the music in your Media folder and rebuild your library file. Click OK and wait for the process to finish. Your playlists, ratings, play counts, and artwork should all reappear.

If your playlists do not show up, you may need to import your old library file. On your old computer, locate the iTunes Library.itl file (in Users > [Your Name] > Music > iTunes). Copy this to your external drive as well. On the new computer, hold down Shift (Windows) or Option (Mac) while opening iTunes, then select the iTunes Library.itl file from your external drive. This imports all your playlists and metadata.

Using iCloud Music Library for wireless transfer

If you have an Apple Music or iTunes Match subscription, you can sync your library wirelessly without moving files. Turn on iCloud Music Library on your old computer (iTunes Preferences > General tab > iCloud Music Library checkbox). Your entire library uploads to iCloud, including playlists and metadata.

On your new computer, sign in with the same Apple ID, open iTunes, and turn on iCloud Music Library in Preferences. Your library downloads automatically. This method takes longer than copying files — it depends on your internet speed and library size — but you do not need an external drive.

iCloud Music Library works across Mac and Windows, so you can switch operating systems and keep your library intact. However, it requires an active subscription or iTunes Match purchase to maintain the sync.

Handling music files that did not come from iTunes Store

Music you imported from CDs, downloaded from other sources, or received from friends is stored in your iTunes Media folder just like purchased music. These files copy over with everything else. However, they do not have the same copy protection as iTunes Store purchases, so they play on any computer without authorization.

If you have a large collection of non-iTunes music, the external drive method is usually faster than iCloud Music Library, since iCloud only syncs music you purchased or added through a subscription service.

Deauthorizing your old computer

After you confirm everything works on your new computer, deauthorize your old computer to free up one of your five allowed authorizations. Open iTunes on the old machine, go to Account menu, select Authorization, then Deauthorize This Computer. Enter your Apple ID and password.

If you sell or give away your old computer, deauthorize it before handing it over. If you cannot access the old computer, you can deauthorize all your computers at once through your Apple ID account settings on Apple's website, but this resets your authorization count and you will need to re-authorize your new computer.

Troubleshooting missing songs or playlists

If some songs do not appear on your new computer, check that the iTunes Media folder copied completely. Open the folder and spot-check that artist and album subfolders are there. If the copy was interrupted, copy the folder again.

If playlists are missing but songs are there, you did not import the iTunes Library.itl file. Go back to File > Library > Import Playlist and select the iTunes Library.itl file from your external drive or old computer. This rebuilds your playlists without duplicating your music files.

If iTunes says a song is unavailable or shows an exclamation mark, the file may be corrupted or the path may be broken. Right-click the song, select Get Info, and check the file location under the File tab. If the file is not there, you may need to re-import it from your external drive or re-download it from iTunes Store.

Frequently Asked Questions

Can I transfer my iTunes library between a Mac and a Windows computer?

Yes. Copy your iTunes Media folder to an external drive formatted as exFAT or FAT32 so both computers can read it. The process is the same — copy the folder, authorize the new computer, and rebuild the library. Playlists and metadata transfer as long as you import the iTunes Library.itl file.

What if I do not have an external drive?

You can transfer over a home network if both computers are on the same Wi-Fi. On your old computer, go to iTunes Preferences > Sharing and check "Share my library on my local network." On your new computer, you will see your old library appear in the sidebar. You can copy files from there, though it is slower than an external drive. Alternatively, use iCloud Music Library if you have a subscription.

Do I lose my play counts and ratings when I transfer?

No, as long as you import the iTunes Library.itl file or use iCloud Music Library. Play counts, ratings, and last-played dates are stored in the library file, not in the music files themselves. If you only copy the iTunes Media folder without the library file, you lose this metadata.

How long does the transfer take?

Copying files to an external drive depends on the drive speed and your library size — typically 30 minutes to a few hours for a large collection. Importing the library file takes a few minutes. iCloud Music Library can take several hours or even days depending on your internet speed and how many songs you have.

What happens to my old iTunes library after the transfer?

You can keep it or delete it — the choice is yours. Many people keep the old library as a backup until they confirm everything works on the new computer. Once you are sure the transfer is complete, you can delete the iTunes folder from your old computer to free up space.