January 16, 2026

How to create a folder on Mac: A 360-degree guide

Maksym Sushchuk
Written by
Experienced tech writer with 15 years of translating complex Mac concepts into clear, user-friendly content.

Maksym Sushchuk

Alex Holovchenko
Approved by
The content has been reviewed and approved by our team member, an Apple Certified Support Professional, who provides technical support to Nektony’s users.

Alex Holovchenko

Share

Creating a new folder was one of the very first things I learned to do on a computer back in the 90s. However, it took me nearly two decades to figure out that even something as simple as a “folder” comes in all kinds of flavors: hidden folders, locked folders, smart folders that update themselves, and even immutable folders that refuse to be deleted.

I learned about these variations the hard way, usually while troubleshooting a chaotic mess caused by my own bad habits. I wrote this guide so you don’t have to spend twenty years learning the same stuff in a chaotic, granular way.

Whether you just need a quick shortcut or want to generate a complex directory structure on your Mac, here is the guide I wish I had.

How to create a new folder on Mac

These are the standard, “vanilla” methods explained in Apple’s official guide. They work perfectly if you are already navigating through menus with your mouse.

Using the Menu Bar:

  1. Open Finder and navigate to where you want the new folder.
  2. In the top menu bar, click File → New Folder.
  3. the New Folder option in Finder's menu on macOs
  4. A folder named “Untitled Folder” will appear. Start typing immediately to rename it.

Using the Context Menu:

This is often faster if your hand is already on the trackpad or mouse.

  1. Right-click (or Control-click) on any empty space in a Finder window or on your Desktop.
  2. Select New Folder from the dropdown menu.
  3. the right-click menu of the desktop

Note:

If the New Folder option is greyed out, you might be in a protected directory (like the top level of your hard drive) where you don’t have permission to make changes.

Shortcut to create a new folder on Mac:

If you are like me and prefer to keep your hands on the keyboard, this is the only method you need. It is muscle memory for every Mac power user.

  • Press Shift + Command + N.

That’s it. The new folder appears instantly, ready to be renamed. This works on the Desktop and inside any Finder window.

How to create a folder from selected items

This is my absolute favorite trick for cleaning up my digital clutter. If your Desktop looks like a scattered puzzle of screenshots and PDFs, do not drag them one by one into a new folder. Use this grouping feature instead.

  1. Select all the files you want to group together.
  2. Right-click on any one of the selected files.
  3. Choose New Folder with Selection (items) from the menu.
Creating a new folder with selection on macOS

macOS will magically sweep all those files into a single new folder. You just have to name it, and your clutter is gone.

How to create a Smart Folder on Mac

A “Smart Folder” isn’t actually a folder at all (again, as per Apple’s user guide). It’s a saved search that looks and acts like a folder. Think of it as a dynamic window that gathers files from all over your Mac based on specific rules you set, like “All PDF files created last week” or “All images larger than 50MB.”

  1. Open Finder.
  2. In the menu bar, click File → New Smart Folder. the New Smart Folder option in Finder in macOs
  3. Click the + icon in the top-right corner to add search criteria.
  4. Choose your filters (Kind, Date, Name, etc.) and click Save. the New Smart Folder option in Finder in macOs

Note:

Since Smart Folders are just windows into your existing files, they do not create copies. If you delete a file from a Smart Folder, you are deleting the original file from your drive.

My take is that Smart Folders is a great way to keep an eye on files and the activities happening on your system, but not the way to organize them, as sometimes people on Reddit might assume.

How to create a folder using Terminal

For most people, Finder is fine. But if you want to feel like a hacker, or if you need to create a specific folder structure instantly without clicking fifty times, Terminal is the tool of choice.

The basic command (mkdir )

Open Terminal (from Applications → Utilities) and type the following command:

mkdir MyFolder

Copy

By default, this creates the folder in your Home directory (~). If you need it somewhere specific, just type the full path:

mkdir /Volumes/Archive/MyFolder

Copy

the mkdir command in Terminal on macOS

Creating nested folders instantly (-p )

