How do I get back deleted music? All my songs got deleted by accident. I want to recover them from my Mac computer. Can anyone tell me what to do? Many thanks!

Many of us cannot imagine our daily lives without music. Whether traveling to work, school, or lounging at home, you may want to blast your favorite songs and create a fitting atmosphere.

What happens if you accidentally delete your valuable audio files? Is there a way to bring back what you've lost? There is.

Buckle up; we'll show you how to recover deleted songs on iPhone and Mac devices. Let's see why Apple Music deletes songs first.

Table of Content
    1. Sync Your Music Again
    2. Download the Songs Again
    3. Re-Add Your Songs
    4. Use Time Machine
    5. Use an iTunes Backup
    6. Recover Songs From an iCloud Backup

Why Has Apple Music Deleted My Songs?

apple music logo

A few reasons may affect your Apple Music experience, causing the app to delete some files. In most scenarios, the issues aren't significant and won't affect the experience you get on your device. You can check out some of the most common reasons below.

  • Subscription issues - If you've missed paying for a subscription on your Apple Music account, the app may delete your files and prevent you from accessing your favorite tunes.
  • Storage capacity - The most common reason behind music deletion on Apple Music is insufficient storage. If your phone gets low on storage, it'll automatically delete some files to free up space for new data.
  • Outdated operating system - If you haven't updated your OS version, you may experience bugs and random deletion issues. The OS may be unable to handle all the activities, leading to music loss.

Where Are Music Files Stored on a Mac?

If you use your Mac device as primary storage for music files, you may wonder where they all go once you download your favorite tunes. By default, the music should be in the Music folder on your device. You can find this folder by heading to Go > Home > Music.

the music folder on mac devices

However, if you've changed the settings and chosen a different destination for your music files, you should search for them in that folder.

Universal Solution: Recover Deleted/Lost Songs With Wondershare Recoverit

If you want to skip different recovery solutions and get an all-in-one tool to resolve your missing music issue, Wondershare Recoverit data recovery for Mac is the way to go. It doesn't matter if you deleted your files or formatted your drive. It's the most powerful recovery tool on the market, able to extract data even in the most complicated data loss scenarios.

Wondershare Recoverit
  • Recovers lost songs, photos, videos, documents, and other 1000+ file types safely, and completely.
  • Manages over 500 data loss situations, such as sudden deletion, formatting, system crash, and disk corruption.
  • The user-friendly interface allows you to recover data in just a few clicks.
recoverit boxrecoverit logo

If you're in a pickle and need a fast yet highly successful solution, head to the official Wondershare website, download the Mac software version, and follow the steps below.

  1. Open Wondershare Recoverit on your Mac and head to Hard Drives and Locations.
  2. Choose the storage containing your Music file.
    select music storage location on mac
  3. Once you pick the location, the program will automatically start scanning. You can pause this process if needed.
    scan deleted music files
  4. You can filter the Audio file type to accelerate the process.
    filter audio file type
  5. Once the program finishes scanning, preview the music files and select what to save. Click Recover.
    preview the music file
  6. Choose a destination.
save recovered songs on mac
Free Download
Free Download

How To Recover Deleted Songs on a Mac and iPhone

Below is a list of other methods to retrieve your favorite tunes and make them available on your iPhone or Mac. We'll present step-by-step guides you can follow for the smoothest journey.

Way 1. Sync Your Music Again

If you cannot see some of the tunes you have on your iPhone or Mac on other devices, it's a sign of syncing issues. You can enable this feature on your Music application to resolve the issue and make all your favorite songs appear across your devices. Check out how to do it below.

On iPhone

  1. Open the Settings app on your phone.
    open settings on iphone
  2. Go to Music and toggle on the Sync Library switch.
enable sync library on iphone

On Mac

  1. Open the Music app on your Mac.
    open the music app on a mac
  2. Click Account in the menu bar.
  3. Go to File > Library > Organize Library.
  4. Tick the Consolidate files checkbox and click OK.
    consolidate files
  5. Go to Music > Settings in the menu bar.
    music settings
  6. Tick the Sync Library checkbox in the General tab and click OK.
enable sync library on a mac

Way 2. Download the Songs Again

