How to Find and Understand Hidden Folders on Your Mac 🔍

Your Mac keeps certain folders out of plain sight by default. These hidden folders aren't secret—they're just tucked away to prevent accidental changes to important system files. Understanding what they are, why they're hidden, and how to access them can help you troubleshoot problems, manage your files better, or simply understand how your computer is organized.

Why macOS Hides Folders in the First Place

Apple hides folders to protect your system's stability. Hidden folders typically contain configuration files, system settings, and application data that most users don't need to touch. If you accidentally delete or modify files in these folders, you could disrupt how your Mac runs. By keeping them out of view in Finder, Apple reduces the chance of casual mistakes.

The folders aren't locked—they're just invisible by default. You can reveal them whenever you need to, and the process is straightforward.

How to Show Hidden Folders on Your Mac

There are two practical methods to reveal hidden files and folders:

Method 1: Keyboard shortcut (fastest) Press Command + Shift + Period (the period key) in Finder. This instantly toggles hidden files on and off. Press it again to hide them.

Method 2: Terminal command (more advanced) Open Terminal (in Applications > Utilities) and type: defaults write com.apple.finder AppleShowAllFiles TRUE then press Enter. Restart Finder or restart your Mac to see the change. To hide them again, replace TRUE with FALSE.

The keyboard shortcut is simpler for most people and works immediately without restarting.

Common Hidden Folders You'll Encounter

FolderLocationWhat It Contains
.DS_StoreEvery foldermacOS folder view settings
.TrashYour home folderDeleted files (emptied trash still occupies space)
LibraryYour home folderApplication preferences, caches, saved data
.sshYour home folderEncryption keys and connection credentials
SystemRoot levelCore Mac operating system files
.configYour home folderApplication configuration files

The dot at the beginning of a folder name is what makes it hidden—it's a Unix convention that tells macOS to conceal it.

What You Might Need Hidden Folders For

Troubleshooting: Application preferences sometimes get corrupted. Accessing your Library folder lets you delete cached files to force an app to rebuild its settings.

Checking storage: Hidden files and folders can occupy significant disk space. Viewing them helps you identify what's consuming storage.

Managing credentials: If you work with SSH keys or other authentication files, they live in hidden folders.

System configuration: Advanced users sometimes need to modify hidden configuration files for specialized tasks.

Most of the time, you don't need to access these folders. If you're following instructions from a tech support article or troubleshooting guide, that's typically when you'll need to unhide them.

Things to Know Before You Start Poking Around

Once you reveal hidden folders, be cautious about deleting anything unless you're following specific instructions from a trusted source. Deleting system files can break functionality. The Library folder, in particular, contains data your applications depend on.

If you're unsure what a file or folder does, research it before touching it. A simple web search for the folder name usually provides clarity.

Accidental deletion recovery: If you do delete something important, check your Trash folder first (it's also hidden). If you've already emptied Trash, you may still be able to recover files using recovery software, but that's more complicated.

When to Leave Them Alone

If you're just browsing your Mac to understand its structure, there's no harm in viewing hidden folders. But if you're not actively troubleshooting or following a specific guide, there's no reason to modify anything in them. Your Mac works best when you interact with your regular home folder, Desktop, Documents, and Downloads—the visible folders designed for everyday use.

The visibility toggle is entirely reversible. Hide them again anytime by pressing Command + Shift + Period once more, and your Mac will return to its normal view.