How to Show Hidden Files in Windows 11

Show hidden files featured image.

Table of Contents

Windows 11 keeps certain files and folders out of sight by default, which is fine until a task depends on reaching one. Folders like AppData and ProgramData, a program’s configuration file, or a file left behind by malware are all invisible under the default settings. Showing hidden files takes a single toggle in File Explorer, and a second setting reveals the protected system files that even that toggle keeps hidden. Every menu path below was checked against a current Windows 11 install.
If you’re new to Windows 11 in general, our Windows 11 for Beginners guide covers the basics before diving into File Explorer settings like this one.

How to Show Hidden Files in Windows 11

There are several ways to reveal hidden files, from a quick toggle that lasts until it is switched off to a permanent setting that also uncovers protected system files. The methods below are ordered from simplest to most technical, so most users can stop after the first one.

Method 1: Show Hidden Items from the File Explorer Toolbar

The fastest route is the Show menu built into File Explorer. It switches hidden files on for every folder without opening any settings dialog.

  1. Open File Explorer from the taskbar, or press Windows + E.Opening File Explorer.
  2. Click View on the toolbar running along the top of the window.File Explorer View menu.
  3. Hover over Show, then click Hidden items. A tick appears beside it and hidden files and folders become visible straight away, shown as slightly faded icons.Showing hidden items.

Hidden folders such as AppData now appear inside the user folder, which is what most tasks need. This toggle does not reveal protected operating system files, so if the file in question is still missing, use Method 2 or Method 3.

The hidden items that are visible.

Method 2: Show Hidden Files with File Explorer Options

File Explorer Options, once called Folder Options, holds the same setting in a classic dialog. It is the more permanent switch and the starting point for showing system files as well.

  1. Open File Explorer, click the See more button (the three dots) on the toolbar, then click Options. The same window opens by searching File Explorer Options in the Start menu.Opening File Explorer Options.
  2. Select the View tab at the top of the File Explorer Options window.The View tab of options.
  3. Under Advanced settings, find Hidden files and folders and select Show hidden files, folders, and drives.Showing hidden files and folders.
  4. Click Apply, then OK. Hidden items now show in every File Explorer window.

This setting matches the toggle in Method 1, so changing one updates the other. The advantage here is the extra checkbox directly below it, which controls the protected system files covered next.

Method 3: Show Protected Operating System Files

Windows keeps a second, stricter class of hidden files out of view even when hidden items are switched on. These protected operating system files include boot and system data, and they stay invisible until a separate box is unchecked.

Heads up: protected operating system files are hidden for a reason. Viewing them is safe, but moving, renaming, or deleting one can stop Windows starting correctly. Switch this setting back on once the file has been dealt with.

  1. Open File Explorer Options and select the View tab, as in Method 2.
  2. Untick Hide protected operating system files (Recommended) in the Advanced settings list.Showing protected system files.
  3. Click Yes on the warning that appears, then click Apply and OK. Protected files now show alongside ordinary hidden files.Approving the action.

Files revealed this way, such as pagefile.sys or the System Volume Information folder, are part of how Windows runs. Once the task is finished, re-tick the box to put them safely out of sight.

Method 4: Show Hidden Files with Command Prompt

For a single file or a scripted task, Command Prompt can list hidden files and strip the hidden attribute from one without changing the File Explorer setting at all.

  1. Press the Windows key, type cmd, and open Command Prompt.
  2. Move to the folder to inspect with the cd command, for example cd Documents.Changing directory to documents.
  3. Type dir /a:h and press Enter to list only the hidden files in that folder.The contents of documents.
  4. To unhide one file, type attrib -h “filename” and press Enter, replacing filename with the real name. Add -s as well for a system file.Unhiding a file.

This is the practical option when the goal is to unhide a single file rather than change how every folder displays, or when the same step needs to run inside a script.

How to Hide Files Again in Windows 11

Reversing any of the methods above hides the files once more. The quickest is the same toggle used to show them.

  1. Open File Explorer, click View, hover over Show, and click Hidden items to remove the tick.
  2. To hide protected system files again, re-tick Hide protected operating system files (Recommended) in File Explorer Options.

Hiding files only affects what File Explorer displays. Nothing is deleted or changed, in the same way that choosing to show or hide the Recycle Bin only controls whether its icon sits on the desktop.

How to Hide a Specific File or Folder

Alongside showing hidden items, Windows 11 can hide a chosen file or folder by giving it the hidden attribute. This is the reverse task and uses the item’s own properties rather than a global setting.

  1. Right-click the file or folder and click Properties.
  2. On the General tab, tick Hidden under Attributes, then click Apply.
  3. For a folder, choose whether to apply the change to that folder only or to its subfolders and files, then click OK.

The item disappears while hidden files are switched off and returns to view when they are switched on. That makes this a light way to keep a folder out of casual sight without any extra software.

Hidden Files vs Protected Operating System Files

Windows 11 uses two levels of hiding, and telling them apart explains why one file appears with the toggle while another needs the extra setting.

  • Hidden files. Ordinary files and folders, such as AppData, marked with the hidden attribute. The Method 1 toggle reveals these. They are safe to browse and often needed, for example when clearing the thumbnail cache stored deep inside AppData.
  • Protected operating system files. Core system files flagged as both hidden and system. They stay invisible until Hide protected operating system files is unchecked, and Windows recommends leaving them hidden.

The split exists to keep everyday hidden folders reachable while shielding the files Windows depends on from accidental changes. When only ordinary hidden files are needed, Method 1 is enough and the protected files can stay tucked away.

Conclusion

To show hidden files in Windows 11, open File Explorer, click View, hover over Show, and select Hidden items. Hidden files and folders appear immediately as faded icons. To also reveal protected system files, open File Explorer Options, and on the View tab untick Hide protected operating system files.

Most tasks only call for the quick toggle, and it switches off again just as fast. When a file still will not appear, the protected system files setting covers the rest, though those files are best left alone once the job is done.

YouTube player

What did you think of our post?

Share This Post

More To Explore

Shopify vs WooCommerce vs Squarespace featured image.
Read More
Ctrl + C, Ctrl + V and Alt + Tab keycaps beside a thumbs-up icon, illustrating Windows shortcuts for beginners
Read More