How to Restore iTunes Library Backup: Step-by-Step
In this article
You restore an iTunes library backup by replacing the current iTunes folder on your computer with the backed-up copy, then letting iTunes rebuild the library from it. Close iTunes first, locate your backup (usually a folder named iTunes or a dated copy of it), move the existing iTunes folder aside as a safety net, copy the backup into the same location, and reopen iTunes while holding Shift (Windows) or Option (Mac) to choose that library. The exact folder path depends on your operating system and whether you use the Microsoft Store version of iTunes, so check the paths below before moving anything.
What You'll Need
- A complete backup of your iTunes folder, made by copying the folder itself (not just the individual media files).
- Enough free disk space to hold both the old and the restored library at the same time.
- The same or a newer version of iTunes installed on the computer.
- Your Apple ID and password if the backup contains purchased content that needs authorization.
- Administrator access on Windows if the iTunes folder sits in a protected location.
Step-by-Step
- Quit iTunes completely. On Windows, also check the notification area for an iTunes helper process and close it. On Mac, choose iTunes > Quit iTunes. Do not skip this; copying files while iTunes is running can corrupt the library database.
- Find your current iTunes folder. The default locations are: Windows (classic installer): C:\Users\[username]\Music\iTunes; Windows (Microsoft Store version): C:\Users\[username]\Music\iTunes is still common, but the Store build may store media under C:\Users\[username]\Music\iTunes\iTunes Media. On Mac: /Users/[username]/Music/iTunes. If you moved the library previously, open iTunes > Preferences > Advanced (Mac: iTunes > Preferences > Advanced) to see the current iTunes Media folder location. Menu labels can differ slightly by version and region.
- Rename the existing folder as a backup. Close iTunes, then rename the current iTunes folder to something like iTunes-old. This preserves your current library in case the restore goes wrong. Do not delete it yet.
- Copy your backup into place. Copy the backed-up iTunes folder into the same parent folder where the old one was (usually Music). The restored folder must be named exactly iTunes so iTunes finds it automatically. If your backup is a compressed archive, extract it first and confirm the extracted folder contains iTunes Library.itl and the iTunes Media folder.
- Check folder permissions (Windows). Right-click the restored iTunes folder, choose Properties > Security, and confirm your user account has Full control. If not, take ownership or grant permissions before opening iTunes.
- Open iTunes while choosing the library. On Windows, hold Shift and click the iTunes shortcut; on Mac, hold Option and click the iTunes icon. A dialog appears asking you to choose a library. Click Choose Library and select the restored iTunes Library.itl file inside the new iTunes folder.
- Let iTunes update the library. iTunes may show a message that the library was created by a different version and needs to be updated. Allow it. This can take several minutes for large libraries; do not force-quit during this step.
- Authorize the computer if needed. If purchased songs, apps, or books show as not authorized, sign in with your Apple ID and use Account > Authorizations > Authorize This Computer. You can authorize up to five computers per Apple ID.
- Verify your content. Play a few tracks, check playlists, and confirm that album art and ratings are present. If media files are missing, iTunes will show exclamation marks next to them; see Troubleshooting below.
- Keep the old folder for a while. Once everything looks correct, you can delete iTunes-old to reclaim space, but keep it until you are confident the restore is complete.
Common Mistakes
- Restoring only the media files. Copying just the iTunes Media folder does not restore playlists, ratings, or play counts. The iTunes Library.itl file is what holds that data.
- Leaving iTunes open during the copy. This is the most common cause of a corrupted or partially restored library.
- Renaming the restored folder incorrectly. iTunes expects the folder to be named iTunes; a name like iTunes backup will not be found automatically.
- Skipping the safety copy. Renaming the old folder instead of deleting it gives you a fallback if the backup turns out to be incomplete.
- Ignoring version warnings. Opening an older library in a newer iTunes is normal, but opening a newer library in an older iTunes is not supported and can fail.
Tips
- Back up the entire iTunes folder, not just the media subfolder, so playlists and metadata come along.
- Store backups on an external drive or a second location; a backup on the same drive does not protect against drive failure.
- Consolidate your library before backing up (File > Library > Organize Library) so all media sits inside the iTunes Media folder.
- Note your iTunes version before restoring; if the backup came from a newer version, update iTunes first.
- If you use iCloud Music Library or Apple Music, some content may re-download from the cloud after signing in, which can mask a missing local file.
Troubleshooting
iTunes opens an empty or wrong library. Quit iTunes and reopen while holding Shift (Windows) or Option (Mac), then explicitly choose the restored iTunes Library.itl file. If the dialog does not appear, make sure you are holding the key before and during the click.
Tracks show exclamation marks. The library database points to files that are not where it expects. Use File > Library > Organize Library and enable the option to consolidate files, or locate one missing track and let iTunes attempt to find the rest.
iTunes says the library is locked or in use. Another process may still be running. Restart the computer and try again; on Windows, check Task Manager for leftover iTunes processes.
The library file is damaged. iTunes may offer to use a previous library file; accept it. If not, look inside the iTunes folder for older .itl files and try choosing one of those.
Purchased content will not play. Sign in and authorize the computer (Account > Authorizations). If you have reached the five-computer limit, deauthorize a computer you no longer use from the same menu.
If that did not work, restore the renamed iTunes-old folder by renaming it back to iTunes, then recheck that your backup actually contains the .itl file and media folder before trying again.
Frequently Asked Questions
Can I restore an iTunes backup to a different computer?
Yes. Copy the iTunes folder to the same default location on the new computer, open iTunes with Shift or Option held, and choose the restored library. You may need to authorize the new computer for purchased content.
Does restoring iTunes also restore my iPhone backup?
No. iPhone backups are stored separately (on Windows under Apple\MobileSync\Backup, on Mac under Library/Application Support/MobileSync/Backup). Restoring the iTunes library does not restore device backups.
Will I lose my playlists if I only copy the music files?
Yes. Playlists, ratings, and play counts live in the library database file, not in the audio files. Copy the whole iTunes folder to keep them.
Can I merge a backup with my current library?
iTunes does not have a true merge command. The practical approach is to restore the backup, then use File > Add to Library to import any newer files from the old folder.
Why does iTunes ask to update the library?
The backup was created by a different iTunes version. Allowing the update is normal and expected; it converts the database to the current format.
Is it safe to delete the old iTunes folder after restoring?
Once you have confirmed playlists, media, and purchases are intact, yes. Until then, keep it as a fallback.