The fastest way to transfer your iTunes library is to copy your entire iTunes folder from your old computer to your new one, then open iTunes and point it to that folder

iTunes stores all your music, podcasts, videos, and playlists in a single folder on your hard drive. If you copy that folder intact to your new computer and tell iTunes where to find it, everything transfers at once—your library structure, play counts, ratings, and playlists all come with it. This method works whether you're moving from Windows to Windows, Mac to Mac, or between the two.

The process takes longer or shorter depending on how much content you have and whether you're moving files over a network or using an external drive. A library with thousands of songs can take an hour or more to copy, but the actual iTunes setup takes only a few minutes.

Key Takeaways

  • Your iTunes folder contains everything—music files, playlists, ratings, and play history—and copying it to your new computer transfers your entire library in one step.
  • On a Mac, the iTunes folder lives in Music; on Windows, it's usually in Users > [Your Name] > Music.
  • The safest method is to copy the folder to an external drive first, then move it to your new computer, rather than transferring over a network.
  • After copying the folder, you must open iTunes on the new computer, go to Preferences (or Settings), and point it to the new location of your iTunes folder.
  • If you use iCloud Music Library or Apple Music, you may not need to transfer files at all—your library can sync automatically once you sign in.

Locating your iTunes folder on your current computer

On a Mac, open Finder, click Music in the sidebar, and look for the iTunes folder. If you don't see it, your library may be in a different location. Open iTunes, go to iTunes > Preferences > Files, and click "Change" next to "iTunes Media folder location"—this shows you exactly where your files are stored.

On Windows, open File Explorer, navigate to Users > [Your Name] > Music, and look for the iTunes folder. If it's not there, open iTunes, go to Edit > Preferences > Advanced, and look at the path shown next to "iTunes Media folder location." Copy that path into File Explorer's address bar to jump directly to it.

The iTunes folder itself contains subfolders for Music, Podcasts, TV Shows, and other content, plus a file called iTunes Library.itl (or iTunes Library.xml on older versions). All of this needs to move together.

Copying your iTunes folder to an external drive

Plug in an external hard drive or USB drive with enough free space—check the size of your iTunes folder first by right-clicking it and selecting "Get Info" (Mac) or "Properties" (Windows). If your library is 500 GB, you need a drive with at least 600 GB free.

On a Mac, drag the iTunes folder from Music directly onto your external drive. On Windows, right-click the iTunes folder, select "Copy," navigate to your external drive in File Explorer, right-click the empty space, and select "Paste." Wait for the copy to finish—do not unplug the drive or close the window until the progress bar reaches 100 percent.

Using an external drive is safer than transferring over Wi-Fi or a network because a broken connection will not corrupt your files halfway through. If the copy fails, you can restart without losing anything on your original computer.

Moving the folder to your new computer

Plug the external drive into your new computer. On a Mac, open Finder and drag the iTunes folder from the external drive to Music on your new computer. On Windows, open File Explorer, navigate to the external drive, right-click the iTunes folder, select "Copy," then navigate to Users > [Your Name] > Music, right-click the empty space, and select "Paste."

If a folder named iTunes already exists in that location (because iTunes created a default one when you first opened it), you can either delete the empty one first or let Windows and Mac ask you whether to replace it. Choose "Replace" or "Merge" to overwrite the empty folder with your copied one.

Once the copy finishes, you can unplug the external drive and move on to setting up iTunes on the new computer.

Telling iTunes where your library is located

Open iTunes on your new computer. On a Mac, go to iTunes > Preferences > Files. On Windows, go to Edit > Preferences > Advanced. Look for the option labeled "iTunes Media folder location" and click "Change."

Navigate to the iTunes folder you just copied—on a Mac, that's Music > iTunes; on Windows, that's Users > [Your Name] > Music > iTunes. Select the iTunes folder itself and click "Choose" or "OK." iTunes will read the folder and rebuild its library database, which can take a few minutes if you have a large collection.

When iTunes finishes, your entire library—all songs, playlists, ratings, and play counts—will appear in the window. Do not move or rename the iTunes folder after this point, or iTunes will lose track of it again.

Using iCloud Music Library or Apple Music instead

If you have an Apple Music subscription or use iCloud Music Library, you may not need to transfer files manually at all. Sign into your Apple ID on the new computer, open iTunes (or Music on newer Macs), and go to Preferences > General (Mac) or Edit > Preferences > General (Windows). Turn on "Sync Library" or "iCloud Music Library," depending on your iTunes version.

Your library will sync from Apple's servers to your new computer over the next few hours or days, depending on the size of your library and your internet speed. This method is slower than copying files but requires no external drive and works across any computer where you sign in with the same Apple ID.

Note that iCloud Music Library syncs metadata—song names, playlists, ratings—but does not always read the original files you owned. If you want the exact files you purchased or imported, the folder-copy method is more reliable.

What to do if iTunes doesn't recognize your library

If you open iTunes and the library appears empty or shows only a few songs, the most common cause is that iTunes is still pointing to the old location on your old computer (which no longer exists). Go back to Preferences > Files (Mac) or Edit > Preferences > Advanced (Windows), click "Change," and navigate to the iTunes folder on your new computer again.

If iTunes asks whether you want to organize your library, click "Yes" only if you want iTunes to reorganize your files into its own folder structure. If you click "No," iTunes will leave your files where they are and straightforward read them from their current location.

If some songs show an exclamation mark next to them, it means iTunes cannot find those files. This usually happens if the files were on an external drive that is no longer connected, or if the folder structure changed during the copy. Reconnect any external drives, or use File > Library > Organize Library to have iTunes search for missing files.

Frequently Asked Questions

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

Yes, but it is slower and riskier. On a Mac, you can use Migration Assistant (in Applications > Utilities) to transfer your entire user account, including iTunes, over a network. On Windows, you can map a network drive and copy the iTunes folder directly. However, if your connection drops halfway through, the copy may fail and corrupt your files. An external drive is safer for large libraries.

Will my playlists and ratings transfer too?

Yes. Your playlists, play counts, ratings, and skip history are all stored in the iTunes Library.itl file inside your iTunes folder. When you copy the entire folder, all of that information comes with it.

What if I'm switching from Windows to a Mac or vice versa?

The iTunes folder structure is the same on both systems, so you can copy it directly. However, if you have any Windows-only or Mac-only software installed, those will not work on the new computer. The music files themselves will play on either system.

Do I need to keep my old computer's iTunes library after the transfer?

Not unless you want a backup. Once you confirm that your new computer's iTunes library is complete and plays correctly, you can delete the iTunes folder from your old computer to free up space. Keep the external drive as a backup if you have room.

Why does iTunes show a question mark next to some songs after the transfer?

This usually means the file itself did not copy correctly, or the path to the file is broken. Try unplugging and replugging any external drives, or use File > Library > Organize Library and let iTunes search for the missing files. If that does not work, you may need to re-import those songs from their original source.