In some cases, music file deletion is a random bug, and the best way to recover lost files is to download them again. Don't worry; you won't have to repurchase your favorite tunes. They should all be in your Music account and available for download. Here's how to access them.

On Mac

  1. Open the iTunes Store from your Music application.
    open the itunes store
  2. Click Purchased under Music Quick Image names.
  3. Find your tunes under Not in My Library. If you cannot find all the missing songs, click the All tab.
    all purchased music
  4. Click the Download icon on individual songs or hit Download All.

On iPhone

  1. Open the Music app.
    open music app on iphone
  2. Go to Account > Purchased.
  3. Find the song you want to get and click the Download icon.
downloading songs

Way 3. Re-Add Your Songs

You can still find your missing files on your Mac even when they're no longer in the Music app. You can then add them to the Music app to refresh your library. You can do it by following the steps below:

  1. Browse your Mac for the lost files.
finding deleted music files
  1. If you find them, open the Music app and head to File > Import.
    import music to the music app
  2. Select the files you wish to re-add.

After that, you should have your lost files back. You can sync your Music app so that the re-added files appear on your iPhone.

Way 4. Use Time Machine

Time Machine is a powerful tool that will keep your data safe if things go sideways. You can back up all sorts of data, including documents, pictures, and music. If you've enabled Time Machine, you're lucky since you'll be able to retrieve your all-time favorite tunes.

You only need to follow the steps below for an efficient recovery:

  1. Head to Finder > Applications on your Mac and open Time Machine.
    opening time machine
  2. Find the missing songs in the app and click Restore.
restore from time machine

Regaining access to the missing files will only take a few minutes. Once you have them back, you can use the sync tip we mentioned earlier to transfer your songs to your iPhone.

Way 5. Use an iTunes Backup

You can back up your iTunes library and access it whenever you want. However, you'll need both your smartphone and desktop devices to extract data from your iTunes backup.

Connect your iPhone to the desktop with a USB cable and follow the steps below to view and restore from an iTunes backup:

  1. Launch iTunes on your desktop and click the Phone icon to select your iPhone.
  2. Click Music.
  3. Tick off the Sync Music option.
  4. Choose between the Entire music library or Selected playlists, artists, albums, and genres.
  5. Click the Sync button.
restore from itunes backup

After completing these steps, your previous playlists should appear on your Music application.

Way 6. Recover Songs From an iCloud Backup

iCloud is another excellent way to protect your data in case of numerous data loss scenarios. Whether you've accidentally deleted your files or experienced more complicated issues, iCloud can help you retrieve lost data.

You can recover your songs from an iCloud backup by following the steps below on your iPhone:

  1. Go to Settings > General.
    iphone general settings
  2. Head to Reset > Erase All Content and Settings.
    erase all content and settings
  3. After your phone resets, follow the on-screen instructions.
  4. Once you encounter the App & Data section, select Restore from iCloud Backup.
    restore from icloud backup
  5. Sign into your iCloud account.
    sign into your account
  6. Choose the backup with the missing music files.
choose an icloud backup

Recovering music files from an iCloud backup can be risky since you must factory reset your mobile device. That will delete all the files on your iPhone, so we advise you to create a backup beforehand. For the best results, you can use third-party software solutions like Wondershare UBackit to put all your data in one place and avoid potential issues.

After recovering your files from an iCloud backup, you can sync your music with a Mac computer by following the steps in the first section. You'll then have all your deleted music files back in one place.


Music can make our days and lives better. It can motivate us, get us moving, or simply set the mood for the day. However, in some cases, it can cause trouble. For example, if you lose some of your favorite tunes, you may feel discouraged or stressed.

Fortunately, we've shown you how to recover deleted songs from iPhone and Mac devices. All these solutions should be successful, but we recommend using a universal tool like Wondershare Recoverit to save time and nerves. This software will retrieve all your files within minutes, no matter the data loss scenario, so you can continue vibing to your most precious tunes.

recoverit logo
Wondershare Recoverit
Your Safe & Reliable Data Recovery Expert

Easily recover deleted or lost files from 2000+ storage devices like HDDs, SSDs, external drivs, USB drives, memory cards, and more. The software confidently retrieves all data types, regardless of how they went missing.

Sue Wayne
Sue Wayne May 14, 24
Share article: