Mac Data Recovery macOS Tutorials
Last updated: February 27, 2024
Show Hidden Files and Folders on Your Mac

How to Show Hidden Files and Folders on Mac

Home->Mac Data Recovery->How to Show Hidden Files and Folders on Mac

Macs hide certain operating system-related files by default so that the user doesn’t delete any of them by mistake and cause any performance issues on the computer. Also, it’s possible to hide any file or folder on a Mac by yourself. If you need to access any of that data, there are ways to show the hidden files on macOS with a few easy steps.

The easiest way to access hidden files or folders is to navigate to the folder containing the item you want to unhide and press the Command + Shift + > keys at the same time. If your files or folders were only hidden (not deleted, corrupted, or missing), they should show up. In case this method doesn’t work, this article provides other methods you can try.

Proven Methods to Reveal Hidden Files and Folders on Mac

Overall, there are three ways to view the hidden files and folders on your Mac: with the help of a specialized software, by using a keyboard shortcut in Finder, or by entering commands in the Terminal app. All of these methods are effective, so you can either try them one after the other or choose the one you feel most comfortable doing.

While attempting the fixes below, you’ll often be tasked to access the ~/Library folder. To find it quickly, hold down the Option button while pressing Go in the Apple menu bar (Finder must be open).

Method 1: View Hidden Folders and Files Using Finder and ShortCuts

There is a simple and quick way on your Mac to show the hidden files in Finder. To do that, all you should do is launch the Finder app and use a special keyboard combination.

Follow these steps to make your Mac show the hidden files using a shortcut:

  1. Launch Finder on your Mac (click the first icon on the left of your Dock).finder icon on dock Mac
  2. Navigate to the folder you want to check for hidden files or folders.
  3. Press the following keys together to display the hidden data: Command + Shift + . (period)view hidden files on Mac

You’ll notice that new folders will appear with a slightly lighter icon shade. Those are the folders that contain the hidden files on your Mac. If you want to make those files and folders invisible again, use the Command + Shift +. (period) key combination once more. This will hide the data again.

Method 2: See Hidden Files on Mac Using Terminal

It’s possible to view the hidden files on your Mac by using a tool called Terminal. This application comes pre-installed with every Apple computer, so you won’t have to download any third-party app to your Mac for this method. But the thing is that not all users will be comfortable with navigating this tool since Terminal has a command line interface, meaning you’ll have to type in text commands to show the hidden files on your Mac with Terminal.

Follow these steps to use Terminal to show the hidden files on your Mac:

  1. Open the Terminal application (go to Launchpad and type Terminal in the search field at the top).terminal app Mac
  2. Copy-paste the following command in the app and hit the Return key:
    defaults write com.apple.finder “AppleShowAllFiles” -bool “true”show hidden files terminal Mac
  3. Then type in the following command and hit Return again:
    killall Finderview hidden files terminal Mac

Now you should be able to see the hidden files and folders in Finder or on the desktop of your computer. Keep in mind that the discovered files and folders will stay visible until you decide otherwise. When you’re done looking through those files and folders, use the same steps as described above, only replace true with false in the first command line to hide them again.

Tip: If you no longer want to keep your file or folder hidden on your Mac, you can remove the attribute of the file that was making it invisible with the help of Terminal. To do that, type in the chflags nohidden command in the Terminal and press Space on your keyboard once. Then drag and drop the needed file or folder in the Terminal window and hit the Return key to confirm.

Method 3: Find Hidden Files and Folders Using Disk Drill

If you want an effective solution for locating hidden files and folders on your Mac, then you should try to use a specialized data recovery tool like Disk Drill. It will not only help you display all of the hidden data on your computer but also recover the files that you think might’ve been hidden but actually were permanently removed from your computer.

Disk Drill has a free version that allows you to scan your drive and see which files can be potentially recoverable. It supports all major file systems (APFS, HFS/HFS+, exFAT, FAT, NTFS) and can restore most file types (photos, videos, presentations, documents, system files, etc.). Thanks to the features of Disk Drill, you can be sure that you’ll be covered when dealing with almost any data loss situation or when having trouble locating a hidden file.

