Skip to content
Windows & Computers

How to Show Hidden Files on a Mac

Open Finder and press Command + Shift + Period (.) to toggle the display of hidden files and folders. Press the same shortcut again to hide them.

Quick answer: Open Finder and press Command + Shift + Period (.) to toggle the display of hidden files and folders. Press the same shortcut again to hide them. For your user Library folder specifically, open Finder > Go > Go to Folder and enter ~/Library.

macOS hides many configuration files and folders to keep Finder manageable and to prevent accidental changes to important settings. You might need to see hidden items while following a trusted developer’s instructions or locating a configuration file. Making them visible does not make them safe to modify, delete or rename.

Reveal hidden items in Finder

  1. Open a Finder window using the Dock icon or Spotlight.
  2. Navigate to a relevant ordinary folder, such as your home folder. Do not begin in a protected system location.
  3. Hold Command and Shift, then press the period (.) key. Finder toggles the display of many normally hidden files and folders.
  4. Hidden items generally appear more subdued than normal files. On some keyboard layouts, reaching the period key may require a different physical key; use the key that types a period with your input layout.
  5. When finished, press Command + Shift + Period again to hide the extra entries. This toggles their visibility in Finder; it does not erase them.
Hold Command and Shift then press period to show or hide hidden Finder files
Original technical steps diagram. Illustration is not an operating-system screenshot.

Open your user Library directly

  1. With Finder active, open the Go menu and choose Go to Folder, or press Shift + Command + G.
  2. Type ~/Library and press Return. The tilde points to your own home directory rather than the computer-wide /Library folder.
  3. Browse only the specific subfolder required by trusted instructions. Before changing any preferences or app data, quit the app and create a relevant backup.
  4. Do not confuse ~/Library (user account data) with /Library (computer-wide resources) or /System/Library (system-managed files). Their contents and permissions are different.
  5. If your goal is just to inspect a file, copy the relevant information without moving or deleting the original.
Go to user Library using Finder Go to Folder rather than protected system library
Original technical steps diagram. Illustration is not an operating-system screenshot.

Hidden is not the same as protected

A leading dot (.zshrc, .config) commonly signals an item that Finder hides. Other hidden items use metadata rather than a name starting with a dot. The Finder shortcut changes visibility only. FileVault, account permissions and file encryption provide different protections; hiding a file does not make confidential data secure against someone with appropriate access.

Avoid common mistakes

  • Do not mass-delete files that appear after using the shortcut. Some are required by applications or macOS.
  • Do not change system permissions just because Finder refuses access to a folder. macOS protects certain locations on purpose.
  • Do not use unverified Terminal cleanup commands found in comments or videos. They can remove personal or system data beyond the folder you intended.
  • Do not confuse filename extensions with hidden files. Finder’s Settings > Advanced > Show all filename extensions is a separate feature.

Troubleshooting

Command-Shift-Period seems to do nothing

Click the Finder window to ensure Finder has focus and try the key combination again. Keyboard layouts vary. Test in your home folder where hidden configuration items may be present; some folders legitimately contain none.

I still cannot open a hidden system folder

Visibility is not permission. If a protected directory denies access, stop and find a supported way to accomplish the task. Modifying system files can prevent apps or macOS from working.

I can see files beginning with a dot but no Library folder

The user Library folder can be opened directly with Go to Folder and ~/Library. This avoids navigating broad protected parts of the system.

Finder now looks cluttered

Press the same shortcut to hide the extra files again. The visibility toggle does not reverse any changes already made to those files.

Frequently asked questions

Does showing hidden files cause data loss?

No; simply viewing them does not delete data. Editing, moving or deleting hidden items can cause serious problems.

Is ~/Library the same as the system Library?

No. ~/Library is inside your own account’s home directory. /Library is shared more broadly, and /System/Library is managed by macOS.

Is the Finder shortcut a documented menu setting?

It is a Finder keyboard toggle rather than the same checkbox used for filename extensions. Apple documents Finder’s Go to Folder shortcut, and the hidden-file toggle is corroborated by Apple Community discussions and independent macOS guidance. Individual macOS versions and keyboards can vary.

Sources & Further Reading

FINISHED A STEP?

Use the checklists as you go, and confirm the result before moving on to a more involved repair.