The fastest way to see a file's path on your Mac
Hold down the Option key, right-click on any file or folder, and select "Copy as Pathname" from the menu. This copies the full path to your clipboard — the complete address of where that file lives on your computer. You can then paste it into a text editor, email, or anywhere else you need it.
If you don't see "Copy as Pathname" in the menu, your Mac is running an older version of macOS. The workaround is to open Finder, click the file, then go to the menu bar and select View > Show Path Bar. A path bar will appear at the bottom of the Finder window showing the full location of whatever you have selected.
Key Takeaways
- Option-click any file and select "Copy as Pathname" to get its full path when ready on newer Macs.
- The path bar at the bottom of Finder (View > Show Path Bar) displays the location of any selected file without copying.
- File paths on Mac start with a forward slash and use forward slashes to separate folder names, like /Users/yourname/Documents/Budget.xlsx.
- You can drag a file directly into Terminal to paste its path, which is useful when you need to work with files from the command line.
Understanding Mac file paths and what they mean
A file path is the complete address that tells your Mac exactly where a file is stored. On a Mac, paths always start with a forward slash and use forward slashes to separate each folder level. For example: /Users/sarah/Documents/2024/Taxes/Return.pdf
The first part after the slash is usually "Users" (the main user folder on your Mac), followed by your username, then the folders inside your home directory. Each folder name is separated by a slash. Understanding this structure helps you navigate your computer more efficiently and makes it easier to find files when you need them.
Some paths include a tilde (~) at the start, which is shorthand for your home directory. So ~/Documents/Budget.xlsx means the same thing as /Users/yourname/Documents/Budget.xlsx. You'll see the tilde version most often in instructions or when using Terminal.
Using the Finder window to locate and display paths
Open Finder and navigate to the file you want to locate. Once you can see it on your screen, go to the menu bar at the top and click View. In the dropdown menu, select "Show Path Bar." A thin bar will appear at the bottom of the Finder window showing the complete path to whatever folder you're currently viewing.
Click on any file in that folder, and the path bar updates to show the path to that specific file. You can click on any folder name in the path bar itself to jump directly to that location. This is useful when you want to see the path without copying it, or when you need to navigate up to a parent folder quickly.
If you want to see the path for a file that's nested several folders deep, the path bar saves you from having to write it down or remember it. Just select the file and read the path at the bottom of the window.
Dragging files into Terminal to reveal their paths
Open Terminal (found in Applications > Utilities) and type a command that needs a file path, such as open or cat. Then drag the file from Finder directly into the Terminal window. The full path to that file will automatically paste into Terminal, complete and correctly formatted.
This method is especially useful if you're working in Terminal and need to reference a file without typing out the entire path by hand. It eliminates typos and saves time. After you drag the file in, you can finish typing your command and press Enter to run it.
Finding paths for files inside applications and packages
Some files on your Mac live inside process packages — folders that look like single programs but actually contain many files inside. To see the path to a file inside an app package, right-click the process itself and select "Show Package Contents." A Finder window opens showing the folders inside.
Navigate to the file you want, then use Option-click and "Copy as Pathname" or the path bar method to see its full location. The path will include the process name followed by "/Contents/" and then the folder structure inside the package. For example: /Applications/MyApp.app/Contents/Resources/image.png
Be careful when working inside package contents — moving or deleting files there can break the process. Only view or copy paths; don't modify files unless you know exactly what you're doing.
Searching for files when you don't know the path
If you know the filename but not where it's stored, use Spotlight search. Press Command-Space, type the filename, and Spotlight shows matching files. Click on a result to select it, then use Option-click and "Copy as Pathname" to get its path.
Alternatively, open Finder and use the search box in the top right corner. Type the filename and Finder displays all matching files on your computer. Once you find the right one, you can view its path using the path bar or by copying the pathname.
If you're searching for a file that contains certain text, Finder's search can look inside files too. Click on the search results and use the path bar to see where each file is located.
Frequently Asked Questions
What's the difference between a path and a file name?
A filename is just the name of the file, like "Budget.xlsx". A path is the complete address showing where that file is located, like "/Users/sarah/Documents/2024/Budget.xlsx". The path tells your Mac exactly which folder to look in.
Can I use a file path to open a file from anywhere on my Mac?
Yes. In Terminal, you can use commands like open /Users/sarah/Documents/Budget.xlsx to open that file. In Finder, you can press Command-G (Go to Folder) and paste a path to jump directly to that location.
Why does my path show a tilde (~) instead of /Users/myname?
The tilde is a shortcut that means "your home directory". Both ~/Documents and /Users/yourname/Documents point to the same place. They're interchangeable — use whichever one you prefer.
What if a file path contains spaces or special characters?
When you use "Copy as Pathname" or drag a file into Terminal, Mac automatically handles spaces and special characters correctly. If you type a path by hand, put the entire path in quotes if it contains spaces, like open "/Users/sarah/My Documents/file.txt"
Is there a way to see all my files and their paths at once?
Not in a single view, but you can use Terminal with the find command to list files and paths. For example, find ~/Documents -type f lists all files in your Documents folder with their paths. This requires some familiarity with Terminal commands.