If I've got a file (or files) selected in Windows Explorer, the only way I've found to "unselect" them is click with the mouse on some empty space.

I thought Esc would do this, but it doesn't. Also changing focus with Tab or Shift + Tab doesn't work; the file(s) are still selected even if focus goes to the address bar for instance.

Does anyone know of a keyboard shortcut to do this?

  • I was thinking of implementing a Unselect All feature in an app that I'm developing and I was thinking Ctrl+Shift+A would make a lot of sense. So far I haven't found any examples of other apps using this shortcut though. What do you think?
    – jpierson
    Aug 23 '10 at 14:31

11 Answers 11


You can use Ctrl+Arrow to move among selected items. Ctrl+Space will select/deselect. (Space alone will select but not deselect.)

  • 3
    That really felt like I'm a super user. Works in windows 8.
    – Gellie Ann
    Dec 8 '16 at 1:11

As far as I know there isn't a keyboard shortcut for Invert Selection in Windows Explorer, and unfortunately Select All doesn't toggle the selection.

So if you really want an all keyboard solution:

Ctrl + A, Alt + E, I

If you're used to Emacs multi-key bindings then this shouldn't bother you. :)

  • 1
    Alt + E, I has no effect. At least, in Win7 Explorer. Feb 28 '18 at 13:02

I also found another quick solution: pressing F5 will refresh the folder and deselect single or multiple items.

  • 4
    Did not deselect a single selection, but ctrl+space as suggested in another answer does work.
    – angularsen
    Oct 5 '12 at 12:23

Pulling from the other solutions here, the method that works every time is Ctrl+A then F5. You can sort of roll your hand up the keyboard to do this.

Even though it's an extra step over just Ctrl+Spacebar when deselecting one item or just F5 when more than one item is selected, the consistency and not having to think each time will save time in the long run, I think.

Note: If you are pressing F5, then it makes no difference whether you press CTRL-A first or don't. CTRL-A is Select All, F5 is Refresh. Therefore, if F5 is acceptable for the functionality you're looking for, there is no benefit to pressing CTRL-A prior.

  • This is the only answer the works with both single file or multiples files selected. Doesn't require Windows to be in english. And allows for automation with AutoHotkey. The note at the bottom makes no sense. Jun 12 '21 at 15:18

To access this button on the Windows 10 ribbon:


Of course the Explorer window must have focus during these keystrokes.

enter image description here


You can use alt+ up to move one folder up in the heirarchy and then press enter to go down again - but that's not so elegant.


Alt + V and then R will also do the trick -- I guess the same as R, but is it one more way to do it.

  • I think, the <kbd><kbd>R</kbd></kbd> is malformed.
    – Cadoiz
    Oct 27 '21 at 10:58

Here is one more possible answer. It is a combination of three keys.

Press the keyboard-right-click key. Press R (properties). Press Esc.

User warning: This should right click the item, go to properties, and exit the properties menu. Make sure this is what is happening, and that R isn't a key that ends up deleting your item or doing anything else.

Other than that, Ctrl + Space is the best answer I have seen here so far.


I could not find any documentation on Microsoft's websites regarding Ctrl + Space for deselection of items. However, on an unrelated website, https://winscp.net/eng/docs/ui_explorer_key, there is documentation regarding WinSCP, a free SFTP/FTP/SCP client for Windows. It uses some shortcuts that are also applicable to the Windows OS, such as Ctrl + Space for file selection/deselect. However Ctrl + Space does work, as stated above.

Anyway, the only different answer so far I could offer is:

Press key Delete to delete your file, then press Ctrl + Z to bring it back. Now you have unselected it.

User warning: it may have unintended consequences. Such as if you have configured files for permanent deletion and may not be brought back easily, as is the case in some external hard disk drives. Use this answer with caution.

  • 2
    This is a bit treacherous, to say the least. On network drives, for instance, deletion is permanent!
    – Ben N
    Feb 14 '16 at 20:58

CTRL+A actually toggles selection, so doing it twice will do the thing.

  • 1
    This is contradicted by another answer which states the opposite- care to clarify?
    – bertieb
    Feb 17 '17 at 17:46
  • 1
    A third-party app or plugin may give it this "feature", but no, in Windows Explorer, CTRL-A does NOT toggle a selection. Pressing it once selects all files, pressing it again while all files are already selected does nothing. Using it to select all and then holding CTRL and unselecting a few entries, and then using CTRL-A again returns the selection to All. Feb 17 '17 at 18:27


Works fine in Windows 10.

  • 2
    Kindly edit your answer and explain not just use the Link
    – yass
    Mar 29 '17 at 10:51
  • 1
    Although your answer is 100% correct, it might also become 100% useless if that link is moved, changed, merged into another one or the main site just disappears... :-( Therefore, please edit your answer, and copy the relevant steps from the link into your answer, thereby guaranteeing your answer for 100% of the lifetime of this site! ;-) You can always leave the link in at the bottom of your answer as a source for your material... Mar 29 '17 at 11:57
  • 2
    @donald Was this a joke? Ctrl-D deletes files in explorer. The link is for expression studio 2. May 4 '17 at 2:40
  • @user135711 No, it's not a joke. I got it from here. I also suggest you read the other answers on that page because they explain very well why you're not supposed to post link-only answers like this one. May 4 '17 at 12:11
  • 1
    The linked page is for Expression Studio 2, not for Explorer. In Explorer, this shortcut is Delete. Feb 28 '18 at 13:08

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