Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In OSX Spotlight, how do I find in which folder a document is? It used to be that hovering the mouse over the doc would show the folder. I miss that functionality!

share|improve this question

You might want to try the following:

  1. Search for and highlight the file in Spotlight as usual.
  2. Hold down cmd (command) and press Enter (return).

This should open the file's containing folder, and works in all recent versions of OS X.

share|improve this answer
Works for me, I think this should get the correct answer "check", though to see the path without folder, see also the @grgarside answer. And HOW OBSCURE CAN YOU GET, APPLE? – Joanna Bryson Jan 24 '15 at 14:24
cmd enter works great. Thanks! – Joshua Dance Aug 12 '15 at 21:20
Uh, this OPENS the file. That's quite a big difference from actually showing WHERE the file resides. – Scott Biggs Oct 13 '15 at 15:16
If you hold down the Command button it doesn't open it. – Redandwhite Oct 14 '15 at 7:38

Hold option and command for a second. (Edit: On 10.9 and later, hold command only.) It'll show you the path. Well, part of the path. It's really not as useful as it used to be.

Other than that, command-R (or command-return) will reveal the original file, just as with the previous version.

And, of course, you can Show All In Finder. If you have the status bar showing, it should show the path there as well. (And in a slightly better form.)

share|improve this answer
In both Mavericks and Yosemite pressing Command on its own should work. – ccpizza Nov 14 '14 at 9:39
Works, marginally. If the path is bigger than the spotlight window, you're SOL. – Scott Biggs Oct 13 '15 at 15:17

With OS X Yosemite's new Spotlight search, if you hold down ⌘ with a file selected the path bar will be displayed which shows you the path to the file:

share|improve this answer
Is there any way to open the enclosing folder from that? – Justin Oct 24 '14 at 10:34
@Justin Hold command and press return – grgarside Oct 24 '14 at 10:40
OK, maybe this one should get the check, or maybe someone should merge the two correct halves of answers. – Joanna Bryson Jan 24 '15 at 14:26

If you want the path in a copyable form:

  • press + i

You'll get the standard File Info dialog.

Update: In Yosemite, for some reason, the dialog opens behind other windows, so might not be visible. Also the path is displayed as ▸ Users ▸ user ▸ Downloads ▸ somefilename which is not as useful as in previous versions.

Drag and drop

Have no way to check on previous OSX versions, but on Yosemite, if you need to copy the path for example to terminal, you can drag-and-drop a file from Spotlight directly into the terminal window - you will get the full path inserted at cursor position (same way as if you drag a file from Finder).

share|improve this answer

If you need the complete path of a file or folder, you can also just drag it from Spotlight into a terminal window or a plain text window.

share|improve this answer
.. and if your objective is to edit the file in emacs, you can drag it there as well. No need to C-x C-f before dragging. – Calaf Aug 20 '15 at 20:45

Thanks to the person who posted the answer:

If you want the path in a copyable form: press ⌘ + i

In Yosemite this opens the Get Info window for me which, under the General tab, tells me exactly "Where" the file is located (the complete path).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.