keepcalculator

06 Numbers and Powers

Delete Preference Files on Mac: Safe Steps

Card No. 06·4326 · Updated · Standard formula, shown below

To delete preference files on a Mac, you remove the .plist files stored in your user Library’s Preferences folder. This resets an app’s settings to defaults, which can fix misbehaving preferences or corrupted configuration files.

What Are Preference Files?

Preference files, also called property lists or .plist files, store an app’s settings—things like window positions, default font, login items, or recently opened files. macOS keeps them in a dedicated folder so apps can read and write their own configuration quickly. Each app typically has one main .plist file named after its bundle identifier (e.g., com.apple.finder.plist for Finder).

These files are plain text (or binary) and can be viewed with Xcode or the defaults command in Terminal. When an app misbehaves—showing wrong defaults, crashing on launch, or ignoring your changes—a corrupted or outdated preference file is often the culprit.

Where Preference Files Live

There are three main locations:

  • User Preferences: ~/Library/Preferences — contains settings for your user account only. This is where you’ll most often look.
  • System Preferences: /Library/Preferences — contains settings shared by all users on the Mac.
  • System-Level (Root): /System/Library/Preferences — contains Apple’s own system settings; you should rarely touch these.

Note that in recent macOS versions, some apps (especially those from the App Store) store preferences in ~/Library/Containers/<Bundle-ID>/Data/Library/Preferences due to sandboxing. Check both locations if you can’t find the file.

How to Delete Preference Files Safely

Follow these steps to remove a preference file without harming your system:

  1. Quit the app whose preferences you want to reset. If the app is running, its settings may be written back to disk when you quit, undoing your deletion.
  2. Open Finder and press Command + Shift + G to open the “Go to Folder� dialog.
  3. Type ~/Library/Preferences and press Return. (If you don’t see the Library folder, it’s hidden by default; this shortcut bypasses that.)
  4. Find the file that matches the app’s bundle identifier. For example, for Safari it’s com.apple.Safari.plist. If unsure, look for the app’s name or use Spotlight.
  5. Move the file to the Trash (right-click → Move to Trash) rather than permanently deleting it. This lets you restore it if something goes wrong.
  6. Restart the app. It will create a fresh preference file with default settings.

If the app still misbehaves, you may also need to delete related files like .plist.lockfile or caches in ~/Library/Caches, but start with the .plist itself.

When to Delete Preference Files

Deleting a preference file is a targeted troubleshooting step. Consider it when:

  • An app keeps reverting to wrong defaults or ignores your settings changes.
  • The app crashes on launch or during a specific action, and you’ve already tried restarting.
  • You’ve installed a new version and old settings are causing conflicts.
  • You want to completely reset an app to its factory state (e.g., before selling your Mac).

It’s not a first-line fix. For minor glitches, try quitting and reopening the app, restarting your Mac, or checking for updates first.

Common Problems and Misconceptions

“Deleting preferences will delete my data.� No—preference files only store settings, not your documents, photos, or project files. Your data is separate. However, some apps store small amounts of user data in preferences (like login tokens), so you may need to sign in again.

“I deleted the file but nothing changed.â€� The app may cache settings elsewhere, or the file was recreated from a backup (like Time Machine or iCloud). Try deleting again after quitting the app completely, and also clear the app’s cache folder.

“I can’t find the file.â€� The app may be sandboxed. Look in ~/Library/Containers/<bundle-id>/Data/Library/Preferences. Or the app may store preferences in a different format (e.g., a JSON file in Application Support).

“Should I delete system preferences?â€� Only if you’re troubleshooting a system-level issue and you know exactly which file. Deleting the wrong system preference can cause instability. For most users, stick to user-level files.

Alternatives to Manual Deletion

If you’re uncomfortable locating files manually, try these safer alternatives:

  • Use the app’s own reset option. Many apps have a “Reset Settingsâ€� or “Restore Defaultsâ€� button in their Preferences window.
  • Use the defaults command in Terminal. You can delete a specific key without removing the whole file: defaults delete com.example.app keyName. This is more precise.
  • Third-party uninstallers (like AppCleaner) often remove preference files along with the app, but they’re not necessary for a single reset.

For a full system reset, you could create a new user account, but that’s overkill for a preference issue.

Frequently Asked Questions

Q: Will deleting a preference file harm my Mac?
No, if you only delete user-level .plist files. The app will recreate them with defaults. Avoid deleting system preferences unless you’re certain.

Q: How do I know which .plist file belongs to an app?
Look for the bundle identifier, usually in the format com.company.appname. You can find it by opening the app’s Info.plist in Xcode, or by searching the Preferences folder for the app’s name.

Q: Can I edit a preference file instead of deleting it?
Yes, you can use the defaults command or a plist editor, but editing is riskier because a syntax error can corrupt the file. Deleting is simpler and often more effective.

Q: What if the app recreates the file with the same problem?
That suggests the issue isn’t the preference file itself but the app’s code or a conflict with another file (like a cache). Try clearing caches, updating the app, or contacting the developer.

Q: Is there a way to back up preferences before deleting?
Yes, just copy the .plist file to your Desktop or another folder before moving it to Trash. That way you can restore it if needed.

Q: Do I need to restart my Mac after deleting a preference file?
Usually no—just restart the app. For system preferences, a restart may be required, but that’s rare.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →