How to move your iTunes library to an external hard drive

Music app on Mac
Music app on Mac (Image credit: iMore)

After decades of digital music, it's not unlikely if you've amassed quite the collection of music on your computer's hard drive. If your iTunes library (found in the Music app is taking up too much space, you can move it off of your local drive and onto an external hard drive without breaking your music collection.

You can also transfer your entire iTunes library from one computer to another if you migrate to one of the best new Macs on the market.

Here's how to move your iTunes library to an external hard drive.

Before you start: Back up your Mac

Before making major changes to your computer, it's always a good idea to back up your data: The best way to back up your Mac is with a Time Machine routine in place, but you can choose an alternate backup option that's right for you.

What you will need

You will, of course, need the computer your iTunes library is currently on. You will also need the following:

  • An external hard drive (and power source, if applicable)
  • A USB cable to connect the hard drive to your original Mac
  • A power source for your original Mac
  • If you're moving to a new computer, your new Mac (and its power cable)

Step 1: Consolidate your library

Over time, it's easy for your music, movies, apps, and other iTunes content to end up stored in various places throughout your computer's hard drive. To ensure that you copy everything from iTunes over to an external hard drive, you should first consolidate your library. Even if you think your library has all your information consolidated already, it can't hurt to do a manual check before moving any data.

  1. Launch the Music app on your Mac.
  2. Click File in the upper left corner of your Mac's screen.
  3. Choose Library in the dropdown menu.
  4. Select Organize Library from the secondary menu.

To consolidate your music library, launch the Music app, click File, then choose Library. Select Organize Library from the secondary menu. (Image credit: iMore)
  1. Tick the box for Consolidate Files in the window that appears.
  2. Click OK.

To consolidate your music library, tick the box for Consolidate Files, then click OK. (Image credit: iMore)

This process makes a copy of all files in the iTunes media folder and leaves the original files in their current location.

Step 2: Move your iTunes Library to an external hard drive

  1. Quit the Music app on your Mac.
  2. Connect your external hard drive to your computer using a USB cable.
  3. Click on Finder and highlight the external hard drive. In the example, it's called Music.
  4. In a separate window, select your Mac's hard drive.
  5. Click on the Music folder.

To move your iTunes library, quit the Music app, then connect your external hard drive. Click on Finder and highlight the external hard drive. In a separate window, select your Mac's hard drive, then (Image credit: iMore)
  1. Select iTunes and drag it to the external hard drive.
  2. Click Authenticate when prompted to permit to move the iTunes folder, if applicable.

To move your iTunes library, select iTunes under the Music folder and drag to the external hard drive. Click Authenticate, if necessary.

To move your iTunes library, select iTunes under the Music folder and drag to the external hard drive. Click Authenticate, if necessary. (Image credit: iMore)

This process could take a while, depending on your iTunes Music library's size on your Mac.

Step 3: Redirect iTunes to the new location

Once you've transferred a copy of your iTunes library onto an external hard drive, you will need to set a new path for the Music app by redirecting it to search the external hard drive for content rather than your local drive.

  1. Launch Music and hold down the Option Key at the same time.
  2. Click on Choose Library when the window appears.
  3. Select your external hard drive under Devices in the Finder sidebar.
  4. Click on iTunes.
  5. Select Choose.

To direct iTunes to a new location, launch the Music app while holding down the Option Key at the same time. Click Choose Library, then select your external hard drive. Next click iTunes, then choose. (Image credit: iMore)
  1. Select iTunes Library.itl.
  2. Click Choose.
  3. Add a name for your file next to Save As.
  4. Click Save.

To direct iTunes to a new location, select iTunes Library.itl. Click Choose, then add a name for your file next to Save As. Click Save. (Image credit: iMore)

Note: Until you delete the iTunes file on your local hard drive, you can switch which libraries iTunes uses by launching the app and holding down the Option key simultaneously.

Step 4: Make sure it worked

