Go to Folder

On this page 7

Go to Folder is a Finder command in macOS that opens any folder by its typed path instead of by clicking through the folder hierarchy. It is available from the Go menu or with the keyboard shortcut Shift-Command-G, and it accepts absolute paths, the tilde shortcut for the home folder and partial names completed with the Tab key.

Within the Finder & files area of macOS, Go to Folder is the fastest route to locations that Finder normally hides, such as the user Library folder or system directories under /private. It also works inside Open and Save dialogs, which makes it a bridge between the graphical interface and the path-based thinking of the Terminal.

How Go to Folder resolves a path

Go to Folder works by parsing the typed string as a POSIX path and asking Finder to open the matching location in the frontmost window or a new one. A path that starts with a slash is read from the root of the startup volume, while a path that starts with a tilde is read from the current user home folder.

When the typed path points to a file rather than a folder, Finder opens the enclosing folder and selects the file. When the path does not exist, the command reports that the folder cannot be found, or in recent versions it offers the closest matching suggestions instead of failing silently.

The table below lists the path forms that the command understands and how each one is interpreted.

Typed formExampleInterpretation
Absolute path/Applications/UtilitiesRead from the root of the startup volume
Home shortcut~/LibraryRead from the current user home folder
Other volume/Volumes/BackupOpens a mounted external or network volume
File path~/Documents/report.pdfOpens the folder and selects the file
Partial name with Tab~/Doc then TabCompletes to the matching folder name
Path forms accepted by Go to Folder

The command does not expand shell variables such as $HOME and does not run wildcards, because it is a Finder navigation tool rather than a shell. Paths on the default APFS format are usually case-insensitive, so typing the wrong letter case still reaches the folder.

Where Go to Folder is available in macOS

Go to Folder is available wherever a Finder-style file browser appears, not only in Finder windows. This consistency is what makes it valuable for daily work across many applications.

ContextHow to open itNotes
Finder window or desktopShift-Command-G or Go menuOpens the result in the current window
Open dialogShift-Command-GNavigates the dialog before choosing a file
Save dialogShift-Command-G in expanded viewSets the destination folder directly
Any file dialogType a slash or a tildeOpens the path field with that character
Recent locationsHistory list in the panelReopens folders visited through the command
Ways to open Go to Folder

In recent macOS releases, the panel resembles a search field with live suggestions and a short list of recently used paths. Older releases show a simpler sheet with a single text box, but the path rules are the same in both designs.

Go to Folder compared with other navigation methods

Go to Folder is the most direct navigation method when the path is known, while other Finder features suit browsing, recurring access or searching by content. Choosing between them depends on whether the user knows where something is or only what it contains.

MethodBest forLimitation
Go to FolderKnown paths and hidden foldersRequires knowing at least part of the path
Finder sidebarFavorite folders used every dayMust be added manually
Path barSeeing and moving up the current pathShows only where the window already is
Spotlight searchFinding items by name or contentUsually excludes system and hidden folders
Terminal cd and openScripted or repeated navigationRequires command-line familiarity
Choosing a navigation method in Finder

Go to Folder pairs well with the path bar and the Copy as Pathname option: a path copied from one window or from documentation can be pasted straight into the panel. This removes error-prone manual clicking through deep folder structures.

Typical uses for hidden and system folders

The most common reason to use Go to Folder is to reach folders that Finder hides by default. macOS hides the user Library folder and most Unix system directories to protect them from accidental changes, but support work and troubleshooting often require access.

  • ~/Library/Preferences holds per-user preference files, often inspected when an app misbehaves.
  • ~/Library/Application Support stores app data such as databases, plug-ins and caches.
  • /Library/LaunchAgents and the user equivalent contain items that start automatically at login.
  • /private/var/log and related folders hold system and application log files.
  • /usr/local and /opt/homebrew are common locations for command-line tools installed by package managers.

Opening a hidden folder this way does not change its visibility setting. The folder appears only in the window that was opened, and it remains hidden elsewhere unless the user toggles hidden files with Shift-Command-Period.

Mistakes and limitations to keep in mind

Go to Folder is safe in itself, but it gives easy access to sensitive locations where careless changes can break applications or the system. Most problems come from incorrect paths or from editing files that should be left alone.

SymptomLikely causeFix
Folder cannot be foundTypo or missing leading slashUse Tab completion to build the path
Wrong Library opensTyped /Library instead of ~/LibraryAdd the tilde for the user Library
Access is deniedProtected location or privacy controlsLeave it or use administrator tools carefully
Volume path failsExternal disk not mountedMount the disk, then retry under /Volumes
App breaks after editsDeleted files in Application SupportRestore from a backup such as Time Machine
Common problems and fixes

The key distinction is between /Library, which affects all users, and ~/Library, which affects only the current account. Mixing them up is the single most frequent error in support instructions that rely on Go to Folder.

In plain words

On a Mac, files live inside folders, and folders live inside other folders. Usually you click your way down, one folder at a time. Go to Folder lets you skip the clicking: you press Shift, Command and G together, type the address of the folder, and Finder takes you there at once.

It works like typing a street address into a map instead of walking from street to street. It can even open folders the Mac normally keeps out of sight, which is why support staff often ask you to use it.

A real-world example

A help desk technician supports a designer whose image editor crashes at launch. The vendor suggests moving the application preference file out of the way so that the app rebuilds default settings. The designer cannot find the file, because the user Library folder is hidden in Finder.

The technician asks the designer to open Finder, press Shift-Command-G and type ~/Library/Preferences. The folder opens immediately, and the designer drags the single preference file named after the app to the desktop instead of deleting it, so it can be restored later if needed.

The editor starts normally on the next launch with default settings. The whole fix takes about two minutes over the phone, and the technician never needs remote access, because one typed path replaced several minutes of searching through hidden folders.