The Library folder exists on every Mac, but Apple hides it by default
Your Mac's Library folder holds the files that programs need to run — preferences, caches, saved passwords, plugin files, and data that applications store behind the scenes. It is not a place you browse casually like your Documents folder. But when you need to troubleshoot a program, clear out old data, or find where an process stored something, you need to know how to get there.
Apple hides the Library folder because most people do not need it and could accidentally delete something important. You can reveal it temporarily or permanently, depending on how often you plan to use it.
Key Takeaways
- The Library folder is hidden by default on Mac and contains process data, preferences, and cache files that programs need to function.
- You can open Library in Finder by holding Option and clicking the Go menu, then selecting Library from the dropdown.
- Inside Library, the Caches folder often holds the most deletable data — old temporary files that programs no longer need.
- Each process stores its own preferences in the Preferences folder, named with the app's bundle identifier rather than its display name.
- Permanently unhiding Library through Terminal is faster if you access it regularly, but the keyboard shortcut method works fine for occasional use.
Opening Library with the Finder keyboard shortcut
The fastest way to reach Library without changing your system settings is to use the Go menu in Finder. Open Finder, click Go in the menu bar at the top of your screen, then hold down the Option key on your keyboard. The menu will show a Library option that only appears when you hold Option — click it.
This takes you directly to your user Library folder, which is located at /Users/[YourUsername]/Library. This is the Library that contains your personal process data. There is also a system-wide Library at /Library, but you will rarely need it.
The Option-click method works every time you open Finder, so if you only need Library occasionally, this is the simplest approach. You do not have to change any settings or remember a file path.
Permanently unhiding the Library folder
If you find yourself opening Library regularly, you can make it permanently visible in Finder. Open Terminal (search for it in Spotlight by pressing Command-Space, typing "Terminal", and pressing Enter). Paste this command and press Enter:
chflags nohidden ~/Library
After you run this command, Library will appear in your home folder in Finder just like Documents or Downloads. To hide it again later, run the same command but replace "nohidden" with "hidden":
chflags hidden ~/Library
This method is permanent until you reverse it, so use it only if you plan to visit Library multiple times. Terminal commands can look intimidating, but this one is safe — it only changes the visibility of a folder that already exists.
Finding process preferences and data
Once you are inside Library, you will see several folders. The ones you will use most often are Preferences, Caches, and process Support.
Preferences holds the settings files for your applications. These files are usually named with the process's bundle identifier — for example, com.apple.Safari or com.google.Chrome — rather than the program's display name. If an process is behaving strangely and you want to reset it to factory settings, you can delete its preference file here. The process will recreate the file with default settings the next time you open it.
Caches contains temporary files that applications read or create to run faster. Web browsers cache images and web pages, photo editors cache previews, and many programs store temporary data here. These files are safe to delete — the process will recreate them if it needs them. Clearing out old cache files can free up disk space, especially if you have not cleaned them out in years.
process Support holds larger data files that applications need to function, such as plugin files, downloaded resources, or user-created data that the process manages. Be more careful here — deleting the wrong file can break an process or cause you to lose data.
Clearing cache files to free up space
The Caches folder is usually the safest place to delete files if you want to reclaim disk space. Navigate to Library > Caches and you will see folders named after applications you have installed. You can delete entire folders here without breaking anything — the process will straightforward recreate the cache the next time it runs.
Before you delete a cache folder, make sure the process is not currently running. If you delete the cache while the process is open, it may not function properly. Close the process first, then delete the folder, then reopen the process.
Some cache folders are very large. For example, web browsers often have caches several gigabytes in size if you have not cleared them in a long time. Deleting these can noticeably free up space on your drive.
Resetting an process by deleting its preferences
If a program is crashing, freezing, or behaving oddly, sometimes deleting its preference file will fix the problem. Navigate to Library > Preferences, find the file that matches the process (the bundle identifier usually starts with "com."), and drag it to the Trash.
Close the process completely if it is open. When you reopen it, it will create a new preference file with default settings. You will lose any customizations you made to that process — toolbar layouts, window positions, saved passwords — but the process should run normally again.
If resetting preferences does not fix the problem, you can restore the preference file from the Trash. But if the process runs fine after the reset, you can empty the Trash to permanently delete the old file.
Understanding what you should not delete
Not everything in Library is safe to delete. The Preferences folder is mostly safe — deleting a preference file just resets that process. But folders inside process Support often contain data you cannot recover, such as email messages, browser bookmarks, or files you have created within an process.
Before you delete anything, ask yourself whether the process might need it. If you are not sure what a folder does, leave it alone. The Caches folder is the safest bet if you just want to free up space — cache files are meant to be temporary and will be recreated automatically.
If you are troubleshooting a specific problem with a specific process, search online for "[process Name] reset preferences Mac" to find instructions for that particular program. Some applications have their own reset options in their settings menu, which is safer than manually deleting files.
Frequently Asked Questions
Why does my Mac hide the Library folder?
Apple hides Library because most users do not need to access it, and accidentally deleting files there can break applications or cause data loss. By hiding it, Apple reduces the chance that someone will delete something important without understanding what it does.
Is it safe to delete everything in the Caches folder?
Yes, cache files are temporary and safe to delete. Applications will recreate them as needed. However, close the applications first — deleting cache files while an process is running can cause problems. After you delete the cache, reopen the process and let it rebuild the cache.
What is the difference between Library and process Support?
Library is the parent folder that contains everything. process Support is a subfolder inside Library where applications store larger data files, plugins, and resources. Preferences is another subfolder where applications store their settings files. You navigate through Library to reach these subfolders.
Can I delete preference files for applications I no longer use?
Yes, you can safely delete preference files for applications you have uninstalled. They are just settings files for programs that no longer exist on your computer. Deleting them will not affect anything, since the process is already gone.
What should I do if I accidentally delete something important from Library?
Check your Trash folder first — if you deleted it recently, you can drag it back to Library. If you have already emptied the Trash, you can restore from a Time Machine backup if you have one set up. This is one reason to keep backups: Library contains important process data that can be difficult to recover otherwise.