Follow these steps to view the hidden files on your Mac and recover them using Disk Drill:

  1. Download Disk Drill for Mac and follow the onscreen instructions to install it.install disk drill Mac
  2. Open the application and make sure to choose Storage devices from the sidebar on the left.
  3. Choose your Mac drive and click Search for lost data.scan drive disk drill
  4. Wait for the scan to finish and click Review found items.review found files disk drill
  5. To show the hidden files on your Mac, click the Show button located on top of the list of the discovered files and click the Show system & hidden files box.show hidden files disk drill Mac
  6. Use the search field at the top right of the screen if you know the file extension or its name. Otherwise, use the sidebar on the left to view only specific types of files.
  7. Click the eye icon near a file to preview it, and then click the box near the file to select it.
  8. When ready, click the Recover button.recover hidden files disk drill Mac
  9. Choose a preferred destination for the selected files (make sure it’s a location on a drive different from the one where the files were previously located) and click OK.

Now when you go to the selected location, the recovered files should be already there.

Why Are Some Files and Folders Hidden on Mac?

MacOS and most consumer-centric operating systems are hidden by default for many reasons. Primarily, the feature is used to protect the operating system from malfunctioning (and, by extension, keep user data safe). Specifically, here are the reasons why developers choose to keep certain files hidden:

MacOS and most consumer-centric operating systems are hidden by default for many reasons. Primarily, the feature is used to protect the operating system from malfunctioning (and, by extension, keep user data safe). Specifically, here are the reasons why developers choose to keep certain files hidden:

  • System integrity – System files are critical for keeping the operating system functioning properly. Missing or modified system data can cause unpredictable issues, so Apple wants to keep them safe from accidental deletion and other unwanted and damaging changes.
  • User experience – Even brand-new computers have thousands of existing files on disk that are either system data, OS updates, or app-generated files. If they aren’t hidden, the interface would get extremely cluttered, making it hard for users to find specific files or organize their data.
  • System folders – Certain system folders are hidden by default to prevent users from accidentally modifying or deleting any of their contents (which could cause unpredictable issues on your machine).
Files and folders that start with a period (.) are hidden by default because they are usually configuration files for applications or system settings.

Conclusion

The system files are hidden on your Mac for safety reasons. But if you are certain that you know what you’re doing, it’s possible to unhide them. There are two native methods you can try: through Finder or with the help of Terminal. But the most effective method that will show all hidden files on macOS is to use a data recovery software like Disk Drill.

Whichever method you’ve used, keep in mind that it’s best to hide those files or folders back again to avoid any potential issues in the future.

FAQs

You might want to view the macOS hidden files or folders to free your computer from old logs and system junk files. Moreover, sometimes users hide their personal files or folders by mistake. So if you’ve noticed that some data went missing on your Mac, it’s a good idea to check the hidden folders.
The easiest way to view the hidden files and folders on your Mac is to use a key combination in the Finder app. So, simply launch Finder on your computer and press the following key combination: Command + Shift + .

The only way to make your hidden files and folders on your Mac permanently visible is to run a Terminal command. To do that, launch the Terminal app on your computer and follow these steps:

  1. Copy-paste this command in the Terminal field: defaults write com.apple.finder “AppleShowAllFiles” -bool “true”
  2. Hit the Return key.
  3. Type in killall Finder and hit Return again.

Follow these steps to open the hidden Library folder on your Mac:

  1. Click the Finder icon on the Dock to open the tool.
  2. Choose Go from the menu at the top.
  3. Click Go to Folder.
  4. Type ~/Library in the search field and click Go.
Romana Levko is a seasoned tech writer who has a keen interest in all kinds of tech-related topics—AR, data recovery, cryptocurrency, and cybersecurity, are just a few of her favorite ones. She has developed a deep passion for everything Mac and believes that even the most complex issues can be understandable for the average user.
avatar approver Andrey Vasilyev Approver
Andrey Vasilyev is an Editorial Advisor at onMac. Andrey is a software expert with extensive experience in data recovery, computer forensics, and litigation. Andrey has over 12 years of experience in software development, database administration, and hardware repair.
Scroll to top