Fix a folder that is hidden
We'll show hidden folders, rule out the Hidden attribute or system folders, then make the folder visible or create a new visible folder.
What you'll need
- Access to File Explorer (Windows) or Finder (Mac) View options
- Administrator rights (to unhide some system folders)
Step-by-step diagnostic
Quick triage — pick your path
Get started
Choose the option that matches what you see. You can jump straight to that section.
- Follow this guide Work through the full procedure from showing hidden files to unhiding.
- Show hidden files first You have not yet enabled "Show hidden files" in Explorer or Finder.
- Unhide a specific folder You can see the folder (dimmed) and want to unhide it.
- Folder hidden by malware You suspect malware hid the folder.
- When to get help You suspect malware, lack permission, or need data recovery.
Show full guide
Steps
Goal: Show hidden folders, then unhide the specific folder or create a new visible one.
- Confirm you need to see a folder that is not visible in File Explorer or Finder.
- Good: You find the folder after enabling “Show hidden files”—proceed to unhide it.
- Bad: You still do not see it—check the path or suspect malware.
Show hidden files
Goal: Enable viewing of hidden files and folders.
- Windows: File Explorer > View tab > check “Hidden items”. Or Control Panel > File Explorer Options > View > “Show hidden files, folders, and drives”. Mac: Finder > press Command+Shift+. (period) to toggle hidden files.
- Good: Hidden folders appear, possibly dimmed or grayed out.
- Bad: Still no folder—open the known path (e.g.
C:\Users\You\AppDataor~/Library) and look again.
Unhide the folder
Goal: Remove the Hidden attribute so the folder is visible by default.
- Windows: Right-click the folder > Properties. Uncheck “Hidden” and click OK. Choose “Apply to this folder, subfolders and files” if prompted. Mac: Use
chflags nohidden /path/to/folderin Terminal, or rename a dot-prefixed folder to remove the leading dot. - Good: Folder is now visible without enabling “Show hidden files”.
- Bad: Folder will not unhide—check permissions, or run attrib (Windows) if malware may have set System attribute.
Malware
Goal: Restore a folder hidden by malware and remove the threat.
- Run a full antivirus scan. Windows: Open Command Prompt as administrator, run
attrib -h -s /d /s "D:\path\to\folder"(adjust path) to remove Hidden and System attributes. If malware is found, quarantine and remove it. Verify the folder is restored. - Good: Folder visible and malware removed.
- Bad: System still compromised—consider a technician.
When to get help
- You suspect malware hid the folder and antivirus cannot remove it.
- The folder is on a work or school computer and you lack permission to change attributes.
- The folder appears corrupted or you need data recovery—contact a specialist.
Verification
- The folder is visible in File Explorer or Finder.
- You can open the folder and access its contents.
- The folder remains visible after refreshing or restarting Explorer/Finder.
Escalation ladder
Work from the device outward. Stop when the problem is fixed.
- Show hidden files Enable "Show hidden files" in File Explorer or Finder.
- Unhide the folder Right-click > Properties (Windows) or Get Info/chflags (Mac); uncheck Hidden.
- Malware check Run antivirus; use attrib -h -s to restore if malware hid the folder.
- Create new folder If corrupted, create a new folder and copy files.
- Call a pro Malware, no permission, or data recovery—contact IT or a technician.
What to capture if you need help
Before calling support or posting for help, have these ready. It speeds everything up.
- Folder path
- Whether "Show hidden files" is enabled
- Hidden attribute status
- Suspected malware (yes/no)
- Steps already tried
Have you enabled "Show hidden files" in File Explorer or Finder?
Windows: View tab > Hidden items. Mac: Command+Shift+. or defaults write com.apple.finder AppleShowAllFiles TRUE.
You can change your answer later.
Do you see the folder (possibly dimmed)?
Hidden folders may appear grayed out or dimmed when "Show hidden" is on.
You can change your answer later.
Unhide the folder
Do you know the exact path?
Some folders (AppData, Library) are in fixed locations. Type the path in the address bar.
Do you know the path?
You can change your answer later.
Do you suspect malware hid the folder?
Malware sometimes hides folders and creates fake shortcuts.
Suspect malware?
You can change your answer later.
Call a pro
Reviewed by Blackbox Atlas
Frequently asked questions
- Why would a folder be hidden?
- The folder has the Hidden attribute set (Windows) or is prefixed with a dot (Mac/Linux). System folders like AppData and ProgramData are hidden by default. Malware sometimes hides folders.
- How do I show hidden folders in Windows?
- File Explorer > View tab > check "Hidden items". Or: Control Panel > File Explorer Options > View tab > select "Show hidden files, folders, and drives".
- How do I show hidden folders on Mac?
- Finder: Press Command+Shift+. (period) to toggle hidden files. Or: Terminal, run defaults write com.apple.finder AppleShowAllFiles TRUE, then killall Finder.
Rate this guide
Was this helpful?
Thanks for your feedback.