Can I delete .plist files in ~/Library/Preferences?
- Not all of them. Each
.plistholds one app’s settings, and macOS keeps its own there too, for the Dock, Finder, keyboard and much more. Deleting the lot resets every app and much of macOS to defaults, for very little space. - What one costs you: that app’s settings. Resetting a single app is a standard fix when it misbehaves, and the reliable way is the
defaultscommand with the app quit. - Does it come back? A fresh file with default settings appears as soon as the app runs again; your old choices don’t.
- SiftMac’s verdict: Leave it
1. What it is
A property list, or .plist, is a small structured file in XML or binary form. Apps rarely touch them directly: macOS’s preferences service, cfprefsd, reads an app’s settings when it starts, keeps them in memory while it runs, and writes changes back to the file.
Files are named after the app’s ID, such as com.apple.dock.plist for the Dock or com.google.Chrome.plist for Chrome. A subfolder, ByHost, holds settings that belong to this particular Mac.
Apple tells developers never to create files in this folder themselves and always to go through the system’s preferences interface. Removing settings works best the same way, through that service rather than around it.
2. Where it is
~/Library/Preferences
/Library/Preferences
The first holds your settings. The second, without the ~, holds settings for the whole Mac, such as network and login window settings, and only an administrator can change it.
Sandboxed apps keep their settings in their container, at ~/Library/Containers/<app ID>/Data/Library/Preferences, so a file with an app’s name in ~/Library/Preferences may not be the one it actually reads.
3. How big it gets
Small: even hundreds of settings files rarely add up to much. To check the total, then list the largest files first:
du -sh ~/Library/Preferences
ls -lS ~/Library/Preferences | head -10
An unusually large file usually means an app keeps more than settings in it. Resetting it is still safe, once the app is quit.
4. How to reset one app’s settings
- Quit the app, and any helper it keeps running in the menu bar.
- Find its ID. It’s the file’s name without
.plist, or Spotlight’s metadata can tell you, as in the first command below. - Delete its settings with
defaults deleteand that ID. Going through macOS’s preferences service means a copy held in memory can’t write the old settings back. - Open the app. It starts with default settings.
mdls -name kMDItemCFBundleIdentifier /Applications/App.app
defaults delete com.example.app
In Finder, the equivalent is moving that single .plist to the Trash with the app quit. Don’t delete com.apple.… files to tidy up, and don’t empty the folder: that resets Dock layouts, Finder views, keyboard shortcuts and accessibility settings in one go.
5. What happens afterwards
- The app opens as if newly installed: welcome screens, default layout, and possibly a request to sign in or re-enter licence details.
- Settings you had changed are gone, so note any you’ll want to set again before resetting.
- The app’s data, in Application Support or its container, isn’t touched.
- If the problem stays after a reset, the settings weren’t the cause.
Questions
Can I delete all plist files on a Mac?
You can, but you shouldn’t. You’d reset every app and much of macOS, from the Dock and Finder to keyboard and trackpad settings, and get back almost no space. Reset only the app that has a problem.
Is it safe to delete plist files of apps I’ve deleted?
Yes. A settings file for an app that’s gone does nothing; remove it along with the app’s other leftovers.
Why did the settings come back after I deleted the file?
Because cfprefsd still had them in memory and wrote them back. Use defaults delete with the app quit, which goes through that service instead of around it.
What’s in /Library/Preferences?
Settings for the whole Mac and every account, such as network configuration. Change those in System Settings rather than by deleting files.
How SiftMac handles it. The space map’s note calls these each app’s settings, tiny, and says to leave them. SiftMac removes a .plist only with an app it’s removing, or as part of the leftovers of an app that’s gone (nothing from its maker installed, nothing running, unchanged for two weeks), and those wait on the Undo Shelf; Apple’s own com.apple.… files are never listed.
Download SiftMac · scanning is free, and so is your first 2 GB of cleaning · See how it works