Maybe you’ve set up a new Windows laptop and found your old one still holds 15 years of carefully rated songs, smart playlists, and ripped CDs. Moving all of that sounds like a weekend project. The iTunes library transfer is worth a look first, because it’s quicker than you’d expect.
iTunes has a built-in way to gather everything into one folder. You copy that folder, point iTunes at it on the new machine, and your playlists, ratings, and play counts come along. It takes a bit of patience while files copy, but very little effort from you.
Which Path Fits Your Setup
Current Macs don’t have iTunes. On a Mac running a current version of macOS, music lives in the Music app, video in TV, podcasts in Podcasts, and iPhone and iPad syncing and backups happen in Finder. iTunes is still available on Windows and on older Macs that shipped with it.
Your route depends on where the library is going:
- Windows to Windows (iTunes on both): Copy the whole iTunes folder and open it in iTunes. This is the most faithful transfer and the main focus below.
- Windows to Windows (Apple Music on the new computer): Copy the files, then import them into Apple Music for Windows. Expect some library details to stay behind.
- Old Mac with iTunes to an old Mac with iTunes: Same process as Windows to Windows, with Mac menus.
- Old Mac to a current Mac: Copy the whole iTunes folder and open it in the Music app with Choose Library. Importing only the music files leaves playlists and ratings behind.
- Mac to Windows: Copy the media files and import them into iTunes or Apple Music. Apple-specific library data may not carry over perfectly.
If playlists, ratings, and play counts matter to you, use iTunes on the new computer first, even if you plan to switch to Apple Music later. You can always move on from iTunes. You can’t easily rebuild years of play history.
Before You Start
You’ll need:
- The old computer with iTunes still working
- An external SSD or large USB flash drive with room for your entire library (a network share works too, but an external drive is faster and less likely to break halfway through)
- Enough free space on the old computer, because consolidating makes a second copy of any files stored outside the iTunes folder
- iTunes or Apple Music installed on the new computer
Don’t wipe or sell the old computer until you’ve checked the new library. More on that at the end.
Step 1: Consolidate Your Library
iTunes doesn’t need your music inside its own folder to play it. Songs can sit on your desktop, in Downloads, or on a second drive, and iTunes keeps track of where they are. That’s handy day to day, but it means copying the iTunes folder alone can leave tracks behind.
Consolidating fixes that. iTunes copies every file stored outside its media folder into that folder, so everything ends up in one place. Your originals stay where they are.
- Open iTunes on the old computer.
- Choose File > Library > Organize Library.
- Check Consolidate files, then click OK.
- Wait for iTunes to finish copying. A big library can take a while, so let it run.
It’s a clever bit of housekeeping, and it’s the step that saves you from a library full of missing tracks later. Leave the original files alone until the migration is finished and verified. They’re your safety net.
Step 2: Find Your iTunes Media Folder
The iTunes folder usually lives here on Windows:
C:\Users\<username>\Music\iTunes
If you (or whoever set up the computer) ever moved the library, it’ll be somewhere else. iTunes will tell you exactly where.
- In iTunes, choose Edit > Preferences. (On a Mac running iTunes, Preferences is under the iTunes menu instead.)
- Click the Advanced tab.
- Note the path shown under iTunes Media folder location.
- Open that location and confirm your music and other media are there.
- Quit iTunes completely.
The path usually points to the iTunes Media folder. You want its parent, the iTunes folder, because that’s where the iTunes Library.itl database lives alongside the media. If you only see iTunes Media, go up one level.
If anything still lives outside the iTunes folder after consolidating, copy those locations separately. Otherwise, the new computer will flag those tracks as missing.
Step 3: Copy the iTunes Folder to an External Drive
- Plug your external drive into the old computer.
- In File Explorer, right-click the iTunes folder and choose Copy.
- Open the external drive, right-click an empty area, and choose Paste.
- Wait for the copy to finish completely before unplugging the drive.
Copy the whole folder. Grabbing only the song files leaves the library database behind, and that database is where your playlists, ratings, play counts, and artwork links live.
Step 4: Open the Library in iTunes on the New Computer
This is where it gets satisfying.
- Install iTunes on the new computer if it isn’t there already, then make sure it’s closed.
- Connect the external drive and copy the iTunes folder into the new computer’s Music folder. If a fresh iTunes folder already exists there, rename it first (to something like
iTunes-old) so you don’t merge two libraries. - Wait for the copy to finish.
- Hold
Shiftwhile you launch iTunes. - When iTunes asks you to pick a library, click Choose Library.
- Open the transferred iTunes folder and select
iTunes Library.itl. - Let iTunes load the library.
When it opens, your playlists, ratings, play counts, and artwork should come across with it, as long as the media files were consolidated first. It usually works the first time on a well-consolidated library, which is nicely done for software this old. Spot-check a few playlists and play several tracks from different albums before you call it finished.
Purchased music copies over with the folder, but iTunes may ask you to sign in with the Apple Account you bought it with and authorize the computer. Do that when prompted.
Apple’s own guide to moving an iTunes library to another computer uses the same Shift-launch method.
Using Apple Music for Windows Instead
Apple Music for Windows is Apple’s newer app for music on Windows. It’s smoother and more modern than iTunes, and it’s a good pick if you mostly stream or you’re happy to start fresh.
The trade-off: importing files into Apple Music is different from opening your iTunes database. Smart playlists, play counts, ratings, custom playlist organization, date-added info, and some artwork or audiobook organization may not come across. If those matter, open the library in iTunes first (Step 4), then decide whether to move to Apple Music.
Import Your Music
- Copy your music folder to the new computer (or leave it on the external drive for now).
- Open Apple Music.
- Click the control at the top of the sidebar and choose Import.
- Pick a file or folder, then click Open.
Folder imports add every compatible audio file inside. You can also drag a file or folder from File Explorer straight into the Apple Music window. Menu names can shift slightly between app builds, so if you see Add to Library instead, it does the same job. Apple covers this in its guide to importing items already on your computer.
Choose Where Apple Music Stores Files
- Click the sidebar control and choose Settings.
- Select Files.
- Click Change next to the media folder location and pick a new spot.
This only affects items you import afterward. Files already in the library stay put. Apple’s page on changing where music files are stored has the details.
There’s also a setting to copy files into the media folder when you add them to the library. Turn it on if you want Apple Music to manage its own copies. Leave it off and Apple Music references files where they already are, which saves space but breaks if you unplug or rename the drive they’re on.
Moving to a Current Mac
On a current Mac, you’ll bring the library into the Music app. To keep playlists, ratings, and play counts, open the copied iTunes library itself instead of importing the songs.
- On the old computer, consolidate the library (Step 1) and copy the iTunes folder to your external drive (Step 3).
- Copy the whole iTunes folder into the Music folder on the new Mac.
- Quit Music, then hold
Optionwhile you open it again. Click Choose Library and select the copied iTunes folder (theiTunes Library.itlfile inside). Music converts the library to its own format, so keep the original copy on your external drive.
If you only want the songs, open Music and choose File > Import, or drag folders straight into the Music window. Importing adds the files themselves, but not your iTunes playlists, ratings, play counts, or other library data.
- If you subscribe to Apple Music or iTunes Match, sign in with the same Apple Account and turn on Sync Library in Music’s settings.
Sync Library is great for getting your streaming collection onto every device. Don’t treat it as your backup, though. It may not keep every local file, rating, play count, or hand-edited tag, and tracks it can’t match or upload won’t show up at all.
Troubleshooting
My Music Is Missing After the Move
The database probably came over without the media files, or you skipped consolidating. Go back to the old computer, run File > Library > Organize Library > Consolidate files, check the folder in Preferences > Advanced, and copy the whole iTunes folder again.
Songs Copied, but Playlists and Ratings Are Gone
You copied the audio files but not the iTunes database. Playlists, ratings, and play counts live in the library files inside the iTunes folder, so copy the complete folder and open iTunes Library.itl.
Apple Music Imported My Songs but Not My Playlists
A folder import adds media files. It won’t reliably rebuild iTunes playlists. Open the original library in iTunes, or recreate the missing playlists by hand.
Tracks Show an Exclamation Mark
iTunes can’t find the file. Usual causes: the file was never copied, it lived on another drive, the drive letter changed, the folder structure changed, or you copied the library before consolidating. Keep the transferred folder where iTunes expects it and don’t rename media folders after the move.
“The Library Was Created by a Newer Version of iTunes”
The iTunes on your new computer is older than the one that last opened the library. Update iTunes. Avoid bouncing the library between different iTunes versions without a backup, because the database can get upgraded and become hard to open in older software.
Can I Use the XML File Instead?
An iTunes XML export can help bring playlists into some apps, but it doesn’t replace the library database or the complete iTunes folder. Copy the full folder.
My Apple Music Subscription Library Isn’t Showing Up
Check that you’re signed in with the same Apple Account, your subscription is active, Sync Library is on, and the computer is online. Cloud syncing can also create duplicates or matched versions of tracks, so hold on to your local files until everything checks out.
Wrap-Up
Before you delete anything from the old computer, check the new library for missing tracks, playlists, ratings, play counts, artwork, purchases, and any podcasts, audiobooks, or videos that were part of it. Keep the copy on your external drive either way (a spare portable hard drive in a drawer is a cheap insurance policy for a music collection you can’t replace).
For a years-old app, iTunes’ consolidate-and-copy routine is a small gem. If you’re the family tech-support person, bookmark this one, because someone’s going to hand you an old laptop full of music sooner than you think. I’d recommend sticking with iTunes for the first move if your ratings and play history matter to you, and trying Apple Music only once that library is safe.