The Library folder exists on every Mac but is hidden by default

Your Mac's Library folder holds settings, preferences, caches, and support files for nearly every program you use. It sits in your home directory but Apple hides it from view to prevent accidental changes. You can reveal it temporarily to find a specific file, or unhide it permanently so it stays visible in Finder.

The Library is not a single location you "access" like an app — it is a folder you navigate to when you need to troubleshoot a program, recover a lost setting, or clear out old files taking up space. Most people never need to open it. But when you do, knowing the fastest route saves time.

Key Takeaways

  • Press Command+Shift+Period (full stop) in Finder to show hidden files, including Library, without permanently changing your Mac's settings.
  • The Library folder lives inside your home directory and contains subfolders for Preferences, Caches, Application Support, and Saved Application State.
  • You can permanently unhide Library by running a Terminal command, but most people only need temporary access using the keyboard shortcut.
  • Deleting files from Library can break programs, so only remove items you are certain about or that a troubleshooting guide specifically names.

Show Library temporarily with a keyboard shortcut

The quickest way to view Library without changing your Mac's permanent settings is to use a keyboard shortcut in Finder. Open Finder, navigate to your home folder (the one with your username), then press Command+Shift+Period (the period key, also called full stop). The Library folder will appear instantly among your other folders.

Press the same shortcut again to hide it. This method works every time you open Finder and does not affect any Mac settings. It is the safest approach if you only need to peek inside Library once or twice.

Permanently unhide Library using Terminal

If you work with Library files regularly, you can make it permanently visible. Open Terminal (find it in Applications > Utilities), then paste this command and press Enter:

chflags nohidden ~/Library

Library will now appear in Finder every time you open your home folder. To hide it again later, use the same command but replace nohidden with hidden: chflags hidden ~/Library

Terminal commands can feel intimidating, but this one is safe — it only changes visibility, not the files themselves. Copy and paste it exactly to avoid typos.

Navigate to specific Library subfolders

Once Library is visible, you will see several subfolders inside it. The most common ones are:

  • Preferences — stores settings and configuration files for your programs, usually named with the program's name followed by ".plist"
  • Caches — holds temporary data programs use to load faster; safe to delete if a program is misbehaving
  • Application Support — contains data, plugins, and support files for installed programs
  • Saved Application State — remembers where windows were positioned and what was open when you last quit a program

You rarely need to dig deeper than these folders. If a troubleshooting guide tells you to delete a specific file, it will name the exact path — for example, "Library > Preferences > com.example.program.plist".

Clear cache files to free space or fix program problems

The Caches folder can grow large over time and sometimes causes programs to behave oddly. You can safely delete cache files without breaking anything — programs will simply rebuild them the next time they run.

Navigate to Library > Caches, then look for a folder with your program's name. You can delete the entire folder or just the files inside it. Restart the program afterward. If the problem persists, the issue was not the cache, but you have not lost anything by trying.

Do not delete the Caches folder itself, only the subfolders inside it. Deleting the folder can cause Finder to behave strangely.

Reset program preferences by removing .plist files

If a program crashes on launch or has settings that will not change, the preference file (called a .plist file) may be corrupted. You can reset it by deleting the file and letting the program create a fresh one.

Open Library > Preferences and search for the program's name. Look for a file that starts with the program's name and ends in ".plist" — for example, "com.apple.mail.plist" for Mail. Drag it to Trash, then restart the program. It will launch with default settings.

This step erases all your customizations for that program, so only do it if the program is truly broken. If you change your mind, you can restore the file from Trash before emptying it.

Frequently Asked Questions

What happens if I delete the wrong file from Library?

Most Library files can be safely deleted — programs will recreate them or use defaults. The main exception is Application Support folders, which may contain data you cannot recover. If you delete something and a program stops working, restore it from Trash immediately. If you emptied Trash, restart your Mac and the program will usually rebuild what it needs.

Can I move files out of Library to another folder?

No. Library files must stay in Library for programs to find them. If you move a preferences file or cache folder, the program will not know where to look and will either crash or create a new default file. Leave Library files where they are.

Why does Apple hide the Library folder?

Apple hides it to protect users from accidentally deleting files that programs depend on. Most people never need to open Library, so hiding it reduces confusion and prevents accidental damage. You can still access it whenever you need to — it is just not cluttering your home folder by default.

Is it safe to delete everything in the Caches folder?

Yes. Caches hold temporary data that programs can rebuild. Deleting the entire Caches folder is safe, though it may take programs a few seconds longer to launch the first time after deletion. Restart your Mac after clearing Caches to ensure all programs rebuild what they need.

How do I find a specific program's files in Library?

Use Finder's search. Open Library, press Command+F, then type the program's name. Finder will show you every file and folder related to that program across all Library subfolders. This is faster than navigating manually through Preferences, Caches, and Application Support separately.