Files

Home Folder on Mac: Where It Is and How to Open It

Nemo · · 4 min read

Your home folder on a Mac is /Users/yourname, the folder with a house icon and your account’s short name. In Finder, press Shift+Cmd+H to open it. In Terminal it is ~, and cd on its own takes you there. Almost everything that is yours lives inside it, so knowing your way around it saves you a search every time you look for a file.

How do you open the home folder?

Where How
Finder Shift+Cmd+H, or Go › Home
Finder sidebar Click the house icon (turn it on in Finder › Settings › Sidebar)
Go to Folder Shift+Cmd+G, type ~ and press Return
Terminal cd or cd ~; open ~ shows it in Finder
Spotlight Cmd+Space, type your short name, pick the folder

If you don’t know your short name, open Terminal and run echo $HOME; it prints the full path, for example /Users/sam.

What is inside the home folder?

macOS creates a standard set of folders for every account:

Folder What goes there
Desktop Everything on your desktop
Documents Your documents, and the default save location for many apps
Downloads What browsers and Mail download
Movies, Music, Pictures Media, including the Photos and Music libraries
Public Files other users of the Mac can read; its Drop Box takes files in
Library Settings, caches and app data; hidden by default

With iCloud Drive’s “Desktop and Documents Folders” option on, those two folders sync to iCloud but still appear in your home folder.

Developers usually keep projects in a folder of their own here too, such as ~/code or ~/Developer. Dotfiles like .zshrc and .gitconfig also live at the top of the home folder. They are hidden, and our guide to showing hidden files on a Mac explains how to see them.

Where do apps keep your settings in the home folder?

Most of them live in ~/Library. Preferences sit in ~/Library/Preferences as .plist files, app data in ~/Library/Application Support, and caches in ~/Library/Caches. Command-line tools usually prefer dotfiles and dot-folders at the top of home, such as ~/.ssh for SSH keys, ~/.config for many tools and ~/.zshrc for the shell. When an app misbehaves, its support pages often ask you to remove one of these files, so it helps to know where they are. Back up a file before you delete it.

How do you open the hidden Library folder?

Hold Option while the Go menu is open in Finder: Library appears in the list. Or press Shift+Cmd+G and type ~/Library. Be careful in there; deleting the wrong folder can reset an app’s settings.

Why is my home folder missing from the Finder sidebar?

It is often off on a new Mac. Open Finder › Settings (Cmd+,), choose Sidebar and tick the item with the house icon. It then sits under Favorites. You can also drag the home folder itself into the sidebar. The moving files guide covers dragging items onto sidebar folders.

How will the home folder work in Monok’s Files pane?

Monok is a Mac browser with a native terminal, and since version 0.1.1 it has Files, a native file manager pane.

In Files, the home folder is the starting point:

  • Type / alone in the Magic Bar and press Enter: a Files pane opens at your home folder.
  • /name finds files and folders by name inside the home folder, using Spotlight.
  • /~/path completes a path from home, so /~/Doc offers Documents.
  • Home is the first item in the sidebar’s Favorites, with Desktop, Documents, Downloads and Applications.

It won’t replace Finder: Finder still runs the Desktop, AirDrop and the open and save dialogs in other apps, and it does far more. Files is for the moments you are already in Monok and need a folder next to the page or the terminal.

Nothing opens until you press Enter or click. Like the terminal, Files is native only: no web page, internal page or JavaScript can reach it. In a terminal pane running your login shell, cd takes you home as usual; see the browser with a built-in terminal. Download it from the download page.

FAQ

What is the path of the home folder on a Mac?

/Users/ followed by your account’s short name, for example /Users/sam. The shortcut for it everywhere in Terminal is ~.

What is the keyboard shortcut for the home folder?

Shift+Cmd+H in Finder.

Is ~ the same as the home folder?

Yes. In Terminal and in Finder’s Go to Folder, ~ stands for your home folder, so ~/Downloads is your Downloads folder.

Can I rename my home folder?

Yes, but carefully. Apple’s support article describes the steps: log in with another administrator account, rename the folder in /Users, then change that account’s home directory in Users & Groups (Control-click the user, Advanced Options) to the new path. Back up first, because a mismatch can make the account log in to an empty folder.

More in Files

Contact

Bug reports, sites you want to see working, ideas. We reply by email.