The basic way: sync music you own through iTunes on your computer

If you have music files on your computer — MP3s, AACs, or other formats iTunes recognizes — you can move them to your iPhone by connecting the phone to a Mac or Windows PC running iTunes, then syncing. This works for music you've purchased, ripped from CDs, or downloaded from other sources. The files stay on your computer; iTunes copies them to your phone.

You'll need iTunes installed on your computer. On a Mac running Catalina or later, the Music app replaces iTunes, but the sync process works the same way. On Windows or older Macs, use iTunes directly. Connect your iPhone with a USB cable, open iTunes or Music, click your phone's icon when it appears, then go to the Music tab and turn on "Sync Music." Choose whether to sync your entire library or selected playlists, artists, or genres, then click Apply.

The catch: syncing replaces what's on your phone. If you sync only certain playlists, music already on your phone that isn't in those playlists gets deleted. If you've added music to your phone through other apps or services, syncing can overwrite it. Check what you're syncing before you hit Apply.

Key Takeaways

  • Connect your iPhone to a computer with iTunes or Music, select your phone, go to the Music tab, and turn on "Sync Music" to copy files from your computer to your phone.
  • Syncing replaces the music on your phone with whatever you've selected to sync, so music from other sources or apps may be deleted.
  • You can sync your entire music library or just specific playlists, artists, or genres to save space on your phone.
  • If you use iCloud Music Library, syncing through iTunes may conflict with it; turn off iCloud Music Library first if you want iTunes syncing to work cleanly.

What file types iTunes will recognize

iTunes and the Music app on Mac accept MP3, AAC (the format iTunes uses for purchased music), Apple Lossless (ALAC), FLAC, Dolby Digital, and a few others. If you have music in formats like WMA (Windows Media Audio) or OGG, you'll need to convert them first — you can use free tools like VLC or Audacity to change the format, or search for "convert [format] to MP3" for online converters.

Before you sync, make sure all your music files are in a folder iTunes can find. On Mac, the Music app looks in your Music folder by default. On Windows, iTunes looks in your Music folder. You can add other folders by going to Preferences (iTunes on Windows, or Music > Settings on Mac), clicking the Files tab, and selecting "Add Folder." Drag your music files into one of these locations, and iTunes will find them.

Using iCloud Music Library instead of syncing

If you turn on iCloud Music Library in your iPhone's Settings, you can upload your music files to iCloud and access them from any device signed into your Apple ID — without plugging in a cable. Go to Settings > Music on your iPhone, then turn on "Sync Library." On your computer, open iTunes or Music, go to Preferences or Settings, click Music, and turn on "Sync Library" there too.

iCloud Music Library uploads your files to Apple's servers, so you need an internet connection and enough iCloud storage space. The first upload can take hours or days depending on how much music you have. Once it's done, you can stream your music or download it to your phone for offline listening. This method doesn't delete music from other sources the way syncing does — your phone keeps everything.

One important note: iCloud Music Library and iTunes syncing can conflict. If you turn on Sync Library, turn off iTunes syncing in the Music tab, or you may lose music. If you prefer the cable-and-sync method, leave Sync Library off.

Moving music you bought from iTunes

Music you've purchased through iTunes is already tied to your Apple ID. On your iPhone, open the Music app, tap the Library tab at the bottom, then tap Downloaded to see what's on your phone. Tap Edit, then tap the plus sign next to any song or album to download it. You don't need iTunes on your computer for this — it happens over WiFi or cellular directly from Apple's servers.

If you want to move purchased music to your phone using a computer instead, you can still sync through iTunes. Your purchases are stored in your iTunes library automatically, so connecting your phone and syncing will copy them over. This is slower than downloading directly on your phone, but it works if you prefer managing everything from your computer.

Troubleshooting when music won't sync

If you've turned on syncing but your music isn't appearing on your phone, first check that you've clicked Apply or Sync at the bottom of the Music tab — the sync doesn't happen until you do. Wait a few minutes; syncing can be slow if you have a lot of files. Then disconnect and reconnect your phone.

If music still isn't there, check that iTunes or Music can actually see your music files. Open iTunes or Music on your computer and search for one of the songs you're trying to sync. If it doesn't show up in your library, the app doesn't know where the files are. Add the folder containing your music through Preferences or Settings, wait for iTunes to scan it, then try syncing again.

Another common issue: your phone's storage is full. Music syncing stops if there's no room. Check Settings > General > iPhone Storage on your phone, and delete apps or photos if needed. You can also sync only certain playlists instead of your whole library to use less space.

Syncing music from a different computer

If you try to sync your iPhone to a different computer than the one you normally use, iTunes or Music will warn you that syncing will erase the music on your phone and replace it with music from the new computer. This is a safety feature to prevent accidentally overwriting your library. If you want to add music from a second computer without losing what's already there, use iCloud Music Library instead — it syncs across all your devices without erasing.

If you do want to sync to a new computer, back up your phone first through iCloud or your old computer, in case something goes wrong. Then connect to the new computer, let it sync, and your phone will have the music library from that computer instead.

Frequently Asked Questions

Can I sync music to my iPhone without a computer?

Yes. Use iCloud Music Library by turning on "Sync Library" in Settings > Music on your iPhone, then download songs directly from the Music app. You can also stream music from services like Spotify or Apple Music without syncing files at all. Cable syncing requires a computer, but getting music onto your phone does not.

Will syncing delete music I added through other apps?

Yes, if you sync only certain playlists or artists. iTunes replaces everything on your phone with what you've selected to sync. If you sync your entire library, other music stays. To keep music from multiple sources, use iCloud Music Library instead of syncing.

How long does syncing take?

Syncing a small library (under 100 songs) usually takes a few minutes. Larger libraries can take 15 minutes to an hour depending on your computer and cable speed. iCloud Music Library uploads are slower — thousands of songs can take several hours or overnight on the first upload.

What if my music files are on an external hard drive?

iTunes can sync from an external drive, but the drive must be connected to your computer when you sync. Add the folder on your external drive to iTunes through Preferences or Settings, then sync normally. If you disconnect the drive before syncing, iTunes won't find the files.

Can I sync music from a Mac to an iPhone and then to a Windows PC?

Not through syncing — each computer's iTunes library is separate. If you sync to a Windows PC after syncing to a Mac, the Windows library will replace what's on your phone. Use iCloud Music Library to keep the same music across both computers and your phone without losing anything.