stat counter
How To Password Protect A Folder On Macbook

We all have a digital drawer we’d rather nobody opened. Maybe you’re planning a surprise birthday getaway for your partner and their nosy browser history. Or perhaps you’re the family accountant, protecting spreadsheets that could accidentally reveal the true cost of your new handbag.

That’s where your MacBook comes in. It’s a great machine, but out of the box, it doesn’t offer a simple “lock this folder” button. You have a couple of friendly workarounds, though, and they’re easier than assembling that IKEA desk you’ve been avoiding.

The digital safe: Disk Utility trick

Think of this as building a tiny, invisible safe inside your Mac. First, open Disk Utility (you’ll find it in your Applications folder under “Utilities”). Go to the top menu, click File, then New Image, and choose Image from Folder.

Pick the folder you want to protect—let’s say it’s your “Secret Salsa Recipes” folder. Next, choose your encryption (128-bit is fine, because neighbors aren’t trying to hack you). You’ll be asked to create a password. Make it strong but memorable, like your first pet’s name with the year you mastered the perfect omelette.

Hit Save, and let the magic happen. Your original folder stays in place, but now you have a new .dmg file (a disk image) sitting on your desktop. When you double-click it, you’ll be asked for your password. It feels like opening a secret diary with a tiny key. Very satisfying.

How to Password Protect a Folder on Mac | 2022How to Password Protect a Folder on Mac | 2022

What to do with the original folder?

Here’s the trick many people miss: you now have two versions of your data. The unencrypted original folder and the new encrypted disk image. To make this work, you should delete the original folder from your Mac. Drag it to the Trash, then empty the Trash.

Your secrets are now safely inside that new .dmg file. You can store it anywhere—your desktop, a folder, or even a USB stick. Double-click it, enter the password, and it pops open like a locked briefcase. Close it, and it locks right back up. No fuss, no mess.

When life gets nosy

Picture this: your sister borrows your MacBook to “quickly print something.” Your heartbeat ticks up a notch because your online shopping wishlist—including those questionable velvet shoes—is sitting wide open. With a password-protected folder, you can hand over the laptop without feeling like you’re handing over your diary.

How to Password Protect a Folder on Mac - HongkiatHow to Password Protect a Folder on Mac - Hongkiat

This trick also works beautifully for family tax documents, love letters, or even that draft resignation letter you’re still revising. You get to feel like a secret agent without actually knowing how to code. It’s a win-win.

The final, warm reminder

Now, a gentle warning: do not forget your password. There is no “I forgot” button for this one. Apple cannot recover it for you. Write it down on a sticky note and hide it somewhere silly, like inside a cookbook you never use.

You have now learned a skill that makes you look twice as smart as you already are. Your digital secrets are safe, your shoulders are a little looser, and you can borrow your partner’s laptop without that secret five-second panic. Go ahead, guard your salsa recipes like a true kitchen spy—you’ve earned it.