How To Enable Hidden Files | Hidden Files On Any OS

Enabling hidden files in Windows requires checking the Hidden items box under the View tab in File Explorer, while Mac users press Command + Shift + Period.

Even the most organized computer hides files, and for good reason. Whether you’re cleaning up leftover junk, modding a game, or chasing down a stray configuration, knowing how to enable hidden files is a fundamental computer skill. The process takes about ten seconds once you know where to look. This guide covers the exact steps for Windows 10, Windows 11, and macOS.

Enable Hidden Files In Windows 11 And 10 (The Fastest Way)

To enable hidden files in Windows 11 and 10, you don’t need to dig through complex menus. The toggle lives right in the File Explorer ribbon under the View tab. Checking it makes invisible files and folders appear instantly, marked with a slightly faded icon to distinguish them from visible items.

Windows 11

  1. Open File Explorer (Windows + E).
  2. Click the View tab.
  3. Click Show in the toolbar.
  4. Select Hidden items. A checkmark appears.

Success: You will now see hidden files and folders, visibly dimmed compared to regular items.

Windows 10

  1. Open File Explorer (Windows + E).
  2. Click the View tab.
  3. In the Show/hide group, check the Hidden items box.

Success: Hidden files will appear immediately.

How To Enable Hidden Files On Mac (Finder Shortcut)

The quickest method to show hidden files on a Mac is a simple keyboard shortcut inside Finder. It works on all modern versions of macOS, from Mojave to Sonoma.

  • Open a Finder window.
  • Navigate to the folder where you expect hidden files.
  • Press Command + Shift + Period (.).

Success: Hidden files and folders will appear grayed out in the window.

Best for: Temporary access. The files hide again when you press the same keys.

The Permanent Method For Mac: Terminal

If you need hidden files to stay visible permanently, a short Terminal command does the trick. This writes a setting to macOS’s Finder preferences.

  1. Open Terminal (Applications > Utilities > Terminal).
  2. Type the following and press Enter:
    defaults write com.apple.Finder AppleShowAllFiles true
  3. Type the following and press Enter to restart the Finder:
    killall Finder

Success: Finder will restart, and hidden files will remain visible until you reverse the process.

To revert: Repeat the steps, replacing true with false.

Quick Reference: Methods For Showing Hidden Files

OS Visual Method Command Line Method
Windows 11 View tab > Show > Hidden items dir /a:h (view), attrib (manage)
Windows 10 View tab > Hidden items checkbox dir /a:h (view), attrib (manage)
macOS Command + Shift + Period defaults write com.apple.Finder AppleShowAllFiles true

What About Protected Operating System Files?

Enabling standard hidden files is one thing. A deeper layer of important system files is hidden by an additional safeguard. In Windows, Folder Options has a separate setting for this.

To see these protected files, you need to uncheck Hide protected operating system files (Recommended).

Warning: This exposes critical system files like boot configuration files and the paging file. Deleting or modifying these can prevent Windows from starting. Only proceed if you know exactly what you are looking for.

Common Mistakes When Trying To Show Hidden Files

Mistake The Fix
Forgetting the Period on Mac Ensure you press Command + Shift + Period (the . key).
Not seeing system files in Windows Uncheck “Hide protected operating system files” in Folder Options.
Using Terminal when a quick toggle is needed Use the keyboard shortcut Command + Shift + Period instead.

Final Checklist

Deciding which method to use depends on your immediate goal.

  • Windows: Use the View tab checkbox for a quick toggle. Use Folder Options for more granular control or to show system files.
  • Mac: Use Command + Shift + Period for a quick toggle. Use the Terminal method for a permanent change.

References & Sources