Facebook-f Twitter Flipboard Rss
Technical Master – Tech Fixes, Troubleshooting & How-To Guides
Newsletter
  • A simple white house icon with a chimney on a black background.Home
  • Android Fixes
  • Cybersecurity
  • Device Fixes
  • How-To Guides
  • iPhone & iOS Fixes
  • Tech Explainers
  • Windows Fixes
HOT:
What is Malware? Types, Signs, and How to Protect Your Devices
How to Fix Bluetooth Not Working on iPhone
How to Fix Monitor No Signal Issue
How to Free Up Storage on Your Android Device
Android Phone Not Receiving Calls? 11 Quick Ways to Fix It
How to Fix Sound or Audio Problems in Windows
How to Fix Windows 11 Slow Startup
Laptop Keyboard Not Working? Causes and 17 Ways to Fix It
iPhone Battery Draining Fast? Here’s How to Fix It
How to Scan Your Computer for Malware or a Virus
Font ResizerAa
Technical Master – Tech Fixes, Troubleshooting & How-To GuidesTechnical Master – Tech Fixes, Troubleshooting & How-To Guides
  • Android Fixes
  • Cybersecurity
  • Device Fixes
  • How-To Guides
  • iPhone & iOS Fixes
  • Tech Explainers
  • Windows Fixes
  • About Us
  • Contact Us
  • Editorial Ethics & Guidelines
  • Terms & Conditions
Search
  • A simple white house icon with a chimney on a black background.Home
  • Android Fixes
  • Cybersecurity
  • Device Fixes
  • How-To Guides
  • iPhone & iOS Fixes
  • Tech Explainers
  • Windows Fixes
Follow US
© 2018–2026 Technical Master, Inc. All rights reserved.
A modern Apple MacBook Pro on a wooden desk next to a coffee cup and design books.
Home / Device Fixes / How to Show Hidden Files on Mac (It’s Fast)
Device Fixes

How to Show Hidden Files on Mac (It’s Fast)

hifzo rehman pic
Last updated: August 16, 2026 1:09 am
By
Hifzo Rehman
Published: June 1, 2026
Share
Key Takeaways
✓

Quick Shortcut: Press Command + Shift + Period (.) in any folder to toggle hidden files on or off immediately.

✓

From Terminal: Use defaults write com.apple.finder AppleShowAllFiles TRUE for a permanent system-wide change. It forces Finder to always display hidden data, even after a system reboot.

✓

Option + Go Menu: Hold Option while clicking the Go menu in Finder to reveal the hidden ~/Library folder.

✓

Go to Folder tool: Jump directly to a specific invisible path without showing everything.

✓

Third-party File Managers: Apps like Path Finder or Commander One display hidden files by default.

On Mac, Apple deliberately hides many files from users. Dot-files, system libraries, configuration files, and cache directories are all invisible in Finder by default to prevent accidental deletions that could crash your Mac environment. That’s fine for most people. But when you need to clear stubborn cache data, dig into the Library folder, modify application preferences, or troubleshoot software, you’ll hit a wall.

I’ve found four ways to show hidden files on a Mac, like a two-second keyboard shortcut to a Terminal command that makes them permanently visible. It’s easy to reveal this data once you know the exact native triggers in macOS.

What are Hidden Files and Why are they Invisible?

Mac’s hidden files fall into two categories. The first is the Unix convention: any file or folder whose name starts with a dot (.) is hidden automatically. The second is an macOS-specific attribute called the hidden flag. Apple uses this on certain system folders to keep them out of sight, even if their name doesn’t begin with a dot.

So why does Apple hide them? A few reasons:

  • Protect system integrity. Files stored in /System, /usr, and /private directories are critical to the stability of macOS. If accidentally deleted or modified, it can seriously break things down on your computer.
  • Reduce clutter. Files like .DS_Store or .localized are only for internal use, so displaying them in every Finder window would be noisy.
  • Security. It’s a right idea to keep configuration files containing sensitive paths or identifiers away from casual browsing.
Note

