How to Access Your Mac's Hidden Files (2024)

Your computer has backend directories, libraries, and files that help keep the operating system running smoothly. If you delete or move any of these files, something could go seriously wrong. It's why we don't recommend playing around with them unless you know what you're doing.

Windows users can find these files in File Explorer, where it's easy to make changes and mistakes. In order to prevent Mac users from doing the same, Apple hides many of these files by default in macOS. That means you don't have to worry about ruining your computer, but it makes things a bit harder when you do need access.

You can view these hidden files on a Mac via Finder or through your Mac's Terminal app. Just remember that there are few reasons to mess around with these files—like relocating program directories or troubleshooting drivers—and if you're looking to clear up some hard drive space, there are other ways of accomplishing that.

How to Access Your Mac's Hidden Files (1)

(Credit: PCMag/Apple)

In Finder, click your drive under Locations, then open the Macintosh HD folder. Press Command + Shift + . (period) to make the hidden files appear. You can also do the same from inside the Documents, Applications, and Desktop folders. Anything the computer doesn't want you messing with will be grayed out, but you can still take a peek inside. When finished, hit Command + Shift + . (period) to make the folders invisible again to ensure you don't accidentally change something later.

You can also quickly access the ~/Libraryfolder from Finder's top menu. Click Go to see all the shortcuts for accessing the different folders inside your drive. However, if you hold down the Option key, there will be a new Library option with no shortcut visible. Click Library to view the content of the ~/Libraryfolder.

View Hidden Files in Terminal

How to Access Your Mac's Hidden Files (2)

(Credit: PCMag/Apple)

Another way of performing this task is by using the macOS Terminal app, which gives you text-based access to the computer's operating system. Find Terminal under Launchpad > Other > Terminal, then run the following commands:

  • Type defaults write com.apple.Finder AppleShowAllFiles true and press Enter

  • Type killall Finder and press Enter

Once both lines of code run, you should see your hidden files in Finder and any temporary files saved on the desktop. When you want to hide these files again, replace the value true with false, which would look like:

Recommended by Our Editors

How to Force Quit Apps on a Mac (and Stop the Spinning Pinwheel of Death)

How to Run iPhone and iPad Apps on Your Mac

How to Stop Mac Apps From Launching at Startup

  • Type defaults write com.apple.Finder AppleShowAllFiles false and press Enter

  • Type killall Finder and press Enter

This method might seem less helpful than going through Finder, but Terminal can also help you hide individual files and folders on your computer. This would be most helpful if you have password-protected files or just want to prevent anyone who uses your Mac from messing around with something that's not already hidden. Open Terminal and write the following:

Of course, anyone can find these files using the methods listed above, so this is not a real substitution for file encryption or any other legitimate security measures.

Apple Fan?

Sign up for our Weekly Apple Brief for the latest news, reviews, tips, and more delivered right to your inbox.

This newsletter may contain advertising, deals, or affiliate links. Subscribing to a newsletter indicates your consent to our Terms of Use and Privacy Policy. You may unsubscribe from the newsletters at any time.


Thanks for signing up!

Your subscription has been confirmed. Keep an eye on your inbox!

Sign up for other newsletters

About Jason Cohen

Senior Editor, Help & How To

As PCMag's editor of how to content, I have to cover a wide variety of topics and also make our stories accessible to everyday users. Considering my history as a technical writer, copywriter, and all-around freelancer covering baseball, comics, and more at various outlets, I am used to making myself into an expert.

Read Jason's full bio

Read the latest from Jason Cohen

  • Is AppleCare+ Worth Buying? Apple's Extended Warranty Explained
  • The Best iPad Games for 2024
  • The Best iPhone Games for 2024
  • How to Turn Off or Restart an iPhone
  • What to Do if Windows Can't Connect to Your Printer
  • More from Jason Cohen
How to Access Your Mac's Hidden Files (2024)
Top Articles
Gestiona tus correos con varias bandejas de entrada
Motley Fool - Small-Cap Growth Investing Strategy and Portfolio - Validea.com
Walgreens Harry Edgemoor
Lengua With A Tilde Crossword
Www.paystubportal.com/7-11 Login
Craigslist St. Paul
Otterbrook Goldens
Best Theia Builds (Talent | Skill Order | Pairing + Pets) In Call of Dragons - AllClash
Bernie Platt, former Cherry Hill mayor and funeral home magnate, has died at 90
Fire Rescue 1 Login
Lantana Blocc Compton Crips
Culvers Tartar Sauce
Gfs Rivergate
“In my day, you were butch or you were femme”
Fear And Hunger 2 Irrational Obelisk
SXSW Film & TV Alumni Releases – July & August 2024
Joann Ally Employee Portal
Robert Deshawn Swonger Net Worth
Uncovering The Mystery Behind Crazyjamjam Fanfix Leaked
Helpers Needed At Once Bug Fables
Downtown Dispensary Promo Code
Jailfunds Send Message
Current Students - Pace University Online
Kaiserhrconnect
Mkvcinemas Movies Free Download
Play 1v1 LOL 66 EZ → UNBLOCKED on 66games.io
Fridley Tsa Precheck
Agematch Com Member Login
The Bold And The Beautiful Recaps Soap Central
Craigslist Mount Pocono
The Thing About ‘Dateline’
Labyrinth enchantment | PoE Wiki
Pp503063
One Main Branch Locator
MSD Animal Health Hub: Nobivac® Rabies Q & A
Flags Half Staff Today Wisconsin
Prior Authorization Requirements for Health Insurance Marketplace
Umiami Sorority Rankings
Achieving and Maintaining 10% Body Fat
Below Five Store Near Me
Giovanna Ewbank Nua
Best Suv In 2010
Interminable Rooms
Nope 123Movies Full
Plasma Donation Greensburg Pa
Blog Pch
Mawal Gameroom Download
Unit 4 + 2 - Concrete and Clay: The Complete Recordings 1964-1969 - Album Review
Nfhs Network On Direct Tv
Ark Silica Pearls Gfi
Latest Posts
Article information

Author: Dean Jakubowski Ret

Last Updated:

Views: 5338

Rating: 5 / 5 (50 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Dean Jakubowski Ret

Birthday: 1996-05-10

Address: Apt. 425 4346 Santiago Islands, Shariside, AK 38830-1874

Phone: +96313309894162

Job: Legacy Sales Designer

Hobby: Baseball, Wood carving, Candle making, Jigsaw puzzles, Lacemaking, Parkour, Drawing

Introduction: My name is Dean Jakubowski Ret, I am a enthusiastic, friendly, homely, handsome, zealous, brainy, elegant person who loves writing and wants to share my knowledge and understanding with you.