Guides / Library folder

How to find the Library folder on Mac

Your Library folder is at ~/Library, inside your home folder, and Finder hides it by default. The quickest way in is to hold ⌥ Option while you open Finder's Go menu and choose Library, or to press ⇧ ⌘ G and type ~/Library. There are two more Library folders, /Library and /System/Library, and this guide explains which one you want and what is safe to touch.

Works on macOS 15 and later. Updated November 2026.

1. Open your Library folder in Finder

Finder marks ~/Library as hidden, so it does not appear in your home folder. Any of these gets you in:

To keep the folder visible for good, open your home folder, choose View › Show View Options (⌘ J) and tick Show Library Folder. The checkbox is only there when your home folder is the window in front. Untick it to hide the folder again. The same thing from the Terminal is chflags nohidden ~/Library, and chflags hidden ~/Library reverses it.

For other hidden items, see how to find hidden files on Mac.

2. ~/Library vs /Library vs /System/Library

A Mac has three Library folders, and "the Library folder" in an app's instructions almost always means the first one:

FolderWhat is in it
~/LibraryYour own settings, app data, caches and logs. One per user account, hidden by default, and the one you want when an app says "delete the preferences file" or "find your Mail data". In Go to Folder, ~ stands for your home folder (how to find your home folder).
/LibraryItems shared by every user on the Mac: fonts, printer drivers, background services installed by apps (LaunchAgents, LaunchDaemons) and support files for apps that were installed for everyone. It is not hidden; open your startup disk in Finder and it is there. Changing anything in it asks for an administrator password.
/System/LibraryPart of macOS itself: frameworks, system fonts, extensions and the files the Apple apps need. It sits on the sealed, read-only system volume, so nothing in it can be edited or deleted. If you are troubleshooting, you are never looking for this one.

Apple's own guidance is not to store your documents in any Library folder; the Documents folder is for that.

3. What is inside ~/Library

The folder has dozens of subfolders. These are the ones people actually go looking for:

SubfolderWhat is in it
Application SupportApp-specific data and support files, one folder per app or vendor: templates, plug-ins, saved sessions, local databases. The closest thing a Mac has to the Windows AppData folder.
PreferencesSettings files, mostly named after the app's bundle identifier, such as com.apple.finder.plist. Apps rewrite them whenever you change a setting.
CachesData apps can regenerate, such as thumbnails, downloaded images and browser caches. It can grow to many gigabytes.
Containers and Group ContainersThe private home folders of sandboxed apps, including every Mac App Store app. Finder shows each container under the app's name, but on disk they are named after bundle identifiers. Voice Memos keeps its recordings in one (where voice memos are stored on Mac).
Mobile DocumentsYour iCloud Drive. The com~apple~CloudDocs folder inside it is the iCloud Drive you see in the Finder sidebar, and the other folders are app data synced through iCloud.
Mail, Messages, SafariYour mailboxes, iMessage history and Safari data. macOS protects these: even in the Terminal, listing them fails with "Operation not permitted" unless the app has Full Disk Access.
FontsFonts installed for your account only. Fonts for every user go in /Library/Fonts (where fonts are stored on Mac).
LogsLog files from apps and system services. Useful when support asks for a log; safe to delete otherwise.
KeychainsYour login keychain, with saved passwords. Leave it alone.
LaunchAgentsBackground helpers that start when you log in, installed by apps such as updaters. Empty on many Macs.

4. What is safe to touch

If the point is disk space, Caches and old iOS backups are usually where it goes (where iPhone backups are stored on Mac). See how to find large files on Mac for the sizes, and how to clean up temp files on Mac for clearing caches step by step.

5. Terminal

The first four commands only look; the last two change whether Finder shows the folder:

# list your Library, the shared one, and the system one
ls ~/Library
ls /Library
ls /System/Library

# which subfolders of your Library take the most space
du -sh ~/Library/* 2>/dev/null | sort -rh | head -15

# open your Library in a Finder window
open ~/Library

# keep it visible in Finder, or hide it again
chflags nohidden ~/Library
chflags hidden ~/Library

A few folders, such as Mail, Messages and Safari, return "Operation not permitted" until you give Terminal Full Disk Access in System Settings › Privacy & Security. For the general commands, see how to find files on Mac.

6. Search inside Library with Everything Locator

Browsing Library works when you know the path. When you only know the app's name, or you want every file an app has left behind, a name search is faster. Everything Locator indexes your home folder, but it skips hidden files and folders by default, and ~/Library is one of them. Open Settings › Indexing, tick Index hidden files and folders and choose Apply and Rebuild Index. To cover /Library as well, grant the whole disk or add that folder. A term containing / matches the path.

SearchFinds
~/Library/ zoomeverything in your Library with "zoom" in its name: settings, caches, containers, logs
~/Library/Preferences/ ext:plist zoomone app's preferences file
~/Library/Preferences/ ext:plist !dm:thisyearsettings files not changed this year, often left behind by apps you no longer have
~/Library/Caches/ size:>100mbthe cache files worth clearing
~/Library/ dm:todaywhat changed in Library today, which shows where an app keeps its data
/Library/LaunchAgents/ | ~/Library/LaunchAgents/every login item installed by an app
parent:~/Library/Logs ext:loglog files directly in the Logs folder

Press ⌘ Return to show a result in Finder, ⇧ ⌘ C to copy its full path for a support ticket (more ways in how to find the path of a file on Mac), and ⌘ ⌫ to move it to the Trash. ⌘ Z puts it back.

FAQ

Where is the Library folder on a Mac?

Your own one is at ~/Library, inside your home folder, and is hidden. Hold ⌥ Option while you open Finder's Go menu and choose Library, or press ⇧ ⌘ G and type the path. The shared one is at /Library on your startup disk and is not hidden.

Why can't I see the Library folder in my home folder?

macOS hides it so that files apps rely on are not moved or deleted by accident. Open your home folder, choose View › Show View Options and tick Show Library Folder to make it permanent.

What is the difference between ~/Library and /Library?

~/Library belongs to one user account and holds that person's settings and app data. /Library is shared by every account on the Mac and holds things installed for everyone, such as fonts and printer drivers. /System/Library is macOS itself and cannot be changed.

Can I delete the Library folder to free up space?

No. Deleting ~/Library would wipe your settings, saved passwords, mail and iCloud Drive. Clear specific things instead: the contents of Caches, and the folders of apps you have removed. Finding large files shows you where the space really is.

Where do apps keep their data on a Mac?

Mostly in ~/Library/Application Support and, for sandboxed apps, in ~/Library/Containers. Settings go in ~/Library/Preferences. The apps themselves live in the Applications folder.

Find any file in Library as you type

Everything Locator searches your whole Mac by name, including hidden files, iCloud Drive and OneDrive.

Mac App Store