Hidden files are there by default — you just need to turn on the view

Hidden files exist on every computer. Your operating system hides them by default because they are system files or configuration files that most people do not need to see or change. If you need to find one, you do not need special software or administrator access — you just need to change one setting in your file manager. The steps differ between Windows, Mac, and Linux, but each takes less than a minute.

Hidden files have a dot at the start of their name on Mac and Linux (like .bashrc or .config). On Windows, they are marked with a hidden attribute instead. Once you turn on the view, they appear alongside your regular files and folders, usually in a slightly faded color so you can still tell them apart.

Key Takeaways

  • Windows users open File Explorer, click the View tab, and check the box next to Hidden items to see all hidden files at once.
  • Mac users open Finder, press Command+Shift+Period to toggle hidden files on and off instantly.
  • Linux users right-click in the file manager window and select Show Hidden Files, or use the keyboard shortcut Ctrl+H.
  • Hidden files stay visible until you turn the setting off again — the change does not affect the files themselves.
  • If you cannot find a file after turning on hidden view, it may be in a different folder or the name may be slightly different than you remember.

Show hidden files on Windows 10 and 11

Open File Explorer by pressing the Windows key and typing "File Explorer", then click the result. You can also click the folder icon on your taskbar if it is there.

Click the View tab at the top of the window. On the right side of the ribbon, you will see a checkbox labeled Hidden items. Click it once. All hidden files and folders will now appear in your file list, usually shown in a lighter or grayed-out color so you can tell them apart from regular files.

The setting stays on until you uncheck it again. If you close File Explorer and open it later, hidden files will still be visible. If you want to hide them again, return to View and uncheck Hidden items.

Show hidden files on Mac

Open Finder by clicking the Finder icon in your dock, or by pressing Command+Space and typing "Finder". Navigate to the folder where you think the hidden file is located.

Press Command+Shift+Period (the period key, also called a full stop). Hidden files will appear instantly. Press the same key combination again to hide them. This is the fastest way to toggle hidden files on a Mac — you do not need to dig through menus.

If you prefer using menus instead, open Finder, click the menu bar at the top, select View, then click Show Hidden Files. The keyboard shortcut does the same thing faster.

Show hidden files on Linux

The steps depend on which file manager you are using. Most Linux systems use Files (also called Nautilus), GNOME Files, or Dolphin. Open your file manager by clicking its icon in your dock or application menu.

Right-click anywhere in the empty space of the file manager window (not on a file or folder). A menu will appear. Look for an option that says Show Hidden Files or View Hidden Files and click it. Hidden files will now appear in your folder.

You can also press Ctrl+H to toggle hidden files on and off instantly. This keyboard shortcut works in most Linux file managers. If the right-click menu does not show a hidden files option, try the keyboard shortcut instead.

What hidden files actually are and why they are hidden

Hidden files are not secret or dangerous — they are just files that the operating system does not want you to change by accident. They include system configuration files, application settings, cache files, and temporary data. Deleting or editing them by mistake can break programs or change how your computer works.

On Mac and Linux, any file or folder name that starts with a dot is automatically hidden. On Windows, files are marked with a hidden attribute that the system checks. Neither method actually locks the file or prevents you from seeing it — it is just a flag that tells the file manager to hide it by default.

Once you turn on hidden file view, you can open, read, copy, or delete hidden files just like any other file. The operating system does not stop you. It just assumes you know what you are doing if you have gone to the trouble of turning on the view.

Common reasons you might need to find a hidden file

You might need to access a hidden file to recover application settings, find a configuration file that a program needs, or locate cache or temporary files taking up storage space. Some programs store their data in hidden folders, and you may need to get to those files to troubleshoot a problem or move them to a new computer.

You might also need to find a hidden file if you are following instructions from a support article or a program's documentation. If someone tells you to "edit your .bashrc file" or "check your .config folder", they are referring to hidden files. Turning on hidden view is the first step.

Another common reason is cleaning up old files. Some programs leave behind hidden cache or temporary folders even after you uninstall them. Turning on hidden view lets you see and delete those folders to free up space.

What to do if you still cannot find the file

If you have turned on hidden file view and still cannot find the file you are looking for, the file may be in a different folder than you expected. Use your file manager's search function to look for the file by name. On Windows, click the search box at the top of File Explorer and type the filename. On Mac, press Command+Space and type the filename into Spotlight. On Linux, most file managers have a search option in the menu or toolbar.

If the search does not find it, the file may not exist on your computer yet, or it may have been deleted. If you are looking for an application's configuration file and cannot find it, the application may not have created it yet. Some programs only create their configuration files the first time you run them or change a setting.

Double-check the exact name and spelling of the file you are looking for. Hidden files on Mac and Linux are case-sensitive, which means .bashrc and .BASHRC are two different files. If you are not sure of the exact name, try searching for part of the name instead.

Frequently Asked Questions

Can I accidentally break my computer by seeing hidden files?

No. Turning on the view does not change anything on your computer — it just shows you files that were already there. You can only cause problems if you delete or edit a hidden file. As long as you look without making changes, you are safe.

Do hidden files take up storage space?

Yes, hidden files use storage just like any other file. If you are trying to free up space, you can delete hidden files, but be careful — deleting system files can break programs. It is usually safer to delete hidden cache or temporary folders from specific applications rather than system files.

Will turning on hidden files slow down my computer?

No. Showing hidden files does not affect performance. Your computer will run exactly the same speed whether hidden files are visible or not.

What if I accidentally delete a hidden file?

If you deleted a system file, your computer or a program may stop working correctly. Try restarting your computer first — sometimes that fixes the problem. If it does not, you may need to reinstall the affected program or restore your computer from a backup. If you deleted an application's configuration file, the program will usually recreate it the next time you run it.

Do I need to turn on hidden files every time I restart my computer?

No. The setting stays on until you turn it off. Once you check the Hidden items box on Windows or press Command+Shift+Period on Mac, hidden files will remain visible the next time you open your file manager.