Since macOS Sierra (2016), Apple has included a native keyboard shortcut to toggle hidden files in Finder. Before that, Terminal was the only built-in option. If you have a MacBook released in the last several years, the shortcut method I used to reveal my files, as mentioned below, is often all you need.

1. View Hidden Files on Mac via Finder

The easiest way to peek behind the curtain is to use this quick key combination. You do not need administrative privileges or advanced technical tools for it, and the process works across all modern macOS versions.

  1. Open Finder and find the Macintosh HD folder under Locations, or go to the specific folder you want to inspect.
  2. Press the keys Command + Shift+. (Period) at once.

Mac hidden files on in finder using keys combo.

All hidden files and folders will appear immediately as slightly transparent, grayed-out icons. You can interact with them exactly as you would with a normal file, like open, edit, or delete. Press the same keyboard shortcut to re-hide them.

Tip

This key combo also works in Open and Save dialog boxes within apps, handy when an app’s file picker needs you to visit a hidden path like ~/.config or ~/.ssh.

Mac can revert these settings after you quit Finder, and the change might not apply to every window you open. So, use the Terminal command shown in the next section to make hidden files stay permanently visible.

2. Use Terminal to Show All Hidden Files

Terminal gives you direct control over Finder’s preferences. There’s a command that writes a setting to force Finder to always display hidden files even after a restart. People who work with dotfiles or configuration settings often prefer this method.

  1. Press Command + Space, type “terminal”, and hit Enter to open it.
  2. Copy and paste the following command and press Enter:
    defaults write com.apple.finder AppleShowAllFiles true
  3. Now restart Finder with this line so the change takes effect: 
    killall Finder

Terminal commands to reveal hidden files on mac.

Desktop background and Finder windows will briefly quit and reappear. When the interface reloads, every hidden system file on your Mac will be completely visible across all folders.

Warning

Modifying, moving, or deleting files that start with a dot (like .git or .bash_profile) can break apps or disrupt system stability. Only edit or remove such files if you understand what their internal parameters do.

To reverse this setting and return your Apple notebook to its out-of-the-box factory state, open Terminal again and execute these two command lines in sequence to hide the files again:

defaults write com.apple.finder AppleShowAllFiles false
killall Finder

3. View Hidden Files in Library Folder

You usually don’t need to hunt through every hidden document or network file on your drive; you only want access to the user Library folder (~/Library). That’s where app preferences, game saves, and temporary caches are stored. Because of its importance, Apple separates the Library folder from global system files and completely masks it.

  1. Switch to Finder.
  2. Click Go in the top menu bar.
  3. Press and hold the Option key.
  4. The Library option will appear in the dropdown list between Home and Computer.
  5. Click the Library to open it.

Hidden files shown on mac including libraray folder.

When you’re in and out of this folder frequently, remove the hidden flag with this Terminal command:

chflags nohidden ~/Library

The Library folder will now be visible in the home directory like any normal directory. To hide it again:

chflags hidden ~/Library

Go to a Specific Hidden Folder

Alternatively, you can use the “Go to Folder” tool to go directly to a hidden directory. Type in a path, Finder takes you there, and you never have to toggle main visibility settings at all.

  1. In Finder, click the Go menu in the top bar.
  2. Select Go to Folder… (or press Command+ Shift + G).
  3. A dialog box will display. Type the path like: ~/.sshor/usr/local/binor~/Library.
  4. Press Return or click Go.
The Tilde (~) Shortcut

The ~ symbol is shorthand for home folder (e.g., /Users/yourname). So when you type ~/.zshrc , it will open the home directory at the config file location. Finder auto-completes paths as you input, which makes navigation much faster.

4. Use Third-Party File Managers

Try a third-party file manager if the shortcut for hidden files feels clunky. Most of these apps show them automatically or let you flip a switch in the settings.

App Shows Hidden Files Free? Notable For
Path Finder ✓ Yes (always) ✗ Paid Dual-pane, Finder replacement
Commander One ✓ Yes (toggle) ✓ Free tier Two-panel layout, archive support
ForkLift 4 ✓ Yes (setting) ✗ Paid FTP/SFTP, cloud sync
Files ✓ Yes (toggle) ✓ Free Lightweight, simple UI