This is the “power user” move. If you need to create a project folder with several subfolders inside (like Project/Images/Drafts ), you don’t have to make them one by one. Use the -p flag:

mkdir -p ~/Documents/Project/Images/Drafts

Copy

The -p tells macOS to create the entire path chain if it doesn’t already exist.

Creating hidden folders

Sometimes you need a folder that doesn’t clutter your view. In macOS, any folder name starting with a dot is automatically hidden

mkdir .MyFolder

Copy

creating a hidden directory

Note:

If you can’t find the hidden folder you just created in Finder, toggle hidden files and folders on instantly by pressing Command + Shift + . (period).

If you want to hide a folder that already exists, you can’t just rename it. You need a “flag” command:

chflags hidden MyFolder

Copy

To bring it back into plain sight later, just reverse the flag:

chflags nohidden MyFolder

Copy

Advanced: Permissions and security (Terminal)

Warning:

These commands give you control over who can see and touch your data. If you are sharing a Mac with others or building a local server, this is essential. If you are just organizing holiday photos, proceed with caution (you don’t want to lock yourself out of your own folder).

Creating a folder with restricted permissions

You can create a folder that only you can open. No other user account on the Mac will have access.

mkdir -m 700 PrivateFolder

Copy

The 700 code tells macOS: “I get full control; everyone else gets nothing.”

If you already have a folder and want to change its permissions, use the chmod command:

  • Only you have access:
    chmod 700 FolderName

    Copy

  • You have full access; everyone else can read and open it, but not delete or modify it:
    chmod 755 FolderName

    Copy

the chmod command in Terminal on macOS

Creating folders as administrator (sudo)

Sometimes you need to create a folder in a directory owned by the system, like /usr/local. Standard commands will fail with a “Permission Denied” error. You need sudo (SuperUser DO).

  1. Type
    sudo mkdir /usr/local/mytools

    Copy

  2. Enter your admin password (you won’t see typing on the screen) and hit Enter.

By default, this new folder is owned by “root” (the system). To take ownership of it so you can actually use it, run:

sudo chown username:staff /usr/local/mytools

Copy

(Replace “username” with your actual account name).

The “un-deletable” folder (uchg)

If you have a folder containing critical data that you never want to accidentally delete, you can make it “immutable.”

sudo chflags uchg ImportantData

Copy

Once this flag is set, even an admin cannot delete this folder until the flag is removed (nouchg). It is the digital equivalent of bolting a safe to the floor.

Where you CAN’T create folders (SIP)

Even with sudo, you might hit a wall. That is SIP (System Integrity Protection). Apple strictly forbids creating folders in core system locations like /System, /bin, or /sbin. This is to stop malware (and well-meaning users) from breaking the OS.

Specialized folders & locations

Not all folders on your Mac behave the same way. Some live in the cloud, some are strictly for robots (automation), and some are locked “sandboxes” for your apps. Here is a quick tour of the special cases.

iCloud Drive folders

When you create a folder in iCloud Drive, it automatically syncs across all your Apple devices. But here is the catch: to save space, macOS might remove the physical copy from your hard drive and keep only a “cloud” shortcut.

  • How to keep it real: If you need a folder to stay physically on your Mac (so you can access it without internet), right-click the folder and select Keep Downloaded. the Keep Downloaded option for iCloud folders in Finder
  • Sharing: You can also right-click these folders to generate a “Share File” link, effectively turning a local folder into a cloud server (well, kind of).

App containers (The “Sandbox”)

If you dig into your user Library (
~/Library/Containers

Copy

), you will see a strange list of folders with names like com.apple.TextEdit.
the Containers folder on MacOS

These are Sandboxes. macOS treats App Store apps like toddlers; it puts them in a playpen (Container) so they can’t mess up the rest of your house (System).

Generally, you should not manually create or delete folders here. These are managed by the apps themselves. If you delete a container, you might reset that app to its factory settings.

Hidden system paths

I mentioned the
~/Library

Copy

