How to Find Hidden Folders on Mac: A Complete Guide

macOS hides certain folders by default — not to frustrate you, but to protect system files from accidental changes. Whether you're trying to access the Library folder, dig into application support files, or troubleshoot a software issue, knowing how to reveal hidden folders is a genuinely useful skill. The method that works best for you depends on what you're looking for and how comfortable you are navigating macOS.

Why Does macOS Hide Folders in the First Place?

Apple deliberately conceals folders that contain system-critical or configuration data. If an average user accidentally deletes or modifies files in /usr, /etc, or the user Library folder, it can cause serious software problems. Hidden folders act as a soft guardrail.

These folders aren't encrypted or locked — they're just invisible by default. macOS uses a few mechanisms to hide them:

  • The hidden flag — a Unix-level file attribute that marks files or folders as invisible
  • The dot prefix — any file or folder name starting with . (like .bash_profile) is hidden from Finder by default
  • System Integrity Protection (SIP) — a security layer that restricts access to certain system directories regardless of visibility settings

Understanding which mechanism applies to the folder you're looking for matters, because different methods work for different situations.

Method 1: Keyboard Shortcut in Finder 🔍

The fastest way to toggle hidden files visible in Finder is:

Command (⌘) + Shift + . (period)

Press this combination while a Finder window is open, and all hidden files and folders will appear, slightly greyed out to distinguish them from normal items. Press it again to hide them.

This is a temporary toggle — it doesn't permanently change file visibility, and it resets when you close and reopen Finder. It's ideal for quick dips into hidden directories without permanently altering your file system view.

Method 2: Using the Go to Folder Option

If you know the exact path of a hidden folder, you can navigate directly to it:

  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, such as ~/Library or /usr/local
  5. Press Return

This method is particularly useful for accessing the user Library folder (~/Library), which is hidden by default but frequently needed for clearing app caches, preferences, and support files.

Method 3: Reveal the Library Folder Permanently

The user Library folder is one of the most commonly needed hidden locations. You can make it permanently visible without showing all other hidden files:

  1. Open Finder and navigate to your Home folder (click your username in the sidebar)
  2. Click View in the menu bar, then Show View Options
  3. Check the box for Show Library Folder

This change is specific to the Home folder and doesn't affect system-wide hidden file visibility.

Method 4: Using Terminal

Terminal gives you full control over hidden file visibility and is the right tool if you need to work with dot-prefixed files or run commands that interact with hidden directories.

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 

This change persists across restarts until you reverse it. It's a broader switch than the keyboard shortcut — every hidden file and folder in every Finder window becomes visible. That can be visually overwhelming if you're not used to it.

Terminal also lets you navigate hidden directories directly using cd and ls -a commands, which is useful if you prefer working in a command-line environment or need to access locations that don't appear even with Finder's visibility toggled.

What You'll Actually Find in Hidden Folders

FolderWhat's InsideWhy It's Hidden
~/LibraryApp preferences, caches, support filesPrevent accidental modification
/usrUnix system tools and librariesSystem integrity
/etcSystem configuration filesSystem integrity
~/.bash_profile / ~/.zshrcShell configuration scriptsDot-prefix convention
/private/varTemporary and log filesSystem use only

Most users who go looking for hidden folders are typically trying to reach ~/Library to clear a stubborn app cache or recover a preferences file. System-level directories like /usr and /etc are less frequently needed by everyday users and require more caution.

Variables That Affect Which Method Works for You

Not every approach suits every situation. A few factors shift what's practical:

macOS version — The keyboard shortcut (⌘ + Shift + .) was introduced in macOS Sierra. Older versions require Terminal commands or third-party file managers to achieve the same result.

Technical comfort level — The Finder keyboard shortcut and Go to Folder method require no technical knowledge. Terminal commands are straightforward but assume basic familiarity with command-line interfaces.

What you're trying to access — Navigating to ~/Library is a very different task than accessing system-protected directories. Some paths under System Integrity Protection remain restricted even when hidden files are made visible.

Purpose — Clearing a cache, editing a configuration file, troubleshooting a software problem, and transferring data between accounts all point to different folders — and sometimes different methods for reaching them.

The right approach really comes down to the specific folder you need, the version of macOS you're running, and how deeply you need to interact with what's inside. Showing hidden files is the easy part — knowing what to do with what you find depends entirely on your situation. 🗂️