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). On October 19, 2026 I ran sfltool dumpbtm on the same Mac to check the background items section below. Everything else comes from Apple's pages 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
- 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 likecom.example.app. On my Mac it returnedllc.purplelink.panelyfor Panely. If the app is already in the Trash, run the same command on its path there. - 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).
- Open your Library folder. In Finder, hold the Option key and choose Library from the Go menu.
- 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.
- Judge each match before you remove it. The table below says which are safe.
- 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.
- 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 Library | What it holds | Safe to remove? |
|---|---|---|
Preferences | The app's settings, in a file named after its identifier | Yes, for an app you are done with. |
Caches, HTTPStorages, WebKit, Logs | Temporary data the app rebuilds | Yes, for an app you are done with. |
Application Support | The app's real data: databases, downloads, sometimes a license | Only if you will never reopen the app, or you have exported what you need. Look inside first. |
Containers | Everything a sandboxed app keeps, documents included | Look inside before deleting. It can hold your own files. |
Group Containers | Data shared between apps from one developer | Leave it while any other app from that developer is installed. |
LaunchAgents | A background helper that starts at login | Removing its file stops it starting. Only for an app you removed. |
Saved Application State, Cookies | Window positions and browser cookies for the app | Yes, 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.
A deleted app still shows in Login Items
System Settings, General, Login Items & Extensions keeps its own list of apps allowed to run in the background. On macOS 27 the section is called Background App Activity; earlier versions call it Allow in the Background. Since macOS 13, many apps register their helper from inside the app itself, so there is often no file in a LaunchAgents folder to remove, and the entry can stay after the app is gone. It takes almost no space, so this is about an accurate list, not about disk space.
- Quit and reopen System Settings. Entries for removed apps are sometimes cleared then.
- See what each entry belongs to. In Terminal,
sfltool dumpbtmprints every login and background item with its developer, identifier and the path behind it. It only reads. - If an entry points to a file in a LaunchAgents or LaunchDaemons folder, move that file to the Trash and restart. The ones outside your home folder need an administrator password.
- If it is only a stale record,
sfltool resetbtmfollowed by a restart clears it. It also resets every background item you have approved, so apps you still use will ask again. Use it last.
Apple documents both commands in Manage login items and background tasks on Mac. Legroom's Uninstaller looks in the LaunchAgents and LaunchDaemons folders for the removed app's files; it does not run sfltool or change this list.
A cloud drive folder stays after you delete the app
OneDrive, Google Drive, Dropbox and other cloud drives keep their files in ~/Library/CloudStorage. macOS manages each folder there through the app's File Provider, so after the app is deleted the folder can stay, keep its downloaded files, and refuse to go to the Trash. One person on r/MacOS found 100 GB left by OneDrive this way in October 2026.
- Check the files are online first. Sign in to the service on the web. Files that were downloaded to the Mac are real local copies, and may be the only copy of recent edits.
- Use the app to let go. Reinstall it, sign in, choose its option to unlink or disconnect this Mac, quit it, then delete the app again.
- Restart and try moving the folder to the Trash again. A restart lets macOS release it.
- As a last step the folder can be removed in Terminal, which skips the Trash. Microsoft and Apple's developer forums describe the steps (Microsoft Q&A, Apple Developer Forums). Check the path twice before you press Return.
Legroom's Where your space went shows these folders as one line, Other cloud drives on this Mac, with a button to show them in Finder. It never deletes anything inside CloudStorage.
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.
| Tool | Price | What it does | Worth knowing |
|---|---|---|---|
| Pearcleaner | Free | Finds leftovers for an app you drop on it, searches for leftovers of apps already deleted, and can watch the Trash | Source-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. |
| AppCleaner | Free | Drop an app on it and it lists the related files | Long 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. |
| Mole | Free command-line tool (GPL-3.0). A separate Mac app has its own price | mo uninstall removes an app with related files, keeps data shared with other installed copies, and supports --dry-run | Terminal only. Runs on macOS 12 or newer. |
| Legroom (mine) | Free 7-day trial, then $9.99 once | Its 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 confirm | Young. 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 does a deleted app still show in Login Items?
macOS keeps its own record of background items, and many apps register their helper from inside the app, so the record can outlive the app. It takes almost no space. Run sfltool dumpbtm in Terminal to see what each entry belongs to; sfltool resetbtm and a restart clear stale entries but also reset every item you approved.
Why can't I delete a OneDrive or Google Drive folder after removing the app?
Cloud drive folders in Library/CloudStorage belong to the app's File Provider, which macOS manages. Check the files are online first, then reinstall the app, unlink this Mac and quit it, or restart and try again.
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
- Why is System Data so big on my Mac?: what fills the category and which causes are safe to remove.
- Best disk space analyzer and cleaner for Mac (2026): folder maps and cleaners compared.
- Find the Intel apps on your Mac before macOS 28: the apps that need Rosetta, and which ones to update or remove.
- Legroom, all products and all guides.
- Find the Electron apps on your Mac and how much space they take: one read-only Terminal command that lists them with their size and Electron version.