How to delete an app completely on a Mac, leftovers included
- Run the app’s own uninstaller if it has one. If not, drag the app to the Trash, then remove what it left in your Library. Apple says an uninstaller is the best way to remove the login items, extensions and other data an app stored elsewhere.
- What stays behind: settings, caches, saved windows and support files named after the app or its ID, and sometimes a helper that starts at login. Usually small; now and then gigabytes.
- What you keep: documents you made with the app were never part of it and stay put. Once the leftovers leave the Trash, the app’s old settings are gone, and a reinstall starts fresh.
1. Step 1: remove the app
- Quit the app with ⌘Q, and its menu bar icon too if it has one.
- Before you delete it, note its ID: its leftovers are named after it. In Terminal, with your app’s name,
osascript -e 'id of app "Slack"'prints something likecom.tinyspeck.slackmacgap. - Look for an uninstaller: an app called Uninstall or Uninstaller in the app’s folder, or an uninstall or reset command in its menus or settings. Big suites, and apps that add drivers or background services, usually have one. If yours does, use it, then go to step 2.
- Otherwise, open Applications in Finder and drag the app to the Trash, or select it and choose File › Move to Trash. Enter your password if Finder asks.
- Choose Finder › Empty Trash. Until then, the app still takes its space.
If Finder says the app is in use, quit it or restart. Apps macOS needs, such as Mail and Safari, can’t be deleted at all. And deleting an app doesn’t cancel a subscription you bought with it: cancel that separately, in the App Store or with the app’s maker.
2. Step 2: find what it left behind
Apps keep their files in your Library, in folders named after the app or its ID. Open it with Go › Go to Folder (⇧⌘G) and ~/Library, then look in these folders:
| Folder | What’s there | Remove it? |
|---|---|---|
Application Support/<name or ID> | The app’s own data: libraries, downloads, databases, sometimes work you did in it | Once you’re sure you won’t reinstall it, or have exported what you need |
Caches/<ID> | Cached files | Yes; it’s only a cache |
Preferences/<ID>.plist | Its settings | Yes; tiny, and a reinstall starts with default settings |
Saved Application State/<ID>.savedState | Which windows were open | Yes |
HTTPStorages/<ID>, WebKit/<ID>, Cookies/<ID>.binarycookies | Web data from pages shown inside the app | Yes |
Containers/<ID>, Group Containers/<team>.<ID> | All the data of App Store and other sandboxed apps | Only for apps that are gone; a group container can be shared by one maker’s apps |
LaunchAgents/<ID>….plist | Helpers that start when you log in | Yes, for apps that are gone; log out and back in afterwards |
To list everything at once, search your Library by the app’s ID and by its name. This only lists; it deletes nothing:
find ~/Library -maxdepth 2 -iname "*com.tinyspeck.slackmacgap*" 2>/dev/null
find ~/Library -maxdepth 2 -iname "*slack*" 2>/dev/null
The name search can match other apps’ files, so check each result before you remove it.
Apps that came with an installer
An app installed from a .pkg file may also have put files outside your home folder, in /Library/Application Support, /Library/LaunchAgents, /Library/LaunchDaemons or /Library/PrivilegedHelperTools. macOS keeps a receipt of what each package installed, which you can read with pkgutil:
pkgutil --pkgs | grep -i slack
pkgutil --files <package ID>
The first line finds the package’s ID; the second lists every file it installed. Removing those takes an administrator password, so be sure each one is the app’s before you do. Login helpers also appear in System Settings › General › Login Items (Login Items & Extensions on newer macOS).
3. Step 3: remove the leftovers safely
- Make sure the app is really gone, and that nothing else from the same maker is still installed: apps from Google, Microsoft or Adobe share folders between them.
- Move the leftovers to the Trash rather than deleting them in Terminal, so you can put them back if something else turns out to need them.
- Restart, or log out and back in, so any login helper you removed stops loading.
- Use your Mac for a few days, then empty the Trash.
4. What to keep
- Your documents. Files you made with the app live wherever you saved them, and Apple notes that deleting the app doesn’t remove them. You may need the app, or another one, to open them later.
- Data you may want back. If you might reinstall, the app’s
Application Supportfolder holds its library, projects or history. Control-click it, choose Compress, and keep the zip until you’re sure. - Licence keys and serial numbers. They’re usually in the email from the app’s maker; find them before the app goes.
- Folders of apps you still use. If a folder doesn’t clearly match the app you removed, leave it.
5. Uninstaller apps
Doing this by hand takes a few minutes per app. Uninstaller apps such as AppCleaner and Pearcleaner do the search for you: drop an app on them, and they list the files they found to remove along with it. Whichever you use, look over the list before you confirm. AppCleaner and CleanMyMac, compared.
Questions
Does dragging an app to the Trash uninstall it?
It removes the app itself, which is usually most of its size. Its settings, caches and support files stay in your Library, and a login helper can stay behind too. Remove those as in step 2, or use an uninstaller.
Will deleting an app cancel my subscription?
No. Apple says deleting an app doesn’t cancel a subscription you bought with it. Cancel it in the App Store’s account settings or with the maker; cancelling CleanMyMac is one example.
How do I find the leftovers of an app I deleted long ago?
Search your Library for its name with the find command above. If you don’t know its ID, look in ~/Library/Application Support and ~/Library/Preferences for names that match the app or its maker, and in ~/Library/LaunchAgents for helpers whose app is gone.
Can I delete Safari, Mail or other built-in apps?
No. Apps macOS needs are part of the system, and Finder won’t move them to the Trash. Apple apps that come from the App Store, such as GarageBand, iMovie, Pages and Keynote, can be deleted like any other app.
How SiftMac handles it. Drag an app onto SiftMac’s window or Dock icon and it lists the app with the files it keeps in your Library (support files, settings, saved windows, web data and login helpers), then moves them together onto the Undo Shelf for 7 days. Its Unused apps category lists apps you haven’t opened in six months, and Leftovers of removed apps finds files of apps already gone, once nothing from their maker is installed and nothing has touched them for two weeks. Apple’s built-in apps are left alone, and an app installed by an administrator asks for your password in macOS’s own dialog.
Download SiftMac · scanning is free, and so is your first 2 GB of cleaning · See how it works