Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Show Hidden Files in Finder on Mac

· 4 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Finder on macOS hides many system and user files by default to keep things tidy. Showing them is useful when you need to edit a configuration file, clear cache, or access the Library folder. This guide shows you three ways to reveal hidden files, including a quick keyboard shortcut and a permanent Terminal command.

What You'll Need

  • A Mac running macOS (any recent version, from Catalina to Sonoma and later)
  • Access to Finder and Terminal (both are pre-installed)
  • No special admin rights are required for the keyboard shortcut; the Terminal method may ask for your password

Step-by-Step

Method 1: Keyboard Shortcut (Temporary)

  1. Open a Finder window by clicking the Finder icon in the Dock (the blue face icon).
  2. Navigate to the folder where you suspect hidden files exist (e.g., your Home folder or a project folder).
  3. Press Command + Shift + Period (⌘⇧.) simultaneously. Hidden files and folders will appear with a translucent icon (semi-transparent).
  4. To hide them again, press the same keys again. This shortcut toggles hidden file visibility in the current Finder window and all new windows.

Method 2: Terminal Command (Temporary)

  1. Open Terminal from Applications > Utilities (or use Spotlight with Command + Space and type “Terminal”).
  2. Type the following command and press Return:
    defaults write com.apple.finder AppleShowAllFiles -bool true
  3. Restart Finder by typing this command and pressing Return:
    killall Finder
    Your Finder will relaunch, and hidden files will be visible in all windows.
  4. To hide them again, repeat the steps but change true to false in the first command, then run killall Finder again.

Method 3: Permanent via Terminal (Advanced)

  1. If you want hidden files to always be visible (even after reboot), the Terminal method above already does that—it’s a persistent setting. The keyboard shortcut is temporary per session.
  2. To revert to the default hidden state at any time, run the same command with false and restart Finder.

Common Mistakes

  • Using the wrong key: The shortcut is Command + Shift + Period, not Command + Period. The period key is the one next to the comma on the keyboard.
  • Forgetting to restart Finder: After using the Terminal command, you must restart Finder for the change to take effect. Skipping killall Finder is the most common error.
  • Expecting the shortcut to work in all apps: The shortcut only affects Finder windows, not Open/Save dialogs in other apps. In those dialogs, you may need to press Command + Shift + Period as well (it often works, but not always).
  • Deleting hidden files accidentally: Hidden files are often system or configuration files. Deleting them can break apps or your system. Be cautious.

Tips

  • Use the keyboard shortcut for quick, temporary access—it’s faster than Terminal.
  • If you frequently need hidden files, consider keeping the Terminal setting on but be aware of the clutter.
  • To see hidden files in the “Go” menu, press Option while clicking “Go”—the Library folder appears.
  • Hidden files are shown with a lighter (translucent) appearance to distinguish them from normal files.
  • You can also navigate to hidden folders directly by using “Go to Folder” (Command + Shift + G) and typing the path, e.g., ~/Library.

Troubleshooting

  • Shortcut not working: Ensure you are in a Finder window, not on the desktop. If it still doesn’t work, try clicking once on the desktop background first, then press the keys.
  • Terminal command not taking effect: Double-check that you typed the command exactly, including spaces. If it still doesn’t work, try logging out and back in, or restart your Mac.
  • Finder doesn’t restart: If killall Finder doesn’t work, you can manually relaunch Finder by holding Option and right-clicking the Finder icon in the Dock, then choosing “Relaunch”.
  • Hidden files appear but then disappear: This can happen if you’ve toggled the shortcut off accidentally. Press Command + Shift + Period again to re-enable.
  • Still can’t see a specific file: Some files may be in a different location. Use Spotlight or the “Go to Folder” feature to verify the path.

Frequently Asked Questions

Will showing hidden files slow down my Mac?

No, it only changes what Finder displays. It doesn’t affect performance.

Can I show hidden files on an external drive?

Yes, the same methods work for any mounted volume, including external drives.

Are hidden files the same as invisible files?

Yes, they are the same. In Unix-based systems, files whose names start with a dot are hidden by default.

How do I hide a file myself?

You can hide any file by renaming it to start with a dot (e.g., notes.txt becomes .notes.txt) using Terminal. Finder won’t show it normally.

What is the difference between the shortcut and the Terminal method?

The shortcut toggles visibility temporarily for the current session. The Terminal method changes a system preference that persists until you change it back.

Is it safe to delete hidden files?

Generally no—most hidden files are important system or app data. Only delete if you are certain what the file does and why you need to remove it.