Windows hides certain files by default to protect your system
Hidden files in Windows 10 are real files on your computer that the operating system straightforward doesn't display in File Explorer by default. They exist to prevent you from accidentally deleting or changing something that Windows needs to run. System files, configuration files, and folders that start with a dot (.) are typically hidden. You can make them visible in a few clicks, and it's safe to look at them — you just shouldn't delete or edit them unless you know exactly what you're doing.
The most common reason to unhide files is to find a configuration file you created, recover a backup folder, or locate process settings that a program stored in your user directory. Once you turn on the setting to show hidden files, you'll see them in File Explorer from that point forward until you turn the setting back off.
Key Takeaways
- Hidden files are turned off by default in Windows 10 to protect system files, but you can make them visible through File Explorer settings.
- The fastest way is to open File Explorer, click the View tab, and check the box next to "Hidden items".
- You can also show hidden files through Folder Options in Control Panel if you prefer a permanent setting that applies to all folders.
- Once hidden files are visible, you can search for them, copy them, or move them just like any other file — but avoid deleting system files unless you're certain what they do.
Show hidden files through File Explorer View settings
Open File Explorer by pressing Windows key + E or clicking the folder icon on your taskbar. Navigate to any folder where you think the hidden file might be. At the top of the window, click the View tab.
In the View ribbon, look for a checkbox labeled Hidden items. Click it to turn it on. All hidden files and folders in that location will now appear in the file list, usually shown with a slightly faded icon to indicate they're hidden. This setting applies to the current folder and all subfolders within it, so you'll see hidden files in any directory you open from that point forward.
If you don't see the View tab, you may be in a different view mode. Make sure you're looking at the ribbon at the top of the window, not a menu bar. The View tab should be one of the first tabs visible.
Use Folder Options for a permanent system-wide setting
If you want hidden files to stay visible across your entire computer without having to turn the setting on each time, use Folder Options instead. Press Windows key + E to open File Explorer, then click the File menu at the top left and select Change folder and search options. This opens the Folder Options dialog.
Click the View tab in the dialog box. Scroll down until you find the option that says Hidden files and folders. Select the radio button next to Show hidden files, folders, and drives. Click explore, then OK. From now on, hidden files will be visible in File Explorer by default, no matter which folder you open.
You can reverse this at any time by returning to the same dialog and selecting Don't show hidden files, folders, and drives.
Search for hidden files by name if you know what you're looking for
If you know the name of the hidden file you need, you don't have to unhide everything. Open File Explorer and click the search box in the upper right corner. Type the filename or part of it — for example, if you're looking for a file called ".gitignore", type that name directly.
Windows will search through hidden files as well as visible ones, even if you haven't turned on the "Show hidden items" setting. The search results will display the file with its full path, so you can see exactly where it is on your computer. You can then open it, copy it, or move it from the search results window.
Common hidden files and what they do
System files like "pagefile.sys" and "hiberfil.sys" are hidden because Windows uses them to manage memory and hibernation. Configuration files for programs often start with a dot, like ".config" or ".ssh" folders, and contain settings that applications read when they start. Your user profile folder contains hidden system files that Windows needs to track your account settings.
If you're looking for process data or backups, they're often stored in hidden folders like AppData (in your user directory) or ProgramData (at the root of your C: drive). These folders contain settings, caches, and temporary files for installed programs. You can browse them safely, but avoid moving or deleting anything unless you're troubleshooting a specific problem and you know what the file does.
What to do if you accidentally see files you don't recognize
If you turn on hidden files and see folders or files with unfamiliar names, don't panic. Most of them are system files that Windows or your programs need. You can safely look at them, read their contents, and even copy them elsewhere. The risk comes only if you delete or rename them without understanding what they do.
If you're unsure about a file, search its name online along with "Windows" or the program name — you'll usually find documentation explaining what it is. If you want to hide everything again without changing anything, just turn off the "Hidden items" setting in File Explorer View, and the files will disappear from your display (though they'll still exist on your computer).
Frequently Asked Questions
Is it safe to look at hidden files?
Yes, looking at and reading hidden files is completely safe. The danger only comes from deleting or editing them without knowing what they do. If you're just browsing to find a specific file you created, there's no risk.
Why does Windows hide files in the first place?
Windows hides system files and configuration files to prevent accidental deletion or modification. A single deleted system file can cause Windows to malfunction or fail to start. By hiding them by default, Windows protects users who don't need to interact with these files.
Can I hide files again after I've turned on the setting?
Yes. Go back to File Explorer View settings or Folder Options and turn off the "Show hidden items" option. The files will still exist on your computer — they'll just be hidden from view again.
What if I deleted a hidden file by accident?
If you deleted a system file, Windows may not start properly or certain features may stop working. If you deleted a program's configuration file, the program may reset to default settings. Try restarting your computer first. If that doesn't fix it, you may need to reinstall Windows or the affected program.
Are hidden files the same as encrypted files?
No. Hidden files are just invisible in File Explorer, but anyone with access to your computer can unhide them and see the contents. Encrypted files are scrambled so that only someone with the correct password or key can read them. You can have a file that is both hidden and encrypted.