folder above, but if you look for it in your Home folder, you won’t find it. Apple hides it to keep you safe. Here are the two standard ways to get there:
  1. The “Go” Method: Open Finder, click Go in the menu bar, and you will see Library in the list. The Go menu in Finder in macOS Tahoe
  2. The “Teleport” Method: If you know the exact path (like
    ~/Library/Containers

    Copy

    ), press Command + Shift + G (or click Go → Go to Folder…) and paste the address directly. the Go to folder dialog in Finder

Using emojis in folder names

Yes, you can absolutely name a folder “Project 🚀” or “Finances 💸”. Just press Control + Command + Space while renaming to open the Emoji picker.

Note:

macOS handles Unicode characters smoothly, but if you transfer these folders to a Windows PC or an old server, the emoji might turn into gibberish code. This is due to a specific Unicode normalization (NFD) macOS uses.

Automation folders (LaunchAgents)

If you are scripting or setting up background tasks, you will need specific folders where macOS looks for “instructions” (usually .plist files) on what to launch when it wakes up.

  • ~/Library/LaunchAgents

    Copy

    : User-specific scripts (run when you log in).
  • /Library/LaunchDaemons

    Copy

    : System-wide scripts (run when the Mac boots up).

Note:

These folders often don’t exist by default on a clean install. You might need to create them manually using the mkdir

commands we discussed earlier

Copy

.

Tips for keeping your Mac organized

Creating folders is easy; keeping them organized is the hard work. Here are a few habits that have saved me from “Desktop Chaos.”

  • Use Naming Conventions: Don’t name folders “Stuff” or “New Folder 2.” Use dates and projects (e.g., 2024-10_ProjectAlpha). It sorts automatically and saves you from searching later.
  • Color Code with Tags: Right-click a folder and assign a color tag (e.g., red for the external drive, green for cloud files). This gives you a way to quickly access and understand the nature of the files you’re working with.
  • color-coded folders in Finder
  • Don’t Organize “Junk”: Creating folders for files you don’t need is a waste of time. Before you organize, clean up.

Pro Tip:

Use Disk Space Analyzer from Nektony to scan your internal and external drives. It shows you exactly which folders are taking up the most space visually. It’s much easier to organize your file tree when you can actually see it.

the Disk Space Analyzer interface

Bottom line

I’ll be honest with you: I know every single method I just wrote about, and yet, my own file system is still often pure chaos.

Sure, I have a basic folder structure for my documents and projects. But everything beyond that? It tends to get messy. I’m a chaotic person by nature. I usually only find the inspiration to organize when I’m procrastinating on other tasks that feel too complicated or energy-consuming. Cleaning up my folders is my version of “productive therapy.”

But when I do finally sit down to organize, I don’t want to fight with my computer. I use these shortcuts to move fast, and I use tools like Disk Space Analyzer to see exactly what I’m dealing with. It makes the process manageable and, dare I say, almost enjoyable.

So don’t worry if your Mac isn’t perfectly organized today. Just knowing how to create the structure you need is the first step.

Frequently asked questions

What is the fastest way to create a new folder on a Mac?

The absolute fastest way is the keyboard shortcut: Shift + Command + N. This works instantly on your Desktop or inside any open Finder window.

How do I create a folder inside another folder quickly?

You don't need to open the folder first. You can use the Terminal command
mkdir -p Parent/Child/Grandchild

Copy

to create a whole chain of nested folders instantly.

Can I password-protect a folder on Mac?

macOS doesn't allow you to put a simple password on a standard folder natively. However, you can restrict access to it using the Terminal command
chmod 700 FolderName

Copy

, which prevents other users on your Mac from opening it. For true password encryption, you would typically use Disk Utility to create an encrypted disk image.

How do I rename a folder immediately after creating it?

When you create a new folder (using the menu or shortcut), the text "Untitled Folder" is already highlighted in blue. You don't need to click anything. Just start typing your new name and hit Enter. You can hit Enter again to rename it.

What is the difference between a Folder and a Smart Folder?

A regular folder is a container that holds actual files. A Smart Folder is a saved search window. It doesn't hold files itself, but rather displays files from across your Mac that match specific criteria (like "All PDFs").

Scroll to Top