Move iTunes Library to Another Location: Full Guide
In this article
Yes, you can move your iTunes library to another location, such as an external drive or a new folder, and this article explains exactly how to do it safely without losing your music, playlists, or ratings. The process involves two steps: moving the files themselves and then pointing iTunes to the new location. This guide covers both the modern Music app (macOS Catalina and later) and legacy iTunes for Windows and older macOS.
Why Move Your iTunes Library?
Moving your library frees up space on your main drive, which is especially useful if you have a large collection of music, movies, or audiobooks. An external SSD or HDD can hold thousands of songs, and keeping your library there lets you manage your media without worrying about filling up your computer's internal storage. Some users also move their library to a network-attached storage (NAS) device for easy access from multiple computers, though this can introduce performance and reliability considerations.
Another common reason is organization. You might want to consolidate files that are scattered across multiple folders into one dedicated iTunes Media folder. Or you might be upgrading to a new computer and want to transfer your library without re-importing everything manually.
What Exactly Is the "iTunes Library"?
Your iTunes library consists of two main parts: the library database file and the media files themselves. The database file is called iTunes Library.itl (on Windows and older macOS) or Music Library.musiclibrary (in the modern Music app). This file stores metadata like song titles, artists, playlists, play counts, and ratings. The media files are the actual audio and video files (MP3, M4A, MOV, etc.) stored in the iTunes Media folder, typically organized into subfolders by artist and album.
When you move your library, you need to move both the database and the media files, and then update iTunes so it knows where everything is. If you only move the media files but not the database, iTunes will show broken links. If you only move the database, the media files will remain in the old location, and you'll have to manually re-link them.
How to Move Your iTunes Library (Step-by-Step)
The exact steps differ slightly between the legacy iTunes app and the modern Music app, but the core concept is the same. Always back up your library before starting, either by copying the entire iTunes folder to an external drive or using Time Machine (macOS) or File History (Windows).
For the Modern Music App (macOS Catalina and Later)
- Quit the Music app.
- In Finder, locate the Music folder inside your user folder. Inside it, you'll find Music Library.musiclibrary (a package that contains the database) and the Music media folder (if you haven't changed the default).
- Copy the entire Music folder to your new location (e.g., an external drive). Do not move it yet—copy it first to verify it works.
- Hold the Option key and click the Music app icon in the Dock or Applications folder. A dialog will appear asking you to choose a library.
- Click Choose Library and navigate to the copied folder, then select the Music Library.musiclibrary file.
- The Music app will open with your library. If everything looks correct, you can delete the original folder from your internal drive.
For Legacy iTunes (Windows and macOS Mojave and Earlier)
- Quit iTunes.
- Locate the iTunes folder. On Windows, it's typically in My Music\iTunes. On macOS Mojave and earlier, it's in ~/Music/iTunes.
- Copy the entire iTunes folder to the new location.
- Hold the Shift key (Windows) or Option key (macOS) and open iTunes. A dialog will prompt you to choose a library.
- Click Choose Library and select the iTunes Library.itl file in the copied folder.
- If iTunes opens correctly, you can delete the old folder.
After the move, you may want to consolidate your files to ensure everything is in one place. In iTunes, go to File > Library > Organize Library and check Consolidate files. This copies all media into the iTunes Media folder, which is helpful if some files were stored elsewhere.
Choosing the Right Destination
Not all storage is created equal. For a music library, an external SSD or HDD is a solid choice. SSDs are faster and more durable, but HDDs offer more capacity per dollar. If you plan to stream music from your library to other devices via Home Sharing, a NAS can work, but ensure your network is reliable and fast enough to avoid interruptions. Avoid storing your library on a USB flash drive, as these are slower and more prone to failure. Also, consider the file system: macOS can read NTFS drives but not write to them without third-party software, so format the drive as exFAT if you need cross-platform compatibility, or APFS for macOS-only use.
Common Problems and How to Fix Them
One frequent issue is that after moving the library, iTunes shows exclamation marks next to songs, meaning it can't find the files. This usually happens if you moved the media folder separately from the database. To fix it, you can either re-import the files or use the Library > Organize Library > Consolidate Files option after pointing iTunes to the correct media folder. Another problem is that the library appears empty after the move. This often occurs when you accidentally selected an empty library file. Double-check that you chose the correct .itl or .musiclibrary file. If you're moving to an external drive and the drive isn't mounted, iTunes will show an error. Always ensure the drive is connected and recognized before opening iTunes.
What About Apple Music and iCloud Music Library?
If you subscribe to Apple Music or have iCloud Music Library enabled, your library is partially stored in the cloud. Moving your local files doesn't affect your cloud library, but you may need to re-download some songs. Also, if you have songs that are not available in Apple Music (e.g., purchased from other sources), they will remain on your local drive and need to be moved. In the Music app, you can check File > Library > Update Cloud Library to sync changes, but be careful: if you delete local files that are not in the cloud, they may be lost. Always keep a backup of your entire library before making changes.
Frequently Asked Questions
Can I move my iTunes library to an external drive and still use it on multiple computers?
Yes, you can. Connect the external drive, hold Option (macOS) or Shift (Windows) when opening iTunes/Music, and choose the library on the drive. However, keep in mind that only one computer can access the library at a time. For simultaneous access, you'd need a NAS, but that requires more advanced setup and may not be fully supported.
Will moving my library delete my playlists and ratings?
No, as long as you move the entire library folder (including the database file). The database contains all your playlists, ratings, and play counts. Moving the files alone will lose that metadata, so always move the whole folder.
What if I already moved my media files but not the database?
You can still fix it. Open iTunes/Music, go to Preferences > Files (or Advanced in iTunes), and change the Media Folder Location to the new folder. Then use Library > Organize Library > Consolidate Files to re-link the files. This may take some time for large libraries.
Is it safe to move my library to a network drive?
It can work, but it's not recommended for large libraries because network latency can cause delays and potential corruption. If you do use a NAS, ensure it supports SMB or AFP and that your network is stable. For best results, use a locally connected external drive.
Do I need to re-download my iTunes purchases after moving?
No, your purchases are tied to your Apple ID and can be re-downloaded anytime. Moving your local files doesn't affect your purchase history. However, if you have files that are not purchased from iTunes (e.g., ripped CDs), you must move those manually as they aren't stored in the cloud.
How long does it take to move a large library?
The time depends on the size of your library and the speed of your storage devices. Copying 100 GB from an internal SSD to an external SSD might take 10-15 minutes, while copying to a slower HDD could take over an hour. Always ensure the copy completes before deleting the original.