macOS hides folders by default to keep your system organized

Your Mac stores system files and configuration folders that you don't need to see every day. By default, these are hidden from view in Finder — they start with a dot (.) and don't appear when you browse normally. If you're looking for a specific hidden folder, you have three straightforward ways to find it: use a keyboard shortcut to show all files, search by name in Spotlight, or navigate directly using the Go menu.

The fastest method depends on what you're looking for. If you want to see everything hidden on your Mac at once, use the keyboard shortcut. If you know the folder's name, Spotlight search is quicker. If you know the exact path, the Go menu gets you there in one step.

Key Takeaways

  • Press Command + Shift + Period (.) in Finder to toggle hidden files on and off when ready.
  • Use Spotlight (Command + Space) to search for a hidden folder by name without showing all hidden files at once.
  • Open the Go menu in Finder and select "Go to Folder" to type a path directly, like ~/Library or ~/.ssh.
  • Hidden folders that start with a dot are system files — only open them if you know what you're looking for, since changing them can affect how your Mac works.
  • You can also use Terminal to list hidden files with the command ls -la, which shows everything including hidden items.

Show all hidden files at once with a keyboard shortcut

The quickest way to see hidden folders is to press Command + Shift + Period while you're in Finder. This toggles the view — press it once and all hidden files and folders appear. Press it again and they disappear. The shortcut works in any Finder window, whether you're browsing your home folder, Documents, or anywhere else on your Mac.

Once hidden files are visible, they look slightly faded or grayed out compared to regular files, so you can tell them apart. You can now browse, move, or copy them like any other folder. If you want to hide them again, just press the same shortcut a second time.

Search for a hidden folder by name using Spotlight

If you know the name of the folder you're looking for, Spotlight is faster than showing all hidden files. Press Command + Space to open Spotlight search, then type the folder name. Spotlight searches hidden folders automatically and shows results even if you haven't toggled hidden files on.

This method is useful when you're looking for something specific like the Library folder or a hidden configuration folder for an app. Click the result and Spotlight opens it directly in Finder. You don't have to wade through dozens of hidden system files to find what you need.

Navigate directly using the Go to Folder option

If you know the exact path to a hidden folder, you can jump straight there. Open Finder, click the Go menu at the top, and select Go to Folder. A text box appears where you can type the path. Common hidden folders include ~/Library (your user library), ~/.ssh (SSH keys), ~/.config (app configuration files), and ~/. (your home folder's hidden files).

The tilde (~) represents your home folder, so ~/Library means the Library folder inside your home directory. After you type the path, press Enter and Finder opens that folder directly. This is the most direct route if you already know where something is.

Use Terminal to list and navigate hidden folders

Terminal gives you another way to see hidden files and folders. Open Terminal (find it in Applications > Utilities), then type ls -la and press Enter. This lists everything in your current folder, including hidden files and folders that start with a dot. Type cd [path] to move into a specific folder — for example, cd ~/.ssh takes you to the hidden .ssh folder.

Terminal shows you the full details of each file and folder, including permissions and when they were last modified. This is useful if you need to understand what a hidden folder contains or if you're troubleshooting something specific. Most people don't need Terminal for this task, but it's there if you're comfortable using it.

Common hidden folders and what they contain

The Library folder (~/Library) holds settings and data for most of your apps. This includes caches, preferences, saved documents, and login items. The .ssh folder (~/.ssh) stores SSH keys if you use them for remote access or version control. The .config folder (~/.config) holds configuration files for command-line tools and some apps.

The .Trash folder is your Trash bin. The .DS_Store files appear in every folder and store view settings (they're not folders, but they're hidden). System folders like /Library and /System at the root of your Mac contain core operating system files — you should not modify these unless you know exactly what you're doing.

Why your Mac hides these folders in the first place

Hidden folders exist to prevent accidental changes to system files and app settings. If every hidden file and folder appeared by default, your Finder windows would be cluttered with hundreds of items you don't need to see. Most people never need to open a hidden folder — they're there for troubleshooting, backing up specific settings, or managing advanced configurations.

Changing or deleting hidden files can break apps or your system, so only open them if you're following specific instructions or you know what you're looking for. If you're not sure what a hidden folder does, leave it alone. The toggle shortcut makes it straightforward to hide them again once you're done.

Frequently Asked Questions

What happens if I delete a hidden folder by accident?

It depends on which folder you deleted. System folders usually can't be deleted without administrator permission. If you deleted an app's hidden settings folder, the app will usually recreate it the next time it runs. If you're worried, check your Trash and restore it from there. For critical system folders, restart your Mac — it will rebuild them if they're essential.

Can I make my own folders hidden?

Yes. In Terminal, type mv [folder name] .[folder name] to add a dot to the beginning of the folder name, which hides it. For example, mv MyFolder .MyFolder hides MyFolder. You can unhide it the same way by removing the dot. In Finder, you can't hide a folder directly, but Terminal makes it straightforward.

Is it safe to look at hidden folders?

Looking is safe — opening and reading files won't hurt anything. Changing, deleting, or moving hidden files can cause problems. If you're just browsing to find something specific, you're fine. Only edit hidden files if you're following instructions from a trusted source or you understand what the file does.

Why can't I find a folder I'm looking for even after showing hidden files?

The folder might be in a location you haven't checked yet. Use Spotlight to search by name instead — it searches your entire Mac, including all hidden locations. If Spotlight doesn't find it, the folder may not exist, or it might be on an external drive or in a location your user account doesn't have permission to access.

Do I need to show hidden files permanently, or can I toggle them on and off?

You can toggle them on and off anytime with Command + Shift + Period. Most people leave them hidden and only show them when they need to find something specific. There's no performance benefit to either setting — it's just a display preference.