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.
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.
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.
| Folder | Location | What It Contains |
|---|---|---|
| .DS_Store | Every folder | macOS folder view settings |
| .Trash | Your home folder | Deleted files (emptied trash still occupies space) |
| Library | Your home folder | Application preferences, caches, saved data |
| .ssh | Your home folder | Encryption keys and connection credentials |
| System | Root level | Core Mac operating system files |
| .config | Your home folder | Application 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.
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.
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.
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.
