Where Mac stores app files and how to locate them

App files on a Mac live in several standard locations depending on what the app does and how it was installed. Most apps you download from the App Store keep their working files in your user Library folder, which is hidden by default. Apps installed outside the App Store often scatter files across your Applications folder, your home directory, and the Library. Understanding these locations saves you time when you need to back up settings, delete leftover files, or find where an app stored your work.

The fastest way to find any app file is to use Spotlight search or the Finder's search tools rather than hunting through folders manually. But knowing the standard locations helps you understand what you are looking at when you find something, and whether it is safe to move or delete.

Key Takeaways

  • Most apps keep their settings and data in your Library folder at ~/Library, which you can reach by pressing Command-Shift-Period in Finder to show hidden files.
  • The Applications folder at /Applications holds the app itself, but not the files it creates — those go in Library or your Documents folder.
  • Spotlight search (Command-Space) finds app files faster than browsing folders, and you can narrow results by file type or date modified.
  • App support files are usually in ~/Library/Application Support, while preferences live in ~/Library/Preferences, and temporary files go in ~/Library/Caches.

Using Spotlight to find app files quickly

Press Command-Space to open Spotlight search, then type the app name or a filename you remember. Spotlight searches your entire Mac and shows results in real time. If you are looking for a specific file type — say, all PDFs an app created — type the filename or part of it. You can also search by date: type "modified:today" to find files changed in the last 24 hours, or "modified:this week" for the past seven days.

Once you find a file in Spotlight, press Command-B to reveal it in Finder. This opens the folder containing that file so you can see what else is nearby and understand the folder structure. If Spotlight does not find what you want, the file may be in a location Spotlight does not index — usually only happens with external drives or folders you have excluded from indexing yourself.

Finding app preferences and settings

When an app saves your preferences — window size, theme choice, login information — it usually stores them in ~/Library/Preferences. To reach this folder, open Finder, press Command-Shift-G (Go to Folder), and type ~/Library/Preferences. You will see files named after the app, usually ending in .plist. These are preference files. Do not edit them by hand unless the app's documentation tells you to — they use a format that breaks easily if you change them wrong.

Some apps store preferences in ~/Library/Application Support instead, in a folder with the app's name. If you uninstall an app and want to remove all trace of it, deleting the matching folder in Application Support removes your settings too. This is useful if you want to reset an app to factory defaults by deleting its preferences folder and relaunching it.

Locating app data and documents

Files you create in an app — documents, images, projects — usually go in your Documents folder or a subfolder the app creates there. Some apps let you choose where to save; others have a default location. If you are not sure where an app saved something, use Spotlight or open the app's File menu and look for "Open Recent" to see what it worked on last.

Some apps store data in ~/Library/Application Support in a folder named after the app. This is common for apps that manage libraries of content — music players, photo organizers, note-taking apps. If you move or delete the app's folder in Application Support, you lose all that data, so back it up first if you care about it.

Understanding the Applications folder and app bundles

The /Applications folder holds the app itself — the executable program you double-click to launch. On a Mac, an "app" is actually a bundle, a folder that looks like a single file. Right-click any app and choose "Show Package Contents" to see inside. You will find the actual executable, icons, and resources the app needs to run. Most users never need to look inside an app bundle. Deleting or moving files inside can break the app.

To uninstall an app, dragging it from Applications to Trash usually works. But this leaves behind preference files and data in your Library folders. If you want a complete removal, you also need to delete the app's folder from ~/Library/Application Support and its preference file from ~/Library/Preferences. Some apps include an uninstaller; check the app's folder in Applications or its documentation.

Finding temporary and cache files

Apps store temporary files and cached data in ~/Library/Caches to speed up loading. These files are safe to delete — the app will recreate them if needed. To reach this folder, open Finder, press Command-Shift-G, and type ~/Library/Caches. You can delete individual app cache folders or use a cleaning utility, but deleting cache usually only saves a few hundred megabytes unless you have not cleaned in years.

Temporary files also live in /var/tmp and /tmp, but these are system-level folders best left alone. The system cleans them automatically, and manually deleting from them can interfere with running apps. Stick to ~/Library/Caches if you want to free up space from app files.

Showing hidden files to see Library and other folders

The Library folder is hidden by default because Apple assumes most users do not need to see it. To show hidden files, open Finder and press Command-Shift-Period. All hidden files and folders appear, including Library. Press Command-Shift-Period again to hide them. This setting stays on until you toggle it off, so you can leave it on if you work with these folders often.

Another way to reach Library without showing all hidden files: open Finder, press Command-Shift-G (Go to Folder), and type ~/Library. This opens the Library folder directly without showing other hidden files. From there you can navigate to Preferences, Application Support, Caches, or any other subfolder you need.

Frequently Asked Questions

Can I safely delete files in the Library folder?

Files in ~/Library/Caches are safe to delete — the app recreates them. Preference files and Application Support folders contain settings and data, so delete them only if you want to reset the app or uninstall it completely. Never delete files in ~/Library/LaunchAgents or ~/Library/LaunchDaemons unless you know what they do.

What if I cannot find a file I saved in an app?

Use Spotlight (Command-Space) and search for part of the filename or the date you created it. If the app has an "Open Recent" menu, check there. Some apps save to cloud storage by default — check iCloud Drive or the app's sync folder. If you still cannot find it, the app may have saved it in a custom location you chose during save.

How do I move an app to a different folder?

You can move an app from Applications to another folder, but most apps expect to be in /Applications. If you move an app, any shortcuts or Spotlight references may break. The safest approach is to leave apps in Applications and use aliases or shortcuts if you want quick access from elsewhere.

Do I need to back up app files separately from my whole Mac?

If you back up your entire Mac with Time Machine or another full backup, app files are included. If you only back up Documents and Desktop, you will miss app data stored in Library folders. Check where each app stores its data — most note-taking and photo apps keep everything in Library, not Documents.