Transfer iTunes from PC to Mac – Simple Step‑by‑Step Guide
In this article
Yes, you can transfer your iTunes library from a Windows PC to a Mac by copying the iTunes folder or using Home Sharing, then re‑authorizing on the Mac.
What You'll Need
- A Windows PC with iTunes installed and a library you want to move.
- A Mac running macOS (Music app replaces iTunes on newer versions).
- An external hard drive, USB flash drive, or a shared network folder large enough for your entire iTunes folder.
- Your Apple ID and password for authorising the Mac.
- Optional: A stable Wi‑Fi network if you prefer Home Sharing.
Step‑By‑Step
- Consolidate your Windows library. Open iTunes on the PC, go to File > Library > Organise Library… and check “Consolidate files”. This copies every track, album artwork, and ringtone into the iTunes Media folder so nothing is left scattered on other drives.
- Locate the iTunes folder. By default it lives at
C:\Users\[YourUser]\Music\iTunes. If you changed the location, open iTunes, choose Edit > Preferences > Advanced and note the “iTunes Media folder location”. - Close iTunes. This prevents the database from changing while you copy it.
- Copy the entire iTunes folder to an external drive. Drag the whole
iTunesfolder onto a USB‑C or USB‑A drive that has enough free space. The copy may take a while depending on library size; be patient and avoid disconnecting the drive. - Eject the drive safely from Windows. Use the “Safely Remove Hardware” icon in the system tray to ensure all data is written.
- Connect the drive to your Mac. macOS will mount it on the desktop. Open the drive and verify that the
iTunesfolder contains the filesiTunes Library.itl,iTunes Music Library.xml, and aiTunes Mediasub‑folder. - Move the folder to the Music directory. In Finder, go to
~/Musicand drag the copiediTunesfolder there, replacing any existing folder if you are sure you want to overwrite it. If you keep the old folder, rename it (e.g.,iTunes_old) first. - Open the Music app (or iTunes on older macOS). Hold down the
Optionkey while launching the app. A dialog appears asking you to “Choose Library”. Click “Choose Library…” and navigate to~/Music/iTunes/iTunes Library.itl. Selecting this file tells the app to use the transferred library. - Authorize the Mac with your Apple ID. In the Music app, go to Account > Authorisations > Authorise This Computer… and sign in. This step unlocks any DRM‑protected purchases and lets you sync devices.
- Verify that everything works. Play a few songs, open playlists, and check that album artwork displays correctly. If a track won’t play, note the error – it may indicate a missing file or a DRM issue.
- Sync or import any new purchases. If you bought music on the PC after the last copy, sign in to the same Apple ID on the Mac, open the Music app, and choose Account > Check for Available Downloads. This pulls any pending purchases into the new library.
- Optional: Use Home Sharing instead of a physical drive. Enable Home Sharing on both computers (Music > Preferences > Sharing > Home Sharing, then sign in). On the Mac, open the Music app, look under “Shared” in the sidebar, and drag desired albums or playlists to your local library. This method works well for smaller libraries or when a drive isn’t handy.
- Clean up the old PC library. Once you’re satisfied the Mac has everything, you can delete the iTunes folder from the Windows machine to free space. Keep a backup on an external drive for a few weeks in case you missed anything.
Common Mistakes
- Skipping the “Consolidate files” step, which leaves some tracks stored outside the iTunes Media folder and results in missing files after the transfer.
- Copying only the
iTunes Mediafolder and forgetting the database files (.itland.xml), which means playlists and play counts are lost. - Using the wrong Apple ID when authorising the Mac, causing DRM‑protected songs to remain unplayable.
- Ejecting the external drive before the copy finishes, leading to corrupted files.
- Opening the Music app without holding
Option, which creates a fresh empty library instead of loading the transferred one.
Tips
- Before you start, note the total size of your iTunes folder (right‑click → Properties). This helps you choose a drive with sufficient capacity.
- If you have a very large library, consider splitting the copy into two passes: first the database files, then the media files, to reduce the chance of time‑outs on older USB drives.
- After the transfer, enable “Sync Library” in the Music app’s iCloud settings if you use Apple Music. This keeps the library consistent across all your devices.
- Keep the original Windows iTunes folder for at least a month as a safety net, especially if you rely on custom metadata or ratings.
- When using Home Sharing, both computers must be on the same local network and use the same Wi‑Fi band (2.4 GHz or 5 GHz) for the best speed.
Troubleshooting
If songs are missing or show “File not found”. Open the Music app, select a missing track, press Command + I to view its file location. If the path points to a non‑existent folder, go to Music > Preferences > Files and click “Change…” to point the app at the correct iTunes Media folder.
If DRM‑protected songs won’t play. Verify that the Mac is authorised with the same Apple ID used to purchase the tracks. If it already is, sign out (Account > Sign Out) then sign back in and re‑authorise.
If the Music app won’t launch the transferred library. Ensure you held Option while opening the app and selected the exact .itl file. If the dialog doesn’t appear, quit the app, delete the com.apple.Music.plist preferences file from ~/Library/Preferences, then try again.
If the copy process is extremely slow. Check that the external drive is using USB 3.0 or Thunderbolt. Older USB 2.0 ports can bottleneck large transfers. Also, close any background programs that might be accessing the drive.
If Home Sharing shows “Unable to connect”. Restart both computers, ensure they are logged into the same Apple ID, and verify that the firewall on each machine allows incoming connections for the Music app (System Settings > Network > Firewall).
Frequently Asked Questions
Do I need iTunes on the Mac if I’m running macOS Catalina or later?
From macOS Catalina onward, iTunes was replaced by the Music app, which can read the old iTunes library files directly. You do not need to install iTunes separately.
Will my playlists, ratings, and play counts survive the transfer?
Yes, as long as you copy the .itl and .xml database files together with the media folder. These files store all metadata, including playlists, ratings, and play counts.
Can I transfer only selected playlists instead of the whole library?
Yes. Use Home Sharing to drag individual playlists from the PC’s Music app to the Mac, or manually copy the specific album folders and then import them via File > Import on the Mac.
What if I have iTunes Match or Apple Music enabled?
Both services store a cloud copy of your library. After authorising the Mac, simply turn on “Sync Library” in the Music app’s iCloud settings; the cloud version will merge with any local files you transferred.
Will my purchased movies and TV shows transfer as well?
Movies and TV shows are also stored in the iTunes folder under iTunes Media/Movies and iTunes Media/TV Shows. Copying the entire iTunes folder includes them, and they will appear in the TV app on macOS after authorisation.
Do I have to reinstall iTunes on the Mac?
No. The Music app (or iTunes on older macOS) reads the transferred library directly. Re‑installing iTunes is unnecessary and not supported on recent macOS versions.