Purplelink
← All guides

How to delete a Mac app and the files it leaves behind

Moving an app to the Trash removes the app, not what it saved to your Library. Most of what stays is a few megabytes of preferences and caches, but a support folder can hold real data, so look before you delete.

Disclosure: Purplelink, which publishes this site, makes one app mentioned here, Legroom, a menu-bar app sold as a 7-day trial and a $9.99 one-time purchase. It is young, and I say where free tools do the same job. On October 13, 2026 I ran the Terminal command in step 1 and looked at the Library folders named here on my own Mac (macOS 27.2). Everything else comes from Apple's page and each tool's own description. Where I could not confirm something, I say so.

The short answer

Apple's page on deleting apps says to run an app's own uninstaller if it has one, because that is the best way to remove login items, extensions and other data the app stored elsewhere (Apple: Delete or uninstall apps on Mac). When an app has no uninstaller, what usually stays is small: preferences, caches, saved state and a support folder. A few apps keep gigabytes. You can find and remove it by hand in about five minutes.

Steps

  1. Find the app's bundle identifier before you delete it, if you can. Leftover files are named after it, not after the app. In Terminal: mdls -name kMDItemCFBundleIdentifier /Applications/Example.app. It prints something like com.example.app. On my Mac it returned llc.purplelink.panely for Panely. If the app is already in the Trash, run the same command on its path there.
  2. Delete the app. In Finder, select it in Applications and press Command-Delete, or drag it to the Trash. Apple notes the Trash does not free space until you empty it (Finder, Empty Trash).
  3. Open your Library folder. In Finder, hold the Option key and choose Library from the Go menu.
  4. Look in these folders for that identifier or the app's name: Application Support, Caches, Preferences, Containers, Group Containers, Saved Application State, Logs, HTTPStorages, WebKit, Cookies and LaunchAgents. Not every folder exists on every Mac. On mine, Saved Application State was absent when I looked.
  5. Judge each match before you remove it. The table below says which are safe.
  6. Move the matches to the Trash rather than deleting them outright. If nothing you miss turns up in a day or two, empty the Trash.
  7. Check for system-level leftovers. Some apps install helpers in /Library (the folder at the top of the disk, not the one in your home folder). Those need an administrator password. Look at them in Finder, and do not delete anything there that you cannot identify.

Which leftovers are safe to remove

Folder in your LibraryWhat it holdsSafe to remove?
PreferencesThe app's settings, in a file named after its identifierYes, for an app you are done with.
Caches, HTTPStorages, WebKit, LogsTemporary data the app rebuildsYes, for an app you are done with.
Application SupportThe app's real data: databases, downloads, sometimes a licenseOnly if you will never reopen the app, or you have exported what you need. Look inside first.
ContainersEverything a sandboxed app keeps, documents includedLook inside before deleting. It can hold your own files.
Group ContainersData shared between apps from one developerLeave it while any other app from that developer is installed.
LaunchAgentsA background helper that starts at loginRemoving its file stops it starting. Only for an app you removed.
Saved Application State, CookiesWindow positions and browser cookies for the appYes, for an app you are done with.

What to leave alone

Leave Apple apps and anything in system folders. Leave anything inside Group Containers whose name you do not recognise. Leave folders that hold a photo, music or video library, a backup, or an item that exists only in iCloud. Leave anything that changed in the last few minutes, because the app may still be running.

Why this happens

A Mac app is a folder you can drag anywhere. macOS does not keep a list of what an app wrote to your Library while it ran. Dragging the app to the Trash therefore loses nothing and cleans up nothing.

Tools that do this for you

From each tool's own description or a current review, read October 13, 2026. I did not test any of them for this guide.

ToolPriceWhat it doesWorth knowing
PearcleanerFreeFinds leftovers for an app you drop on it, searches for leftovers of apps already deleted, and can watch the TrashSource-available under Apache 2.0 with the Commons Clause, which bars selling it, so it is not open source in the strict sense. Review what it finds before deleting. Third-party sources list macOS 13 or later, but I could not confirm that on the project's page.
AppCleanerFreeDrop an app on it and it lists the related filesLong established. I could not read the developer's page, so I am not stating a minimum macOS version. Not the same product as Nektony's paid App Cleaner and Uninstaller.
MoleFree command-line tool (GPL-3.0). A separate Mac app has its own pricemo uninstall removes an app with related files, keeps data shared with other installed copies, and supports --dry-runTerminal only. Runs on macOS 12 or newer.
Legroom (mine)Free 7-day trial, then $9.99 onceIts Uninstaller reads the app's bundle identifier, lists matches from a fixed set of Library folders with sizes, ticks the ones whose names match exactly, and moves them to the Trash only after you confirmYoung. It does not offer Apple apps or system folders. It lists leftovers in the system Library with a command for you to run yourself. I have not yet watched it move real files on my own Mac, only the preview and confirm steps.

Frequently asked

If I drag an app to the Trash, is it really gone?

The app is gone. Its saved data usually is not. Preferences, caches and a support folder stay in your Library until you remove them.

Is it safe to delete the leftover folders?

Mostly, for an app you no longer use. The risk is data you want: a database in Application Support, or documents in a Container. Look inside first, and move things to the Trash instead of deleting them, so you can put them back.

Does leftover data slow my Mac down?

No, it only takes space. Most apps leave a few megabytes. A few leave far more, which is why some people find tens of gigabytes after years of trying apps.

Will removing leftovers fix System Data?

It can shrink it by the orphaned app data it holds. However, System Data also holds Time Machine snapshots, device backups and system files. The guide on why System Data is so big on a Mac lists each cause. See Why is System Data so big on my Mac?

Why not just use a cleaner app?

You can. Whichever you choose, look at what it plans to remove before it removes it, and prefer one that moves things to the Trash instead of deleting them outright.

Related guides