If you performed the first three steps correctly, it should look the same as it did before when you open iTunes. You can double-check to make sure the migration worked by checking the info of any content.

  1. Launch the Music app.
  2. Select a song, podcast, movie, app, or other content.
  3. Right-click or Control-click on the song.
  4. Select Get info from the drop-down menu.

To confirm you've successfully moved your iTunes files, launch the Music app, then select a song. Right-click on the song or other item. Select Get Info. (Image credit: iMore)
  1. Click on the File tab in the info window.
  2. Look under Location to ensure that the content is now being stored under /Volumes/external hard drive name/... instead of Users/local hard drive name/...
  3. Choose OK to exit the window.

To confirm you've successfully moved your iTunes files, click on the File tab. Look under location and confirm the new location. Choose OK to exit. (Image credit: iMore)

Step 5: Delete the old iTunes library

Once you have transferred a copy of your iTunes library onto an external hard drive and redirected iTunes to the new location, you can delete the iTunes folder on your local hard drive, freeing up space on your Mac.

Note: If you are making a copy to transfer to a new computer, you don't need to perform step 5 unless you want to remove your iTunes library from the old computer.

  1. Quit the Music app.
  2. Click on Finder to open a Finder window.
  3. Select your Mac's hard drive.
  4. Click on the Music folder.
  5. Select iTunes and drag it to the trash.

To delete the original Music files, quit the Music app. In Finder, select your Mac's hard drive, then select the Music folder. Select iTunes and drag it to trash. (Image credit: iMore)

Make sure your external hard drive is connected to your Mac when you launch iTunes from now on. Otherwise, iTunes won't be able to find the files. If that happens, quit iTunes, connect your external hard drive to your computer, and reopen iTunes.

Step 6 (optional): Move your iTunes library to a new Mac

Once you have your iTunes library on an external hard drive, you can relocate it to a new Mac.

  1. Quit the Music app on your new Mac.
  2. Connect your external hard drive to your new Mac using a USB cable.
  3. Open the external hard drive once it appears on your new Mac's screen.
  4. Click on Finder on your new Mac to open a Finder window.
  5. Select your new Mac's hard drive.
  6. Click on the Music folder.
  7. Drag the iTunes folder from your external hard drive into the Music folder on your new Mac.

To move your iTunes library to a new Mac, quit the Music app on the new Mac. Next, connect the external hard drive from above. Open the external hard drive. Click on finder and select your Mac's hard (Image credit: iMore)

Finally, redirect:

  1. Launch Music and hold down the Option Key at the same time.
  2. Click on Choose Library when the window appears.
  3. Select your external hard drive under Devices in the Finder sidebar.
  4. Click on iTunes.
  5. Select Choose.

To direct iTunes to a new location, launch the Music app while holding down the Option Key at the same time. Click Choose Library, then select your external hard drive. Next click iTunes, then choose. (Image credit: iMore)
  1. Select iTunes Library.itl.
  2. Click Choose.
  3. Add a name for your file next to Save As.
  4. Click Save.

To direct iTunes to a new location, select iTunes Library.itl. Click Choose, then add a name for your file next to Save As. Click Save. (Image credit: iMore)

Any questions?

Do you have any questions or issues with moving your iTunes library to an external hard drive or onto a new Mac? Let us know in the comments, and we'll help you out.

Bryan M Wolfe
Staff Writer

Bryan M. Wolfe has written about technology for over a decade on various websites, including TechRadar, AppAdvice, and many more. Before this, he worked in the technology field across different industries, including healthcare and education. He’s currently iMore’s lead on all things Mac and macOS, although he also loves covering iPhone, iPad, and Apple Watch. Bryan enjoys watching his favorite sports teams, traveling, and driving around his teenage daughter to her latest stage show, audition, or school event in his spare time. He also keeps busy walking his black and white cocker spaniel, Izzy, and trying new coffees and liquid grapes.