File system

Mac Library folder explained

Three Library folders exist and the hidden one is yours. See how to open it and what each folder holds.

12 min read

The Mac Library folder holds app data and not documents. Three Library folders exist. The one people mean sits in your home folder. Finder hides it by default. Hold Option and open the Go menu to see it. Most of its contents will not rebuild if you delete them.

Almost every troubleshooting thread says to go to your Library folder. Almost none says what you will find when you get there. This guide has the Mac Library folder explained folder by folder.

Key facts. Hold Option and open the Go menu to reveal the Mac Library folder. Press Shift Command Period for a quick check of hidden items. Application Support and Group Containers hold working data. Updated 28 November 2026.

How many Library folders does a Mac have?

A Mac has three. An instruction that says open Library is ambiguous until you know which one it means.

PathBelongs toVisibleShould you edit it
/System/LibrarymacOS itselfYesNo. System Integrity Protection blocks writes here even for an administrator
/LibraryEvery account on the MacYesRarely. Fonts, printer drivers and system wide application support
~/LibraryYour account aloneNoSometimes with care. This is the one every guide means

The tilde is shorthand for your home folder. On a Mac with one account the third path expands to /Users/yourname/Library. The guide to Mac file paths explains the tilde and the slashes if paths still look like code.

Everything below is about that third Mac Library folder. It sits on the data volume and not on the system volume. That is why Disk Utility lists the two volumes separately.

How do you open the hidden Mac Library folder?

Apple gives you two routes. Finder offers a third.

  1. Click the desktop so Finder is frontmost.
  2. Hold the Option key and choose Go in the menu bar.
  3. Choose Library. The entry appears only while the key is down.

Make it permanent. Choose Go then Home and then View and Show View Options. Tick Show Library Folder. The folder stays visible after a restart until you untick the box.

Type the path. Press Shift and Command and G together. Enter ~/Library and press Return.

How do you check hidden items with Shift Command Period?

Press Shift and Command and Period in a Finder window. Hidden items appear greyed out. Press the same keys again to hide them. TidBITS documents the shortcut and notes that it applies to every open Finder window.

Use it as a quick check and not as a way of working. The shortcut shows every hidden item and not only Library. Apple does not list the shortcut on its shortcuts page. If nothing happens try a different keyboard layout because some layouts type the period in another way.

Apple hides the Mac Library folder by default. Nothing in it is a document you created. Apple advises keeping your own files in Documents and not in Library. A wrong deletion in Library can break an application.

What is inside the Mac Library folder?

A full Mac Library folder at ~/Library holds thirty to sixty items depending on what you have installed. Six of them account for almost everything you are sent there to look at.

  • Application Support. Working data for applications that are not sandboxed. Databases, plug ins, templates and licences. The size is large.
  • Containers. One private folder per sandboxed application named by its bundle identifier. The size is large.
  • Group Containers. Storage shared between applications from the same developer. The size is large.
  • Caches. Disposable working files that applications rebuild on demand. The size varies a lot.
  • Preferences. One settings file per application named by bundle identifier. The size is tiny.
  • Mail. The Apple Mail message store. It is the biggest item on most Macs.

What does Application Support hold?

Application Support is where a traditional application keeps what it needs to work and not what you asked it to save. Folder names here follow no rule. Some use the application name and some use the developer name. Some use the bundle identifier in reverse domain form. An unfamiliar name is not evidence of junk.

The contents matter more than the name. Message databases, plug ins, downloaded components and scanned templates live here. Some folders hold the licence file that proves you paid. Delete a folder and the application starts as if new. It forgets every setting and sometimes its registration.

What are Containers?

Every application from the Mac App Store runs sandboxed. Many direct downloads do too. A sandboxed application cannot write wherever it likes. macOS hands it one private folder and confines almost everything it writes to that folder.

The folders live in ~/Library/Containers and carry the bundle identifier. Microsoft Word gets com.microsoft.Word and Apple Notes gets com.apple.Notes. Open one and you find a Data folder that mirrors the shape of your home folder.

Two consequences follow. A sandboxed application keeps its own Caches and Preferences inside its container so one application can appear in several places. A container also holds real user content. Notes keeps its database there.

What are Group Containers?

Sandboxing creates a problem for application families. Word cannot read the container of Excel yet both need the same account details and the same recent file list. An app group solves it.

Applications signed by the same development team share one folder in ~/Library/Group Containers. The folder name starts with the team identifier. Microsoft Office uses UBF8T346G9.Office. On a Mac with the current Outlook the mail store sits in a group container and not in Application Support. Guides written before sandboxing send people to a folder that no longer holds anything.

