Hidden folders exist on every computer and contain system files your operating system needs to run

Your computer hides certain folders and files by default to prevent accidental deletion or modification. These hidden items include system configuration files, process settings, and backup data that most people never need to touch. On Windows, Mac, and Linux machines, the process to view them is straightforward — you just need to know where to look.

Hidden files and folders are marked with a hidden attribute in your operating system. They are not deleted or locked away; they are straightforward not displayed in your file browser unless you turn on the setting to show them. Once you enable this setting, hidden items appear alongside your regular files, usually with a slightly faded icon to distinguish them.

Key Takeaways

  • Windows users can show hidden files by opening File Explorer, clicking the View tab, and checking the "Hidden items" checkbox.
  • Mac users can reveal hidden files by pressing Command+Shift+Period while a Finder window is open, or by using the View menu.
  • Hidden folders often contain process settings and system files that should not be moved or deleted without knowing what they do.
  • You can hide your own folders and files the same way you reveal system ones, using the same menu options in your file browser.

Showing hidden files in Windows 11 and Windows 10

Open File Explorer by pressing Windows key + E or clicking the folder icon on your taskbar. Navigate to any folder, then click the View tab at the top of the window. In the View tab, locate the checkbox labeled "Hidden items" and click it to turn it on. Hidden files and folders will now appear in your file list.

If you want this setting to stick for all folders you open, Windows remembers your choice. The next time you open File Explorer, hidden items will still be visible. If you change your mind later, return to the View tab and uncheck "Hidden items" to hide them again.

Common hidden folders in Windows include AppData (where programs store your settings), ProgramData (where system-wide process data lives), and System32 (where core Windows files are stored). Do not delete or move these folders unless you are following specific instructions from a trusted source.

Revealing hidden files on Mac

Open Finder and press Command+Shift+Period (the period key, also called a full stop). This keyboard shortcut toggles hidden files on and off when ready. You will see hidden files appear throughout Finder when ready, and they will remain visible until you press the same keys again.

If you prefer using the menu instead, open Finder, click the View menu at the top, and select "Show Hidden Files." This accomplishes the same thing as the keyboard shortcut. Either method works; use whichever feels more natural to you.

On Mac, hidden files often start with a dot (.) in their filename — for example, .bash_profile or .DS_Store. These dot files are a Unix convention and are hidden by default. The Library folder in your home directory is also hidden and contains process preferences, caches, and support files.

Finding hidden files in Linux

In most Linux file managers (like Nautilus, Dolphin, or Thunar), open the View menu and look for an option called "Show Hidden Files" or "View Hidden Files." Click it to toggle hidden files on and off. The exact menu location depends on which file manager your Linux distribution uses.

If you prefer the command line, type ls -la in your terminal to list all files including hidden ones. The -a flag tells the ls command to show hidden files, and the -l flag displays them in a detailed list format. Hidden files in Linux also begin with a dot, just like on Mac.

What hidden folders actually contain

The AppData folder in Windows (or Library folder on Mac) stores settings for every program you have installed. If you uninstall a program and reinstall it, these hidden folders often preserve your old settings so the program picks up where it left off. Deleting these folders will erase those saved preferences.

System folders like System32 on Windows or /System on Mac contain files your operating system needs to function. Modifying or deleting files in these folders can break your computer or prevent it from starting. Only edit files in system folders if you are following step-by-step instructions from Microsoft, Apple, or a trusted support resource.

Cache folders store temporary copies of data to speed up your programs. These are safe to delete if your computer is running slowly, but they will be recreated automatically as you use your programs. Temporary files and caches are the only hidden items most people should ever delete.

Hiding your own files and folders

You can hide any folder or file you create using the same system your operating system uses. In Windows, right-click the file or folder, select Properties, check the "Hidden" checkbox under Attributes, and click explore. The item will disappear from your file list unless you have "Hidden items" turned on in the View menu.

On Mac, select the file or folder in Finder, press Command+I to open the Get Info window, and check the "Hidden" checkbox. Close the window and the item will be hidden. To unhide it later, turn on hidden files visibility with Command+Shift+Period and then uncheck the same box.

Hiding your own files is useful for keeping personal documents out of sight or organizing folders you do not need to see every day. However, hidden files are not encrypted or password-protected — anyone with access to your computer who knows how to show hidden files can still see them.

When you cannot find a file you are looking for

If you are searching for a file and cannot find it, the first thing to check is whether hidden files are turned off. Turn on the hidden files setting and search again. Many files that seem to have disappeared are straightforward hidden by default.

If you still cannot find what you are looking for, use your operating system's search function. In Windows, press Windows key + S and type the filename. On Mac, press Command+Space and type the filename into Spotlight. These search tools look through hidden files automatically, even if you have not turned on the visibility setting.

If a file was deleted, you may be able to recover it from your Recycle Bin (Windows) or Trash (Mac). If it was permanently deleted, third-party recovery software can sometimes restore it, though success depends on how long ago the deletion occurred and whether the disk space has been overwritten.

Frequently Asked Questions

Is it safe to delete hidden files?

Most hidden system files should not be deleted. However, hidden cache and temporary files are safe to remove and can free up disk space. If you are unsure what a hidden file does, leave it alone. Only delete hidden items if you are following specific instructions from a trusted source.

Why does my computer hide files in the first place?

Your operating system hides files to prevent accidental changes to critical system settings and configuration data. Most people never need to see these files, so hiding them reduces clutter and the risk of accidentally breaking something.

Can I hide files to protect them from other people?

Hidden files are not password-protected or encrypted. Anyone who knows how to show hidden files can see them. If you need to protect sensitive files, use encryption or password-protected folders instead of relying on the hidden attribute.

Do hidden files take up space on my hard drive?

Yes, hidden files use the same amount of disk space as visible files. Hiding a file only changes whether it appears in your file browser — it does not compress or reduce the file size.

What if I accidentally hid a file I need?

Turn on hidden files visibility using the steps above for your operating system. Once hidden files are visible, find the file you need, right-click it, open Properties or Get Info, and uncheck the Hidden checkbox to make it visible again.