How to Find a Hidden Folder on Mac

Mac hides certain folders by default — not to frustrate you, but to protect system files from accidental changes. Whether you're hunting down a missing library folder, recovering a tucked-away app cache, or just curious what's lurking beneath the surface of your file system, there are several reliable ways to surface hidden folders. Which method works best depends on what you're looking for and how comfortable you are navigating macOS.

Why Does Mac Hide Folders in the First Place?

macOS uses a visibility flag system to mark certain directories as hidden. Folders like /Library, /usr, /bin, and .Trash are concealed because editing or deleting them can break core system functions. Apple's logic is straightforward: if a regular user doesn't need routine access to a folder, hiding it reduces the risk of accidental damage.

Hidden folders typically fall into two categories:

  • System-level hidden folders — Protected directories macOS hides by default (e.g., /private, /usr, /etc)
  • User-hidden folders — Folders that start with a dot (.) or have had their hidden attribute set manually or by an app

Both types are findable. The approach differs depending on which kind you're dealing with.

Method 1: Use the Keyboard Shortcut in Finder 🔍

The fastest way to toggle hidden folder visibility in Finder:

  1. Open Finder
  2. Navigate to the folder you want to search inside (your Home folder, for example)
  3. Press Command + Shift + Period ( . )

This keyboard shortcut instantly reveals all hidden files and folders in the current Finder window. Press it again to hide them. This is a temporary toggle — it doesn't permanently unhide anything.

When this works best: You know roughly where the hidden folder lives and just need a quick look.

Method 2: Use the Go to Folder Command

If you already know the path of the hidden folder, Finder's Go to Folder feature lets you navigate there directly:

  1. Open Finder
  2. Click Go in the menu bar
  3. Select Go to Folder… (or press Command + Shift + G)
  4. Type the folder path — for example, ~/Library or /usr/local
  5. Press Return

The tilde (~) is shorthand for your Home directory. So ~/Library expands to /Users/yourname/Library. This method bypasses visibility entirely — you don't need to unhide anything if you know the exact path.

When this works best: You know the specific path and want direct access without changing your display settings.

Method 3: Reveal Hidden Folders via Terminal

Terminal gives you complete control over hidden folder visibility. There are a few useful commands depending on what you want to do.

To show all hidden files system-wide:

defaults write com.apple.finder AppleShowAllFiles TRUE killall Finder 

To hide them again:

defaults write com.apple.finder AppleShowAllFiles FALSE killall Finder 

The killall Finder line restarts Finder so the changes take effect immediately.

To reveal a specific hidden folder using Terminal:

chflags nohidden ~/Library 

This permanently removes the hidden flag from your Library folder, making it visible like any other folder in Finder.

When this works best: You want persistent changes, need to access dot-files, or are comfortable with command-line navigation.

Method 4: Access the User Library Folder Directly

The ~/Library folder is one of the most commonly sought hidden locations — it stores app preferences, caches, and support files. macOS hides it by default, but there's a dedicated shortcut:

  1. Open Finder
  2. Hold the Option key
  3. Click the Go menu in the menu bar

You'll see Library appear in the dropdown — it's only visible while holding Option. Click it to open your user Library directly without any Terminal commands or system-wide changes.

Method 5: Use Spotlight or Find Command for Specific Files

If you're searching for a hidden folder but aren't sure where it is, Spotlight (Command + Space) can sometimes surface hidden directories when you search by name — though it doesn't index all hidden locations by default.

For a more thorough search, Terminal's find command is reliable:

find / -name "foldername" -type d 2>/dev/null 

Replace foldername with the name of the folder you're looking for. The 2>/dev/null part suppresses permission error messages so the output stays readable.

What Affects Which Method Is Right for You

FactorWhat It Changes
macOS versionKeyboard shortcuts and menu options vary slightly across versions
Technical comfort levelTerminal methods are more powerful but require care
Whether you know the pathGo to Folder works instantly if you do; find commands help if you don't
Whether you want the change permanentchflags persists; the keyboard shortcut is session-based
Type of hidden folderDot-files, system folders, and flagged folders behave differently

A Note on Caution With System Folders 🗂️

Revealing hidden folders doesn't mean everything inside them is safe to modify. System directories like /usr, /bin, and /private contain files macOS depends on. Even with hidden files visible, it's worth knowing the difference between browsing a folder and editing its contents. Your user Library is generally safer to explore; core Unix directories warrant more caution.

The path to the right method runs directly through your specific situation — what folder you're looking for, how it was hidden, and how permanently you need access to it.