What do Preferences hold?

Preferences is the smallest folder by size and the one blamed for most problems. Each file is a property list named for the bundle identifier and ending in .plist. The file for Safari is com.apple.Safari.plist.

A preferences file holds settings such as window positions and toolbar choices. It rarely holds anything you would call data. Deleting one is a genuine repair step for an application that misbehaves. It is a poor way to reclaim space because the whole folder amounts to a few megabytes. macOS caches preference values while an application runs so a deleted file comes back on quit.

What are Caches in the Mac Library folder?

Caches hold work an application has already done. Rendered thumbnails, downloaded fonts and decoded images sit there. The folder is disposable in principle. The word Caches appears in three places on every Mac and some of what sits under it is not disposable at all. What is safe differs per application and not per folder.

Why is the Mail folder so large?

On a Mac that has been in use for a few years Mail is the largest single folder in Library. It holds the Apple Mail message store with a version folder and account folders. The naming scheme matches nothing you see in Mail itself.

The folder grows with use and not with installs. A Mac three years old has a Library many times the size of the same Mac on day one with no new applications. Nothing in the folder shrinks on its own. The guide to how Mac email clients store mail compares where each client keeps its data.

What do people expect to find and not find?

  • Your applications. They sit in Applications. Library holds their working data and not the programs.
  • iCloud Drive. It has its own location and its own rules about what is downloaded.
  • Photos and Music libraries. Both default to your home folder. That is why a Library measured in gigabytes still does not explain the biggest item on a Mac.
  • Your data in the system Library. That folder is macOS itself. Anyone sent there finds nothing relevant and every temptation to delete something.

What is safe to touch in Library?

The honest list for the Mac Library folder is shorter than the ones elsewhere.

  • Safe. A container for an application you removed. Nothing recreates it and nothing reads it.
  • Safe. A single preferences file for a misbehaving app. The application writes a fresh one with defaults.
  • Never. The whole Containers folder. It holds live user content for every sandboxed application.
  • Never. The whole Application Support folder. Databases and licences sit there with no way back.
  • Never. Anything in /System/Library. System Integrity Protection refuses the write anyway.
  • Leave it. A folder whose name you do not recognise. Unfamiliar means unidentified and not unused.

Two habits make the difference. Move a folder to the desktop and use the Mac for a week before you delete it. A move is reversible and a delete is not. Treat anything you cannot name as something you have not identified yet.

Why is the Mac Library folder arranged this way?

Application Support is the old arrangement where an application owned a folder and put whatever it wanted in it. Containers and Group Containers are the new one where macOS owns the folder and lends it under conditions. Preferences and Caches sit across both. They exist once in the shared Library and again inside every container.

That overlap confuses people. The same four names appear at several depths and the right copy depends on whether the application is sandboxed. A guide that gives one path without saying which kind of application it applies to sends somebody to an empty folder.

Mailbox data sits in several of these folders. The MacXTools email data tools convert, back up, extract, recover and erase mail data on your own Mac.

Common questions

Why is the Library folder hidden on a Mac?

Apple hides it by default. Nothing in it is a document you made. It holds application data and a wrong deletion can break an application. Hold Option and open the Go menu to see it.

How do I open the Library folder on a Mac?

Click the desktop. Hold Option and choose Go then Library. For a permanent entry choose Go then Home and then View and Show View Options. Tick Show Library Folder.

What does Shift Command Period do on a Mac?

It shows hidden items in Finder windows greyed out. Press it again to hide them. It shows every hidden item and not only Library. Apple does not list it on its shortcuts page.

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

The one starting with a slash sits at the top of the startup disk and every account shares it. The one starting with a tilde belongs to your account alone and guides mean that one nearly always.

Is it safe to delete files in the Mac Library folder?

Only a few. A container for an app you removed is safe. A single preferences file for a faulty app is safe. Never delete Application Support or Containers as a whole. Both hold live data.

Where does Apple Mail store mail in the Library folder?

In the Mail folder inside ~/Library. It holds a version folder and one folder per account. It is the largest item in Library on most Macs.

Sources

Every path and folder name above traces back to one of these pages. Last verified on 28 November 2026.

  1. Mac User Guide, Library folder, on why it is hidden and the two ways Apple gives to reveal it Apple Support
  2. Enabling App Sandbox, on group containers and the application group identifier format Apple Developer
  3. Protecting local app data using containers on macOS, on the per application container Apple Developer
  4. How to reveal the Library folder in macOS, on the three Library folders and the View Options route MacRumors
  5. TipBITS, Reveal invisible files on the Mac with a keystroke, on Shift Command Period TidBITS