The iPhone is a great device for playing music, but while it's easy to play music on an iPhone it's not so easy to get at the music files stored on the device. What happens if you want to transfer music from one iPhone to another? Moving music from one iPhone to another can be a struggle, but it's easy if you know how. So don't lose your music when you get a new iPhone: move it across with our tips.

See also:

How to get music on iPhone: Sync your iPhone or iPad via USB

1. Connect your iPhone, iPad or iPod touch to the Mac or PC.

2. Open iTunes. If everything is working correctly, an icon will appear in iTunes' top-left corner, denoting the type of device you plugged in.

How to sync to iTunes: Sync iPhone with Mac or PC

3. Click that icon. You'll see various details about the device - its model, serial number, iOS version number and so on - and the types of content you can sync with it will be listed down the lefthand side.

4. Click Music, and you'll see a list of available, syncable content. Look at the tickbox at the top of the page, next to the word Sync and the content type. If there's a tick in the box already, syncing is on; if not, tick it to switch on syncing for that content type.

How to sync to iTunes: USB

If syncing is on, this means that iTunes will sync the selected items of that type to the iPhone when you click Apply. (Don't click it yet - we'll set syncing options for all the content types we want, then apply them all at once.) Tick the individual items, playlists and so on that you want to sync, or tick the option at the top to automatically sync everything, or everything that is recent, unplayed or whatever.

Some problems may arise at this point: iTunes may warn you that your iPhone is synced with another iTunes library already, which will prevent syncing from taking place normally. You can get round this by picking the option 'Erase and Sync' but, as the wording suggests, this option will result in the content you synced from the other machine being wiped. Fortunately this process occurs by content type, so you can keep the films you synced from another Mac, say, while choosing Erase and Sync for music.

