Where iPhone Backups Live on a Mac, and When to Delete Them

A backup of a phone you no longer have cannot be rebuilt. The neighbouring Xcode folders usually can.

Sao lưu iPhone trên Mac nằm ở đâu, và khi nào nên xoá

A Mac that once backed up an iPhone can still be holding that copy years later, long after the phone was sold, replaced or given away. Thirty or forty gigabytes is not unusual. Next to it, if you also write apps, Xcode may have left DeviceSupport files and simulators that look related and are not.

The three are easy to mix up because they all have something to do with iOS. Only one of them is a backup you cannot rebuild. This guide starts there, then points to the Xcode folders so you do not clear the wrong thing.

1. Three kinds of iPhone leftovers, three different answers

Difficulty1 of 5

Three cards contrasting device backups that cannot be rebuilt, Xcode DeviceSupport files that come back, and simulators that hold test data
Only a device backup cannot be rebuilt. Example data.

It helps to name the three before opening any folder:

  • Device backups live in ~/Library/Application Support/MobileSync/Backup. This is a full copy of a phone you once connected to this Mac. It does not come back.
  • DeviceSupport lives in ~/Library/Developer/Xcode/iOS DeviceSupport. Xcode copies support files there for each iOS version it has seen. They come back the next time that version connects.
  • Simulators live under ~/Library/Developer/CoreSimulator. A simulator holds apps and test data. Deleting it deletes that work.

If you only need to decide about a backup of a phone, the rest of this guide is enough. If you also write apps, the Xcode folders are covered in more depth in What Xcode leaves on your Mac.

A backup is not a cache, and it is not DeviceSupport. Start by naming which one you are looking at.

2. Finder names backups by a long identifier

Difficulty2 of 5

The MobileSync Backup folder in Finder, with two backups named by long identifiers and their sizes, one marked as this Mac’s backup and one marked as an old phone
Finder will not show the phone’s name. Example data, not a real Mac.

The Library folder is hidden. Go › Go to Folder and type ~/Library/Application Support/MobileSync/Backup to open it. You will see one folder per backup, named something like 00008120-001A…. That is not the name on the back of the phone, and it is a poor way to decide what to delete.

A read-only look at how large they are:

du -hd1 ~/Library/Application\ Support/MobileSync/Backup 2>/dev/null | sort -h

Apple’s support page on locating iPhone, iPad and iPod touch backups confirms this path. It also points you to Storage settings, which is the better place to go next, because it shows a device name and a date next to each backup.

Do not delete a backup from Finder by guessing at the identifier. Read the name and the date first.

3. Manage iOS Files from Storage, then look twice

Difficulty4 of 5

Storage settings listing iOS Files with a size and a last backup date, and a warning that deleting a backup cannot be undone
macOS shows the device name and the last backup date. Example data.

On macOS 13 and later, open System Settings › General › Storage, then iOS Files. On Monterey, the same list sits in Apple menu › About This Mac › Storage. Each backup is listed with a size and a last backup date, which is usually enough to tell a phone you still have from one you sold last year.

If you delete it, there is no command that rebuilds a backup of a phone you no longer have. Before you confirm, check for the things that often never reached iCloud: photos from a camera roll that was not synced, messages, or app data you only kept locally. If the phone is still in a drawer and you are not sure, leave the backup where it is.

If the phone is still yours and you have a newer backup you trust, or a complete copy in iCloud, an older local backup can go. The space comes back when you empty the Trash.

This is the same decision behind the section on “the phone you no longer own” in Your Mac Looks Clean. Until You Ask One Question.

A backup of a phone you no longer have cannot come back. Look twice, then let it go if you are sure.

4. If you also write apps, two more folders sit next door

Difficulty2 of 5

The Xcode Developer folder listing iOS DeviceSupport and DerivedData as rebuildable, and Archives of shipped builds as records to keep
DeviceSupport for iOS versions you no longer test on is safe. Archives of builds you shipped are not leftovers. Example data.

iOS DeviceSupport is the folder people most often confuse with backups, because it is large and it has “iOS” in the name. It is not a backup. Xcode can copy the files again the next time a device with that iOS version is connected, or the next time you need them.

DerivedData is even friendlier: it rebuilds on the next build. Archives, by contrast, are records of builds you shipped, and they hold the debug symbols you need for crash reports. Do not tidy them as if they were leftovers.

The dedicated Xcode guide is the place to handle those folders, one by one, from inside Xcode where possible.

DeviceSupport rebuilds. A MobileSync backup does not. Keep the two apart.

Conclusions

Decision diagram with two questions: is its cause still alive, and if you remove it, does it come back
A backup of a phone you no longer have cannot come back.

iOS leftovers on a Mac sort cleanly once you ask what they are:

  1. Is its cause still alive? A phone you still own, a simulator you still test on, an iOS version you still support: leave it, or manage it with its own tool.
  2. If I remove it, does it come back? DeviceSupport and DerivedData: yes. A simulator: it comes back empty, without its test data. A device backup: no.

Delete a backup only after you have read its name and date, and only if you are sure you do not need that copy.

The Xcode folders, if you have them, are listed with a note on whether each one rebuilds in What Xcode leaves on your Mac. If you would rather have those developer folders sorted for you, Haikos Clean shows them with that same note and moves only what you pick to the Trash first. It does not manage iPhone backups: those belong in Storage settings, where you can see the device name before you decide.

Questions people ask

Where are iPhone backups stored on a Mac?

In ~/Library/Application Support/MobileSync/Backup, inside your home folder. Each backup is a folder with a long identifier, not the name you gave the phone. Apple’s support page on locating iPhone backups points to that path, and also to Storage settings, where the same backups appear under iOS Files with a device name and a date. That second view is the one to use before you delete anything, because the identifier in Finder is easy to misread.

Is it safe to delete an iPhone backup from a Mac?

Only if you are sure you do not need that backup. A local backup is a full copy of a phone as it was on a given day, and there is no command that rebuilds it once it is gone, especially if the phone has been sold or wiped. Check the date and the device name in Storage settings, and look for photos, messages or app data that never reached iCloud. If the phone is still yours and you have a recent backup you trust, an older copy on the Mac can go.

Are iPhone backups the same as Xcode’s DeviceSupport files?

No. A backup in MobileSync is a copy of a real phone, and it does not come back if you delete it. DeviceSupport, under ~/Library/Developer/Xcode/iOS DeviceSupport, holds support files Xcode copies for each iOS version it has seen. Those rebuild the next time that version of iOS connects. Simulators are a third thing again: deleting one deletes the test apps and data inside it. They are covered in the Xcode guide, not here.

Sources

Paths and commands were checked against these pages on the date above.

Mac storage

Delete Old .dmg and .pkg Installers on a Mac

How to find old .dmg and .pkg installers in Downloads, when it is safe to move them to the Trash, and when an installer is worth keeping on purpose.

5 min read

All guides