![](https://help.apple.com/assets/643715A3EC4DBF7B310EA38D/643715A4EC4DBF7B310EA394/en_US/f344938417f8d295c94901b517e140f1.png)
Move your iTunes library to another computer
If you get a new computer, you can transfer your iTunes library by connecting computers or by using iPod or a portable drive.
Consolidate your files in the iTunes folder
You can consolidate all the files in your library in the iTunes folder to make it easier to move your library to a new computer.
In the iTunes app
on your PC, choose File > Library > Organize Library.
Select “Consolidate files.”
Files remain in their original locations, and copies are placed in the iTunes folder.
Back up your library and media files
Important: It’s highly recommended that you create a backup of your library.
By default, the iTunes Media folder is stored in your iTunes folder:
[User folder]\Music\iTunes\iTunes Media
In the iTunes app
on your PC, choose Edit > Preferences, then click Advanced.
Note the location of your iTunes Media folder in the “iTunes Media folder location” section.
Quit iTunes.
Navigate to your iTunes folder in File Explorer.
Drag the iTunes folder from its location to an external drive.
Restore from a backup
You can restore your iTunes library from your external drive to a computer. If you’re restoring an iTunes library from a different computer, make sure your new computer has the latest version of iTunes.
In the iTunes app
on your PC, choose File > Exit.
Locate your external drive (in File Explorer), then drag the iTunes folder you backed up earlier from your external drive to your internal drive.
Important: It’s highly recommended that you put the iTunes folder back in [User folder]\Music\iTunes\iTunes Media.
Hold down the Shift key while you open iTunes (go to Start, then choose iTunes > iTunes).
Click Choose Library.
Choose the iTunes folder that you dragged to your computer in step 2, click Open, then choose the iTunes Library.itl file inside.
Before you sell or give away a computer, don’t forget to deauthorize it (choose Account > Authorizations > Deauthorize This Computer). See Authorize a PC to play iTunes purchases.