Ignore the extra software if you only check hidden files once in a while and use the Terminal or a keyboard shortcut. But if file management is part of your daily workflow, especially with servers, cloud sync, or development environments, a dedicated app is worth the money for the time it will save.

Common Hidden Files on Mac and What They Do

  • ?
    .DS_Store

    Desktop Services Store — stores folder view settings like icon positions and sort order. Finder creates one in nearly every folder you open.

    System

  • ⚙️
    .zshrc / .bash_profile

    Shell configuration files. Store custom environment variables, Homebrew paths, and command aliases. Modifying these impacts how the Terminal session operates and executes commands.

    Config

  • ?
    ~/.ssh/

    Your SSH key pairs for authenticating with remote servers, GitHub, and cloud providers. Keep this folder’s permissions locked tight; never share files from here.

    Security

  • ?
    ~/Library/

    The most important hidden folder for everyday users. Holds application support data, preferences, caches, and saved application states for every app on your computer.

    App Data

  • ?
    /private/etc/hosts

    Controls local domain name resolution. Developers edit this to redirect domains during local development or to block certain sites at the network level.

    Network

  • ?️
    /usr/local/

    Where Homebrew installs most command-line packages on Intel Macs. Contains bin/, lib/, and etc/ subdirectories for installed tools.

    Dev Tools

  • ?
    ~/.gitconfig

    Global Git configuration, including name, email, default branch, editor preference, and any custom aliases. Available in the home directory and applies to every Git repo on your Mac.

    Git

?

Caution

Folders like /System, /usr, /private, and /bin are protected by macOS’s System Integrity Protection (SIP). Even with admin access, their tweak is either blocked or dangerous. If macOS put something there, leave it alone.

Share This Article
Facebook Flipboard Whatsapp Whatsapp LinkedIn Reddit Threads Bluesky Copy Link Print
Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Trending

What is Malware? Types, Signs, and How to Protect Your Devices

What is Malware? Types, Signs, and How to Protect Your Devices

Cybersecurity
A close-up of an iPhone with the Bluetooth icon highlighted while multiple Bluetooth devices float around it with broken and one successful connection lines.

How to Fix Bluetooth Not Working on iPhone

iPhone & iOS Fixes
How to fix monitor no signal - Image showing error on a computer display.

How to Fix Monitor No Signal Issue

Device Fixes
An Android phone screen showing the storage cleanup settings menu and Files by Google app.

How to Free Up Storage on Your Android Device

How-To Guides
Android phone not receiving calls fix guide

Android Phone Not Receiving Calls? 11 Quick Ways to Fix It

Android Fixes
Modern studio headphones resting on a sleek desktop workspace beside an illuminated abstract sound wave, representing Windows audio diagnostics.

How to Fix Sound or Audio Problems in Windows

Windows Fixes

You Might also Like

Technician diagnosing an unresponsive laptop keyboard with an external USB keyboard connected.
Device Fixes

Laptop Keyboard Not Working? Causes and 17 Ways to Fix It

Why is My Laptop Fan So Loud image - a disassembled laptop chassis showing thick dust accumulation blocking the copper heatsink fins and cooling fan blades.
Device Fixes

Why is My Laptop Fan So Loud? 10 Reasons and Fixes

Which Cable Do I Need for 144Hz Monitor
Device Fixes

Which Cable Do I Need for 144Hz?

How to Free Up Disk Space on Your Mac
Device Fixes

How to Free Up Disk Space on Mac

Technical Master – Tech Fixes, Troubleshooting & How-To Guides

Our mission is to be your trusted tech resource, delivering verified troubleshooting guides, practical fixes, and clear explainers to resolve device issues effortlessly. Built on editorial integrity, we test every solution on physical hardware across Windows, Android, and iOS.

  • Privacy Policy
  • Terms of Use
  • Editorial Ethics & Guidelines
  • Contact Us
  • About Us
© 2018–2026 Technical Master, Inc. All rights reserved.
technical master newslatter
Get Tech Fixes & Troubleshooting Guides
Subscribe to get the latest Android, Windows, and iOS fixes directly in your inbox.
We respect your privacy. No spam ever.