5. Wait for syncing to complete, then eject your iPhone (the eject icon is to the right of your device's name at the top left) and unplug it from the Mac or PC. 

How to get music on iPhone: Sync your iPhone or iPad via Wi-Fi

Syncing over Wi-Fi, like almost all wireless operations, has advantages and disadvantages compared to its wired equivalent. Obviously it's more convenient not having to dig out the correct cable (and if the USB ports are around the back of a bulky desktop Mac or PC just getting to them can be a pain). But bear in mind that you still have to connect it via USB the first time, to set up the syncing process. Future syncs will take place wirelessly.

Finally, it's worth bearing in mind that if you're syncing large files you're likely to find the process noticeably slower, since transfers are limited by the speed of your Wi-Fi connection rather than the far quicker USB.

Here's how to sync your iPhone via Wi-Fi:

1. Connect your iPhone, iPad or iPod touch to the Mac or PC using a USB/Lightning or USB/30-pin cable.

2. Open iTunes and, as above, click on the little iPhone icon when it appears at the top left.

How to sync to iTunes: Wi-Fi

3. This time, instead of selecting a content type to sync, stay on the Summary tab (or click Summary at the top of the lefthand bar, if you've got lost). Under the Options section (the third box down), you'll see a tick box next to 'Sync with this iPhone over Wi-Fi'. Pop a tick in the box, then click Apply at the bottom-right. You can unplug the USB cable now.

4. Even though the iPhone is unplugged, you can carry on setting up syncing options in iTunes. As before, work your through the various content types, selecting in each cases the specific files to be synced, or the parameters to be applied when deciding whether to sync a file. When you've finished, click Sync.

5. You shouldn't have to plug the iPhone in again. In future, merely connecting the iPhone to the same Wi-Fi network as the Mac or PC will result in its icon appearing in iTunes, so you'll be able to change syncing options without any hassle. If you want to sync the iPhone again, just make sure it's on the same Wi-Fi network and plugged into mains power: provided iTunes is on, it will detect the iPhone and re-apply your syncing selections and parameters.

Read next: How to transfer or sync Voice Memos from an iPhone to a Mac

How to share music from one iPhone to another via Home Sharing

Transfer iPhone music with Home Sharing

If you have two iPhones and want to simply play the music from one iPhone on another (rather than saving the files on the new device), it's best to use Home Sharing. Follow these steps to set up and use Home Sharing:

  1. On the iPhone with the music, tap Settings > Music.
  2. Scroll down to find Home Sharing.
  3. Enter your Apple ID and Password and tap Done.
  4. Repeat this process on the iPhone you want to listen to music on.
  5. Open the Music app on the iPhone you want to listen to music on.
  6. If you don't use Apple Music, tap More > Shared and tap the Library you want to listen to. However if you do use Apple Music, it's a slightly different process. Simply tap 'My Music', then tap 'Songs' or 'Albums' (depending on how you've organised your library) and select Home Sharing.

It normally takes a few minutes for the music library to load into the iPhone, but you can now stream music from one iPhone to another. What you can't do with this method, however, is permanently copy the music from one iPhone to another, as this method only works when both iPhones are on the same Wi-Fi network.

See also: How to move from an old iPhone to a new iPhone | How to transfer music from one iPhone to another | How to transfer contacts, music and photos from Windows Phone to iPhone | How to move from Android to iPhone

How to share music from one iPhone to another via iTunes Store

Redownload Purchased Music from iTunes Store

If you want to transfer music from one iPhone to another, there are a few options available to you.

The easiest way to transfer music from one iPhone to another is using the iTunes Store, but this only works with music purchased via iTunes. If you have purchased music from the iTunes Store, you will be able to instantly download it to any device you own by following these steps:

  1. Open iTunes Store app.
  2. Tap More > Purchased.
  3. Tap Purchased > Music.
  4. Tap All Songs.
  5. Tap Download All.

This will trigger the download all of your paid music from iTunes Store to your iPhone. Download times may vary depending on both the speed of your Internet connection and the number of songs you download.

How to get music on iPhone via Apple Music

Apple Music is Apple's answer to rival music streaming services like Spotify, offering users the ability to browse and listen to an unlimited amount of music for a monthly fee. However, what some users may not realise is that every song, album and playlist added to your collection is stored in iCloud and is available to download on any iOS device. To transfer your Apple Music collection to a new iPhone, simply do the following:

  1. On the new iPhone, open the Settings app and tap Music
  2. Toggle 'Show Apple Music' and 'iCloud Music Library' on (make sure you have a decent Wi-Fi connection)
  3. Your iCloud Music Library should then download on the iPhone.

As with the above solutions, the download time may vary depending on your Internet connection. It's also worth noting that this can also be done on iTunes on a Mac or PC, providing an easy way to transfer your collection to/from your Mac/PC. 

How to get music on iPhone via iTunes & third-party software

Transfer audio using AnyTrans

But what if you didn't buy the music on your iPhone? Don't worry, it's still possible to transfer music from iTunes on your computer (Mac or PC) to an iPhone. If you still have the music on your Mac or PC, then you can sync your iPhone with your computer using iTunes: this replaces the music on your new iPhone with the tracks you select from iTunes on your Mac or PC.

This is how most people transfer music to a new iPhone - rather than transfer it directly from one iPhone to another, they use the music stored on their computer to sync the same tracks on both devices.

Problems only really arise when you no longer have access to the music in your iTunes library. In this instance, you can use third party software like AnyTrans to transfer music from your iPhone to your iTunes library (or another iPhone) by following these steps:

  1. Connect the iPhone containing the music to your Mac.
  2. Download and open the AnyTrans app.
  3. Select your iPhone from the tab.
  4. Click Audio.
  5. Select the tracks you want to transfer to iTunes.
  6. Click the Send to iTunes icon.

You can also connect both iPhones to a Mac and use AnyTrans to transfer music directly from one iPhone to another.

  1. Connect both iPhones to your Mac.
  2. Open AnyTrans.
  3. Click on the tab for the iPhone containing the tracks.
  4. Click Audio.
  5. Select 'Send to Device'.

The music will then be transferred from one iPhone to another. The total amount of time will depend on a number of factors, from the speed of the USB port used by each iPhone to the size of your music library.

Our most popular iPhone tutorials: