Updated February 1st, 2017: Added information about backing up with macOS Sierra.

Though we store more and more of our music online these days, a hard-copy backup is still the gold standard for keeping your data safe. And if you use Apple Music or iCloud Music Library, the best way to do that is still iTunes.

There are a few ways to back up your iTunes library; it's important to choose one and regularly back up so that you won't have to worry about your local copy getting lost or damaged. My music — at least for me — is one of those must-backup items; I don't want to have to manually re-build or re-buy thousands of tracks.

First: Make sure your entire library has been locally downloaded

If you use iCloud Music Library or the iTunes Store, you may have some or all of your music stored in the cloud. But to truly make sure your purchased and owned content is backed up, you'll want to download a local copy to your Mac. Here's the best way to do so:

How to download all your music from iCloud Music Library to your Mac

How to back up iTunes via Time Machine or another backup service

If you have Apple's Time Machine backup system enabled — or any other cloud- or system-based backup — your iTunes library should automatically be covered. This way, if you ever need to restore, you can just pop back in Time Machine's History (or a past backup from CrashPlan or Carbon Copy Cloner, for example) to retrieve it.

How to manually back up your iTunes library

If you're not employing a Mac-wide backup service (really, you should get on that), or if you just want to manually back up your iTunes library separately, here's how to go about that.

Consolidate your library

To ensure that all of your iTunes files are in the same place when you make a manual backup, you should first consolidate your iTunes library.

  1. Make sure you've downloaded a local copy of your music to your Mac.
  2. Launch iTunes on your Mac.
  3. Click File in the upper left corner of your Mac's screen.

    Open iTunes, then select File

  4. Hover your cursor over Library in the drop down menu.
  5. Select Organize Library from the secondary menu.

    Select Library, then click on Organize library

  6. Tick the box for Consolidate Files when the Organize Library window appears.
  7. Click OK.

    Click consolidate files, then click OK

This will make a copy of all files in the iTunes media folder, leaving the originals in their current location.

Copy your iTunes library to a backup source

  1. If you are using an external hard drive, connect it to your Mac using a USB cable.
  2. Click on Finder to open a Finder window.
  3. Select your Mac's Hard drive.

    Open Finder, then select your Mac's hard drive

  4. Click on the Music folder.
  5. Select iTunes and drag that folder to the external hard drive icon on your desktop or copy it to your online backup service.

    Click on Music, then drag the iTunes folder to a hard drive or copy it to an online backup service

  6. Click Authenticate, if prompted, to give permission to make a copy of the iTunes folder.
  7. Enter your administrator password.
  8. Click OK.

    Click Authenticate to give permission to make a copy of your iTunes library, then enter your administrator password

The copy process will begin. This could take a very long time, depending on how big your iTunes library is. So, sit back, relax, watch a movie, or whatever you do to pass the time.

Desperate times call for desperate measures

If you are about to do something wild with your iTunes library and don't have a way to back it up on an external drive or online backup service, you can make a temporary backup that you store right on your Mac. This is, by no means, a solid backup plan, but can be useful in a pinch.

Note: After making a copy, it is a good idea to move the copied folder to an easy-to-find location that is separate from any folder you plan to make changes to (like the Music folder). This copied folder should be deleted immediately after it is no longer needed because it takes up extra space on your computer's hard drive unnecessarily and could cause confusion with your most current iTunes folder.

  1. Click on Finder to open a Finder window.
  2. Select your Mac's Hard drive.

    Open Finder, then select your Mac's hard drive

  3. Click on the Music folder.
  4. Right-click or control-click on the iTunes folder.
  5. Select Duplicate from the drop down menu.

    • The copy process will begin. This could take a very long time.

      Click on Music, then right-click on iTunes , and then click Duplicate

  6. Move the copied iTunes folder to a new, easy-to-find location.

  7. Delete the copied iTunes folder once you no longer need the temporary backup.

Any questions?

Running into issues making an iTunes backup? Pop them in the comments below.

Backing up: The ultimate guide

Main