SiftMac
Is it safe to delete? · Library and system · Updated 21 November 2026

Can I delete .plist files in ~/Library/Preferences?

By Mohit Nippanikar, who makes SiftMac

The short answer
On this page
  1. What it is
  2. Where it is
  3. How big it gets
  4. How to reset one app’s settings
  5. What happens afterwards
  6. Questions

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

  1. Quit the app, and any helper it keeps running in the menu bar.
  2. Find its ID. It’s the file’s name without .plist, or Spotlight’s metadata can tell you, as in the first command below.
  3. Delete its settings with defaults delete and that ID. Going through macOS’s preferences service means a copy held in memory can’t write the old settings back.
  4. 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

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