App Won't Delete from Launchpad? Fix It Now
In this article
Yes, you can force the removal of stubborn apps that refuse to disappear from macOS Launchpad. This usually happens because the application is a system app or has residual files locking its icon in place. The most effective solution involves using the Terminal command line to delete the app bundle directly, bypassing the graphical interface's limitations.
What You'll Need
- A Mac running macOS (this guide applies to most recent versions including Ventura, Sonoma, and Sequoia).
- The name of the specific app you are trying to remove.
- Access to the Terminal application (found in Applications > Utilities).
- Sudo privileges (your administrator password) for commands that require elevated permissions.
Step-by-Step
- Identify the App Bundle Name: Before deleting anything, you need the exact internal name of the application. Open Finder and navigate to your
Applicationsfolder. Locate the app that won't delete. Right-click (or Control-click) the app icon and select Show Package Contents. Inside the folder that opens, look for a file namedInfo.plist. Open this file with TextEdit or simply view the raw text. Look for the key labeledCFBundleName. Note the value associated with it (e.g., if the app is "Spotify," the bundle name might be "com.spotify.client" or just "Spotify"). Alternatively, you can often just use the app's display name as it appears in the Applications folder, but the bundle identifier is more precise for deletion. - Open Terminal: Press
Command + Spaceto open Spotlight Search. TypeTerminaland press Enter. A black window with a command prompt will appear. - Navigate to the Applications Directory: In the Terminal window, type the following command and press Enter:
cd /ApplicationsThis changes your current directory to the main Applications folder where most user-installed apps reside. - List Available Apps (Optional but Recommended): To verify the app exists and see its exact name spelling, type:
ls -laPress Enter. Scroll through the list to find the app folder you want to remove. Ensure the name matches exactly what you saw in Finder. - Delete the Application: Use the
rm(remove) command with the-rfflags. The-rflag means recursive (delete everything inside the folder), and-fmeans force (do not ask for confirmation). Type the following command, replacingAppName.appwith the actual name of the app folder you identified in Step 1:sudo rm -rf AppName.appFor example:sudo rm -rf Spotify.appPress Enter. You will be prompted to enter your Mac user password. Type your password carefully. Note that no characters will appear on screen as you type; this is a security feature. Press Enter after typing your password. - Verify Removal: Return to Launchpad. If the app was successfully deleted, the icon should now be gone. If it persists, proceed to the troubleshooting steps below.
Common Mistakes
Typing the Wrong Command: Accidentally typing sudo rm -rf / or omitting the app name can result in catastrophic data loss. Always double-check the path and filename before pressing Enter. Never use wildcards like *.app unless you are absolutely certain of the scope.
Ignoring System Integrity Protection (SIP): Some pre-installed Apple apps (like Safari, Mail, or Photos) are protected by SIP. Even with sudo, you may receive a "Operation not permitted" error. These apps cannot be deleted via Terminal without disabling SIP, which is strongly discouraged for average users as it compromises system security.
Deleting the Wrong Folder: Ensure you are deleting the .app bundle in the /Applications folder, not a shortcut or an alias. Deleting a symlink or alias will not remove the actual application data.
Tips
Check for Supporting Files: Deleting the main app bundle does not always remove preference files, caches, or logs located in ~/Library/Application Support or ~/Library/Preferences. If you want a complete cleanup, you can manually delete these folders after removing the app. Use Finder's Go > Go to Folder (Shift+Command+G) and enter ~/Library to access these hidden directories.
Use Third-Party Uninstallers: If you are uncomfortable using Terminal, applications like AppCleaner (free) can detect all related files for an app and delete them simultaneously. Drag the app into AppCleaner, check the boxes for associated files, and click Remove. This is safer for beginners.
Restart After Deletion: Sometimes Launchpad caches icons aggressively. After deleting an app via Terminal, log out and log back in, or restart your Mac to ensure Launchpad refreshes its database.
Troubleshooting
If the Icon Still Appears: Launchpad relies on a SQLite database to store icon positions. If the app bundle is gone but the icon remains, the database is out of sync. Reset Launchpad by opening Terminal and entering:
defaults write com.apple.dock launchpad-force-reset; killall Dock
This resets the Launchpad layout to default and removes ghost icons. Your custom grid arrangement will be lost, so rearrange your apps afterward.
If You Get a "Permission Denied" Error: This indicates the file is locked or protected. Check if the app is currently running. Quit the app completely (right-click the dock icon > Quit). If it still fails, ensure you are not trying to delete a core macOS system app. For non-system apps, ensure you typed the correct path. If the app is corrupted, you may need to boot into Safe Mode (hold Shift during startup) to unlock the files, then try the deletion again.
If the App is Not in /Applications: Some apps install themselves in /Library/Application Support or other system directories. If the app is not in your user Applications folder, adjust the cd command in Step 3 to point to the correct location. Be extremely cautious when deleting files outside your user home directory.
Frequently Asked Questions
Why can't I drag some apps off the screen in Launchpad?
Apps that cannot be dragged off the screen are typically pre-installed system applications (like Calendar, Contacts, or Messages) or apps protected by macOS security features. They are integral to the operating system and cannot be removed through standard means.
Will deleting an app via Terminal delete my data?
It deletes the application program itself. However, user data such as documents, preferences, and cached files stored in your Library folder are usually preserved. If you want to remove all traces, including data, you must manually delete the corresponding folders in ~/Library.
Can I restore an app I accidentally deleted?
If you deleted it via Terminal, you cannot simply "undo." You must redownload the app from the Mac App Store or the developer's official website. If you have a Time Machine backup, you can restore the app bundle from a previous backup.
Is it safe to use sudo rm -rf?
It is safe if used correctly on the intended target. However, it is a powerful command that permanently deletes files without sending them to the Trash. There is no recovery option within macOS Finder. Always triple-check the command before executing it.
What if the app is stuck in "Installing" mode?
If Launchpad shows an app as installing indefinitely, the installation process may have failed. Try restarting your Mac. If that doesn't work, delete the partial installation using the Terminal method described above, then reinstall the app from the source.